Ansicht
Dokumentation

EXIT_SAPLWPDA_006 -

EXIT_SAPLWPDA_006 -

ABAP Short Reference   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

This function exit is used to change the IDoc data created in POS
outbound processing for the exchange rates.

1.) Change existing IDoc segments:
You need the following parameters for this:
-- PI_E1WPC02_CNT: This counter indicates how often segment
E1WPC02 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 IDoc segments prepared so
far with the exception of 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 prepared IDoc records
except the current record.
You can use the information in this table to modify the current
IDoc record.
However, you should not change this table.

2.) Error handling (optional):
If errors occur when you change 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_wkurs' in include
LXWPDF00, for example.






General Material Data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 1717 Date: 20240423 Time: 083340     sap01-206 ( 15 ms )