15.7.11

SAP Note 26564 - IDoc: Can status values be defined?

Symptom:

Can the customer define status values for the IDoc Interface?

Other terms

Table TEDS1, view V_STACUST
Transaction WE47

Reason and Prerequisites

You want to confirm specific information about processing an IDoc to the SAP System.

Solution

The definition of separate status values is a modification and harms the concept of the status values.Separate status values must not be created as a result.
Specific information for a status value (processing milestone reached like statuses) can be transmitted in the STACOD, STATXT, STAPA1, STAPA2, STAPA3, SATPA4 and STATYP fields.If the status record is used in Version 3 (as of Release 4.0), the STACOD field is split into the three fields (STAMQU, STAMID and STAMNO). A status value can also be sent repeatedly so that as much detailed information as desired can be transferred.
There are two possible procedures:

    1. Detailed information is stored in the T100 table.

Define a message for all of the detailed information in the T100 table.Then in the EDI subsystem, fill the STACOD field with 'SAP' (or STAMQU = SAP, STAMID = and STAMNO = ).

You can then access the detailed information in the IDoc display of the status records.The information is language-dependent and is displayed with a long text which supports all hypertext functions.

    2. Detailed information with EDI subsystem source codes.

You can occupy the first three characters in the STACOD field with a fixed prefix. You can then transfer any EDI subsystem source codes to the five remaining characters (or STAMQU < > SAP).

You can implement your own function module which transfers the format of this source code to the IDoc display of the status records.The function module is communicated to the IDoc Interface with transaction WE43.

No comments:

Post a Comment