SAP CHECK_REORG_MATERIAL_LIFNR Function Module for NOTRANSL: Überprüfung, ob Materialien für Lieferanten ausgelistet werden k
CHECK_REORG_MATERIAL_LIFNR is a standard check reorg material lifnr SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Überprüfung, ob Materialien für Lieferanten ausgelistet werden k 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 check reorg material lifnr FM, simply by entering the name CHECK_REORG_MATERIAL_LIFNR into the relevant SAP transaction such as SE37 or SE38.
Function Group: WSO8
Program Name: SAPLWSO8
Main Program: SAPLWSO8
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CHECK_REORG_MATERIAL_LIFNR 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 'CHECK_REORG_MATERIAL_LIFNR'"NOTRANSL: Überprüfung, ob Materialien für Lieferanten ausgelistet werden k.
EXPORTING
* TEST_ON = 'X' "Test Mode
* DATE = "ABAP System Field: Current Date of Application Server
* COMPLETE_CHECK = 'X' "Check Material for All Errors
TABLES
RECORD_TO_DEL = "Structure for checking discontinuation of vendor materials
OUTPUT_TABLE = "Output Table
EXCEPTIONS
INTERNAL_ERROR = 1
IMPORTING Parameters details for CHECK_REORG_MATERIAL_LIFNR
TEST_ON - Test Mode
Data type: REO_SEL-TESTDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
DATE - ABAP System Field: Current Date of Application Server
Data type: SY-DATUMOptional: Yes
Call by Reference: No ( called with pass by value option)
COMPLETE_CHECK - Check Material for All Errors
Data type: REO_SEL-COMPCHKDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for CHECK_REORG_MATERIAL_LIFNR
RECORD_TO_DEL - Structure for checking discontinuation of vendor materials
Data type: WSOL_MLWOptional: No
Call by Reference: No ( called with pass by value option)
OUTPUT_TABLE - Output Table
Data type: REO_MESSAGEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CHECK_REORG_MATERIAL_LIFNR 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_test_on | TYPE REO_SEL-TEST, " 'X' | |||
| lt_record_to_del | TYPE STANDARD TABLE OF WSOL_MLW, " | |||
| lv_internal_error | TYPE WSOL_MLW, " | |||
| lv_date | TYPE SY-DATUM, " | |||
| lt_output_table | TYPE STANDARD TABLE OF REO_MESSAGE, " | |||
| lv_complete_check | TYPE REO_SEL-COMPCHK. " 'X' |
|   CALL FUNCTION 'CHECK_REORG_MATERIAL_LIFNR' "NOTRANSL: Überprüfung, ob Materialien für Lieferanten ausgelistet werden k |
| EXPORTING | ||
| TEST_ON | = lv_test_on | |
| DATE | = lv_date | |
| COMPLETE_CHECK | = lv_complete_check | |
| TABLES | ||
| RECORD_TO_DEL | = lt_record_to_del | |
| OUTPUT_TABLE | = lt_output_table | |
| EXCEPTIONS | ||
| INTERNAL_ERROR = 1 | ||
| . " CHECK_REORG_MATERIAL_LIFNR | ||
ABAP code using 7.40 inline data declarations to call FM CHECK_REORG_MATERIAL_LIFNR
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 TEST FROM REO_SEL INTO @DATA(ld_test_on). | ||||
| DATA(ld_test_on) | = 'X'. | |||
| "SELECT single DATUM FROM SY INTO @DATA(ld_date). | ||||
| "SELECT single COMPCHK FROM REO_SEL INTO @DATA(ld_complete_check). | ||||
| DATA(ld_complete_check) | = 'X'. | |||
Search for further information about these or an SAP related objects