Application Development and Automation 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: 
Read only

BDC for VA01

Former Member
0 Likes
659

Hi,

I am doing BDC for creating sales order in VA01. I have opt BDC as I am creating sales order using with refrence to Billing document. I am facing few issues like populating order reason and header text.

Order reason is actually a drop down list and when i am passing its value from my program, its not taking it.

Kindly let me know the solution for it.

Regards,

Rajneesh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
614

you can also use BAPI to create salesorder

http://www.sap-img.com/abap/bapi-salesorder-createfromdat2.htm

Hi,

I am doing BDC for creating sales order in VA01. I have opt BDC as I am creating sales order using with refrence to Billing document. I am facing few issues like populating order reason and header text.

Order reason is actually a drop down list and when i am passing its value from my program, its not taking it.

Kindly let me know the solution for it.

Regards,

Rajneesh

3 REPLIES 3
Read only

Former Member
0 Likes
614

Hi,

You can also create the sales order using standard BAPI:

BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order

BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order

Hope this may be usefull.

Regards,

Prashant

Read only

Former Member
0 Likes
614

Hi Rajneesh,

What are you passing for the Order fields? is it text or key if it is text it won't accept pass it the key for the order reason.

Read only

Former Member
0 Likes
615

you can also use BAPI to create salesorder

http://www.sap-img.com/abap/bapi-salesorder-createfromdat2.htm