‎2010 Mar 05 8:52 AM
Hello Experts,
i set up in Generated Program (transformation) external breakpoint, after that i run DTP in simulate mode and "jump" to breakpoint.
Now - i would like to stop transformation ( report) for e.g.
variable1 is null and variable2 is not null
but i cannot set up it.
Thanks for help in advance
Martin
‎2010 Mar 05 9:03 AM
‎2010 Mar 05 9:07 AM
‎2010 Mar 05 9:15 AM
For this i'm using two watchpoints.
Guess you have var i and j and want to stop when i=3 and j = 4
First watchpoint is on change var i with additional condition i=3 and j=4
second watchpoint is on change var j with additional condition i=3 and j=4
‎2010 Mar 05 9:19 AM
2 watchpoints ? i used one with e.g. var1 = 1 and var2 = 2, i am going to use your solution later, thanks
‎2010 Mar 05 9:23 AM
Yours will not stop when var2 will change to 4. Watchpoints do only stop when the specified var changes, you can add special conditions. If you want to observe two vars you need two watchpoints
‎2010 Mar 05 9:34 AM
what about this
write this indefinite loop in report
data: yes,no.
yes = 'X'.
do.
if yes = no.
exit.
endif.
enddo
then go to SM50 --> From the Menu Program/Mode -> Program -> Debugging. and change the "No" variable as X continue
a®
‎2010 Mar 05 10:23 AM
maybe i do something wrong
i set up 2 watchpointes
e.g.
LA_ZPUR_D13-SOURSYSTEM - > LA_ZPUR_D13-SOURSYSTEM = '61' AND LA_ZPUR_D13-DOC_DATE = '20010906'
LA_ZPUR_D13-DOC_DATE - > LA_ZPUR_D13-SOURSYSTEM = '61' AND LA_ZPUR_D13-DOC_DATE = '20010906'
but the report is stopped for EACH changes in LA_ZPUR_D13-SOURSYSTEM
and in LA_ZPUR_D13-DOC_DATE
‎2010 Mar 05 10:32 AM
i did a check before to make sure this is working and i do not have any problem. check the content of the two varaibales if one is always constant it will stop more often as you expected. or you didnt save the filter correctly.
‎2010 Mar 05 9:08 AM
I think in dtp > Execute tab > Serially in the dialog Process > simulate
I think here you can find expert mode
Try to change the value here
a®