SAP ISU_PRDOC_CREATE Function Module for INTERNAL: Create Parking Document
ISU_PRDOC_CREATE is a standard isu prdoc create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for INTERNAL: Create Parking Document 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 isu prdoc create FM, simply by entering the name ISU_PRDOC_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: EC70
Program Name: SAPLEC70
Main Program: SAPLEC70
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISU_PRDOC_CREATE 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 'ISU_PRDOC_CREATE'"INTERNAL: Create Parking Document.
EXPORTING
I_PROCESS = "Parking Process
* I_PRVAR = "Parking Variant
IT_MDKEY = "Table Category for ECAMIOPRMDKEY
I_AUTO = "IS-U Parked Document: Automation Data
* I_AUTO_NOTICE = "
IMPORTING
E_PRDOC = "Parked Document Number
EXCEPTIONS
NOT_FOUND = 1 FOREIGN_LOCK = 2 NOT_AUTHORIZED = 3 SYSTEM_ERROR = 4
IMPORTING Parameters details for ISU_PRDOC_CREATE
I_PROCESS - Parking Process
Data type: ECAMIO_PROCESSOptional: No
Call by Reference: No ( called with pass by value option)
I_PRVAR - Parking Variant
Data type: ECAMIO_PRVAROptional: Yes
Call by Reference: No ( called with pass by value option)
IT_MDKEY - Table Category for ECAMIOPRMDKEY
Data type: ISU_ECAMIOPRMDKEY_TABOptional: No
Call by Reference: Yes
I_AUTO - IS-U Parked Document: Automation Data
Data type: ECAMIOPR_COMPL_AUOptional: No
Call by Reference: Yes
I_AUTO_NOTICE -
Data type: EENOT_AUTOOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISU_PRDOC_CREATE
E_PRDOC - Parked Document Number
Data type: ECAMIO_PRDOCOptional: No
Call by Reference: Yes
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
FOREIGN_LOCK -
Data type:Optional: No
Call by Reference: Yes
NOT_AUTHORIZED -
Data type:Optional: No
Call by Reference: Yes
SYSTEM_ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_PRDOC_CREATE 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_e_prdoc | TYPE ECAMIO_PRDOC, " | |||
| lv_i_process | TYPE ECAMIO_PROCESS, " | |||
| lv_not_found | TYPE ECAMIO_PROCESS, " | |||
| lv_i_prvar | TYPE ECAMIO_PRVAR, " | |||
| lv_foreign_lock | TYPE ECAMIO_PRVAR, " | |||
| lv_it_mdkey | TYPE ISU_ECAMIOPRMDKEY_TAB, " | |||
| lv_not_authorized | TYPE ISU_ECAMIOPRMDKEY_TAB, " | |||
| lv_i_auto | TYPE ECAMIOPR_COMPL_AU, " | |||
| lv_system_error | TYPE ECAMIOPR_COMPL_AU, " | |||
| lv_i_auto_notice | TYPE EENOT_AUTO. " |
|   CALL FUNCTION 'ISU_PRDOC_CREATE' "INTERNAL: Create Parking Document |
| EXPORTING | ||
| I_PROCESS | = lv_i_process | |
| I_PRVAR | = lv_i_prvar | |
| IT_MDKEY | = lv_it_mdkey | |
| I_AUTO | = lv_i_auto | |
| I_AUTO_NOTICE | = lv_i_auto_notice | |
| IMPORTING | ||
| E_PRDOC | = lv_e_prdoc | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| FOREIGN_LOCK = 2 | ||
| NOT_AUTHORIZED = 3 | ||
| SYSTEM_ERROR = 4 | ||
| . " ISU_PRDOC_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM ISU_PRDOC_CREATE
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