IBM Support

Incorrect status messages (04/05) are being sent back to SAP - Sterling Gentran:Server for Microsoft Windows

Troubleshooting


Problem

Incorrect status messages codes (04/05) are being sent back to SAP 04 Error within control information of EDI subsystem 05 Error during translation

Symptom

Incorrect status messages (04/05) are being sent back to SAP.
When importing a SAP IDOC using the -TRANSLATE function of SAPINT.EXE, SAP status entries 04 and 05 are generated indicating that no trading partner is found and missing or inaccessible tpcode or map; however, the IDOC is translated correctly to EDI format under the correct trading partner using the correct translation object

Cause

A Standard Rule must be added to the Import map to update Application Field 3 with information from the DOCNUM field so that the Status IDOCs are generated with the correct codes.

Resolving The Problem

Add Standard Rule to the Import map that will update Application Field 3 with information from the DOCNUM field.

When using the SAP Extension, AppField3, AppField4 and AppField5 are reserved for use by the system. SAPINT -TRANSLATE gathers content and stores in Document_tb columns AppField4 and AppField5. Additionally, automatically the SAPstatus_tb rows are inserted/updated for use in generating IDOC status information.

If the Import map has rules to use AppField4 or AppField5 that would be problematic.
Comment out or remove the code in the extended rule to update AppField4 and AppField5!

[{"Product":{"code":"SS6V3G","label":"Sterling Gentran:Server for Microsoft Windows"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"Extensions","Platform":[{"code":"PF033","label":"Windows"}],"Version":"5.3.1;5.3;5.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6V3G","label":"Sterling Gentran:Server for Microsoft Windows"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"Adapters","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6V3G","label":"Sterling Gentran:Server for Microsoft Windows"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"Extensions","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6V3G","label":"Sterling Gentran:Server for Microsoft Windows"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"Adapters","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI1384

Document Information

Modified date:
16 June 2018

UID

swg21543819