Skip to Content
author's profile photo
Former Member

To print the line item in the new page.

I have to print the PO in which i want that the EACH LINE ITEM should print in the new page. can anybody tell what settings need to be done.

Presently i have 7 line items which are printing in sequence.

presently the Scenario is that while printing the PO it prints 4 line items on the first page and some text of 5 line item on first page & some on Next Page.

I want that if for a LINE ITEM we cannot print the whole data on tht Page then it should start printing on the next Page.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

6 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Aug 16, 2007 at 04:41 PM

    are you using SAP Script ?

    if so you can use control_form FM within AT New command,here just pass new page.

    Thanks

    Seshu

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 17, 2007 at 03:59 AM

    Hi..

    To insert a page-break you have to Create a Node Called <b>COMMAND.</b>

    You have to insert this node in the Main Area of the TABLE Node where you are displaying the Line items.

    Here you can Specify a Different PAGE as next page if u want.

    <b>Reward if Helpful.</b>

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 17, 2007 at 04:33 AM

    HI ,

    In smartforms

    Create the command at the end of the internal table loop in smartforms .

    Right click->create->flow logic->command

    In the conditions tab : give the condition for a particular filed so that a page break should trigger . The conditions should be the key field which will never contaon blank value . Give condition as ebeln NE space .

    In general attributes tab : tick the go to new page cehk box and selexct the same page page from the drop down list .

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 17, 2007 at 09:55 AM

    you can do it by goto > text element >list heading in ABAB editor then . You type the heading what ever you want in perfect spacing then activate it. in the program you create a loop. in the loop you place command new-page. try it if u don't know to do it. i will help you with the code.

    you can contact me in nmvijay@yahoo.com

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 17, 2007 at 03:08 AM

    This can be acheived easily by modifying your driver program.

    Ex:

    OPEN_FORM

    LOOP AT <table>

    ***WRITE_FORM all your windows.

    ENDLOOP.

    CLOSE FORM.

    Close the thread once your question is answered.

    Regards,

    SaiRam

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 20, 2007 at 03:26 PM

    i have solved it by changing the line type.

    Thanks everyone

    Add comment
    10|10000 characters needed characters exceeded