2007 Jul 26 9:41 AM
HI FRIENDS
I HAVE A SCRIPT FORM IN THAT FORM I HAVE A PAGE ON THAT PAGE MAIN WINDOW I HAVE ONE BOX OF MAIN WINDOW SIZE.
I AM DISPLAYINMG ITEMS IN THAT MAIN WINDOW TOTAL ITEMS IS 4 BUT MY MAIN WINDOW IS DISPLAYING 3 AT A TIME ACCORDING TO SETTING .
NOW WHEN IT WILL GO TO SECOUND PAGE AUTOMATICALLY MY BOX IS NOT DISPLAYING.
CAN ANY BODY HELP
2007 Jul 26 9:47 AM
Hi
Have you created the NEXT page and
Have you copied/created the MAIN WINDOW into that page?
check
so copy this MAIN winsdow page window into Second(NEXT) page
and in first page attributes give NEXT page as NEXT.
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Jul 26 9:47 AM
Hi
Have you created the NEXT page and
Have you copied/created the MAIN WINDOW into that page?
check
so copy this MAIN winsdow page window into Second(NEXT) page
and in first page attributes give NEXT page as NEXT.
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Jul 26 9:51 AM
Hi..
It is displaying the BOX only in the First Page.
But to Display the BOX in every page.
use the BOX command inside the TOP.. ENDTOP command.
/: TOP
/: POSITION WINDOW
/: SIZE WINDOW
/: BOX FRAME '20' TW
/: ENDTOP
<b>Reward if Helpful</b>
2007 Jul 26 10:21 AM
Hi Ajay,
If your page is FIRST then give<b> Next page as FIRST</b> under Standard Attributes of the FIRST page.
Thanks,
Vinay
2007 Jul 26 10:29 AM
NO SIR
ACTUALLY PROBLEM IS THAT MY WRITE_FORM IS CALLED ONLY ONES
SO THE BOX COMMAND IS ALSO TRIGGERED ONE THIS IS NOT SOLVING BY INTRODUCING NEW PAGE ALSO.
2007 Jul 26 10:36 AM
But to Display the BOX in every page.
use the BOX command inside the TOP.. ENDTOP command.
Step1: Create the Text elements in Main window (beginning) as below.
<b>/E ELE_TOP
/: TOP
/: POSITION WINDOW
/: SIZE WINDOW
/: BOX FRAME '20' TW
/: ENDTOP</b>
In the print program Call the WRITE_FORM for TOP inside the LOOP as below
<b>LOOP AT <YOURITAB>
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ELE_TOP'
FUNCTION = 'SET'
TYPE = 'TOP'
WINDOW = 'MAIN' .
<<<THEN CALL THE OTHER WRITE_FORM FM>>
ENDLOOP.</b>
This will work..... Let me know the status.
<b>Reward if Helpful.</b>
2007 Jul 26 11:10 AM
NO NARAYANA IT IS NOT WORKING SEE WHAT I HAVE DONE
AS item,,material,,description,,unit of measure
/E MAIN
/: TOP
/: BOX XPOS 0 CM YPOS 0 CM WIDTH 16 CM HEIGHT 5 CM FRAME 10 TW
/: BOX XPOS 0 CM YPOS 1 CM WIDTH 16 CM HEIGHT 4 CM FRAME 10 TW
/: BOX XPOS 3 CM YPOS 0 CM WIDTH 3 CM HEIGHT 5 CM FRAME 10 TW
/: BOX XPOS 6 CM YPOS 0 CM WIDTH 4 CM HEIGHT 5 CM FRAME 10 TW
/
/
AS &IT_VBAP-POSNR& &IT_VBAP-MATNR& &IT_VBAP-MATKL&
= &IT_VBAP-MEINS&
/: IF &PAGE& GT 1
/: BOX XPOS 0 CM YPOS 0 CM WIDTH 16 CM HEIGHT 5 CM FRAME 10 TW
/: BOX XPOS 0 CM YPOS 1 CM WIDTH 16 CM HEIGHT 4 CM FRAME 10 TW
/: BOX XPOS 3 CM YPOS 0 CM WIDTH 3 CM HEIGHT 5 CM FRAME 10 TW
/: BOX XPOS 6 CM YPOS 0 CM WIDTH 4 CM HEIGHT 5 CM FRAME 10 TW
/: TOP
/: ITEM,,MATERIAL,,DESCRIPTION,,UNIT OF MEASURE
/: ENDTOP
/: ENDIF
BY THIS I AM ABLE TO GENERATE BOX BUT THAT HEADING OF BOX ITEM MATERIAL AND ALL IS NOT PRINTING ALSO THE FOURTH ITEM IS NOT COMMING APPROPRIATLY
2007 Jul 26 11:21 AM
Create a Second page & create the main window in it.
in the first form give the second form name as the Next Page.
Try this u wil get the main window contents automatically printed into the second page if it exceeds the first page.
Reward Points If useful.