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 pass Vendor to BAPI_SALESORDER_CREATEFROMDAT2

chundru_ravindra
Participant
0 Kudos

Hi all,

I am creating a Sales Order through BAPI_SALESORDER_CREATEFROMDAT2, but in my requirement i need to pass a Vendor to  BAPI_SALESORDER_CREATEFROMDAT2 in certain conditions. Is there a way to pass a Vendor while creating SO. I came to know, we can use EXTENSIONIN but i dont know how to use. Kindly give me a solution for this.

Regards,

Ravindra

2 REPLIES 2

Former Member
0 Kudos

Go to Function Module documentation. Click on EXTENSION you will get full documentation with examples.

Let me know if you face any issue.

0 Kudos

Hi Sachin,

Thanks for your quick reply.

I went through Documentation but here i don't want to add Vendor No. to any structure, just i want to pass the value to it.

Actually server is configured like PR is creating automatically for specific Item Category whenever SO is created.

If you create through VA01 for that Item Catg it is asking Des. Vendor we can pass there but now i am creating SO through BAPI. Here how i can pass?

Ravindra.