on 09-09-2013 10:48 AM
Hi,
Is it possible set as mandatory, in the Customer Master Data, the field Payment methods (KNB1-ZWELS) in function of specific Terms of payment (KNB1-ZTERM)?
Thanks and best regards.
Antonio
Hi Antonio,
If you wish to make the field KNB1-ZTERM mandatory then you can do so using the customizing for the Account Group.
If however, you want it to be mandatory only when KNB1-ZTERM is filled or filled with certain values, then you can use the user-exit EXIT_SAPMF02D_001 to do the necessary coding. The pseudo-code would be something like shown below.
IF I_KNB1-ZTERM IS NOT INITIAL.
IF I_KNB1-ZWELS IS INITIAL.
Give Message 'Please fill the Payment Method'. (Can be a Error, Warning, or Information Message)
ENDIF.
ENDIF.
Regards,
Shashi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Try to do it with the enhancement SAPMF02D
Regards
Eduardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
106 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.