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.