Skip to Content
0
Former Member
Dec 08, 2006 at 06:27 AM

Header in the output of the program

35 Views

I have used this code for creating header in the output.

REPORT  ZF7U_PAYMT_PAR
        LINE-SIZE  132
        LINE-COUNT 60
        NO STANDARD PAGE HEADING.

TOP-OF-PAGE.

CALL FUNCTION 'Z_STANDARD_PAGE_HEADER'
       EXPORTING
            COMPANY_CODE = ''
            PAGE_NUMBER  = SY-PAGNO
            REPORT_NAME  = SY-CPROG
            REPORT_TITLE = SY-TITLE
            REPORT_WIDTH = SY-LINSZ
            RUN_DATE     = SY-DATUM
            SUB_TITLE    = 'CALTEX OIL (pty) Limited'
       EXCEPTIONS
            OTHERS       = 1.

But the program name in the output is ZF7U_PAY instead of ZF7U_PAYMT_PAR.

What changes are to be done in the code ?

or Is there any other problem?