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: 

how to create SP Partner function at the time of sales order creation from VA01

0 Kudos

hi experts,

Please let me know the user exit to create the SP partner function at the time of saving the sales order from VA01 transaction.Please find the the details in the attachment.

Thanks,

Sivagopal R.

1 ACCEPTED SOLUTION

atul_mohanty
Active Contributor
0 Kudos

Hi

Check for the User exit   FORM USEREXIT_SAVE_DOCUMENT_PREPARE in include MV45AFZZ.

In this user exit , you can modify the XVBPA table with your requirement.

4 REPLIES 4

nikolayevstigneev
Contributor
0 Kudos

Hi!

Please, have a look at FORM userexit_save_document in include MV45AFZZ.

atul_mohanty
Active Contributor
0 Kudos

Hi

Check for the User exit   FORM USEREXIT_SAVE_DOCUMENT_PREPARE in include MV45AFZZ.

In this user exit , you can modify the XVBPA table with your requirement.

0 Kudos

hi Atul,

I have appened the row in XVBAP with SP partner role but only vendor:11801 & SP partner is appearing in the partners and the address of the vendor is not appearing in the Partners tab.

Please let me suggest how to bting the address.

thanks,

sivagopal r.

0 Kudos

Hi Sivagopal -

You can try following -

If you want to add the same address details in vendor master for the vendor then check LFA1 and take the address number and retrieve from table ADRC and you can manipulate accordingly. Otherwise check with the functional owner which address they want here and accordingly you can code.

Let us know, if it helps