SAP UDM_DC_CASE_READ Function Module for









UDM_DC_CASE_READ is a standard udm dc case read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for udm dc case read FM, simply by entering the name UDM_DC_CASE_READ into the relevant SAP transaction such as SE37 or SE38.

Function Group: UDM_DC_INTERFACES
Program Name: SAPLUDM_DC_INTERFACES
Main Program: SAPLUDM_DC_INTERFACES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function UDM_DC_CASE_READ pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'UDM_DC_CASE_READ'"
EXPORTING
I_CASE_GUID = "FSCM-DM: GUID (Internal Key of Dispute Case)
* I_LANGUAGE = SY-LANGU "Language Key
* I_PROCESS = ' ' "Permitted Process for Case Type
* I_NO_ATTR_DESCRIPTION = ' ' "

IMPORTING
ET_ATTRIBUTE = "FSCM-DM: Attribute Value
ET_ATTACHMENT = "FSCM-DM: List of Documents in Dispute Case
ET_NOTE = "FSCM-DM: Case Notes with Properties
ET_OBJECT = "FSCM-DM: Objects in a Case
ES_RETURN = "Return Parameter(s)
.



IMPORTING Parameters details for UDM_DC_CASE_READ

I_CASE_GUID - FSCM-DM: GUID (Internal Key of Dispute Case)

Data type: BDM_CASE_GUID
Optional: No
Call by Reference: Yes

I_LANGUAGE - Language Key

Data type: LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: Yes

I_PROCESS - Permitted Process for Case Type

Data type: SCMGPROCESS
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_NO_ATTR_DESCRIPTION -

Data type: BOOLE_D
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for UDM_DC_CASE_READ

ET_ATTRIBUTE - FSCM-DM: Attribute Value

Data type: BDM_T_ATTRIBUTE
Optional: No
Call by Reference: Yes

ET_ATTACHMENT - FSCM-DM: List of Documents in Dispute Case

Data type: UDM_T_CASE_DOCUMENT_LIST
Optional: No
Call by Reference: Yes

ET_NOTE - FSCM-DM: Case Notes with Properties

Data type: UDM_T_CASE_NOTE
Optional: No
Call by Reference: Yes

ET_OBJECT - FSCM-DM: Objects in a Case

Data type: UDM_T_OBJECT
Optional: No
Call by Reference: Yes

ES_RETURN - Return Parameter(s)

Data type: BAPIRET2
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for UDM_DC_CASE_READ Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_i_case_guid  TYPE BDM_CASE_GUID, "   
lv_et_attribute  TYPE BDM_T_ATTRIBUTE, "   
lv_i_language  TYPE LANGU, "   SY-LANGU
lv_et_attachment  TYPE UDM_T_CASE_DOCUMENT_LIST, "   
lv_et_note  TYPE UDM_T_CASE_NOTE, "   
lv_i_process  TYPE SCMGPROCESS, "   SPACE
lv_et_object  TYPE UDM_T_OBJECT, "   
lv_i_no_attr_description  TYPE BOOLE_D, "   SPACE
lv_es_return  TYPE BAPIRET2. "   

  CALL FUNCTION 'UDM_DC_CASE_READ'  "
    EXPORTING
         I_CASE_GUID = lv_i_case_guid
         I_LANGUAGE = lv_i_language
         I_PROCESS = lv_i_process
         I_NO_ATTR_DESCRIPTION = lv_i_no_attr_description
    IMPORTING
         ET_ATTRIBUTE = lv_et_attribute
         ET_ATTACHMENT = lv_et_attachment
         ET_NOTE = lv_et_note
         ET_OBJECT = lv_et_object
         ES_RETURN = lv_es_return
. " UDM_DC_CASE_READ




ABAP code using 7.40 inline data declarations to call FM UDM_DC_CASE_READ

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
DATA(ld_i_language) = SY-LANGU.
 
 
 
DATA(ld_i_process) = ' '.
 
 
DATA(ld_i_no_attr_description) = ' '.
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!