SAP ABAP IMG Activity W_PRICAT_IN_BADI_003 (BAdI: Reorganization)
Hierarchy
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
   SD-EDI (Application Component) Electronic Data Interchange
     WRF_VPRI_IN (Package) Price Catalog Inbound 2004
IMG Activity
ID W_PRICAT_IN_BADI_003 BAdI: Reorganization  
Transaction Code S_XB4_60000189   (empty) 
Created on 20040825    
Customizing Attributes W_PRICAT_IN_BADI   BAdIs Price Catalog Inbound 
Customizing Activity W_PRICAT_IN_BADI_003   BAdI: Reorganization 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name WRF_PRICAT_DELETION    

Use

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.

Requirements

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.

Standard settings

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.

Activities

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

Example

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.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20040909 
SAP Release Created in 111