SAP RM_ACTIVITY_CONFIRMATION Function Module for NOTRANSL: Leistung buchen









RM_ACTIVITY_CONFIRMATION is a standard rm activity confirmation 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: Leistung buchen 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 activity confirmation FM, simply by entering the name RM_ACTIVITY_CONFIRMATION into the relevant SAP transaction such as SE37 or SE38.

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



Function RM_ACTIVITY_CONFIRMATION 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_ACTIVITY_CONFIRMATION'"NOTRANSL: Leistung buchen
EXPORTING
* T437S_IMP = "Repetitive Manufacturing Profile Table
* BUDAT_IMP = "Posting Date in the Document
* MENGE_IMP = "Quantity
* MEINH_IMP = "Unit of measure for display
* SESTA_IMP = "Repetitive Mfg Master Data
* DUMMY_VORNE_IMP = "Reporting Point Operation Number
* PZPS_IMP = "Production Measuring Point for Totals Record
* SCRZB_IMP = "Ind.: Posting of Scrap up to Confirmation Reporting Point
* MDBPR_IMP = "Worklist for REM Confirmations with Logical BLPK Key
* MDPA_IMP = "View of Planned Order/Dummy Component for BOM Explosion
* PKOSA_IMP = "Cost Collector for Production Process PROCNR
* AUFPL_IMP = "Task list number of operations in the order
* KEKO_PLNNR_IMP = "Key for Task List Group
* KEKO_PLNTY_IMP = "
* KEKO_PLNAL_IMP = "Group Counter
* KEKO_PLNCT_IMP = "Internal Counter

TABLES
* ADOC_IMP = "
.



IMPORTING Parameters details for RM_ACTIVITY_CONFIRMATION

T437S_IMP - Repetitive Manufacturing Profile Table

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

BUDAT_IMP - Posting Date in the Document

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

MENGE_IMP - Quantity

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

MEINH_IMP - Unit of measure for display

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

SESTA_IMP - Repetitive Mfg Master Data

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

DUMMY_VORNE_IMP - Reporting Point Operation Number

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

PZPS_IMP - Production Measuring Point for Totals Record

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

SCRZB_IMP - Ind.: Posting of Scrap up to Confirmation Reporting Point

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

MDBPR_IMP - Worklist for REM Confirmations with Logical BLPK Key

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

MDPA_IMP - View of Planned Order/Dummy Component for BOM Explosion

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

PKOSA_IMP - Cost Collector for Production Process PROCNR

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

AUFPL_IMP - Task list number of operations in the order

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

KEKO_PLNNR_IMP - Key for Task List Group

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

KEKO_PLNTY_IMP -

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

KEKO_PLNAL_IMP - Group Counter

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

KEKO_PLNCT_IMP - Internal Counter

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

TABLES Parameters details for RM_ACTIVITY_CONFIRMATION

ADOC_IMP -

Data type: BARM_TYPE_TAB_RUECK
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for RM_ACTIVITY_CONFIRMATION 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_adoc_imp  TYPE STANDARD TABLE OF BARM_TYPE_TAB_RUECK, "   
lv_t437s_imp  TYPE T437S, "   
lv_budat_imp  TYPE MDBPR-BUDAT, "   
lv_menge_imp  TYPE MDBPR-MENGE, "   
lv_meinh_imp  TYPE MDBPR-MEINH, "   
lv_sesta_imp  TYPE SESTA, "   
lv_dummy_vorne_imp  TYPE PZPS-VORNE, "   
lv_pzps_imp  TYPE PZPS, "   
lv_scrzb_imp  TYPE RM61B-SCRZB, "   
lv_mdbpr_imp  TYPE MDBPR, "   
lv_mdpa_imp  TYPE MDPA, "   
lv_pkosa_imp  TYPE MDBPR-PKOSA, "   
lv_aufpl_imp  TYPE CO_AUFPL, "   
lv_keko_plnnr_imp  TYPE KEKO-PLNNR, "   
lv_keko_plnty_imp  TYPE KEKO-PLNTY, "   
lv_keko_plnal_imp  TYPE KEKO-PLNAL, "   
lv_keko_plnct_imp  TYPE KEKO-PLNCT. "   

  CALL FUNCTION 'RM_ACTIVITY_CONFIRMATION'  "NOTRANSL: Leistung buchen
    EXPORTING
         T437S_IMP = lv_t437s_imp
         BUDAT_IMP = lv_budat_imp
         MENGE_IMP = lv_menge_imp
         MEINH_IMP = lv_meinh_imp
         SESTA_IMP = lv_sesta_imp
         DUMMY_VORNE_IMP = lv_dummy_vorne_imp
         PZPS_IMP = lv_pzps_imp
         SCRZB_IMP = lv_scrzb_imp
         MDBPR_IMP = lv_mdbpr_imp
         MDPA_IMP = lv_mdpa_imp
         PKOSA_IMP = lv_pkosa_imp
         AUFPL_IMP = lv_aufpl_imp
         KEKO_PLNNR_IMP = lv_keko_plnnr_imp
         KEKO_PLNTY_IMP = lv_keko_plnty_imp
         KEKO_PLNAL_IMP = lv_keko_plnal_imp
         KEKO_PLNCT_IMP = lv_keko_plnct_imp
    TABLES
         ADOC_IMP = lt_adoc_imp
. " RM_ACTIVITY_CONFIRMATION




ABAP code using 7.40 inline data declarations to call FM RM_ACTIVITY_CONFIRMATION

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 BUDAT FROM MDBPR INTO @DATA(ld_budat_imp).
 
"SELECT single MENGE FROM MDBPR INTO @DATA(ld_menge_imp).
 
"SELECT single MEINH FROM MDBPR INTO @DATA(ld_meinh_imp).
 
 
"SELECT single VORNE FROM PZPS INTO @DATA(ld_dummy_vorne_imp).
 
 
"SELECT single SCRZB FROM RM61B INTO @DATA(ld_scrzb_imp).
 
 
 
"SELECT single PKOSA FROM MDBPR INTO @DATA(ld_pkosa_imp).
 
 
"SELECT single PLNNR FROM KEKO INTO @DATA(ld_keko_plnnr_imp).
 
"SELECT single PLNTY FROM KEKO INTO @DATA(ld_keko_plnty_imp).
 
"SELECT single PLNAL FROM KEKO INTO @DATA(ld_keko_plnal_imp).
 
"SELECT single PLNCT FROM KEKO INTO @DATA(ld_keko_plnct_imp).
 


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!