SAP ISU_INV_PF_STATUS_HANDLE Function Module for
ISU_INV_PF_STATUS_HANDLE is a standard isu inv pf status handle 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 isu inv pf status handle FM, simply by entering the name ISU_INV_PF_STATUS_HANDLE into the relevant SAP transaction such as SE37 or SE38.
Function Group: E21A
Program Name: SAPLE21A
Main Program: SAPLE21A
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function ISU_INV_PF_STATUS_HANDLE 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_INV_PF_STATUS_HANDLE'".
EXPORTING
X_HANDLE = "
* X_OKCODE = SY-UCOMM "
CHANGING
* XY_SELID = "
* XY_WHERE = "
TABLES
* T_OPBEL = "
* T_PORTION = "
* T_ABRVORG = "
* T_SPARTE = "
EXCEPTIONS
IU_ERROR = 1 SYSTEM_ERROR = 2 NOT_QUALIFIED = 3
IMPORTING Parameters details for ISU_INV_PF_STATUS_HANDLE
X_HANDLE -
Data type: EMSG_GEN-HANDLEOptional: No
Call by Reference: No ( called with pass by value option)
X_OKCODE -
Data type: SY-UCOMMDefault: SY-UCOMM
Optional: Yes
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for ISU_INV_PF_STATUS_HANDLE
XY_SELID -
Data type: RSDYNSEL-SELIDOptional: Yes
Call by Reference: No ( called with pass by value option)
XY_WHERE -
Data type: RSDS_WHEREOptional: Yes
Call by Reference: Yes
TABLES Parameters details for ISU_INV_PF_STATUS_HANDLE
T_OPBEL -
Data type: INV_OPBELOptional: Yes
Call by Reference: No ( called with pass by value option)
T_PORTION -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
T_ABRVORG -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
T_SPARTE -
Data type: ISU_RANGESOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
IU_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
SYSTEM_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_QUALIFIED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISU_INV_PF_STATUS_HANDLE 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: | ||||
lt_t_opbel | TYPE STANDARD TABLE OF INV_OPBEL, " | |||
lv_iu_error | TYPE INV_OPBEL, " | |||
lv_xy_selid | TYPE RSDYNSEL-SELID, " | |||
lv_x_handle | TYPE EMSG_GEN-HANDLE, " | |||
lv_xy_where | TYPE RSDS_WHERE, " | |||
lv_x_okcode | TYPE SY-UCOMM, " SY-UCOMM | |||
lt_t_portion | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_system_error | TYPE ISU_RANGES, " | |||
lt_t_abrvorg | TYPE STANDARD TABLE OF ISU_RANGES, " | |||
lv_not_qualified | TYPE ISU_RANGES, " | |||
lt_t_sparte | TYPE STANDARD TABLE OF ISU_RANGES. " |
  CALL FUNCTION 'ISU_INV_PF_STATUS_HANDLE' " |
EXPORTING | ||
X_HANDLE | = lv_x_handle | |
X_OKCODE | = lv_x_okcode | |
CHANGING | ||
XY_SELID | = lv_xy_selid | |
XY_WHERE | = lv_xy_where | |
TABLES | ||
T_OPBEL | = lt_t_opbel | |
T_PORTION | = lt_t_portion | |
T_ABRVORG | = lt_t_abrvorg | |
T_SPARTE | = lt_t_sparte | |
EXCEPTIONS | ||
IU_ERROR = 1 | ||
SYSTEM_ERROR = 2 | ||
NOT_QUALIFIED = 3 | ||
. " ISU_INV_PF_STATUS_HANDLE |
ABAP code using 7.40 inline data declarations to call FM ISU_INV_PF_STATUS_HANDLE
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."SELECT single SELID FROM RSDYNSEL INTO @DATA(ld_xy_selid). | ||||
"SELECT single HANDLE FROM EMSG_GEN INTO @DATA(ld_x_handle). | ||||
"SELECT single UCOMM FROM SY INTO @DATA(ld_x_okcode). | ||||
DATA(ld_x_okcode) | = SY-UCOMM. | |||
Search for further information about these or an SAP related objects