Ansicht
Dokumentation

EXIT_SAPLCOMK_006 -

EXIT_SAPLCOMK_006 -

Vendor Master (General Section)   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

The enhancement serves to check components that have been added to an order or changed (for example, against a standard material database). This check can reject the transfer of components to the order in some circumstances or replace the material number with another.

The enhancement is given the material number, the plant and the storage location of the component entered by the user (or of the components the user has changed). Also, the order header data is copied to the structure I_ORDER so that the check can also include order-related values. However, changes to values in this structure are not copied!

The check should copy back the material numbers to be processed (as well as the corresponding plant and storage location) in the structure E_MATERIAL. If the data was changed then the structure E_MATERIAL is always filled completely!

For the material returned (if E_MATERIAL is filled) the checks specified in the program standard are run. It can happen that the enhancement is called up for the replaced material number!

If the component is not to be copied at all then the check must trigger the exception MATERIAL_REJECTED which then leads to the adding or changing being cancelled.

Partly for this reason but also for example for the case of one material number being exchanged with another there is the structure E_MESSAGE in which a message can be copied back to the calling program. The following belong to the message: the application, the message number, the level of gravity (information, error, warning,...) as wellas four variable texts that replace the corresponding place holders in the message. If this structure is filled then the calling program makes sure that this message is displayed. In the application CO the message 877 was already created - it can be used to tell the user that a material number has been exchanged.

If the exception MATERIAL_REJECTED was set and the structure E_MESSAGE was filled then the calling program displays the message. However, if the message is not an error or a termination then this message is displayed as an error.






RFUMSV00 - Advance Return for Tax on Sales/Purchases   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2221 Date: 20240426 Time: 082508     sap01-206 ( 63 ms )