SAP RM_DEL_COMP_NOT_ALLOC Function Module for NOTRANSL: Nicht zugeordnete Komponenten aus Übergabetabelle löschen









RM_DEL_COMP_NOT_ALLOC is a standard rm del comp not alloc 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: Nicht zugeordnete Komponenten aus Übergabetabelle löschen 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 del comp not alloc FM, simply by entering the name RM_DEL_COMP_NOT_ALLOC into the relevant SAP transaction such as SE37 or SE38.

Function Group: BARM
Program Name: SAPLBARM
Main Program: SAPLBARM
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RM_DEL_COMP_NOT_ALLOC 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_DEL_COMP_NOT_ALLOC'"NOTRANSL: Nicht zugeordnete Komponenten aus Übergabetabelle löschen
EXPORTING
I_MODE = "Generic Type

CHANGING
I_T437S = "Repetitive Manufacturing Profile Table
I_GUTMG = "Backflush quantity in repetitive manufacturing
* I_SCRZ = "Ind.: Post scrap at reporting point
* I_SCRZB = "Post Scrap up to Confirmation Reporting Point
* I_SCRZZ = "Only Post Component Scrap at Reporting Point
I_PZPSX_TABIX = "ABAP System Field: Row Index of Internal Tables
I_PZPS = "Production Measuring Point for Totals Record
I_PZPS_LAST = "Production Measuring Point for Totals Record
I_BUDAT = "Posting Date in the Document
I_BOM_LINES = "Generic Type
I_APLAL = "Group Counter
I_PLNNR = "Key for Task List Group
I_PLNTY = "Task List Type
I_AUFL_DATUM = "Posting Date in the Document

TABLES
I_MDPMX = "View of Material Components in the Planned Order
I_PZPSY = "Production Measuring Point for Totals Record
I_PZPSX = "Production Measuring Point for Totals Record
.




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_DEL_COMP_NOT_ALLOC

I_MODE - Generic Type

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

CHANGING Parameters details for RM_DEL_COMP_NOT_ALLOC

I_T437S - Repetitive Manufacturing Profile Table

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

I_GUTMG - Backflush quantity in repetitive manufacturing

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

I_SCRZ - Ind.: Post scrap at reporting point

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

I_SCRZB - Post Scrap up to Confirmation Reporting Point

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

I_SCRZZ - Only Post Component Scrap at Reporting Point

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

I_PZPSX_TABIX - ABAP System Field: Row Index of Internal Tables

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

I_PZPS - Production Measuring Point for Totals Record

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

I_PZPS_LAST - Production Measuring Point for Totals Record

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

I_BUDAT - Posting Date in the Document

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

I_BOM_LINES - Generic Type

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

I_APLAL - Group Counter

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

I_PLNNR - Key for Task List Group

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

I_PLNTY - Task List Type

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

I_AUFL_DATUM - Posting Date in the Document

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

TABLES Parameters details for RM_DEL_COMP_NOT_ALLOC

I_MDPMX - View of Material Components in the Planned Order

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

I_PZPSY - Production Measuring Point for Totals Record

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

I_PZPSX - Production Measuring Point for Totals Record

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

Copy and paste ABAP code example for RM_DEL_COMP_NOT_ALLOC 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_mode  TYPE C, "   
lt_i_mdpmx  TYPE STANDARD TABLE OF MDPM, "   
lv_i_t437s  TYPE T437S, "   
lv_i_gutmg  TYPE RM61B-ERFMG, "   
lv_i_scrz  TYPE RM61B-SCRZ, "   
lv_i_scrzb  TYPE RM61B-SCRZB, "   
lv_i_scrzz  TYPE RM61B-SCRZZ, "   
lv_i_pzpsx_tabix  TYPE SY-TABIX, "   
lv_i_pzps  TYPE PZPS, "   
lt_i_pzpsy  TYPE STANDARD TABLE OF PZPS, "   
lt_i_pzpsx  TYPE STANDARD TABLE OF PZPS, "   
lv_i_pzps_last  TYPE PZPS, "   
lv_i_budat  TYPE RM61B-BUDAT, "   
lv_i_bom_lines  TYPE P, "   
lv_i_aplal  TYPE SAFK-APLAL, "   
lv_i_plnnr  TYPE SAFK-PLNNR, "   
lv_i_plnty  TYPE SAFK-PLNTY, "   
lv_i_aufl_datum  TYPE RM61B-BUDAT. "   

  CALL FUNCTION 'RM_DEL_COMP_NOT_ALLOC'  "NOTRANSL: Nicht zugeordnete Komponenten aus Übergabetabelle löschen
    EXPORTING
         I_MODE = lv_i_mode
    CHANGING
         I_T437S = lv_i_t437s
         I_GUTMG = lv_i_gutmg
         I_SCRZ = lv_i_scrz
         I_SCRZB = lv_i_scrzb
         I_SCRZZ = lv_i_scrzz
         I_PZPSX_TABIX = lv_i_pzpsx_tabix
         I_PZPS = lv_i_pzps
         I_PZPS_LAST = lv_i_pzps_last
         I_BUDAT = lv_i_budat
         I_BOM_LINES = lv_i_bom_lines
         I_APLAL = lv_i_aplal
         I_PLNNR = lv_i_plnnr
         I_PLNTY = lv_i_plnty
         I_AUFL_DATUM = lv_i_aufl_datum
    TABLES
         I_MDPMX = lt_i_mdpmx
         I_PZPSY = lt_i_pzpsy
         I_PZPSX = lt_i_pzpsx
. " RM_DEL_COMP_NOT_ALLOC




ABAP code using 7.40 inline data declarations to call FM RM_DEL_COMP_NOT_ALLOC

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 ERFMG FROM RM61B INTO @DATA(ld_i_gutmg).
 
"SELECT single SCRZ FROM RM61B INTO @DATA(ld_i_scrz).
 
"SELECT single SCRZB FROM RM61B INTO @DATA(ld_i_scrzb).
 
"SELECT single SCRZZ FROM RM61B INTO @DATA(ld_i_scrzz).
 
"SELECT single TABIX FROM SY INTO @DATA(ld_i_pzpsx_tabix).
 
 
 
 
 
"SELECT single BUDAT FROM RM61B INTO @DATA(ld_i_budat).
 
 
"SELECT single APLAL FROM SAFK INTO @DATA(ld_i_aplal).
 
"SELECT single PLNNR FROM SAFK INTO @DATA(ld_i_plnnr).
 
"SELECT single PLNTY FROM SAFK INTO @DATA(ld_i_plnty).
 
"SELECT single BUDAT FROM RM61B INTO @DATA(ld_i_aufl_datum).
 


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!