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

Classical Report prograaming

Former Member
0 Likes
562

Please help me out in getting format shown below on top of page in output

Title

Report name Date

user name Time

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
531

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

4 REPLIES 4
Read only

Former Member
0 Likes
532

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

Read only

Former Member
0 Likes
531

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.

Read only

Former Member
0 Likes
531

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

Read only

Former Member
0 Likes
531

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.