‎2007 May 23 1:49 PM
Hello,
when using the new debugger to watch a value-parameter in a form, the debugger stops every time the value of the variable in the watchpoint is changed.
Even when there is an extra condition entered.
Is this a bug, or is it supposed to happen that way because the parameter is passed as a value rather than a reference?
This is a bit hard to explain, so here is a simple code sample demonstrating the behaviour :
REPORT ztestndeb.
data : test type string.
do 5 times.
concatenate test 'A' into test.
write : / test.
perform valueparamform using test.
enddo.
*&---------------------------------------------------------------------*
*& Form valueparamform
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* -->P_TEST text
*----------------------------------------------------------------------*
form valueparamform using value(p_test).
* watchpoint for field p_TEST with condition p_TEST eq 'AAA' stops every time value of p_test changes
write : 'Valueparameter : ', p_test.
endform. " valueparamform
Our sap version is :
sap version : SAP ECC 6.0
SAP_ABA 700 0011 SAPKA70011
SAP_BASIS 700 0011 SAPKB70011
‎2008 Apr 08 10:59 AM
I am having the same problems with the additional conditions - does anyone know how to get this to work?