‎2007 Oct 19 4:08 AM
Hi,
I am currently doing a BDC program and is facing an issue with the OK code.
When my screen hits a warning message, my program failed.
I have tried to use OK codes, '=ENTR' and '=ENTE' but both still doen't work to bypass this warning message.
Appreciate if any guru can advise, thanks.
regards,
CL
‎2007 Oct 19 7:57 AM
Hi..
Find out the Exact OK_CODE value of the Enter key in the Recording (SHDB).
Then use it in the program.
Generally you will have '/00' for Enter key.
REWARD IF HELPFUL.
‎2007 Oct 19 4:09 AM
Hi CL,
You should record through SHDB and whatever code comes there use that in your program.
Regards,
Atish
‎2007 Oct 19 7:57 AM
Hi..
Find out the Exact OK_CODE value of the Enter key in the Recording (SHDB).
Then use it in the program.
Generally you will have '/00' for Enter key.
REWARD IF HELPFUL.
‎2007 Oct 19 8:05 AM
just check the message and its ok code for all possible messge...if they come your BDC will run.and also if they dont appear..
regards
‎2007 Oct 19 1:55 PM
for enter '/00'.in shdb it will shows automatically.
for ok code.
create ok-code type sy-ucomm.
use this
and populate the table bdcdata.
for every screen same as shdb.
populate bdcdata-programname,dynpro,dynbegin,fnam,fval.