Functionality This BAPI method is used to change the values of the case attributes. Example * Fill the table with case attributes>> wa_case_attribute-NAME = 'CASE_TITLE'.> wa_case_attribute-VALUE = 'BAPI test case'.> APPEND wa_case_attribute TO case_attributes.> wa_case_attribute-NAME = 'PRIORITY'.> wa_case_attribute-VALUE = '01'.> APPEND wa_case_attribute TO case_attributes.> wa_case_attribute-NAME = 'STAT_ORDERNO'.> wa_case_attribute-VALUE = '30'.> APPEND wa_case_attribute TO case_attributes.> * Call the BAPI>> CALL FUNCTION 'BAPI_CASE_CHANGEATTRIBUTES'> EXPORTING> GUID = '40908A3045BF1A51E10000000A1550FF' > IMPORTING> RETURN = return> TABLES> CASE_ATTRIBUTES = case_attributes.>Notes The following prerequisites> must be met before this BAPI methodcan be used:
- The case exists.
The following authorizations> are required:
- An authorization for changing cases (authorization object S_SCMG_CAS).
Description Result of the BAPI call. Description The GUID of a case whose attributes need to be changed. Description Table with the names and values of the attributes to be changed in acase.
|