Skip to Content
avatar image
Former Member

SCREEN EXIT FOR TCODE WTY

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 ?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 02, 2008 at 12:14 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.