Ansicht
Dokumentation

BAPI_CASE_CHANGE - Changes to Case

BAPI_CASE_CHANGE - Changes to Case

ABAP Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This BAPI method is used to change the data of an existing case.

Example

* Call the BAPI

CALL FUNCTION 'BAPI_CASE_CHANGE'

     EXPORTING

          GUID                         = '40908A3045BF1A51E10000000A1550FF'

          SKIP_ERROR                   = 'X'

          NEW_VERSION                  = 'X'

          DELETE_ONLY_FIRST            = 'X'

     TABLES

          RETURN                       = return

          CASE_ATTRIBUTES              = case_attributes

          CASE_NOTES                   = case_notes

          CASE_NOTE_IDS                = case_note_ids

          ELEMENT_IDENTIFICATION       = element_identification

          ELEMENT_INSERTION            = element_insertion

          ELEMENT_ATTRIBUTES           = element_attributes

          ELEMENT_RELATIONS            = element_relations

          ELEMENT_IDENT_RECPOS         = element_ident_recpos

          ELEMENT_IDENT_SP_POID        = element_ident_sp_poid.

Notes

The following prerequisites must be met before this BAPI method can be used:

  • The case exists.

The following authorizations are required:

  • An authorization for changing cases (authorization object S_SCMG_CAS).

Further information

See also the documentation for functions

  • BAPI_CASE_CHANGEATTRIBUTES - to get detailed information on how to change the case attributes;
  • BAPI_CASE_ADDNOTES - to get detailed information on how to fill the parameters to add notes;
  • BAPI_CASE_ADDELEMENTS - to get detailed information on how to fill the parameters to add elements;
  • BAPI_CASE_DELETEELEMENTS - to get detailed information on how to fill the parameters to delete elements.

.





Parameters

CASE_ATTRIBUTES
CASE_NOTES
CASE_NOTE_IDS
DELETE_ONLY_FIRST
ELEMENT_ATTRIBUTES
ELEMENT_IDENTIFICATION
ELEMENT_IDENT_RECPOS
ELEMENT_IDENT_SP_POID
ELEMENT_INSERTION
ELEMENT_RELATIONS
GUID
NEW_VERSION
RETURN
SKIP_ERRORS

Exceptions

Function Group

SCMG_BAPI_CASE

rdisp/max_wprun_time - Maximum work process run time   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 5747 Date: 20240523 Time: 110121     sap01-206 ( 32 ms )