Customizing Mapping Instructions

Mapping instructions must be customized to save the SAP IDoc number in the appropriate application field in the Sterling Gentran:Server® Document Tracking database.

  • The IDoc number must be present in the Document_tb so matches can be made with the numbers stored in the array during preprocessing of outbound data.
  • Save the IDoc number so the Extension for SAP can create status records (EDI_DS) containing the DOCNUM (IDoc number).

SAP uses the status records to provide a status of all outbound IDocs you create. SAP rejects status records that do not contain a DOCNUM.

SAP IDoc numbers are contained in the DOCNUM field of the EDI_DC or EDI_DC40 control record of each IDoc created outbound from SAP.

Important:
  • Save the IDoc number in the user-defined Application Field 3 of Document_tb.
  • Use the DOCNUM field in the EDI_DC or EDI_DC40 record of the IDoc.

Use this procedure to instruct the Extension for SAP where to locate SAP IDoc numbers.

  1. Start the Application Integration subsystem.
  2. Open the translation object you want to use with the Extension for SAP and select the EDI_DC control record.
  3. Right-click the DOCNUM field in the EDI_DC or EDI_DC40 record and select Properties.

    The system displays the Field Properties dialog box.

  4. Select the Standard Rule tab and then select the Update option.
  5. Select Document record from the table (or group) to update the list.
  6. Select Application Field 3 from the column (or field) to update the list, and click OK .
    Important: Do not map anything to Application Fields 4 and 5. They are reserved for use by the SAPINT program.