Ansicht
Dokumentation

EXIT_SAPLWTIP_001 -

EXIT_SAPLWTIP_001 -

Vendor Master (General Section)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Use

You use this function module to change or add to the content of an additional IDoc. The data for the IDoc is passed to the module in the form of structures for simpler segments and tables for repeatable segments.

If the IDoc is called from an application, the reference data is copied and the copy is passed on. The reference data is filled when purchase orders are generated in the additionals monitor and when an IDoc is generated automatically as a result of automatic generation of follow-on purchase orders for additionals.

For example, when an additionals IDoc is generated as a result of a goods movement, PI_MKPF contains header data and PIT_MSEG item data.

Example

A ticket should contain the cost price of a material in encrypted form. In the standard system, the IDoc is filled with the sales price conditions. The condition PB00 now has to be entered in the segment E2WTADDI09. The following code does this:

loop at pxt_e1wtaddi09.
if .
the (base) unit of measure or other data,
which possibly comes from the reference document>


endif.
endloop.

Notes

If the condition should be encrypted as a character, an extra field may have to be added to the segment E2WTADDI09 in the IDoc. Numerical values only are allowed got e1wtaddi09-vbetr.

The segments and their keys are defined in the type pool ADDI in IncludeADDI_TYPES_IDOC.

The program formatting the IDoc for ticket printing must be changed accordingly.






ROGBILLS - Synchronize billing plans   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 1857 Date: 20240426 Time: 091239     sap01-206 ( 37 ms )