Skip to Content
avatar image
Former Member

Sapscript - please use meaningfull subject titles!

Hello experts ,

When i use this F.M. "CLOSE_FORM" , in sapscript , all the pages of script will be printed ( also if i have 3 pages in my script ) ?

In the begin i was used in "OPEN_FORM" and also in "WRITE_FORM" .

Thanks for the help.

AVI.

Edited by: Julius Bussche on Jan 26, 2009 12:42 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 25, 2009 at 04:13 PM

    Can u be more clear with ur question, i am not able to understand, anyways check this wiki, it might help u.

    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/sap%252bscripts%252bin%252bdetail

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 25, 2009 at 06:14 PM

    hi,

    The function module OPEN_FORM opens form printing.

    You must end form printing by using the function module CLOSE_FORM. Otherwise, the system does not print or display anything.

    so when u use "CLOSE_FORM" , in sapscript , all the pages of script will be printed...

    In-between the function modules OPEN_FORM and CLOSE_FORM, you can use different forms.

    For this use the function module START_FORM and close it using END_FORM.

    This allows you to combine several different forms into one print output.

    However, you can combine only those forms that have the same page format.

    also refer the following link,

    http://sap.niraj.tripod.com/id20.html

    Regards

    Jayapriya

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for the help ,

      My problem is this : when i use "WRITE_FORM" and print this element : "ITEM_HEADER" , in

      Main window , because the the include text of this element is long , and exceed to next page ,

      After printing of this element it was printing all this first page.

      What is the problem.

  • avatar image
    Former Member
    Jan 26, 2009 at 12:36 PM

    hi,

    I couldnt get ur question...

    from ur post i understand dat u have a text element content too long and it exceeds to the next page .

    u have mentioned ,After printing of this element it was printing all this first page.

    what does this mean?

    Regards

    Jayapriya

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 27, 2009 at 10:43 AM

    Hi,

    can you post your question clearly,

    my understand is you want to print the data in one page...??

    use the protect ... endprotect.

    Regards,

    Madhu

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 26, 2009 at 12:05 PM

    Please use meaningful subjects titles, and please post in the correct forum. I've moved this post to "Form Printing" for you..

    Add comment
    10|10000 characters needed characters exceeded