How to: |
The following sections describe how to map the order level segments.
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDK02
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDK02/QUALF == '001'
Element |
Value |
---|---|
PRF01 |
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDK02/BELNR |
PRF04 |
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDK02/DATUM |
Your screen should now resemble the following image:
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKT1
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKT1/TDID == 'Z002'
Element |
Value |
---|---|
REF01 |
DP |
REF02 |
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKT1/E1EDKT2/TDLINE |
Your screen should now resemble the following image:
You have now mapped three of the four required REF segments.
Note that the invoice number is located in ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/Z1INVOICE/BELNR. This field is an extension field to the IDoc. The stock SAP IDoc for the ASN does not contain the invoice number. This is due to the order of operations in the flow to ship merchandise, as shown in the following diagram.
The ASN IDoc is usually created as a by-product of the Material Goods Issue Update process. Depending on the shipping system, it might be possible to create the ASN IDoc from the "truck has left" notification from the shipping system to SAP. Invoicing is usually a batch process that runs overnight. In this example, because the trading partner requires the invoice number on the ASN, the Invoicing process is run periodically during the day, either for all customers or just those EDI customers that require the invoice number on the ASN. The invoice number appears in an extension field on the IDoc. The following image is how the flow should now appear.
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKA1
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKA1/PARVW == Z2
Your screen should now resemble the following image:
Element |
Value |
---|---|
N101 |
BY |
N102 |
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKA1/NAME1 |
N103 |
UL |
N104 |
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKA1/E1EDKA3/STDPN |
Your screen should now resemble the following image:
iWay Software |