Skip to Content
avatar image
Former Member

va01 Issue when creating, site is showing as GB01 instead of DE01

Dear SAP team,

I got an issue from SD team, saying that while creating VA01 for salesgroup INTERNET with sold to, ship to and article then enter the site column is filled with GB01 instead of DE01.

I have checked in debug where VBAP-WERKS initially holds value as DE01 and  at some point the VBAP-WERKS value is blank and due to some conditions a function module mvke_single_read is called and VBAP-WERKS in filled with GB01.

I am unable to find the area where its vbap-werks is getting blank.

Kindly Suggest.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 09, 2015 at 01:05 PM

    Hi Venkata,

    Use Watchpoint option in Debugger to know at where the WERKS value is changing.

    If you want to get the old werks value in screen inside exit, you can use field symbol concept as shown below.

    "Data Declaration

    field-symbol <f_werks> like werks.

    "Get the Werks value using Program and Variable name

    assign ('(program_name)varible_name') to <f_werks>.


    Rajkumar Narasimman

    Add comment
    10|10000 characters needed characters exceeded