SAP RPLM_MT_ORDER_NOTIF_PRINT_PREP Function Module for NOTRANSL: Vorbereitungen für Drucken von IH-Meldung und IH-Auftrag









RPLM_MT_ORDER_NOTIF_PRINT_PREP is a standard rplm mt order notif print prep 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: Vorbereitungen für Drucken von IH-Meldung und IH-Auftrag 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 rplm mt order notif print prep FM, simply by entering the name RPLM_MT_ORDER_NOTIF_PRINT_PREP into the relevant SAP transaction such as SE37 or SE38.

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



Function RPLM_MT_ORDER_NOTIF_PRINT_PREP 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 'RPLM_MT_ORDER_NOTIF_PRINT_PREP'"NOTRANSL: Vorbereitungen für Drucken von IH-Meldung und IH-Auftrag
EXPORTING
IV_LEAD_APPL = "Application area
* IV_AUFNR = "Order Number
* IV_QMNUM = "Notification Number

TABLES
ET_WORKPAPERS = "Print Maintenance Order and Notification
ET_MESSAGES = "Return Parameter
.



IMPORTING Parameters details for RPLM_MT_ORDER_NOTIF_PRINT_PREP

IV_LEAD_APPL - Application area

Data type: IPRT_WA-PM_APPL
Optional: No
Call by Reference: Yes

IV_AUFNR - Order Number

Data type: AUFK-AUFNR
Optional: Yes
Call by Reference: Yes

IV_QMNUM - Notification Number

Data type: QMEL-QMNUM
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for RPLM_MT_ORDER_NOTIF_PRINT_PREP

ET_WORKPAPERS - Print Maintenance Order and Notification

Data type: RPLM_TS_MT_WORKPAPER
Optional: No
Call by Reference: Yes

ET_MESSAGES - Return Parameter

Data type: BAPIRET2
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RPLM_MT_ORDER_NOTIF_PRINT_PREP 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_iv_lead_appl  TYPE IPRT_WA-PM_APPL, "   
lt_et_workpapers  TYPE STANDARD TABLE OF RPLM_TS_MT_WORKPAPER, "   
lv_iv_aufnr  TYPE AUFK-AUFNR, "   
lt_et_messages  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_iv_qmnum  TYPE QMEL-QMNUM. "   

  CALL FUNCTION 'RPLM_MT_ORDER_NOTIF_PRINT_PREP'  "NOTRANSL: Vorbereitungen für Drucken von IH-Meldung und IH-Auftrag
    EXPORTING
         IV_LEAD_APPL = lv_iv_lead_appl
         IV_AUFNR = lv_iv_aufnr
         IV_QMNUM = lv_iv_qmnum
    TABLES
         ET_WORKPAPERS = lt_et_workpapers
         ET_MESSAGES = lt_et_messages
. " RPLM_MT_ORDER_NOTIF_PRINT_PREP




ABAP code using 7.40 inline data declarations to call FM RPLM_MT_ORDER_NOTIF_PRINT_PREP

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 PM_APPL FROM IPRT_WA INTO @DATA(ld_iv_lead_appl).
 
 
"SELECT single AUFNR FROM AUFK INTO @DATA(ld_iv_aufnr).
 
 
"SELECT single QMNUM FROM QMEL INTO @DATA(ld_iv_qmnum).
 


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!