Application Development 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: 

call transaction with BDC

former_member196079
Active Contributor
0 Kudos

Hi experts

i need to call va03 transaction with BDC.

I done it but i see the confirmation of the ok code.....i don't want see it....

somebody can help me??

thanks in advance

best regards

Marco

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi marco

listen to me. I faced that same problem.

Set the parameter bdcmode to 'E'.

It will work.

Bye

13 REPLIES 13

Former Member
0 Kudos

Have you set the parameter bdcmode to "N"?

Regards

Vinod

0 Kudos

Hi

What VInod said is correct

Please use mode as 'N' in the syntax of call transaction

than it does not show the OK -Codes

Thanks

Surendra

0 Kudos

hi vinod

thanks for you reply

where i can set this parameter??

thanks Marco

0 Kudos

move 'N' to bdcmode.

call transaction <tcode> using bdcdata

mode bdcmode.

Regards

Vinod

0 Kudos

CALL TRANSACTION 'ME22' USING bdc_tab MODE 'N' UPDATE 'S'

MESSAGES INTO messtab.

Former Member
0 Kudos

Hi,

Are you sure you want to call VA03. It is for displaying sales order. If you want to change anything then call VA02 and for creation call VA01.

Change mode to N

0 Kudos

Hi

but if i use mode N as follow


CALL TRANSACTION 'VA03' USING bdcdata
                                     MODE  'N'.

The transaction will called in background and not in foreground.

Marco

0 Kudos

Yes, you have either of two options, if you use 'N', bdc will execute in background, if you use 'A', all the screens will appear in

foreground expecting user interaction for OK_CODEs. Which option to select is your call.

Regards

Vinod

0 Kudos

OK....

i don't want interaction with the ok code.....this's my issue.....

by a double click on a item , on alv grid,i must see the shedule page in the va03.....so i don't want the interaction.....

regards

Marco

0 Kudos

Hi

Use Addition ' AND SKIP FIRST SCREEN ' . Please see below sample code :

SET PARAMETER ID AUN v_order .

CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN .

Regards

Srikanth

raymond_giuseppi
Active Contributor
0 Kudos

Check [CALL TRANSACTION|http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION.htm] [USING bdc_tab [bdc_options] |http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION.htm#!ABAP_ADDITION_2@2@] online documentation.

Srikanth's answer may fulfill your requirement, if you want to bypass other screens, and not only the initial/selection-screeen use a USING a BDCDATA structure table and add a [bdc_options|http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSACTION_BDC_OPTIONS.htm], use a OPTIONS FROM opt, and in opt (CTU_PARAMS structure) fill NOBIEND = 'X', so at end of bdcdata (or after bypassed selection-screen) the BDC will give control to the called transaction.

Regards,

Raymond

Former Member
0 Kudos

Hi marco

listen to me. I faced that same problem.

Set the parameter bdcmode to 'E'.

It will work.

Bye

0 Kudos

thanks