on 09-26-2007 1:04 PM
how to create table in sap script
there is no concept of table in SAPScript, where as you can create tables in Smartforms...
To have a look and feel of table you can print the line items and place boxes...
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
I hav created table using box command. how to pass table header and item details to that.i hav put them in text elements.printed separately.now i want to print those details in table,how to do it?
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check this example code,
BOX WIDTH '196' MM HEIGHT '140' MM FRAME 10 TW
SIZE HEIGHT '0' MM WIDTH '196' MM
BOX FRAME 10 TW XPOS '0.21' MM YPOS '5' MM
SIZE HEIGHT '140' MM WIDTH '0' CM
BOX FRAME 10 TW XPOS '16' MM YPOS '0' MM
BOX FRAME 10 TW XPOS '60' MM YPOS '0' MM
BOX FRAME 10 TW XPOS '115' MM YPOS '0' MM
BOX FRAME 10 TW XPOS '149' MM YPOS '0' MM
BOX FRAME 10 TW XPOS '167' MM YPOS '0' MM
Write this code for creating a box in your script layout.
Your can vary the measures further,
Regards,
PRitha.
Reward if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think you need to go through sap script help first,
Check this link
http://wiki.ittoolbox.com/index.php/Sap_script
YOu can put the header and detail data in the sap script form
Here's an example,
........1........2........3........4........5........6....+....7..
*COLOUMN HEADINGS
ITEM MATERIAL,,,,,,DESCRIPTION,,,,QUANTITY,,,,UOM AMOUNT
*DETAILS
&v_posnr& &v_MATNR&,,,,,,&v_arktx&,,&v_ZMENG&
,,&v_MEINS& &v_MWSBP&
,,<c1>&v_MATNR&<c1>
BOX WIDTH '196' MM HEIGHT '140' MM FRAME 10 TW
SIZE HEIGHT '0' MM WIDTH '196' MM
BOX FRAME 10 TW XPOS '0.21' MM YPOS '5' MM
SIZE HEIGHT '140' MM WIDTH '0' CM
BOX FRAME 10 TW XPOS '16' MM YPOS '0' MM
BOX FRAME 10 TW XPOS '60' MM YPOS '0' MM
BOX FRAME 10 TW XPOS '115' MM YPOS '0' MM
BOX FRAME 10 TW XPOS '149' MM YPOS '0' MM
BOX FRAME 10 TW XPOS '167' MM YPOS '0' MM
regards,
Pritha,
Reward points if helpful.
Hi Kavitha ,
You will have to use the BOX command to do it , please see the help on box command for more info.
Regards
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.