‎2008 Mar 10 7:51 AM
This is only my second ABAP Program. This program asks for the city, and then displays the vendors for the chosen cities. The problem is that when I scroll down the output list of vendors and cities, the first line which are column names disappears. I would like the line "Vendor City" to stay fixed as we scroll down the list of vendors and cities.
BeginAPAPCode:
REPORT YABHINAV7.
tables: lfa1.
select-options : city for lfa1-ort01.
write : / 'Vendor ', 'City'.
uline.
select * from lfa1 where ort01 in city order by ort01.
write : / lfa1-name1, lfa1-ort01.
endselect.
uline.
EndABAP Code
Thanks,
Al Lal
‎2008 Mar 10 7:56 AM
hi,
REPORT YABHINAV7.
tables: lfa1.
select-options : city for lfa1-ort01.
select * from lfa1 where ort01 in city order by ort01.
write : / lfa1-name1, lfa1-ort01.
endselect.
uline.
top-of-page.
write : / 'Vendor ', 'City'.
uline.
plz reward points if useful.
regards
rose
‎2008 Mar 10 7:56 AM
hi,
REPORT YABHINAV7.
tables: lfa1.
select-options : city for lfa1-ort01.
select * from lfa1 where ort01 in city order by ort01.
write : / lfa1-name1, lfa1-ort01.
endselect.
uline.
top-of-page.
write : / 'Vendor ', 'City'.
uline.
plz reward points if useful.
regards
rose
‎2008 Mar 10 7:56 AM
good try:
Write the Heading under the Event TOP-OF-PAGE.
and the write statements under: START_OF_SELECTION.
Hope That Helps
Anirban M.