cancel
Showing results for 
Search instead for 
Did you mean: 

Assign condition type for payment terms

Former Member
0 Kudos

When i creating a sales order, when the payment is COD, then it will trigger one of condition price mandatory, it I choose other payment terms, the trigger will be ignore. I would like to know how to set this checking, since i want to remove it. Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can try user exit USEREXIT_CHECK_VBKD or USEREXIT_SAVE_DOCUMENT_PREPARE applying following logic

If VBAK-AUART = u2018ORu2019 and VBKD-ZTERMS = 'COD' THEN xkomv-KSCHL = 'XXXX'(YOUR CONDITION TYPE) and KOMV-KHERK u2018Cu2019

Else IGNORE

I am not sure but you can try.

Rgds

San

Former Member
0 Kudos

Which userexit for USEREXIT_CHECK_VBKD. Thanks!

Former Member
0 Kudos

program for this user exit is MV45AFZB.

Former Member
0 Kudos

I've checked the userexit, no such implement for that. Thx

Former Member
0 Kudos

You need to implement that logic with the help of Abaper.