SAP ABAP IMG Activity ISM_BADCUST_CHANGE (BAdI: Change Similar Orders Hitlist)
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_CHANGE BAdI: Change Similar Orders Hitlist  
Transaction Code S_P7I_68000232   (empty) 
Created on 20120827    
Customizing Attributes ISM_BADCUST_CHANGE   BAdI: Change Similar Orders Hitlist 
Customizing Activity ISM_BADCUST_CHANGE   BAdI: Change Similar Orders Hitlist 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name ISM_SD_BADCUSTOMER_CHANGE    

Use

You can use this business add-in (BAdI) to modify the order or business partner data identified by the system (during the check to identify and reject undesirable orders). You can further restrict the search result or perform a completely new search according to criteria that you define.

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 standard check determines business partners according to the following criteria:

  • Bank details
  • Credit card data
  • Coding data and house number (without affix) for the address

No check to ensure that names are identical is performed.

The system calls this BAdI before displaying the hitlist.

The BAdI uses the following parameters in the method CHANGE_ENTRIES:

  • Import Parameters
    This data refers to the new order and business partner:
    • IV_VKORG (Sales Organization)
    • IV_VTWEG (Distribution Channel)
    • IV_SPART (Division)
    • IV_PARTNER (Business Partner Number)
    • IV_AUART (Sales Document Type)
    • IV_POART (Sales Order Item Type)
    • IV_DRERZ (Publication)
    • IS_JGTSADR (Address data)
  • Change Parameter
    CT_BADCUST (Table of order data determined by the system that matches the filter criteria for the check)
    You can remove entries or determine order data using your own criteria.
    Note:
    If you want the system to delete the order without the clerk being able to manually check it and make a decision, you must delete all entries from this table.

Activities

Implement the BAdI and modify the content of the data transferred by the change parameter CT_BADCUST to meet your requirements. For more information, see Implementation.

Example

Before the hitlist is displayed, you remove a row from the check result.

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