SAP ABAP IMG Activity ISM_BADCUST_SAVEDATA (BAdI: Save Data for Rejected Order)
Hierarchy
IS-M (Software Component) SAP MEDIA
   IS-M (Application Component) SAP Media
     JSD (Package) Appl. dev. R/3 Publishing Sales and Distribution System
IMG Activity
ID ISM_BADCUST_SAVEDATA BAdI: Save Data for Rejected Order  
Transaction Code S_P7I_68000233   (empty) 
Created on 20120827    
Customizing Attributes ISM_BADCUST_SAVEDATA   Save Data for Rejected Order 
Customizing Activity ISM_BADCUST_SAVEDATA   Save Data for Rejected Order 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name ISM_SD_BADCUSTOMER_SAVEDATA    

Use

You can use this business add-in (BAdI) to record data for orders that the clerk has selected in the hitlist during the check to identify and reject undesirable orders.

Requirements

You have activated the check used to identify and reject undesirable orders. For more information, see Customizing for Media Sales and Distribution under Periodical Sales and Distribution -> Sales -> Order -> Configure Determination of Undesirable Orders.

Standard settings

The system accesses this BAdI if the clerk rejects the order on the basis of the check result.

The BAdI uses the following import parameters in the method SAVE_DATA:

  • IS_BADCUSTOMER (Data for the order rejected by the clerk)
  • IT_BADCUSTOMER (Table of order data determined by the system that matches the filter criteria for the check)
    If you implement this BAdI, clerks can select orders in the hitlist. Selected orders contain the value "X" in the field SELKZ.

Activities

Implement the BAdI. For more information, see Implementation.

Note that the COMMIT control takes place in the calling program. Do not therefore use any COMMIT or ROLLBACK commands in the BAdI.

Example

Add another field to the table KNA1 and save the data for the selected hit, for example the date of the most recent attempt to place an order for a discounted subscription.

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  20120827 
SAP Release Created in