SAP LINE_LAYOUT_RELEASECHECK Function Module for Line structure fast entry: check of release with new activation
LINE_LAYOUT_RELEASECHECK is a standard line layout releasecheck SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Line structure fast entry: check of release with new activation 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 line layout releasecheck FM, simply by entering the name LINE_LAYOUT_RELEASECHECK into the relevant SAP transaction such as SE37 or SE38.
Function Group: F034
Program Name: SAPLF034
Main Program: SAPLF034
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function LINE_LAYOUT_RELEASECHECK 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 'LINE_LAYOUT_RELEASECHECK'"Line structure fast entry: check of release with new activation.
EXPORTING
* I_ALWAYS = ' ' "New activation always independent of release
I_ANWND = "Application
I_PROGN = "Program
* I_XPRA = "
EXCEPTIONS
ABNORMAL_TERMINATION = 1 INVALID_CALL = 2
IMPORTING Parameters details for LINE_LAYOUT_RELEASECHECK
I_ALWAYS - New activation always independent of release
Data type: T020-FUNCLDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_ANWND - Application
Data type: T021D-ANWNDOptional: No
Call by Reference: No ( called with pass by value option)
I_PROGN - Program
Data type: T021D-PROGNOptional: No
Call by Reference: No ( called with pass by value option)
I_XPRA -
Data type: COptional: Yes
Call by Reference: Yes
EXCEPTIONS details
ABNORMAL_TERMINATION - Processing Terminated
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INVALID_CALL - Invalid Call
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for LINE_LAYOUT_RELEASECHECK 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_i_always | TYPE T020-FUNCL, " ' ' | |||
| lv_abnormal_termination | TYPE T020, " | |||
| lv_i_anwnd | TYPE T021D-ANWND, " | |||
| lv_invalid_call | TYPE T021D, " | |||
| lv_i_progn | TYPE T021D-PROGN, " | |||
| lv_i_xpra | TYPE C. " |
|   CALL FUNCTION 'LINE_LAYOUT_RELEASECHECK' "Line structure fast entry: check of release with new activation |
| EXPORTING | ||
| I_ALWAYS | = lv_i_always | |
| I_ANWND | = lv_i_anwnd | |
| I_PROGN | = lv_i_progn | |
| I_XPRA | = lv_i_xpra | |
| EXCEPTIONS | ||
| ABNORMAL_TERMINATION = 1 | ||
| INVALID_CALL = 2 | ||
| . " LINE_LAYOUT_RELEASECHECK | ||
ABAP code using 7.40 inline data declarations to call FM LINE_LAYOUT_RELEASECHECK
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 FUNCL FROM T020 INTO @DATA(ld_i_always). | ||||
| DATA(ld_i_always) | = ' '. | |||
| "SELECT single ANWND FROM T021D INTO @DATA(ld_i_anwnd). | ||||
| "SELECT single PROGN FROM T021D INTO @DATA(ld_i_progn). | ||||
Search for further information about these or an SAP related objects