Ansicht
Dokumentation

EXIT_SAPLWPDA_001 -

EXIT_SAPLWPDA_001 -

CPI1466 during Backup   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

This function exit is used to change or add to the IDoc data created in POS inbound processing for the material groups.
1.) Change existing IDoc segments:
You need the following parameters for this:
-- PI_E1WPW(xx)_CNT: In the case of segments that occur several
times, these counters indicate how often the segment E1WPW(xx)
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 material
group.
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 material group.
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 segments that belong to the
material group currently being prepared.
You can modify this data accordingly.
-- PIT_IDOC_DATA: Table containing all IDoc records prepared up to
now with the exception of the current records.
You can use the information in this table to modify the current
material group.
However, you should not change this table.

2.) Add to existing IDoc segments:
You need the following parameters for this:
-- PI_E1WPW(xx)_CNT: See above for description.
-- PI_SEG_LOCAL_CNT: Number of segments for the current material
group. Must be updated when IDoc data is added (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_wrgp' in Include
LXWPDF00, for example.






BAL Application Log Documentation   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 2563 Date: 20240329 Time: 110726     sap01-206 ( 20 ms )