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: 

XD01 enhancement to make a standard checkbox ticked based on some criteria

Former Member
0 Kudos

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.

4 REPLIES 4

rajkumarnarasimman
Active Contributor

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.


0 Kudos

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.

0 Kudos
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.

0 Kudos
Well I have completed this requirement using a badi. Thanks again for your quick response.