‎2006 Dec 27 7:04 AM
We have a requirement where in we have to print only column lines in a script output. Please see below
Sale order | Item | Material| Quantity| units|
0001 |0001 |abgs | 10 | 50 |
0002 |0002 |a111 | 10 | 50 |
0003 |0001 |cccs | 40 | 50 |
0004 |0001 |a33s | 50 | 50 |
Here we need to print only the column separators s in column lines but we dont know how many items are to come, if some one has worked on such a requirement please do let me know on how to handle this.
Thanks in Advance
‎2006 Dec 27 7:11 AM
Just see this
/E item "call ur element to the write form
L itab-field1 | itab-field2 | itab-field3
here pass the pipes into ur itab fields in the script for that paragraph format .
I think if it has to display dynamically then u can opt for this ..
See if this works for u .
in the write form call this element.
im preassuming the tab positions for ur paragraph format .
regards,
vijay
‎2006 Dec 27 7:11 AM
Hi
You need to define Paragraph format with tabs
You need to define 5 tabs
and write the same line with different variables(of your sapscript) in your sapscript
&order No&,,|&Order item&,,|&Mat Descri&,,|&Quantity&,,|&Units&,,|
it will solve your problem.
Note: header and body should have different Tab spaces.
‎2006 Dec 27 7:28 AM
Hi
call WRITE program and assign the items for seperate element. Now u call the form and element in MAIN window and get the result