on 08-06-2009 12:22 PM
Hi experts,
How to print the lines in the form ..?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
You can use the
BOX XPOS '1' CM YPOS '2.0' CM WIDTH '5.6' CM HEIGHT '0' CM FRAME 10
in the textelement of that particular window.
Goto Windows tab and Click on TextElement button or goto Edit --> textelemants.
Hope this wil help you.
regards,
Dhanalakshmi L
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Arthi,
Select the line type in the table and assign pattern and display the lines as per your requirement.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In your Print program in OPEN_FORM, don't pass device value
CALL FUNCTION 'OPEN_FORM'
EXPORTING
application = 'TX'
* device = 'SCREEN' " -------> Comment it
dialog = 'X'
form = 'YDEMO_HELLOWORLD'
language = sy-langu
* OPTIONS = ' '
EXCEPTIONS
canceled = 1
device = 2
form = 3
OPTIONS = 4
unclosed = 5
mail_options = 6
OTHERS = 7.
" Verticle line at Y position 2 CM
/: BOX YPOS '2' CM WIDTH 0 CM HEIGHT '3' CM FRAME 10 TW
" Horizontal line at X position 2 CM
/: BOX XPOS '2' CM WIDTH '4' CM HEIGHT 0 CM FRAME 10 TW
So for as many vertical lines and horizontal lines you have to use that many BOX statement changing the XPOS, YPOS, WIDTH and HEIGHT as per your requirment.
Regards
Bala Krishna
Edited by: Bala Krishna on Aug 6, 2009 5:41 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In smartforms, you can try templates and just select the lower frame or upper frame as active to get horizontal lines
Edited by: subhajit bhadra on Aug 6, 2009 1:38 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I don't know whether we can print lines in script but you can print box in SAP Script and then again print another box inside it so that we get horizontal and vertical lines.
In print program:
/: box xpos'5.0'cm ypos '5.0'cm width '10.0'cm height '10' cm frame 10
/: box xpos'5.0'cm ypos '5.0'cm width '5.0'cm height '10' cm frame 10
/: box xpos'5.0'cm ypos '5.0'cm width '10.0'cm height '5' cm frame 10
This will give a horizontal and a vertical line inside the outer box.
Hope it helps you.
Thanks,
Sri.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There are different ways of printing lines in the smartform.
1).In the output options tab of every node like window,text,template etc there is an option box and shading select the check
box of frame some times you need to check the your required check boxes in the preview showing in the output options.
2) Point1 is not allowed in the table to check that check box if its not allowed then you need to select
the pattern in your table/template in your table select the table tab for template select the template tab there you will find
a box as select pattern there you can select the pattern what you exactly want.
3).Create a window in the output options of the window select the frame check box if you want horizontal line give less
height like 0.1mm and width as you required reverse for horizontal line.
4).In your text node write shift + _ continously upto the length you reuired even you get dotted lines in your print preview
in the print out you will get exact lines.
If your problem was not solved mention your problem in much dteail, where exactly you struck.
Thanks,
Phani.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.