cancel
Showing results for 
Search instead for 
Did you mean: 

how can u use functionality of control break statement in sapscript

Former Member
0 Kudos

<b></b>how can u use functionality of control break statement in sapscript such as atnew and on change of

i'm not talking abt control break i'm talking abt its funtionality

which v use during purchasing order

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

<b>ok i just make it clear

suppose itz a report and i assing atnew to feild x(let other fields be y z ,v)

************************

loop at itab.

at new x

write:/ x.

endat.

write 😕 y, z, v.

endloop.

*******output***********

x1

y1 z1 v1

y2 z2 v2

x2

y3 z3 v4

and so on

******************************

now tell me how can i use dis funtioanlity in my sapscript</b>

<b>

Former Member
0 Kudos

sap script always has something called a driver program. u can do all your processing logic over there.

this also could be handled in ur driver.

loop at intab.

at new x.

call function write_form with text_element 1.

end at.

call function write_form with text_element 2.

endloop.

in sapscript, u can have 2 text elements.

1.

&X&

2

&y& &Z& &v&

hope this is clear.

Former Member
0 Kudos

hey can u give me a coding plzzzz