on 02-09-2009 5:49 AM
Hi...all.
I have jus joined this network and felt that this is the right place to share knoweldge and learn a lot.
I hav a scenario where i wanted to design a bargain slip being used in my company.
It has table type format. How can i draw a table inside the main window....? Can aneone help me regarding same....as i m new to ABAP development.
i tried drawing a small box using below command..but cud not do that and cud not see that in print preview.
BOX XPOS '0.2' CH YPOS '0.1' LN WIDTH '39' CH HEIGHT '4.9' LN FRAME 10 TW.
Thanks
Abhay.
Hi..all.
Thanks for all d replies....each one adding value to my knowledge base.
I hav got my query answered.
Thanks.
Abhay..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First u have to draw a box and then specify the x positions...
Eg:
/: BOX WIDTH '17.5' CM HEIGHT 13 CM FRAME 10 TW INTENSITY 15
/: BOX XPOS '2' CM WIDTH 0 TW HEIGHT '13' CM FRAME 10 TW
/: BOX XPOS '5' CM WIDTH 0 TW HEIGHT '13' CM FRAME 10 TW
/: BOX XPOS '12' CM WIDTH 0 TW HEIGHT '13' CM FRAME 10 TW
like this..u have tp specify
Just excute the above code u will get an table format.
Regards
Kiran
Edited by: Kiran Saka on Feb 9, 2009 7:25 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this .
/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW ( draws frame )
/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15 ( for coloring )
/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
( draws vertical line upto 13.5 cm at 10 cms position )
/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
( draws vertical line upto 13.5 cm at 13.5 cms position )
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
yes the thing what u was doing is right, in script it is difficault to draw tables than smartforms. it is simple to use smartforms if u can(i mean if ur version supports).
to see the layout in steeting -
>formpainter -
>sapscript------> &check graphical form painter. it will show layout if dont need layout un check it.
regds:
rajesh.k
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,
U HAVE TO GIVE /: IN THE COMMAND BOX.
EXAMPLE.
/: BOX WIDTH '17.5' CM HEIGHT '17.5' CM FRAME 10 TW
WILL DRAW A BOX WITH 17.5 HEIGHT AND WIDTH.
THANKS,
NITHYA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.