SAP EXIT_SAPLPVSUIWTY_002 Function Module for Customer Exit: Transfer of Header Data to User Screen









EXIT_SAPLPVSUIWTY_002 is a standard exit saplpvsuiwty 002 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Customer Exit: Transfer of Header Data to User Screen 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 saplpvsuiwty 002 FM, simply by entering the name EXIT_SAPLPVSUIWTY_002 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLPVSUIWTY_002 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_SAPLPVSUIWTY_002'"Customer Exit: Transfer of Header Data to User Screen
IMPORTING
ES_PNWTYH_CUST = "Fields Defined by Customer in Warranty Claim Header
EV_ACTIV = "Should data be withdrawn? 'X' = Yes
ES_PNWTYH_DYN = "Warranty Claim: Screen Elements for Claim Header
GV_CURSOR = "
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
CONVERSION_EXIT_FLTPC_INPUT NOTRANSL: Konvertierung Character -->Gleitpunkt
CONVERSION_EXIT_FLTPC_OUTPUT NOTRANSL: Konvertierung Gleitpunkt --> Character
PVSUIWTY_ACTION_BOX NOTRANSL: Anzeige erlaubter Aktionen zum Garantieantrag in Dialogfenster
PVSUIWTY_BPROFILE_ASSIGN NOTRANSL: Zuordnung Buttonprofil, Lesen des Customizing
PVSUIWTY_BUILD_ALV_TABLE NOTRANSL: ALV Tabelle vorbereiten
PVSUIWTY_CREATE_ALV NOTRANSL: neuen ALV aufrufen
PVSUIWTY_CREATE_ALV_RCL_OBJECT NOTRANSL: ALV für Objekte von Rückrufe
PVSUIWTY_CREATE_ALV_RCL_POS NOTRANSL: ALV für Positionen von Rückrufe
PVSUIWTY_DATA_CHANGED NOTRANSL: setzen Updateflag
PVSUIWTY_DATA_READ_MOVE_TO_UI NOTRANSL: Lesen der Garantieantragsdaten von der Datenbank
PVSUIWTY_GET_CLAIM_DATA NOTRANSL: Antragsdaten aus globalem Gedächtnis lesen
PVSUIWTY_GET_GUI_STATUS NOTRANSL: gibt guid status zurück
PVSUIWTY_GET_HEADER NOTRANSL: Dynprostruktur Kopf lesen
PVSUIWTY_GET_OKCODE NOTRANSL: Setzen des Anwenderkommandos
PVSUIWTY_GET_POSITION NOTRANSL: Dynprostruktur PVWTY lesen
PVSUIWTY_GET_VERSION NOTRANSL: Dynprostruktur Version lesen
PVSUIWTY_HANDLE_POS_EVENT Display item detail
PVSUIWTY_IPPE_DISPATCH NOTRANSL: Generischer Aufruf der iPPE Pflege
PVSUIWTY_NAVTREE_CHECKBOX NOTRANSL: Doppelclickereigniss auf dem Nevigationsbaum
PVSUIWTY_NAVTREE_DOUBLECLICK NOTRANSL: Doppelclickereigniss auf dem Nevigationsbaum
PVSUIWTY_REFRESH_BUFFER NOTRANSL: Globale Variablen / Tabellen initialisieren
PVSUIWTY_RE_CALLBACK_TOOLBAR NOTRANSL: Toolbar Rule Engine : Absprung VSR
PVSUIWTY_RULE_MESSAGES_ICON NOTRANSL: Icon für VSR Meldungs -Drucktaste
PVSUIWTY_SET_ACTION_CODE NOTRANSL: Aktion aus ALV lesen
PVSUIWTY_SET_MAINSCREEN NOTRANSL: Das Trägerbild von außen setzen
PVSUIWTY_SET_OKCODE NOTRANSL: Anwenderkommandos
PVSUIWTY_SET_URL NOTRANSL: Setzen der URL in der Userinterface Gruppe

EXPORTING Parameters details for EXIT_SAPLPVSUIWTY_002

ES_PNWTYH_CUST - Fields Defined by Customer in Warranty Claim Header

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

EV_ACTIV - Should data be withdrawn? 'X' = Yes

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

ES_PNWTYH_DYN - Warranty Claim: Screen Elements for Claim Header

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

GV_CURSOR -

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

Copy and paste ABAP code example for EXIT_SAPLPVSUIWTY_002 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_es_pnwtyh_cust  TYPE WTY_PNWTYH_CUST, "   
lv_ev_activ  TYPE C, "   
lv_es_pnwtyh_dyn  TYPE WTY_PNH_DYNPRO, "   
lv_gv_cursor  TYPE CHAR30. "   

  CALL FUNCTION 'EXIT_SAPLPVSUIWTY_002'  "Customer Exit: Transfer of Header Data to User Screen
    IMPORTING
         ES_PNWTYH_CUST = lv_es_pnwtyh_cust
         EV_ACTIV = lv_ev_activ
         ES_PNWTYH_DYN = lv_es_pnwtyh_dyn
         GV_CURSOR = lv_gv_cursor
. " EXIT_SAPLPVSUIWTY_002




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLPVSUIWTY_002

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.

 
 
 
 


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!