SAP ABAP IMG Activity DM_BADI_CHNG_BFR_STR (BAdI: Change Cases before Saving)
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_CHNG_BFR_STR BAdI: Change Cases before Saving  
Transaction Code S_SE3_50000092   (empty) 
Created on 20021113    
Customizing Attributes DM_257NKA   Attribute: Critical User Exits 
Customizing Activity DM_BADI_CHNG_BFR_OB   Change Cases before Saving 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SCMG_CHNG_BFR_STR_C    

Use

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

Before the data of the case is saved in the database, the CHANGE method of the Business Add-In is called.

Within this method you can change case attributes that are only to be reset when saved.

Remote Function Calls (RFCs) and database commits are permitted within this method since no updates have taken place yet. For this reason, no updates and inserts to database tables must take place in this method.

The CHANGE method contains the following parameter for changing case attributes:

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 and change the attributes of a clarification case. The most important methods are:

  • GET_SINGLE_ATTRIBUTE_VALUE: Read the current value of an attribute
  • SET_SINGLE_ATTRIBUTE_VALUE: Set the value of an attribute

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

Requirements

Standard settings

This BAdI is called only if the process that belongs to the case type supports customer BAdIs.

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