Ansicht
Dokumentation

EXIT_SAPLV56I_004 -

EXIT_SAPLV56I_004 -

RFUMSV00 - Advance Return for Tax on Sales/Purchases   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This customer exit is for modifying the IDoc in category TPSDLS01. You can modify it after entering all structures in the IDoc table.

Example

1) This example provides coding for accessing the packing data header. One field has been changed.

* Declaration of Datastructures
data: e1tpshu like e1tpshu. "packing unit segment

* read E1TPSHU segment
read table idoc_data with key segnam = 'E1TPSHU'.

* do something
e1tpshu = idoc_data-sdata. "get the data contents of the segment
e1tpshu-shputx = 'PALETTE' "change text
idoc_data-sdata = e1tpshu. "write back segment contents
modify idoc_data index sy-tabix.

2) This example provides coding for adding a segment after the last segment (here the IDoc has to be changed).

* Declaration of Datastructures
data: e1tpnew like e1tpnew. "a new segment

* do something if the written segment was action code segment
e1tpnew-newfield = '0001'. "set the field values of new segment
idoc_data-sdata = e1tpnew. "write segment contents
idoc_data-segnam = 'E1TPNEW'. "set segment name
append idoc_data.






CL_GUI_FRONTEND_SERVICES - Frontend Services   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 1320 Date: 20240424 Time: 172256     sap01-206 ( 18 ms )