SAP RM_COLLECTIVE_BACKFLUSH_COMP_D Function Module for Collective Entry with Display of Item Postproc. Confirmation/Repet. Mfg
RM_COLLECTIVE_BACKFLUSH_COMP_D is a standard rm collective backflush comp d SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Collective Entry with Display of Item Postproc. Confirmation/Repet. Mfg 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 collective backflush comp d FM, simply by entering the name RM_COLLECTIVE_BACKFLUSH_COMP_D 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_COLLECTIVE_BACKFLUSH_COMP_D 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_COLLECTIVE_BACKFLUSH_COMP_D'"Collective Entry with Display of Item Postproc. Confirmation/Repet. Mfg.
EXPORTING
* EXT_COMMIT = ' ' "If 'X', Commit to be triggered outside function module
* NO_DIALOG = 'X' "If 'X', function module does not run in dialog mode
* REPTP = '01' "Origin: S Repetitive Manufacturing, K Kanban, M Assembly Order
* COMMIT_WAIT = ' ' "Activate commit work and wait
TABLES
RM61BY = "Table of all materials to be confirmed
EXCEPTIONS
COLLECTIVE_BACKFLUSH_ERROR = 1
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_COLLECTIVE_BACKFLUSH_COMP_D
EXT_COMMIT - If 'X', Commit to be triggered outside function module
Data type: CM61Q-CAMODDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
NO_DIALOG - If 'X', function module does not run in dialog mode
Data type: RM61F-SELEKTDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
REPTP - Origin: S Repetitive Manufacturing, K Kanban, M Assembly Order
Data type: T437X-REPTPDefault: '01'
Optional: Yes
Call by Reference: No ( called with pass by value option)
COMMIT_WAIT - Activate commit work and wait
Data type: CM61Q-CAMODDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RM_COLLECTIVE_BACKFLUSH_COMP_D
RM61BY - Table of all materials to be confirmed
Data type: RM61BOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
COLLECTIVE_BACKFLUSH_ERROR - Error in actual-data entry
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RM_COLLECTIVE_BACKFLUSH_COMP_D 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_rm61by | TYPE STANDARD TABLE OF RM61B, " | |||
| lv_ext_commit | TYPE CM61Q-CAMOD, " SPACE | |||
| lv_collective_backflush_error | TYPE CM61Q, " | |||
| lv_no_dialog | TYPE RM61F-SELEKT, " 'X' | |||
| lv_reptp | TYPE T437X-REPTP, " '01' | |||
| lv_commit_wait | TYPE CM61Q-CAMOD. " SPACE |
|   CALL FUNCTION 'RM_COLLECTIVE_BACKFLUSH_COMP_D' "Collective Entry with Display of Item Postproc. Confirmation/Repet. Mfg |
| EXPORTING | ||
| EXT_COMMIT | = lv_ext_commit | |
| NO_DIALOG | = lv_no_dialog | |
| REPTP | = lv_reptp | |
| COMMIT_WAIT | = lv_commit_wait | |
| TABLES | ||
| RM61BY | = lt_rm61by | |
| EXCEPTIONS | ||
| COLLECTIVE_BACKFLUSH_ERROR = 1 | ||
| . " RM_COLLECTIVE_BACKFLUSH_COMP_D | ||
ABAP code using 7.40 inline data declarations to call FM RM_COLLECTIVE_BACKFLUSH_COMP_D
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 CAMOD FROM CM61Q INTO @DATA(ld_ext_commit). | ||||
| DATA(ld_ext_commit) | = ' '. | |||
| "SELECT single SELEKT FROM RM61F INTO @DATA(ld_no_dialog). | ||||
| DATA(ld_no_dialog) | = 'X'. | |||
| "SELECT single REPTP FROM T437X INTO @DATA(ld_reptp). | ||||
| DATA(ld_reptp) | = '01'. | |||
| "SELECT single CAMOD FROM CM61Q INTO @DATA(ld_commit_wait). | ||||
| DATA(ld_commit_wait) | = ' '. | |||
Search for further information about these or an SAP related objects