пятница, 14 ноября 2014 г.

How to setup loopback connection for IDOC and copy characteristics from 300 to 023 class type.

If you have one system and want to test IDOC it is reasonable to setup loopback connection.
In my case I want to achive two things:
1. Create characteristics and classes for batch the same, like I already have in configuration (300 class type).
2. Easiest way for step 1 - is to transfer characteristics (CHRMAS) and classes (CLSMAS) at the same system with change of class type at the end.
Sounds easy... Let's go!

In some cases you may need personalized connection (for example - IDOC ORDERS) with Vendor Partner Number. In this particular case it is enough just Logical system connection.

Make sure, you have LOCAL logical system (SALE -- Basic Settings -- Logical Systems -- Define Logical System)


Create two virtual logical systems

Internal LS for IDOCs-receiver
Internal LS for IDOCs-sender




Create new distribution model in BD64 


Add message type (CHRMAS, CLSMAS)


Create Outbound Partner profile parameters for receiver in WE20(/ER5CLNT999/LS//CHRMAS+CLSMAS)

  • Message type CHRMAS -- Basic type CHRMAS04
  • Message type CLSMAS -- Basic type CLSMAS04


Create Inbound Partner profile parameters for your real system (/DIS_00_710/LS//CHRMAS+CLSMAS)

  • Message type CHRMAS -- Process code CHRM
  • Message type CLSMAS -- Process code CLSM
  •  


    After that, you can transfer characteristics and classes to the same system/client:

    1. BD91 - Send Characteristic - first
    2. BD92 - Send Class  - second

    you also have to change class type from 300 to 023 manually and re-transfer IDOCs thru WE19

    At the end you need assign materials to class in mass by CL24N - Assign Objects/Classes to Class 

    Комментариев нет:

    Отправить комментарий