cancel
Showing results for 
Search instead for 
Did you mean: 

how to check if the customer is a payer

soumya_jose3
Active Contributor
0 Kudos

Hi Experts,

I have a requirement to check in my pricing routine if the header partner, while creating an order through VA01, is a payer or not.

I could have checked this from VBPA table. But since I want to check it before the order is saved, VBPA table will not be populated.

Please let me know how can I achieve this.

Thanks & Regards,

Soumya.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check the table KNVP for the Customer KUNNR.

Check for the field PARVW for PY (RG)

This is the Partner function for the Payer.

regards,

santosh

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear Soumya,

When in a Sales Order overview screen, click on 'Go To' --> 'Header' --> 'Partners'. Here you can see if the Customer has the Partner Function of a Payer or not.

Hope this solves your requirement, if yes, kindly remember to close this thread, after giving the deserving one the due markz..

If anything else plz do post here, so some one can get back to you.

Regards.

Venkat - Hyd

former_member1091983
Active Contributor
0 Kudos

Hi,

Try with this exit ..MV45AFZZ USEREXIT_SAVE_DOCUMENT.. to check the same before saving the document

Reg,

JJ