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

Sap Scripts

Former Member
0 Likes
542

Hi All,

i have a sapscript which generates out put some thing like this..these are at item level..

sales ord/line item : 1234/10

desc : xyz

client ord: abc

qty leng id qty leng id

1 1 2 3 4 5

sales ord/line item : 1234/10

desc : xyz

client ord: abc

qty leng id qty leng id

2 10 2 5 40 5

total qty :11

-


i would like to print them as

sales ord/line item : 1234/10

desc : xyz

client ord: abc

qty leng id qty leng id

1 1 2 3 4 5

2 10 2 5 40 5

total qty : 11

Any suggestion regarding this pls..

Thxs,

vind.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
513

Hi,

loop at itab.

at new vbeln

call'write_form' which has the text element to print sales order ,desc,client order.

endat.

call 'write_form'

to print qty, length,id,lenid...

endloop.

regards,

keerthi.

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
513

Hello,

Print this lines in the "at new line item" of the internal table.

-


sales ord/line item : 1234/10

desc : xyz

client ord: abc

qty leng id qty leng id

-


at end of line item.

total qty : 11

endat.

regards,

Naimesh

Read only

Former Member
0 Likes
513

Hello Vind.

Use at new vblen posnr

and at end of Total.

If useful reward.

Vasanth

Read only

Former Member
0 Likes
514

Hi,

loop at itab.

at new vbeln

call'write_form' which has the text element to print sales order ,desc,client order.

endat.

call 'write_form'

to print qty, length,id,lenid...

endloop.

regards,

keerthi.