Ansicht
Dokumentation

EXIT_SAPLWPDA_003 -

EXIT_SAPLWPDA_003 -

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

This function is used to change or add to the IDoc data created in POS outbound processing for the EAN references.

1.) Change existing IDoc segments:
You need the following parameters for this:
-- PI_E1WPE02_CNT: This counter indicates how often
segment E1WPE02 occurs in table PXT_IDOC_DATA_TEMP.
You can use this information to modify the IDoc data.
-- PI_SEG_LOCAL_CNT: Number of segments for the current IDoc record.
You can use this information to modify the IDoc data.
-- PX_SEGMENT_COUNTER: Total number of all IDoc segments prepared
so far except those for the current IDoc record.
You can use this information to modify the IDoc data.
-- PXT_IDOC_DATA_TEMP: Table containing an IDoc record to be
converted. This table contains all the segments that belong to
the IDoc record currently being prepared.
You can modify this data accordingly.
-- PIT_IDOC_DATA: Table containing all the prepared IDoc records
except the current one.
You can use the information in this table to modify the current
IDoc record.
However, you should not change the table.

2.) Add to existing IDoc segments:
You need the following parameters for this:
-- PI_E1WPE02_CNT: See above for description.
-- PI_SEG_LOCAL_CNT: Number of segments for the current IDoc
record. Must be updated when the IDoc data is added to (see
below).
-- PX_SEGMENT_COUNTER: See above for description.
-- PXT_IDOC_DATA_TEMP: To add to the IDoc record, add the relevant
data to segment E1WXX01 and insert this in the table.
You can add this segment to the table several times. Each time
you add a line, parameter PI_SEG_LOCAL_CNT increases by a value
of 1.
-- PIT_IDOC_DATA: See above for description.

3.) Error handling (optional):
If errors occur when you change or add to your IDoc data, and you
want to have this recorded in a preparation log, you need extra
parameters for this.
Please see the program examples provided for information on how to
log errors. You can follow the FORM routine 'convert_position_ean'
in include LXWPDF00, for example.






BAL Application Log Documentation   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2451 Date: 20240328 Time: 162320     sap01-206 ( 16 ms )