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

Problem while processing BDC for VA01

Former Member
0 Likes
421

Hi Experts,

I've written a BDC program for VA01 tcode. After entering all the details in VA01, the control should go to shipment cost information (tcode VICI) option which is there in the menu (Extras menu) options.

VA01 is calling VICI tcode using 'Call transaction and skip first screen'. As there are some mandatory fields in the initial screen VICI and we're skipping the first screen, whenever control goes to 'Shipment cost information' option, error message is getting displayed saying 'Please enter all mandatory details'.

I know what to enter in all the mandatory fields, but due to the error message BDC processing is getting interrupted.

Kindly let me know, how to bypass this type error messages and to continue with the BDC processing in background mode.

Please note, I don't want to capture the error message, i want to bypass the error message and continue with the BDC processing in 'N' mode.

Thanks in Advance,

Siva Sankar.

2 REPLIES 2
Read only

Former Member
0 Likes
373

Hi ,

Instead of using BDC try with below BAPI.

BAPI_SALESORDER_CREATEFROMDAT1.

Regards,

Mahender

Read only

0 Likes
373

Instead of using BDC try with below BAPI.

BAPI_SALESORDER_CREATEFROMDAT1.

@Mahender: Why would you recommend an outdated BAPI version which doesn't even address the issue?

To the poster, if you intend to use the BDC method, then if you can enter the document and perform the shipping cost function normally using VA01, then you can do it in your BDC code. It does not make sense to try to skip mandatory fields; you need to populate the information so that it flows to the shipping cost transaction.