04-25-2018 9:38 AM
I have requirement in xd01/xd02 transaction in customer's sales area, there is a standard field(check box) Relevant for POD under 'Shipping' tab of ‘Sales Area data’.
This check box should be checked in automatically, whenever user selects some 'xyz' value in “Extras -> Additonal Data -> Customer Group 5".
Please suggest me how can I achieve this requirement.
04-25-2018 12:26 PM
Hi Sohni,
"Please suggest me how can I achieve this requirement.
Did you checked FM SD_KNVV_MAINTAIN_EXIT, place the breakpoint inside the FM which will trigger once the custom group value changed. Modify the 'Relevant for POD' checkbox using field symbol concept for variable (SAPMF02D)KNVV-PODKZ.
04-26-2018 6:57 PM
Thanks for your reply Rajkumar... I have never used field symbols concept before.. so if you don't mind can you please give code how to use or an hint.
04-28-2018 11:13 AM
FIELD-SYMBOLS: <FS> TYPE KNVV-PODKZ.
IF KNVV-KVGR5 IS NOT INITIAL. "Check Group value is entered
ASSIGN ((SAPMF02D)KNVV-PODKZ) TO <FS>.
IF <FS> IS ASSIGNED.
<FS> = 'X'.
ENDIF.
ENDIF.
05-02-2018 6:32 PM
Well I have completed this requirement using a badi. Thanks again for your quick response.