‎2008 Dec 15 6:28 AM
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...........
‎2008 Dec 15 6:35 AM
Hi,
Pass the value as follows:-
if sy-batch = 'X'.
OK_CODE = '/00'.
endif.Best regards,
Prashant
‎2008 Dec 15 6:35 AM
Hi,
Pass the value as follows:-
if sy-batch = 'X'.
OK_CODE = '/00'.
endif.Best regards,
Prashant