Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

My second ABAP program

Former Member
0 Likes
344

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

www.olap.wetpaint.com

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
324

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

2 REPLIES 2
Read only

Former Member
0 Likes
325

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

Read only

former_member480923
Active Contributor
0 Likes
324

good try:

Write the Heading under the Event TOP-OF-PAGE.

and the write statements under: START_OF_SELECTION.

Hope That Helps

Anirban M.