SAP EXIT_SAPLIWP3_004 Function Module for Maintenance Plan/Item: Customer Checks at 'SAVE'









EXIT_SAPLIWP3_004 is a standard exit sapliwp3 004 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Maintenance Plan/Item: Customer Checks at 'SAVE' 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 exit sapliwp3 004 FM, simply by entering the name EXIT_SAPLIWP3_004 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLIWP3_004 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 'EXIT_SAPLIWP3_004'"Maintenance Plan/Item: Customer Checks at 'SAVE'
EXPORTING
IMHIS_IMP = "Maintenance Plan History
AMHIS_IMP = "Maintenance Plan History
IMPLA_IMP = "Maintenance Plan
IMPOS_IMP = "Maintenance Item
AMHIO_IMP = "Maintenance Order History
MHIO_TAB_IMP = "Maintenance Order History
MMPT_TAB_IMP = "Cycle Definitions and Measuring Points
AKTYP = "Create = H / Display = A / Change = V

TABLES
T_IMPOS_IMP = "
T_MMPT_IMP = "

EXCEPTIONS
NO_UPDATE = 1
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
CONVERSION_EXIT_EAMQF_INPUT NOTRANSL: Konvertierungs-Exit TPLNR, extern -> intern
CONVERSION_EXIT_EAMQF_OUTPUT NOTRANSL: Konvertierungs-Exit TPLNR, intern -> extern
IWP3_CALL_CUSTOMER_EXTENSION NOTRANSL: Call customer exit und BADI
IWP3_CALL_SCHEDULING_LIST NOTRANSL: Terminübersicht in Listform
IWP3_CCMPLAN_CHECK_MPLAN_ATTR Check if maintenance plan attributes are adequate
IWP3_CCMPLAN_COPY_HEADER Copy header of a maintenance plan
IWP3_CCMPLAN_COPY_MAINT_ITEMS Copy maintenance items of a maintenance plan
IWP3_CCMPLAN_COPY_MAINT_PLAN Copy the given maintenance plan
IWP3_CCMPLAN_COPY_SCHED_PARAMS Copy scheduling parameters of a maintenance plan
IWP3_CCMPLAN_GET_DEFAULTS Get Maintenance Plan default values from TPMUS table
IWP3_CCMPLAN_GET_REF_DATA Get the referenced maintenance plan data
IWP3_CCMPLAN_OPEN_COPY_POPUP Open popup for copying maintenance plan from reference
IWP3_CCMPLAN_SHLP_EXIT Search Help Exit for Reference Maintenance Plan
IWP3_FILL_ENVIRONMENT_DISPLAY NOTRANSL: Versorgen der Variablen für die Umfeldanzeige
IWP3_FILL_GLOBAL_DATA NOTRANSL: Fuellen globale Daten
IWP3_GET_FCODE NOTRANSL: Get IWP3 f_code
IWP3_GET_IND_CONFIRMATION_DATE NOTRANSL: Liefert Indikator 'Rückmeldedatum' je Wartungsplantyp
IWP3_GET_LOOP_EXIT Get maximum number of calls with same date
IWP3_GET_TERMTEXTE NOTRANSL: Texte der Abrufart Terminierung
IWP3_MCP_GET_IND_ENHANCEMENT NOTRANSL: Flag für Erweiterung Mehrfachzählerplan prüfen
IWP3_MCP_SET_IND_MCP_SF NOTRANSL: Setzen des Indicators MCP_SF für Mehrfachzählerplan
IWP3_MPLAN_CHECK_CHANGED NOTRANSL: Prüfen ob Wartungsplan geändert wurde
IWP3_MPLAN_ENHANCEMENT_POINT NOTRANSL: Aufruf eines Enhancement Point für MPLAN_CHECKS
IWP3_READ_T399W NOTRANSL: Lesen/Puffern der Tabelle T399W (Wartungsplantyp Parameter)
IWP3_SCHEDULE_CALCULATION NOTRANSL: Kostensimulation für Wartungspläne
IWP3_SCROLL_OBJECT_LIST NOTRANSL: Übernahme sichtbarer Zeilen in Tabelcontrol der Objektliste
IWP3_SHOW_VALID_PACKAGES NOTRANSL: Display valid packages for selection
IWP3_STICHTAGS_CHECK NOTRANSL: Holen globale Daten
IWP3_WRITE_CHANGEDOC_MHIO NOTRANSL: Änderungsbelege Wartungsplanabrufe
IWP3_WRITE_CHANGEDOC_MHIS NOTRANSL: Änderungsbelege Wartungsplanabrufe/-historie
IWP3_WRITE_CHANGEDOC_MITEM NOTRANSL: Änderungsbelege Wartungspositionen
IWP3_WRITE_CHANGEDOC_MPLAN NOTRANSL: Änderungsbelege Wartungspläne

IMPORTING Parameters details for EXIT_SAPLIWP3_004

IMHIS_IMP - Maintenance Plan History

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

AMHIS_IMP - Maintenance Plan History

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

IMPLA_IMP - Maintenance Plan

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

IMPOS_IMP - Maintenance Item

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

AMHIO_IMP - Maintenance Order History

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

MHIO_TAB_IMP - Maintenance Order History

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

MMPT_TAB_IMP - Cycle Definitions and Measuring Points

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

AKTYP - Create = H / Display = A / Change = V

Data type: T370-AKTYP
Optional: No
Call by Reference: Yes

TABLES Parameters details for EXIT_SAPLIWP3_004

T_IMPOS_IMP -

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

T_MMPT_IMP -

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

EXCEPTIONS details

NO_UPDATE - Stop Update Processing

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

Copy and paste ABAP code example for EXIT_SAPLIWP3_004 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_imhis_imp  TYPE WC_WMHIS, "   
lv_no_update  TYPE WC_WMHIS, "   
lt_t_impos_imp  TYPE STANDARD TABLE OF WC_T_WMPOS, "   
lv_amhis_imp  TYPE WC_WMHIS, "   
lt_t_mmpt_imp  TYPE STANDARD TABLE OF WC_T_WMMPT, "   
lv_impla_imp  TYPE WC_WMPLA, "   
lv_impos_imp  TYPE WC_WMPOS, "   
lv_amhio_imp  TYPE WC_WMHIO, "   
lv_mhio_tab_imp  TYPE WC_WMHIO, "   
lv_mmpt_tab_imp  TYPE WC_WMMPT, "   
lv_aktyp  TYPE T370-AKTYP. "   

  CALL FUNCTION 'EXIT_SAPLIWP3_004'  "Maintenance Plan/Item: Customer Checks at 'SAVE'
    EXPORTING
         IMHIS_IMP = lv_imhis_imp
         AMHIS_IMP = lv_amhis_imp
         IMPLA_IMP = lv_impla_imp
         IMPOS_IMP = lv_impos_imp
         AMHIO_IMP = lv_amhio_imp
         MHIO_TAB_IMP = lv_mhio_tab_imp
         MMPT_TAB_IMP = lv_mmpt_tab_imp
         AKTYP = lv_aktyp
    TABLES
         T_IMPOS_IMP = lt_t_impos_imp
         T_MMPT_IMP = lt_t_mmpt_imp
    EXCEPTIONS
        NO_UPDATE = 1
. " EXIT_SAPLIWP3_004




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLIWP3_004

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 AKTYP FROM T370 INTO @DATA(ld_aktyp).
 


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!