Ansicht
Dokumentation

EXIT_SAPLWPDA_008 -

EXIT_SAPLWPDA_008 -

ROGBILLS - Synchronize billing plans   General Data in Customer Master  
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 outbound processing for person data.

1.) Change existing IDoc segments
You need the following parameters for this:
-- PI_E1WPP05_CNT and PI_E1EDK28_CNT:
These counters indicate how often segment E1WPP05 and
E1EDK28 occur in table PXT_IDOC_DATA_TEMP.
You can use the information to modify the IDoc data.
-- PI_SEG_LOCAL_CNT: Number of segments for the current IDoc record.
You can use the information to modify the IDoc data.
-- PX_SEGMENT_COUNTER: Total number of IDoc segments prepared,
with the exception of the current IDoc record.
You can use the 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 the data accordingly.
-- PIT_IDOC_DATA: Table containing the IDoc records currently
prepared, with the exception of 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.) Add to existing IDoc segments:
You need the following parameters for this:
-- PI_E1WPP05_CNT and PI_E1EDK28_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, enter the relevant
data in 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_pers' in include
LXWPDF00, for example.






BAL Application Log Documentation   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 2522 Date: 20240426 Time: 111135     sap01-206 ( 15 ms )