Ansicht
Dokumentation
BAPI_CASE_GETATTRIBUTES - Get All Attribute Values of Case
General Material Data BAL Application Log DocumentationThis documentation is copyright by SAP AG.
Functionality
This BAPI method is used to get the values of case attributes.
If the input table contains no attribute names, the values for all case attributes are returned. Otherwise, only the values for defined attribute names are returned.
Example
* Fill the table with case attributes
wa_case_attribute-NAME = 'CASE_TITLE'.
APPEND wa_case_attribute TO case_attributes.
wa_case_attribute-NAME = 'PRIORITY'.
APPEND wa_case_attribute TO case_attributes.
wa_case_attribute-NAME = 'STAT_ORDERNO'.
APPEND wa_case_attribute TO case_attributes.
* Call the BAPI
CALL FUNCTION 'BAPI_CASE_GETATTRIBUTES'
EXPORTING
GUID = '40908A3045BF1A51E10000000A1550FF'
IMPORTING
RETURN = return
TABLES
CASE_ATTRIBUTES = case_attributes.
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 displaying cases (authorization object S_SCMG_CAS).
Further information
Parameters
CASE_ATTRIBUTESGUID
IM_FREE_OBJECTS
IM_RESELECT_DB
RETURN
Exceptions
Function Group
SCMG_BAPI_CASEGeneral Material Data rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 2664 Date: 20240523 Time: 103150 sap01-206 ( 27 ms )