‎2006 Jan 26 9:54 AM
Hi all,
I have a checkbox which I want to check/uncheck using my BDC. I am able to check it with 'X' but not able to uncheck the same. I have tried '' and ' ' options.
As far as recording is concerned, it is showing '' to uncheck it. Program generated from SHDB recording is working fine.
Please help..
-Tejal
‎2006 Jan 26 10:04 AM
‎2006 Jan 26 10:05 AM
sorry, overlooked ur messg. Check your program to see whether the value of this variable is being overwritten by another piece of code. Try debugging.
‎2006 Jan 26 10:18 AM
Hi,
Thanks for reply..But I have tried hard coded values only. So no question of getting overwritten variable.
-Tejal
‎2006 Jan 26 10:24 AM
‎2006 Jan 26 10:33 AM
Is there any function code assigned to the checkbox ?????
regards
‎2006 Jan 26 1:02 PM
try to send a char variable.
data : v_uncheck(1) type c value ' '.
clear v_uncheck.
this shud work.
‎2006 Jan 26 4:58 PM
Hi Srinivas,
I have already tried this option and itz not working.
-Tejal
‎2006 Jan 26 5:01 PM
Try to capture the Space bar .
Cos when we press the SPACE BAR on a check box it will
be checked/unchecked.
‎2006 Jan 26 5:05 PM
Hi Srinivas,
I am able to capture it SHDB recording. It is getting captured as '' (Just single quotes). But the same is not working in my code.
-Tejal
‎2006 Jan 26 5:08 PM
‎2006 Jan 26 2:51 PM
Are you sure it's a check box and not a radio button? I've used ' ' to uncheck a check box in BDC sessions with no problem. What transaction is it?
Rob
‎2006 Jan 26 5:01 PM
Hi Rob,
It is checkbox only and I have already tried to check it and it is working fine. Transaction is XD02 and field is 'collection authorization' under General data-> Payment Transactions tab.
-Tejal
‎2006 Jan 26 8:12 PM
The default for the field should be unchecked and it has no PID, so if you just don't send that line of code (the line where you try to uncheck it), it may work.
Also - check to see if you are sending it more than once to the screen - first time unchecked, second time checked.
Rob
Message was edited by: Rob Burbank
‎2006 Jan 27 3:21 AM
Hey Rob,
I removed that particular line from my code but it is not working. Using the same code I was able to check the same (with 'X'). Neways, thanks..
-Tejal
‎2006 Jan 27 8:41 AM
‎2006 Jan 27 2:29 PM
I'd be interested in knowing what the problem and solution were.
Rob