Skip to Content
avatar image
Former Member

scripts

hi friends,

in scripts how can we give separate heading for each page or each window data.

could u suggest.

regards,

malleswari

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 12, 2006 at 06:40 PM

    Hi,

    YOu can define Variable Windows in SAP Script. Create variable windows for Header. In your ABAP Code follow the below mentioned procedure...

    CALL FUNCTION 'OPEN_FORM'.

    for every new document...call start form function module and pass the heading

    CALL FUNCTION 'START_FORM'.

    CALL FUNCTION 'WRITE_FORM'.

    CALL FUNCTION 'END_FORM'.

    CALL FUNCTION 'CLOSE_FORM'.

    Click the link below to know more on Variable Windows

    http://help.sap.com/saphelp_47x200/helpdata/en/d1/802e6a454211d189710000e8322d00/content.htm

    To know more on FORM Control.

    http://help.sap.com/saphelp_47x200/helpdata/en/d6/0db4f7494511d182b70000e829fbfe/content.htm

    Regards,

    Vara

    Message was edited by:

    varaprasad bhagavatula

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 13, 2006 at 04:27 AM

    Hello,

    Any header or data u want print should be done in the window.

    For example u have 2 pages in ur layout.

    In each page u want to print header.So u can place varible window on each page and text element in each varible window.Now u can print what ever heading u want . This text element shoul be called from print program thru write_form.

    If I am not clear, let me know.

    For more details in scripts give me ur mail id.

    Regards

    Add comment
    10|10000 characters needed characters exceeded