FDM_CASE_CREATE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name FDM_CASE_CREATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FDM_CASE_SERVICES
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FDM_CASE_CREATE' "
EXPORTING
* i_update_task = 'X' " boole_d
i_proc_type = " fdm_proc_type
i_proc_id = " fdm_proc_id
it_process_objects = " fdm_t_process_data FSCM-DM Integration: Process Data for the Dispute Case
it_attributes = " fdm_t_attribute FSCM-DM Integration: Attribute Value
* is_note_properties = " bdm_s_note_properties FSCM-DM: Properties for Notes for Dispute Case
* it_case_note = " tlinetab Type: Multidimensional Table: Text Header + Lines
* it_case_filecontent = " fdm_t_filecontent FSCM-DM: File Content for Attachment to Dispute
* it_fileclass = " bdm_t_fileclass FSCM-DM: Classifications for Attachments to Dispute
* i_external_guid = " sysuuid_c UUID in Character Format
* i_no_communication = " boole_d Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* i_no_rfc_test = " fdm_no_rfc_test
* i_testrun = " testrun Switch to Simulation Mode for Write BAPIs
IMPORTING
es_return = " bapiret2 Return Parameter(s)
e_proc_seqnr = " fdm_proc_seqnr Sequential Number of Process
EXCEPTIONS
GET_NUMBER_FAILURE = 1 "
CASE_TYPE_MISSING = 2 "
MORE_THAN_ONE_CURR = 3 "
UPDATE_FAILURE = 4 "
. " FDM_CASE_CREATE
The ABAP code below is a full code listing to execute function module FDM_CASE_CREATE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_es_return | TYPE BAPIRET2 , |
| ld_e_proc_seqnr | TYPE FDM_PROC_SEQNR . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_es_return | TYPE BAPIRET2 , |
| ld_i_update_task | TYPE BOOLE_D , |
| ld_e_proc_seqnr | TYPE FDM_PROC_SEQNR , |
| ld_i_proc_type | TYPE FDM_PROC_TYPE , |
| ld_i_proc_id | TYPE FDM_PROC_ID , |
| ld_it_process_objects | TYPE FDM_T_PROCESS_DATA , |
| ld_it_attributes | TYPE FDM_T_ATTRIBUTE , |
| ld_is_note_properties | TYPE BDM_S_NOTE_PROPERTIES , |
| ld_it_case_note | TYPE TLINETAB , |
| ld_it_case_filecontent | TYPE FDM_T_FILECONTENT , |
| ld_it_fileclass | TYPE BDM_T_FILECLASS , |
| ld_i_external_guid | TYPE SYSUUID_C , |
| ld_i_no_communication | TYPE BOOLE_D , |
| ld_i_no_rfc_test | TYPE FDM_NO_RFC_TEST , |
| ld_i_testrun | TYPE TESTRUN . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FDM_CASE_CREATE or its description.