SAP /ACCGO/DGR_CREATE_PROCESSING Function Module for Production Services Call
/ACCGO/DGR_CREATE_PROCESSING is a standard /accgo/dgr create processing SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Production Services Call processing and below is the pattern details for this FM, 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 /accgo/dgr create processing FM, simply by entering the name /ACCGO/DGR_CREATE_PROCESSING into the relevant SAP transaction such as SE37 or SE38.
Function Group: /ACCGO/DGR_PROCESSING_EXT
Program Name: /ACCGO/SAPLDGR_PROCESSING_EXT
Main Program: /ACCGO/SAPLDGR_PROCESSING_EXT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function /ACCGO/DGR_CREATE_PROCESSING 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 '/ACCGO/DGR_CREATE_PROCESSING'"Production Services Call.
EXPORTING
IT_SRC_DET = "Get Characteristics of Storage Location
IT_DEST_DET = "Get Characteristics of Storage Location
IS_INPUT_DATA = "Input from Processing screen
IMPORTING
EV_HLR_EVENT_ID = "HLR Event ID
EV_TICKET_KEY = "Ticket Key
EV_STATUS = "Status
ES_MESSAGE = "Application Log: Newly-Assigned LOGNUMBER Table
IMPORTING Parameters details for /ACCGO/DGR_CREATE_PROCESSING
IT_SRC_DET - Get Characteristics of Storage Location
Data type: /ACCGO/TT_DGR_API_GET_CHAROptional: No
Call by Reference: No ( called with pass by value option)
IT_DEST_DET - Get Characteristics of Storage Location
Data type: /ACCGO/TT_DGR_API_GET_CHAROptional: No
Call by Reference: No ( called with pass by value option)
IS_INPUT_DATA - Input from Processing screen
Data type: /ACCGO/S_DGR_PROCESS_INPUTOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for /ACCGO/DGR_CREATE_PROCESSING
EV_HLR_EVENT_ID - HLR Event ID
Data type: /ACCGO/E_HLR_EVENT_IDOptional: No
Call by Reference: No ( called with pass by value option)
EV_TICKET_KEY - Ticket Key
Data type: /ACCGO/E_TICKET_KEYOptional: No
Call by Reference: No ( called with pass by value option)
EV_STATUS - Status
Data type: /ACCGO/E_HLR_STATUSOptional: No
Call by Reference: No ( called with pass by value option)
ES_MESSAGE - Application Log: Newly-Assigned LOGNUMBER Table
Data type: /ACCGO/DGR_S_BAL_MSGOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for /ACCGO/DGR_CREATE_PROCESSING 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_it_src_det | TYPE /ACCGO/TT_DGR_API_GET_CHAR, " | |||
lv_ev_hlr_event_id | TYPE /ACCGO/E_HLR_EVENT_ID, " | |||
lv_it_dest_det | TYPE /ACCGO/TT_DGR_API_GET_CHAR, " | |||
lv_ev_ticket_key | TYPE /ACCGO/E_TICKET_KEY, " | |||
lv_ev_status | TYPE /ACCGO/E_HLR_STATUS, " | |||
lv_is_input_data | TYPE /ACCGO/S_DGR_PROCESS_INPUT, " | |||
lv_es_message | TYPE /ACCGO/DGR_S_BAL_MSG. " |
  CALL FUNCTION '/ACCGO/DGR_CREATE_PROCESSING' "Production Services Call |
EXPORTING | ||
IT_SRC_DET | = lv_it_src_det | |
IT_DEST_DET | = lv_it_dest_det | |
IS_INPUT_DATA | = lv_is_input_data | |
IMPORTING | ||
EV_HLR_EVENT_ID | = lv_ev_hlr_event_id | |
EV_TICKET_KEY | = lv_ev_ticket_key | |
EV_STATUS | = lv_ev_status | |
ES_MESSAGE | = lv_es_message | |
. " /ACCGO/DGR_CREATE_PROCESSING |
ABAP code using 7.40 inline data declarations to call FM /ACCGO/DGR_CREATE_PROCESSING
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.Search for further information about these or an SAP related objects