SAP EXIT_SAPLIWP3_003 Function Module for Dynamic Change of Annual Activity for Counter During Scheduling
EXIT_SAPLIWP3_003 is a standard exit sapliwp3 003 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Dynamic Change of Annual Activity for Counter During Scheduling 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 003 FM, simply by entering the name EXIT_SAPLIWP3_003 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_003 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_003'"Dynamic Change of Annual Activity for Counter During Scheduling.
EXPORTING
IMPT_IMP = "Complete Counter Data
IMPLA_IMP = "Maintenance Plan Data
IMPORTING
PYEAR_OUT = "New Annual Counter Activity
TABLES
IMPOS_TAB = "Maintenance Item Data
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_003
IMPT_IMP - Complete Counter Data
Data type: IMPTOptional: No
Call by Reference: Yes
IMPLA_IMP - Maintenance Plan Data
Data type: WC_WMPLAOptional: No
Call by Reference: Yes
EXPORTING Parameters details for EXIT_SAPLIWP3_003
PYEAR_OUT - New Annual Counter Activity
Data type: IMPT-PYEAROptional: No
Call by Reference: Yes
TABLES Parameters details for EXIT_SAPLIWP3_003
IMPOS_TAB - Maintenance Item Data
Data type: WC_T_WMPOSOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLIWP3_003 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_impt_imp | TYPE IMPT, " | |||
lt_impos_tab | TYPE STANDARD TABLE OF WC_T_WMPOS, " | |||
lv_pyear_out | TYPE IMPT-PYEAR, " | |||
lv_impla_imp | TYPE WC_WMPLA. " |
  CALL FUNCTION 'EXIT_SAPLIWP3_003' "Dynamic Change of Annual Activity for Counter During Scheduling |
EXPORTING | ||
IMPT_IMP | = lv_impt_imp | |
IMPLA_IMP | = lv_impla_imp | |
IMPORTING | ||
PYEAR_OUT | = lv_pyear_out | |
TABLES | ||
IMPOS_TAB | = lt_impos_tab | |
. " EXIT_SAPLIWP3_003 |
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLIWP3_003
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 PYEAR FROM IMPT INTO @DATA(ld_pyear_out). | ||||
Search for further information about these or an SAP related objects