Defining a Partner Profile and Port 

Prerequisites

You have successfully generated an IDoc interface.

Generating an IDoc

Procedure

Defining a partner profile

  1. Choose Tools ® Business Communication ® IDoc ® IDoc Basis ® IDoc ® Partner Profile
  2. The Partner profile screen is then displayed.

  3. Choose Create.
  4. Enter a name or a number in the partner number field.
  5. This name must reference an existing object for each partner type. It must also be identical to the partner number in the control record of the IDoc.

  6. Choose the partner type Logical System (LS).
  7. Logical systems are maintained with the transaction SALE .

  8. Set the partner status to active (A) (tab page Classification).
  9. Maintain the Type, Language, and User fields (Tab page Postprocessing: permitted agent).
  10. Choose Save.
  11. Then choose the function Create Inbound Parameter in the Inbound parameter table.
  12. The Partner profiles screen appears. Inbound parameter.

  13. Enter your message type in the Message type field and BAPI in the Process code field.
  14. Choose Save.

Defining a port

You must define a sender port so that the SAPforms interface and the R/3 System can communicate. This information must also appear later in the control record of the IDoc.

  1. Choose Tools ® Business Communication ® IDoc ® IDoc Basis ® IDoc ® Port Definition.
  2. The Ports in IDoc Processing screen is then displayed.

  3. Select File in the structure tree and choose Create.
  4. Enter the name of your port in the Port field.
  5. This name is essentially irrelevant. However, it must be identical to the port name in the control record of the IDoc.

  6. Enter a name in the Description field.
  7. Select IDoc record types SAP Release 4.x.

  8. Choose Save.

Result

The partner profile and port are now defined.