on 05-09-2007 7:33 AM
Hi All,
I have a one question , in SAP Scripts/Smartforms how can i draw a dynamic box's. if there is one record one box (Like Table with 3 Cells(rows & coloums)) has to appear, if it is 2 ,two box's has to appear depending up on the records.
Please if any one having the code3 or path to slove this Problem, please give me the advice.
Thanks very much in advance for your answer.
Naren
I hope this will help you.
Create a similar window,of same size as main window and place it on main window, you draw the lines/boxes on this new window.
Rgds,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In print program, something like this
data: ypos(5), ht(5).
move '1.75' to ypos.
move '3.00' to ht.
call function 'WRITE_FORM'
exporting
element = 'HEAD'
exceptions
element = 01
function = 02
type = 03
unopened = 04
unstarted = 05
window = 06.
if sy-subrc ne 0.
message e205 with 'WRITE_FORM failed.' sy-subrc element.
endif.
And in the SAPScript:
/E HEAD
/: BOX YPOS &YPOS& LN HEIGHT &HT& LN INTENSITY 10
Regards,
SaiRam
User | Count |
---|---|
88 | |
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.