Ansicht
Dokumentation

W_PRICAT_IN_BADI_003 - BAdI: Reorganization

W_PRICAT_IN_BADI_003 - BAdI: Reorganization

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

The methods of this business add-in are called in the deletion report for catalogs (W_PRICAT_DELETE) and the deletion report for individual catalog items (W_PRICAT_DELPOS) and are used to check the catalogs or items for deletion against customer-specific criteria prior to deletion.

One of the two reports RWRF_PRICAT_INBOUND_DELETE or RWRF_PRICAT_INBOUND_DELPOS must be called and catalogs or catalog items must have been selected for deletion.

Business add-in WRF_PRICAT_DELETION is empty in the standard system, that is, no special checks are carried out. All selected catalogs or items are therefore deleted.

Implement the methods CHECK_CATALOGUE and/or CHECK_POSITIONS, in order to prevent deletion of individual catalogs or catalog items.

You want to prevent deletion report RWRF_PRICAT_INBOUND_DELETE from deleting certain catalogs, which are flagged accordingly. For this, you implement method CHECK_CATALOGUE of the BAdI and return flag E_DO_NOT_DELETE = 'X'. The report does not delete the flagged entries.

There are also certain items that you want to ensure are not deleted. You therefore implement method CHECK_POSITIONS and remove from transfer table CT_POSITIONKEY the items you do not want to delete. The report does not delete these items.






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

Length: 1368 Date: 20240523 Time: 175112     sap01-206 ( 35 ms )