SAP IPML_CHANGE_MPLAN_STATUS Function Module for NOTRANSL: PM: Archivierung Wartungspläne -> Statuswechsel









IPML_CHANGE_MPLAN_STATUS is a standard ipml change mplan status 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: PM: Archivierung Wartungspläne -> Statuswechsel 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 ipml change mplan status FM, simply by entering the name IPML_CHANGE_MPLAN_STATUS into the relevant SAP transaction such as SE37 or SE38.

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



Function IPML_CHANGE_MPLAN_STATUS 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 'IPML_CHANGE_MPLAN_STATUS'"NOTRANSL: PM: Archivierung Wartungspläne -> Statuswechsel
EXPORTING
* I_TEST = 'X' "Test Flag
I_VORGANG = "Business Transaction
* I_ENQUEUE_REQUIRED = 'X' "DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING
COUNT_STATUS_CHANGED = "ABAP System Field: Row Index of Internal Tables

TABLES
MPLAN_TAB = "DE-EN-LANG-SWITCH-NO-TRANSLATION
TAB_NO_AUTHORITY = "DE-EN-LANG-SWITCH-NO-TRANSLATION
TAB_NO_ENQUEUE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* TAB_NO_CHANGE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
.



IMPORTING Parameters details for IPML_CHANGE_MPLAN_STATUS

I_TEST - Test Flag

Data type: IPML_CHAR1
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_VORGANG - Business Transaction

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

I_ENQUEUE_REQUIRED - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: IPML_CHAR1
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for IPML_CHANGE_MPLAN_STATUS

COUNT_STATUS_CHANGED - ABAP System Field: Row Index of Internal Tables

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

TABLES Parameters details for IPML_CHANGE_MPLAN_STATUS

MPLAN_TAB - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TAB_NO_AUTHORITY - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TAB_NO_ENQUEUE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

TAB_NO_CHANGE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

Copy and paste ABAP code example for IPML_CHANGE_MPLAN_STATUS 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_test  TYPE IPML_CHAR1, "   'X'
lt_mplan_tab  TYPE STANDARD TABLE OF IPML_SELC, "   
lv_count_status_changed  TYPE SY-TABIX, "   
lv_i_vorgang  TYPE TJ01-VRGNG, "   
lt_tab_no_authority  TYPE STANDARD TABLE OF IPML_SELC, "   
lt_tab_no_enqueue  TYPE STANDARD TABLE OF IPML_SELC, "   
lv_i_enqueue_required  TYPE IPML_CHAR1, "   'X'
lt_tab_no_change  TYPE STANDARD TABLE OF IPML_SELC. "   

  CALL FUNCTION 'IPML_CHANGE_MPLAN_STATUS'  "NOTRANSL: PM: Archivierung Wartungspläne -> Statuswechsel
    EXPORTING
         I_TEST = lv_i_test
         I_VORGANG = lv_i_vorgang
         I_ENQUEUE_REQUIRED = lv_i_enqueue_required
    IMPORTING
         COUNT_STATUS_CHANGED = lv_count_status_changed
    TABLES
         MPLAN_TAB = lt_mplan_tab
         TAB_NO_AUTHORITY = lt_tab_no_authority
         TAB_NO_ENQUEUE = lt_tab_no_enqueue
         TAB_NO_CHANGE = lt_tab_no_change
. " IPML_CHANGE_MPLAN_STATUS




ABAP code using 7.40 inline data declarations to call FM IPML_CHANGE_MPLAN_STATUS

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.

DATA(ld_i_test) = 'X'.
 
 
"SELECT single TABIX FROM SY INTO @DATA(ld_count_status_changed).
 
"SELECT single VRGNG FROM TJ01 INTO @DATA(ld_i_vorgang).
 
 
 
DATA(ld_i_enqueue_required) = 'X'.
 
 


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!