Mapping Data for SAP Palette Activities

For Populating IDoc Data to SAP System

This section contains information on how to populate IDoc Data in XML format for the following SAP activities:
  • IDoc Reader
  • Post IDoc to SAP
  • IDoc Renderer

To prevent the IDoc recognition error in the SAP system when invoking the Post IDoc to SAP activity, you have to configure the SEGNAM property in different ways based on the protocol types. Depending on whether you use tRFC or qRFC as the protocol, you need to map the segment name for an IDoc differently. Run the we31 transaction in the SAP system to check a segment. The EIMARM segment type contains multiple segment definitions. The property for the segment name in the Input tab of the activity is SEGNAM that shows the SEGNAM property of one IDoc in the Input tab.

  • tRFC

    If the SEGNAM property is left blank, the plug-in automatically specifies the property by using the IDoc XSD.
    Note:
    • The attributes inside the EDI_DD40 data record do not need to be mapped unless below criteria is met.
    • When sending an empty IDoc segment to the SAP system, at least one attribute must be mapped.
  • qRFC

    If the SEGNAM property is left blank, the Segment type value is derived by the plug-in using the IDoc XSD.
    Note: When populating the IDoc Control Record Data - EDI_DC40, the DOCNUM attribute is not required to be mapped