‎2009 Jun 17 5:59 AM
HI Experts,
I am working on Script, The below box i want to drow , can any one help on the same.
_______________________________________
total | &total& |
-
Thanks,
‎2009 Jun 17 6:11 AM
‎2009 Jun 17 6:32 AM
Hi Srinu,
helpful link
http://help.sap.com/saphelp_nw70/helpdata/en/d1/803293454211d189710000e8322d00/content.htm
Regards.
‎2009 Jun 17 6:55 AM
Hi,
your query is not clear, but the command for drawing a box is as follows :-
/: BOX XPOS '11.21' MM YPOS '5.31' MM HEIGHT '10' MM WIDTH '20' MM INTENSITY 10 FRAME 0 TW
‎2009 Jun 17 7:31 AM
Hi!
As i understood your problem that you want your total to be printed in the box at the end of all....
for this....i can suggest u that....
as dynamically printing a box is not possible....
you print your table data with PROTECT ENDPROTECT by restricting the lines say 10 lines per page....
Accordingly....just get the position where the total should come in the page
then in the main window
/E END_BOX_TOTAL
/: IF &PAGE& EQ &SAPSCRIPT-FORMPAGES&
(DRAW THE BOX)
POSITION XORIGIN '12'(YOUR POSITION WERE U WANT) CM YORIGIN '18' (YOUR POSITION WERE U WANT) CM
/: SIZE WIDTH '7' CM HEIGHT '2' CM
/: BOX FRAME 10 TW
TOTAL : &W_TOTAL&
/: ENDIF.
call this data element in the driver program at the end as
loop at t_itab into fs_itab.
at last.
the write_form with this data element
endat.
endloop.
Regards.
‎2009 Jun 17 10:52 AM
Hi,
U can use this,
BOX XPOS 65 MM YPOS 23 MM WIDTH 60 MM HEIGHT 0 MM FRAME 40 TWu can change WIDTH to determine the width of the line
/Regards
‎2009 Jun 17 3:07 PM