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

Ok_code window not appearing

Former Member
0 Likes
368

Dear all,

I am facing one problem while doing bdc for va01...in the screenflow there is one dialog modal box which asks user to select one of thre radiobuttons and press ENTER ...I hv done appropriate code , but when I come to that dialog box the 'OK_CODE window' disappears and I have to press ENTER manually...this way it runs fine in foreground...but in background mode ..it does not run..as i cant press ENTER manually (but i hv passed the value '=ok' to bdcdata's okcode)..............

it gives error " NO BATCH INPUT FOR 'scrn pro name' and 'scrn no'."

Could any body share the solution.............

Thanks...........

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
335

Hi,

Pass the value as follows:-

if sy-batch = 'X'.
OK_CODE = '/00'.
endif.

Best regards,

Prashant

1 REPLY 1
Read only

Former Member
0 Likes
336

Hi,

Pass the value as follows:-

if sy-batch = 'X'.
OK_CODE = '/00'.
endif.

Best regards,

Prashant