The following sections describe how to map the shipment level segments.



|
Element |
Value |
|---|---|
|
HL01 |
@VARIABLE('HLCTR','GET') |
|
HL03 |
S |
|
add_to_counter |
@VARIABLE('LEVEL1','ADD','1') |
|
set_level1 |
@VARIABLE('LEVEL1','SET','1') |


Your screen should now resemble the following image:




The Output Node Properties - COUNT_THE_CARTONS dialog box opens.


Your screen should now resemble the following image.


ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/Z1TOTE/TOTE_NUMBER


Your screen should now resemble the following image.

|
Element |
Value |
|---|---|
|
TD101 |
CTN |
|
TD102 |
@VARIABLE('CTNCNT','GET') |
|
TD106 |
@IF(@LEN(ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/BTGEW) > '0','G','') |
|
TD107 |
@LTRIM(ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/BTGEW) |
|
TD108 |
@IF(@LEN(ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/BTGEW) > '0','LB','') |
This is where the carton count gets inserted into the output document. As a best practice, only insert qualifiers if the data is present.
Your screen should now resemble the following image:

You need to output two REF groups from the same source element.
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKT1

ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKT1/TDID == 'Z004'

|
Group |
Value |
|---|---|
|
REF02 |
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKT1/E1EDKT2/TDLINE |
|
REF02 |
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKT1/E1EDKT2/TDLINE |
Your screen should now resemble the following image:

ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDT13

ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDT13/QUALF == '006'

|
Element |
Value |
|---|---|
|
DTM01 |
011 |
|
DTM02 |
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDT13/NTEND |
Your screen should now resemble the following image:

|
Element |
Value |
|---|---|
|
FOB01 |
PP |
Your screen should now resemble the following image:

ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKA1

ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKA1/PARVW == 'WE'

Your screen should now resemble the following image:

|
Element |
Value |
|---|---|
|
N101 |
ST |
|
N102 |
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKA1/NAME1 |
|
N103 |
UL |
|
N104 |
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKA1/E1EDKA3/STDPN |
|
N301 |
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKA1/STRAS |
|
N401 |
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKA1/ORT01 |
|
N402 |
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKA1/REGIO |
|
N403 |
ZWALASN/IDOC/Z1BILL_DOC/E1EDL20/E1EDK01/E1EDKA1/PSTLZ |
Your screen should now resemble the following image:


This information was extracted from the IDoc, but can be accepted from other sources as well.