SAP ISU_O_LPASSLIST_PREPARE_CLOSE Function Module for Internal: Prepare to Close List of Load Profile Allocations









ISU_O_LPASSLIST_PREPARE_CLOSE is a standard isu o lpasslist prepare close 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: Prepare to Close List of Load Profile Allocations 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 o lpasslist prepare close FM, simply by entering the name ISU_O_LPASSLIST_PREPARE_CLOSE into the relevant SAP transaction such as SE37 or SE38.

Function Group: E_LP_ASSIGNMENT
Program Name: SAPLE_LP_ASSIGNMENT
Main Program: SAPLE_LP_ASSIGNMENT
Appliation area: E
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISU_O_LPASSLIST_PREPARE_CLOSE 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_O_LPASSLIST_PREPARE_CLOSE'"Internal: Prepare to Close List of Load Profile Allocations
EXPORTING
* X_EXIT_TYPE = CO_BACK "
* X_NO_DIALOG = "

IMPORTING
Y_CHANGED = "
Y_DECISION = "

CHANGING
XY_OBJ = "

EXCEPTIONS
DONT_EXIT = 1
.



IMPORTING Parameters details for ISU_O_LPASSLIST_PREPARE_CLOSE

X_EXIT_TYPE -

Data type: REGEN-EXIT_TYPE
Default: CO_BACK
Optional: Yes
Call by Reference: No ( called with pass by value option)

X_NO_DIALOG -

Data type: REGEN-NO_DIALOG
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ISU_O_LPASSLIST_PREPARE_CLOSE

Y_CHANGED -

Data type: REGEN-CHANGED
Optional: No
Call by Reference: No ( called with pass by value option)

Y_DECISION -

Data type: REGEN-DECISION
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for ISU_O_LPASSLIST_PREPARE_CLOSE

XY_OBJ -

Data type: ISULP_LPASSLIST
Optional: No
Call by Reference: Yes

EXCEPTIONS details

DONT_EXIT -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for ISU_O_LPASSLIST_PREPARE_CLOSE 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_xy_obj  TYPE ISULP_LPASSLIST, "   
lv_dont_exit  TYPE ISULP_LPASSLIST, "   
lv_y_changed  TYPE REGEN-CHANGED, "   
lv_x_exit_type  TYPE REGEN-EXIT_TYPE, "   CO_BACK
lv_y_decision  TYPE REGEN-DECISION, "   
lv_x_no_dialog  TYPE REGEN-NO_DIALOG. "   

  CALL FUNCTION 'ISU_O_LPASSLIST_PREPARE_CLOSE'  "Internal: Prepare to Close List of Load Profile Allocations
    EXPORTING
         X_EXIT_TYPE = lv_x_exit_type
         X_NO_DIALOG = lv_x_no_dialog
    IMPORTING
         Y_CHANGED = lv_y_changed
         Y_DECISION = lv_y_decision
    CHANGING
         XY_OBJ = lv_xy_obj
    EXCEPTIONS
        DONT_EXIT = 1
. " ISU_O_LPASSLIST_PREPARE_CLOSE




ABAP code using 7.40 inline data declarations to call FM ISU_O_LPASSLIST_PREPARE_CLOSE

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 CHANGED FROM REGEN INTO @DATA(ld_y_changed).
 
"SELECT single EXIT_TYPE FROM REGEN INTO @DATA(ld_x_exit_type).
DATA(ld_x_exit_type) = CO_BACK.
 
"SELECT single DECISION FROM REGEN INTO @DATA(ld_y_decision).
 
"SELECT single NO_DIALOG FROM REGEN INTO @DATA(ld_x_no_dialog).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!