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

VA01

Former Member
0 Likes
421

All,

We are running a BDC which will create Sales order using call Transaction. When we run in foreground we are able to create Sales order but in background, sales order not getting generated and job status says finished.

Below are the error msg we are getting in MSGTAB

( CALL TRANSACTION c_va01 USING bdcdata

MODE p_nodisp " No display

UPDATE p_syn " synchronous

Messages into MSGTAB )

Msg class DC - 006 / Control Framework: Fatal error - GUI cannot be reached

Msg class 00 - 341 / Runtime error & has occurred

Thanks in advance for your early reply

Best Regards,

Adeeb

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
364

Hi

U can't use a BDC program to simulate the trx VA01 if you run a functionality using Control Framework (perhaps you're loading the text?).

U have to use the BAPI BAPI_SALESORDER_CREATEFROMDAT2 instead of BDC program.

Max

2 REPLIES 2
Read only

Former Member
0 Likes
365

Hi

U can't use a BDC program to simulate the trx VA01 if you run a functionality using Control Framework (perhaps you're loading the text?).

U have to use the BAPI BAPI_SALESORDER_CREATEFROMDAT2 instead of BDC program.

Max

Read only

Former Member
0 Likes
364

Thanks a lot MAx. It indeed solved my issue.