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

SO Creation

Former Member
0 Likes
966

Hi,

I am creating the sales order creation (VA01) through BDC in ECC 5.0. I have done the recording. But i was facing the problem in the second screen of VA01. The item details are not sitting in the Material, quantity, Description and plant.

I am giving the Item input details through GUI_upload and storing the data into my internal table. But when the cursor reaches to the second screen of VA01, above details are not sitting as required.

Even i have added the required sub screen body and the Table control details code in the Item loop.

Can anybody have idea on above given?

Regards,

SK..

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
868

Hi,

Thanks for your quick response. As per my requirement, i wold like to go for VA01.

Regards,

SK.

6 REPLIES 6
Read only

Former Member
0 Likes
868

Hi,

Use the standard BAPI.

BAPI_SALESORDER_CREATEFROMDAT2

and BAPI_TRANSACTION_COMMIT to create sales orders.

Regards,

Subramanian

Read only

Former Member
0 Likes
869

Hi,

Thanks for your quick response. As per my requirement, i wold like to go for VA01.

Regards,

SK.

Read only

0 Likes
868

You should use the BAPI as suggested, but if you must use a BDC and need some help, why don't you post a snippet of the code? Most likely, you haven't added the items correctly and that will be visible in the coding.

Read only

0 Likes
868

Hi!

Unfortunately table controls are the weakspots of BDC recording, sometimes they are working, sometimes not.

You might try to create an another recording about VA01, clicking different buttons, choosing another ways to reach the requires dynpros.

If it will still not solves your problem, your only way will be the use of the BADIs (BAPI_SALESORDER_CREATEFROMDAT2).

Don't worry to use BADIs that's why SAP made them to replace the old and sometimes useless BDC technique.

Regards

Tamá

Read only

Former Member
0 Likes
868

Answered

Read only

Former Member
0 Likes
868

Answered