Skip to Content
author's profile photo Former Member
Former Member

How to put footer in the Delivery note sap script form.

Hi All,

i am new to SAP SCRIPT , can any one guide us how to Create a footer in the Delivery note sap script.

I need to put some message if the stock of the material is "0"(zero).

can anyone tell me the process to do this.

Thanks

-


Channappa Sajjanar

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2009 at 09:48 AM

    Hi,

    U create a window in script (Footer), and in the Driver program call this window at last..

    eg:

    create a window in script and call it at the end in the layout..

    /E FOOTER

    P1 'Write Required text what u want to display;.

    now in print program, after printing all the line items in ur internal table call the FM write_form to print the footer...

    LOOP AT itab.

    call function 'WRITE_FORM'

    exporting

    window = 'MAIN'

    exceptions

    others = 1.

    endloop.

    now call, FM write_form to print the footer

    IF stock EQ 0.

    call function 'WRITE_FORM'

    exporting

    window = 'FOOTER'

    element = 'FOOTER'

    exceptions

    others = 1.

    endif.

    Hope it helps!!

    Rgds,

    Pavan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 08, 2009 at 09:44 AM

    Hi,

    Create a window at the required position in Bottom part of page.

    Put a condition like :

    /: If &Stock_of_mat& EQ '0'.

    p1 Place the text here

    /: Endif.

    Edited by: MR Venkat on Sep 8, 2009 11:45 AM

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.