‎2009 Dec 04 4:50 PM
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..
‎2009 Dec 04 6:57 PM
Hi,
Thanks for your quick response. As per my requirement, i wold like to go for VA01.
Regards,
SK.
‎2009 Dec 04 4:58 PM
Hi,
Use the standard BAPI.
BAPI_SALESORDER_CREATEFROMDAT2
and BAPI_TRANSACTION_COMMIT to create sales orders.
Regards,
Subramanian
‎2009 Dec 04 6:57 PM
Hi,
Thanks for your quick response. As per my requirement, i wold like to go for VA01.
Regards,
SK.
‎2009 Dec 04 7:21 PM
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.
‎2009 Dec 04 7:26 PM
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á
‎2009 Dec 09 12:08 PM
‎2009 Dec 09 12:11 PM