Skip to Content
0

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

Apr 25 at 08:38 AM

79

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Rajkumar Narasimman Apr 25 at 11:26 AM
1

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.



knvv.png (41.5 kB)
Show 3 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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
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
Former Member
Well I have completed this requirement using a badi. Thanks again for your quick response.
0