05-10-2006 11:54 AM
hi,
i have coded a bdc program.
if i set a BREAK POINT in my bdc program it places the DATA as per my requirement.
if i WONT SET A BREAK POINT then it is not placeing the data as per my requirement.
i am sure there is no bug in my code,can any one help it.
05-10-2006 11:56 AM
hai
you will use external break point
like this
break-point 'Username'.
Thanks & regards
Sreenivasulu P
05-10-2006 11:58 AM
Probably there is some issue with commit work.
If you start the debugger, then the system triggers an automatic commit statement for each f5.
Probably you should commit explicitly.
Regards,
Ravi
05-10-2006 12:15 PM
While debugging system automatically calls various commit work statements.
Use this code in your program at intervals.
commit work.
or
commit work and wait.
Thanks,
Susmitha
05-10-2006 12:21 PM
change the Mode from 'N' to 'E' so that you can stop exactly at the error screen, and correct it, may be you missed it in your BDCDATA.
05-10-2006 12:24 PM
HI
GOOD
CHECK OUT THE POSITION WHERE YOU R SETTING THE BREAK POINT,CHECK WHEATHER YOU CAN SET ANY OTHER COMMAND INSTEAD OF BREAK POINT, BECAUSE I DONT THINK THE BREAK POINT SHOULD AFFECT THE PLACING OF DATA.
THANKS
MRUTYUN
05-10-2006 12:26 PM
hi,
After doing the bdc if your are accessing database, you may not find the changed value to do that either call call transaction in synchronous mode . if at you are using call transaction skip first screen use waite so that database values will get updated. the reason is call transaction by default it is asynchronous. hope this should dolve your problem.
thanks and regards,
Manohar.
12-12-2012 3:06 AM
If anybody else has faced similar issue please share.
12-12-2012 3:17 AM
HI
Can you run your BDC in the foreground mode with mode = 'A' and check your bdcdata table.
Also some time the unwanted cursor positions create this sort of problem, can you check your recording for this and if found try to remove the bdccursor position and then execute your code.
Also make sure that your are refreshing the bdcdata table before every call.
Please try this and let us know the results.
Regards,
Amit