‎2008 May 30 5:20 AM
Please help me out in getting format shown below on top of page in output
Title
Report name Date
user name Time
‎2008 May 30 5:22 AM
hi,
this is an example....u can specify the position if you want to format according to ur requirement.
top-of-page.
write:/ sy-title, / sy-repid.
write:/ 'User :' , sy-uname,
/ 'Date: ' , sy-datum,
/ 'Time:', sy-uzeit.
regards,
madhumitha
‎2008 May 30 5:22 AM
hi,
this is an example....u can specify the position if you want to format according to ur requirement.
top-of-page.
write:/ sy-title, / sy-repid.
write:/ 'User :' , sy-uname,
/ 'Date: ' , sy-datum,
/ 'Time:', sy-uzeit.
regards,
madhumitha
‎2008 May 30 5:28 AM
Hi,
In attributes maintain title .
top-of-page.
write:/ 'report name : ' ,sy-repid , ' date : ' ,sy-datum.
'username : ' sy-uname , ' time : ' ,sy-uzeit.
it isplays in your format.
‎2008 May 30 5:33 AM
hi
check this sample code
form top-of-page.
format color 5 .
write: 'REPORT :', sy-repid,60 'UPLOADED RECORDS DETAILS',
123 'DATE :', sy-datum .
format color off.
skip 3.
format color 1 intensified on.
uline at 1(140).
write : /'|',
(14) 'Company Code', '|' no-gap,
(17) 'Vendor Code', '|' no-gap,
(32) 'Vendor Name', '|' no-gap,
(13) 'Document No', '|' no-gap,
(12) 'Posting Date', '|' no-gap,
(24) 'Invioce Amount', '|' no-gap,
(12) 'UserName',
'|'.
uline at /1(140).
format color off.
endform.
thanks
sitaram
‎2008 May 30 5:37 AM
Hi!
For title ,u can maintain it in attributes....where u give description.
sy-title also gives Contents of Title Line.
code:
top-of-page.
write: sy-title, 'Report Name' , sy-repid.
write:/ 'User :' , sy-uname,
/ 'Date: ' , sy-datum,
/ 'Time:', sy-uzeit.
rewrd points if useful.