Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SCREEN EXIT FOR TCODE WTY

Former Member
0 Kudos

hi all ,

i have created an screen exit for WTY

to add zfields for which i have appended the standard structure , created subscreen and wrote logic in

CMOD .

the Zfields added are appearing in the Transaction but when i save the document , the values are not getting saved nor the tables are getting updated. i;e PNWTYh , PNWTYV,

PVWTY.

is there any need to call my subscreen in PBO .if no then what should be the approach ?

3 REPLIES 3

Former Member
0 Kudos

Nikhil

Refer to the following exit function modules in function group XWTY:

EXIT_SAPLPVSUIWTY_001

EXIT_SAPLPVSUIWTY_002

EXIT_SAPLPVSUIWTY_003

EXIT_SAPLPVSUIWTY_004

EXIT_SAPLPVSUIWTY_006

EXIT_SAPLPVSUIWTY_007

These exit modules are meant for transferring data to and from user screen.

Thanks

Amol Lohade

0 Kudos

i have already written the code .the fields are appearing ,the only problem is the value are not getting save in the transaction and tables during the creation of claim number.

0 Kudos

Write the following code in ZXWTYU01.

TABLES: WTY_PNWTYH_CUST,

MOVE IV_MODE TO GV_MODE.

MOVE-CORRESPONDING IS_PNWTYH TO : WTY_PNWTYH_CUST,

GS_PNWTYH_DYNPRO,

Write the following code in ZXWTYU02.

EV_ACTIV = 'X'.

MOVE GS_PNWTYH_DYNPRO TO ES_PNWTYH_DYN.

MOVE-CORRESPONDING WTY_PNWTYH_CUST TO : ES_PNWTYH_CUST,

: ES_PNWTYH_DYN.