SAP ISU_PRDOC_SCREEN Function Module for IS-U Document Parking: Call Interface
ISU_PRDOC_SCREEN is a standard isu prdoc screen SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-U Document Parking: Call Interface 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 screen FM, simply by entering the name ISU_PRDOC_SCREEN 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_SCREEN 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_SCREEN'"IS-U Document Parking: Call Interface.
EXPORTING
* I_PRDOC = "Parked Document Number
I_WMODE = "Processing Mode (1 = Display, 2 = Change, 3 = Create...)
* I_PROCESS = "Parking Process
* I_PRVAR = "Parking Variant
* IT_MDKEY = "Table Category for ECAMIOPRMDKEY
* I_AUTO = "IS-U Parked Document: Automation Data
* I_CONTR_EXT = "IS-U Parking: External Control Data
IMPORTING
E_PRDOC = "Parked Document Number
EXCEPTIONS
NOT_FOUND = 1 FOREIGN_LOCK = 2 NOT_AUTHORIZED = 3 IN_PROCESSING = 4 SYSTEM_ERROR = 5
IMPORTING Parameters details for ISU_PRDOC_SCREEN
I_PRDOC - Parked Document Number
Data type: ECAMIO_PRDOCOptional: Yes
Call by Reference: No ( called with pass by value option)
I_WMODE - Processing Mode (1 = Display, 2 = Change, 3 = Create...)
Data type: E_MODEOptional: No
Call by Reference: No ( called with pass by value option)
I_PROCESS - Parking Process
Data type: ECAMIO_PROCESSOptional: Yes
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: Yes
Call by Reference: Yes
I_AUTO - IS-U Parked Document: Automation Data
Data type: ECAMIOPR_COMPL_AUOptional: Yes
Call by Reference: Yes
I_CONTR_EXT - IS-U Parking: External Control Data
Data type: ECAMIO_CONTR_EXTOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISU_PRDOC_SCREEN
E_PRDOC - Parked Document Number
Data type: ECAMIO_PRDOCOptional: No
Call by Reference: Yes
EXCEPTIONS details
NOT_FOUND - System Did Not Find Parked Document
Data type:Optional: No
Call by Reference: Yes
FOREIGN_LOCK - Parked Document Locked
Data type:Optional: No
Call by Reference: Yes
NOT_AUTHORIZED - No access authorization
Data type:Optional: No
Call by Reference: Yes
IN_PROCESSING -
Data type:Optional: No
Call by Reference: Yes
SYSTEM_ERROR - System Error
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISU_PRDOC_SCREEN 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_prdoc | TYPE ECAMIO_PRDOC, " | |||
| lv_not_found | TYPE ECAMIO_PRDOC, " | |||
| lv_i_wmode | TYPE E_MODE, " | |||
| lv_foreign_lock | TYPE E_MODE, " | |||
| lv_i_process | TYPE ECAMIO_PROCESS, " | |||
| lv_not_authorized | TYPE ECAMIO_PROCESS, " | |||
| lv_i_prvar | TYPE ECAMIO_PRVAR, " | |||
| lv_in_processing | TYPE ECAMIO_PRVAR, " | |||
| lv_it_mdkey | TYPE ISU_ECAMIOPRMDKEY_TAB, " | |||
| lv_system_error | TYPE ISU_ECAMIOPRMDKEY_TAB, " | |||
| lv_i_auto | TYPE ECAMIOPR_COMPL_AU, " | |||
| lv_i_contr_ext | TYPE ECAMIO_CONTR_EXT. " |
|   CALL FUNCTION 'ISU_PRDOC_SCREEN' "IS-U Document Parking: Call Interface |
| EXPORTING | ||
| I_PRDOC | = lv_i_prdoc | |
| I_WMODE | = lv_i_wmode | |
| I_PROCESS | = lv_i_process | |
| I_PRVAR | = lv_i_prvar | |
| IT_MDKEY | = lv_it_mdkey | |
| I_AUTO | = lv_i_auto | |
| I_CONTR_EXT | = lv_i_contr_ext | |
| IMPORTING | ||
| E_PRDOC | = lv_e_prdoc | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| FOREIGN_LOCK = 2 | ||
| NOT_AUTHORIZED = 3 | ||
| IN_PROCESSING = 4 | ||
| SYSTEM_ERROR = 5 | ||
| . " ISU_PRDOC_SCREEN | ||
ABAP code using 7.40 inline data declarations to call FM ISU_PRDOC_SCREEN
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