SAP ABAP IMG Activity DM_BADI_VALIDATE_C (BAdI: Customer-Specific Validation of Cases)
Hierarchy
FINBASIS (Software Component) Fin. Basis
   FIN-FSCM-DM-DM (Application Component) Basic Functions
     UDM_CUSTOMIZING (Package) FSCM Dispute Management - Customizing
IMG Activity
ID DM_BADI_VALIDATE_C BAdI: Customer-Specific Validation of Cases  
Transaction Code S_SE3_50000091   (empty) 
Created on 20021113    
Customizing Attributes DM_257NKA   Attribute: Critical User Exits 
Customizing Activity DM_BADI_VALIDATE_OB   BAdI: Customer-Specific Validation of Cases 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SCMG_VALIDATE_C    

Use

This Business Add-In (BAdI) is used in the component Case Management (BC-SRV-CM).

Each time that the system checks whether the data of the case is correct, the VALIDATE method of the Business Add-In is called.

Within this method, the parameter EX_IS_VALID must be set.

If the case is valid, the parameter must be set to if_srm=>true.

If the value of an attribute is invalid, the parameter must be set to if_srm=>false. In addition, an entry with a corresponding error message must be generated in the EX_MESSAGES table. The organizer automatically navigates to the attribute that corresponds to EX_MESSAGES-ATTR_VALUE.

Caution: The case is not allowed to be changed within this Business Add-In.

To access the attributes of the case, the method contains the following parameter:

IM_CASE
The parameter IM_CASE is a reference to the interface IF_SCMG_CASE.
By using the methods of this interface, you can read the attributes of a clarification case. The most important methods are:

  • GET_SINGLE_ATTRIBUTE_VALUE: Read the current value of an attribute
  • GET_SINGLE_ATTRIBUTE: Read the attribute value object

You can see other methods in transaction SE24 if you display the interface IF_SCMG_CASE.

Requirements

Standard settings

Activities

Example

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