‎2007 Aug 21 1:42 PM
Hi everbody,
here is a simple code below. I i don't use the write statement in the header part it writes out all the results. If I use it, I only get 1 row. Why is it that?? Why I can't use my page header?????
TOP-OF-PAGE.
write: 3 'Vendor Nr.', 30 'Name', 50 'Postal code', 60 'City', 75 'Street' .
uline.
START-OF-SELECTION.
select * from lfa1.
write: lfa1-lifnr under 'Vendor Nr.', lfa1-name1 under 'Name', lfa1-pstlz under 'Postal code',
lfa1-ort01 under 'City', lfa1-stras under 'Street'.
endselect.
‎2007 Aug 21 3:27 PM
hi
try this code. its working. it wil solve ur problem
tables : lfa1.
TOP-OF-PAGE.
write: 3 'Vendor Nr.', 30 'Name', 50 'Postal code', 60 'City', 75 'Street' .
uline.
START-OF-SELECTION.
select * from lfa1.
write: / lfa1-lifnr under 'Vendor Nr.', lfa1-name1 under 'Name',
lfa1-pstlz under 'Postal code',
lfa1-ort01 under 'City', lfa1-stras under 'Street'.
endselect.
thanks
‎2007 Aug 21 1:51 PM
if you would like to use top-of-page, use also REPORT .. LINE-COUNT ...
and if you use TOP-OF-PAGE & START-OF-SELECTION also use END-OF-PAGE.
Fred
‎2007 Aug 21 3:27 PM
hi
try this code. its working. it wil solve ur problem
tables : lfa1.
TOP-OF-PAGE.
write: 3 'Vendor Nr.', 30 'Name', 50 'Postal code', 60 'City', 75 'Street' .
uline.
START-OF-SELECTION.
select * from lfa1.
write: / lfa1-lifnr under 'Vendor Nr.', lfa1-name1 under 'Name',
lfa1-pstlz under 'Postal code',
lfa1-ort01 under 'City', lfa1-stras under 'Street'.
endselect.
thanks
‎2007 Aug 23 3:08 PM