SAP RM_LIS_ALLOC_COMP_RPOINT Function Module for NOTRANSL: Ermittelt die zu einem Zählpunkt zugeordneten Komponenten
RM_LIS_ALLOC_COMP_RPOINT is a standard rm lis alloc comp rpoint 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: Ermittelt die zu einem Zählpunkt zugeordneten Komponenten 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 rm lis alloc comp rpoint FM, simply by entering the name RM_LIS_ALLOC_COMP_RPOINT into the relevant SAP transaction such as SE37 or SE38.
Function Group: BARM
Program Name: SAPLBARM
Main Program: SAPLBARM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RM_LIS_ALLOC_COMP_RPOINT 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 'RM_LIS_ALLOC_COMP_RPOINT'"NOTRANSL: Ermittelt die zu einem Zählpunkt zugeordneten Komponenten.
EXPORTING
I_MT61D = "Material Master: MRP
I_BLPK = "Document log header
TABLES
I_MDPMX = "View of Material Components in the Planned Order
EXCEPTIONS
NO_ROUTING_IN_PVERS = 1 NO_RPOINTS_FOUND = 2
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLBARM_001 Customer Exit: RM_BACKFLUSH_CHECK
EXIT_SAPLBARM_002 Customer Exit: RM_BACKFLUSH_GO
EXIT_SAPLBARM_003 Customer Exit: RM_CANCEL_BACKFLUSH_CHECK
EXIT_SAPLBARM_004 Customer Exit: RM_CANCEL_BACKFLUSH_GO
IMPORTING Parameters details for RM_LIS_ALLOC_COMP_RPOINT
I_MT61D - Material Master: MRP
Data type: MT61DOptional: No
Call by Reference: Yes
I_BLPK - Document log header
Data type: BLPKOptional: No
Call by Reference: Yes
TABLES Parameters details for RM_LIS_ALLOC_COMP_RPOINT
I_MDPMX - View of Material Components in the Planned Order
Data type: MDPMOptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_ROUTING_IN_PVERS -
Data type:Optional: No
Call by Reference: Yes
NO_RPOINTS_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for RM_LIS_ALLOC_COMP_RPOINT 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_i_mdpmx | TYPE STANDARD TABLE OF MDPM, " | |||
| lv_i_mt61d | TYPE MT61D, " | |||
| lv_no_routing_in_pvers | TYPE MT61D, " | |||
| lv_i_blpk | TYPE BLPK, " | |||
| lv_no_rpoints_found | TYPE BLPK. " |
|   CALL FUNCTION 'RM_LIS_ALLOC_COMP_RPOINT' "NOTRANSL: Ermittelt die zu einem Zählpunkt zugeordneten Komponenten |
| EXPORTING | ||
| I_MT61D | = lv_i_mt61d | |
| I_BLPK | = lv_i_blpk | |
| TABLES | ||
| I_MDPMX | = lt_i_mdpmx | |
| EXCEPTIONS | ||
| NO_ROUTING_IN_PVERS = 1 | ||
| NO_RPOINTS_FOUND = 2 | ||
| . " RM_LIS_ALLOC_COMP_RPOINT | ||
ABAP code using 7.40 inline data declarations to call FM RM_LIS_ALLOC_COMP_RPOINT
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