‎2006 Jun 22 9:34 PM
I have a write statement as follows:
FORMAT COLOR 1 ON.
WRITE: /3 'Order Number', 25 'Item Number'.
FORMAT COLOR 1 OFF.
On the output, it is followed by a very long list of order nums and item nums. When I move the cursor down to see the full list, I still want the above heading to appear on the screen but the values can keep moving(that means even if I scroll down, the heading should not move up).
Can you please tell me any keywords I need to add to the above write statement inorder to produce this effect?
Thanks.
‎2006 Jun 22 9:36 PM
hi nuren,
write ur code in the event TOP-OF-PAGE.
<b>TOP-OF-PAGE.
FORMAT COLOR 1 ON.
WRITE: /3 'Order Number', 25 'Item Number'.
FORMAT COLOR 1 OFF.</b>
Message was edited by: Priya
‎2006 Jun 22 9:36 PM
hi nuren,
write ur code in the event TOP-OF-PAGE.
<b>TOP-OF-PAGE.
FORMAT COLOR 1 ON.
WRITE: /3 'Order Number', 25 'Item Number'.
FORMAT COLOR 1 OFF.</b>
Message was edited by: Priya
‎2006 Jun 22 9:40 PM
All you need to do is put that code under the TOP-OF-PAGE event in your program.
report zrich_0001.
data: ivbap type table of vbap with header line.
start-of-selection.
select * into table ivbap from vbap
up to 100 rows.
loop at ivbap.
write:/3 ivbap-vbeln, at 25 ivbap-posnr.
endloop.
top-of-page.
format color 1 on.
write: /3 'Order Number', 25 'Item Number'.
format color 1 off.Regards,
Rich Heilman
‎2006 Jun 22 9:44 PM
hi Nuren,
Put the code in <b>TOP-OF-PAGE</b> event.
TOP-OF-PAGE
FORMAT COLOR 1 ON.
WRITE: /3 'Order Number', 25 'Item Number'.
FORMAT COLOR 1 OFF.
Regards,
santosh
‎2006 Jun 22 9:46 PM
‎2006 Jun 22 9:52 PM
HI RICH,
IT WAS NOT INTENSIONALLY DONE....
FIRST I WAS NOT SURE OF THE POST SO I HAD DELETED IT BUT LATER I HAD CHECKED AND GAVE THE ANSWER...
IF U WANT TAKE THE WHOLE POINTS..
‎2006 Jun 22 9:58 PM
I didn't think that it was intensional, just checking though.
I've seen in the past where someone has posted a "Hi there", just to get first in line, then come back with a solution a couple minutes later after more have posted with correct answers.
In your case, it could have been seen as above, but I believe you when you say it was not intensional.
I'm not worried about the points, just want this forum to be an <u><b>honest</b></u> one. Cool?
Regards,
Rich Heilman