Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Transformation - Debugger

Former Member
0 Likes
1,050

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

9 REPLIES 9
Read only

rainer_hbenthal
Active Contributor
0 Likes
1,015

Set watchpoint(s) in the debugger.

Read only

0 Likes
1,015

i know it, but i have "problem" set up 2 conditiions

Read only

0 Likes
1,015

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

Read only

0 Likes
1,015

2 watchpoints ? i used one with e.g. var1 = 1 and var2 = 2, i am going to use your solution later, thanks

Read only

0 Likes
1,015

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

Read only

0 Likes
1,015

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®

Read only

0 Likes
1,015

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

Read only

0 Likes
1,015

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.

Read only

former_member194669
Active Contributor
0 Likes
1,015

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®