Ansicht
Dokumentation

EXIT_SAPLWPDA_004 -

EXIT_SAPLWPDA_004 -

Addresses (Business Address Services)   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

This function exit is used to change or add to IDoc data created in POS outbound processing for set assignments.

1.) Change existing IDoc segments:
You need the following parameters for this:
-- PI_E1WPS02_CNT: Ihis counter indicates how often segment
E1WPS02 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 set
assignment.
You can use this information to modify the IDoc data.
-- PX_SEGMENT_COUNTER: Total number of all prepared IDoc segments
except the current set assignment.
You can use this information to modify the IDoc data.
-- PXT_IDOC_DATA_TEMP: Table containing an IDoc record for
conversion. This table contains all the segments that belong to
the set assignment currently being prepared.
You can modify this data accordingly.
-- PIT_IDOC_DATA: Table containing all IDoc records prepared, with
the exception of the current one.
You can use the information in this table to modify the current
set assignment.
However, you should not change the table.

2.) Add to existing IDoc segments:
You need the following parameters for this:
-- PI_E1WPS02_CNT: See above for description.
-- PI_SEG_LOCAL_CNT: Number of segments for the current set
assignment. 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 insert this segment in the table several times.
Each time a line is added, 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 FORM routine 'convert_position_sets' in include
LXWPDF00, for example.






ROGBILLS - Synchronize billing plans   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 2464 Date: 20240420 Time: 043955     sap01-206 ( 16 ms )