Line items are printing different page

hi all,
I neet to print line items in the same page.
but when i execute my pogram it is giving 6 pages with one line item each page.
how can we print 6 line items in same page if there is no space it must print in second page.
Kind Regards,
Kiran.

Hi,
You can specify, either in the style or in the form, that a particular paragraph should not be split in two by a page break. If this page protect attribute is set, then the complete paragraph is always printed on one page. This property applies only to that particular paragraph.
This attribute is not intended to be used to protect all paragraphs against a page break. The point is that a page break is by its very nature a dynamic event and the exact point at which it occurs depends on the current state (length and contents) of the preceding text. It is also possible that you may want to protect only certain parts of a paragraph against a page break. One way to achieve this is to use the NEW-PAGE command immediately before the text concerned starts. Explicitly beginning a new page at this point should ensure that a further page break does not occur within the text. However, this technique is not change-friendly. For example, you format your text with the help of the NEW-PAGE command so that no page breaks occur where they should not. At a later time, you insert or delete some lines. These changes cause all the subsequent text to be moved relative to the printed page, and you must check each NEW-PAGE command you previously inserted to see if it is still in the correct place.
To allow you to define the areas to be protected against a page break on an individual basis, SAPscript provides the PROTECT.. ENDPROTECT command pair. If you enclose the text to be protected in these commands, then SAPscript will ensure that each line of this text is printed together on the same page. If the complete text fits in the space remaining on the current page, then it is printed on this page just as it would be if no PROTECT command had been used. If, however, the remaining space is not sufficient for the text, then the PROTECT command has the same effect as a NEW-PAGE command and text is printed on a new page.
Thus the PROTECT/ENDPROTECT commands may be regarded as a kind of conditional NEW-PAGE command, the condition being whether or not the lines enclosed between the two commands fit in the space remaining in the current main window.
Syntax:
/: PROTECT
/: ENDPROTECT
The text lines to be protected are enclosed between the two commands.
An ENDPROTECT command without a preceding PROTECT command has no effect.
If the terminating ENDPROTECT is missing, SAPscript assumes it at the end of the text.
PROTECT.. ENDPROTECT command pairs cannot be nested. If a second PROTECT command occurs before the first one has been terminated by an ENDPROTECT, it is ignored.
If the text enclosed by a PROTECT.. ENDPROTECT pair is itself too long for a single page, then a page break is generated immediately before the text and the text is printed in the normal way. It is then unavoidable that a page break will occur at some point within the text.
Thnks and reward me with pts if useful.

Similar Messages

  • Line Item are Printing 2 Times

    Hi Experts,
                      when i am trying to take quotation print out line item is printing 2 times.......
                      Can anyone help me to solve this problem.....

    Hi,
             No i didn't select any other  tables apart from sales quotation rows, and i have two system variable field.......

  • How to print the Actual Check on 1st Page if line items are more for F110_p

    Hi,
    How to print the Actual Check on 1st page if the line items are more in F110_PRENUM_CHCK script. The standard script is printing at the last page of line items.
    I tried using
    IF &PAGE& EQ '1 '
    /E 545 --> text element
    ENDIF
    but it is of no use.
    Please let me know if anyone knows. Thanks in Advance.

    Hi Krishna,
    I guess, there is no other possible way to acheive this without modifying the standard driver program. Why because? in you driver program you check window will be called only on the last page... but before you change your driver program give a try like shown below....
    Not sure, but give a try... In the first page you will be printing some void check try to replace the code inside the text element of void check with original check and make all the check void... note: in this text element, be sure you write two conditions...
    IF &PAGE& = 1.
    **PRint all check values..
    ELSE.
    ***Print void values
    ENDIF.
    Close the thread if your question is answered.
    Regards,
    Sairam

  • Line items are not coming on next page in Bill of Lading

    When I am printing Bill of Lading, if it has around 8 line items then its printing on the first page, but if line items are more then its not printing the remaining line items on second page.
    I have one delivery with 10 line items, when I am printing it then on first page 7 line items are coming and for 8 line item only material is printing and on second page its description is printing but last two line items are not printing at all.
    Kindly help me to resolve the issue as it is very critical.

    Hi,
    Check below points.
    Point 1:
    When you create a delivery document, you create it for a Shipping Point.
    So whatever the line that came in to one delivery has determined same shipping point that you entered in VL01N screen.
    Others got a different shipping point and that's why it didn't come to the same delivery document.
    Shipping point determined based on below criteria
    - Shipping Condition - From customer master
    - Loading Group - Material
    - Plant  - Delivery Plant of the sales order line item
    You assign a proffered shipping point for above combination in configuration.
    If that combination is not find, those line items are not going in to the delivery.
    You can check the log of the delivery document for more information as well.
    Point 2:
    Check the line item Requested delivery date and the "Selection Date" you entered in the VL01N screen.
    Al  Requested delivery dates has to be on or before the  "Selection Date" you entered in the VL01N screen.
    Those line items which has a date more than that will dropped in the delivery.
    Best regards,
    Anupa

  • Main Window display when line items are less in next page.

    Hi all,
           In the smartform,if the line items extend to second page, then to print complete main window in second page and if there are only few line items in second page, how to remove the empty spaces in the nmain window and to print other windows after the end of main window.?
    Nagesh

    design ur next page .....
    goto next page reduce the size of the main window and place the other window that u need....
    goto new window that is specified in nextpage , in condition tab check the checkbox(only at the end of main window).....
    here u will get the other windows only in the lage page....

  • FBCJ LINE ITEM AND FI LINE ITEMS ARE DIFFERENT

    Dear Expert
    FBCJ LINE ITEM AND FI LINE ITEMS ARE DIFFERENT

    Hi,
    It seems from the screen shot you are seeing different documents as in the first screen shot it clearly shows you have booked the multiple expenses under one see the below screen shot we have circled it
    whereas FB03 screen shows different.
    You can do one thing click on circle item and check the expenses involved in it and accordingly go to FBL3N and display documents for that G/L for the date 05.04.2014.
    Hope your issue has been resolved else revert.
    Regards,
    Tejas.

  • PO will not print if line items are trash-canned

    Hello, 
    We have an instance where we had to cancel both line items on a PO. However, the system will not allow a printout, since there are no line items.  How can we get a printout to send to the vendor to confirm that both line items are cancelled?  Config looks right.  Deletion is a change relevant field, but the system displays a message when trying to print 'no print relevant information changed'. 
    Please advise.
    Thank you.

    Yes. We get change messages when qty or delivery date is changed, but for some reason, when you delete all line items, it doesn't generate any change. The checkbox is not checked therefore we can't print. If only 1 item is deleted, then it's OK, but if you delete all items, no printout.

  • SCs line items are getting splitted into different POs.

    Hi Experts,
    I am using SRM 5.0 (EBP4.0) ECS.
    When operational purchaser is doing carry out sourcing then SC line items are getting splitted into different POs whereas all the criteria are same I mean all the SC line items are having same
    1.Purcg.Grp
    2.Purch.Org.
    3.Company Code
    4.Plant/Location
    5.Vendor (Preferred)
    6.All product Cat.are assigned to one system only.
    (In BBP_PD for the SC I dont see any reason for the split)
    7.Using Intended for Gouping Option also at the time of Carry out sourcing.
    Earlier also I have raised the same question but I didnt get any reply, only some hints and other reference and help bu Yann but I am still facing the same issue and Pls help me if there is any OSS note for it .
    Here I'd like to let you know that I have seen same ticket and checked all the possible cause for split but never find any reason for split in this case.Pls help me on this issue urgently.
    Brgds
    Gopesh

    Hi
    As Yann told, there might be some standard BADIs for which we need to either modify the standard code in this case.
    Has SAP replied on this problem with any comments - on your OSS message yet ?
    <u>As far as I know, the following BADIs are some how, involved in the creation of the Local SRM PO. </u> 
    <b>BBP_ECS_PO_OUT_BADI </b>
    ( ECS: PO Transfer to Logistics Backend                  )
    <b>BBP_EXTLOCALPO_BADI </b>
    ( Control Extended Classic Scenario                   )
    <b>BBP_GROUP_LOC_PO   </b> 
    ( Exit Grouping of Items for Local Purchase Orders    )
    Please send me your detailed requirements at my email id for further analysis.
    [email protected]
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • Continuation of line item data to next page in SmartForm

    Hi,
    Currently i had a requirement in SmartForm. Iam displaying the line items from bseg table in main window and totals of credit and debit in the total window which comes under the main window.
    If the line items are more and it continues to next page i want to display the total window and created by window only after all the line items.
    Please try to send ASAP.

    You can print total by reading page numbers.
    Ex: IF <current page> EQ < next page number>
      Print total.
         ENDIF
    Regards,
    Sairam

  • Pusrchase order having 3 line item But print preview in PDF shows blank.

    Hi All,
    Purchase order has 3 line items. While taking print preview in PDF format 1st page shows 1 line item and 2nd page is blank.
    I am not understanding the issue why other two line items are not getting displayed.?
    Please provide me with the solution.
    Thanks
    Forum

    Yes,there is a issue in print preview itself , if there is a issue in Print Prview that means page is gets skipped on next page ,therefore 2nd page automatically gets blank ,debug the same with abapor ,if this problem gets resolved then automatically system will convert the document in PDF as per print preview.
    Regards,
    Sandesh Sawant

  • TDS line items are not getting reflected in J1INCHLN

    Hi Experts,
    While generating TDS challan we are not getting advance line items in J1INCHLN screen
    We made one advance payment which included 2 payment line items and two different tax codes, while generating TDS challan its is showing only one TDS line item that is Rs.1000/-, another TDS line item of Rs.966/- is not showing.
    Below is the example
    XYZ                                                                         43,000.00
    XYZ                                                                         46,000.00
    Bank                                                                        96,329.00-
    S/Tax Interim-In Cr                                                    5,160.00
    S/Tax Interim-In Cr                                                   3,864.00
    ST Interim E.C-In Cr                                                 103.00
    ST Interim E.C-In Cr                                                 77.00
    ST Inter H E.C-In Cr                                                 52.00
    ST Inter H E.C-In Cr                                                 39.00
    TDS Pble Contractors                                              966.00-
    TDS Pble Contractors                                              1,000.00-
    I checked the below possibilities for reason why its not getting reflected
    Vendor master having recipient type
    WITH_ITEM table updated with recipient type
    In the line item also having Business Place and section code
    Please suggest me is there any way to resolve the issue.
    Thanks & Regards,
    AIM

    Hi,
    Check whether the recipient type CO or OT is updated in With_item table for the line items that are missing in J1INCHLN.
    If Recipient type is not maintained in vendor master, at the time of posting the entry, then it does not get picked up in J1INCHLN. Even if you maintain in Vendor master later on, the With_item table does not get updated. This is one of the reasons why the line items does not get picked up in J1INCHLN. Check this, as you are confirming that Business Place, Section code etc.. are all present in line items and also that it is appearing correctly in With_item table.
    Regards
    Divya S

  • Few line items are not coming at the time of creation of delivery

    Dear Experts,
    When the user creating the delivery few line items are not picking in the delivery document
    the following checks i verified,
    Stock is available
    shpping condition is differ from sold to party and sales document
    Plants are same for all the line items
    why the few line items are not coming in the delivery document creation,
    please help me to sort out this issue
    Thanks and Best Regards,
    Muralidharan S

    Hi,
    Check below points.
    Point 1:
    When you create a delivery document, you create it for a Shipping Point.
    So whatever the line that came in to one delivery has determined same shipping point that you entered in VL01N screen.
    Others got a different shipping point and that's why it didn't come to the same delivery document.
    Shipping point determined based on below criteria
    - Shipping Condition - From customer master
    - Loading Group - Material
    - Plant  - Delivery Plant of the sales order line item
    You assign a proffered shipping point for above combination in configuration.
    If that combination is not find, those line items are not going in to the delivery.
    You can check the log of the delivery document for more information as well.
    Point 2:
    Check the line item Requested delivery date and the "Selection Date" you entered in the VL01N screen.
    Al  Requested delivery dates has to be on or before the  "Selection Date" you entered in the VL01N screen.
    Those line items which has a date more than that will dropped in the delivery.
    Best regards,
    Anupa

  • Line items not printed in check printing payment advice

    Hi, this is the first time i am implementing check printing module so need some help.
    I have used standard print program RFFOUS_C and sapscript form F110_PRENUM_CHEK
    when I create an invoice from FB60 and make payments through F-58, on printing it prints the check properly but no line items are displayed.
    Please tell me a step by step procedure on how to print the payment advice,i.e, the line items. Is it already in the standard program or do i need to code it. I am interested in the learning also, if anyone can give me details it would be helpful fr me to implement it easily understanding what I am actually doing...
    Any help soon is appreciated .

    Already everything(line items) exists in the program, if you want to add additional fileds to be displayed that are not existing in your program then you need to sub-routines instead of modifying the standard print program.
    Now, you say that your line items are not displayed in your output. For check printing there is some configurations and settings to be done by your functional consultant.. I guess some configuration is missing in your case, that lack the display of line items...check with your functional team on this....(they have to set the lines)
    Note: For more info on config check FBZP where form config will be done basing on company code.
    Regards,
    Sairam

  • SD - Accounting document line items are generating for each item

    Hi all of you,
    We have done account determination for SD. Accounting documents are also generating, but with in the invoice accounting document, number of line items are generating for each item with in the sales order, standard invoice type is F2 like -
    Item 001 - X Material
    Item 002 - Y Material
    Item 003 - Z Material
    The accounting document is -
    Line Item 001 - Customer Ac Dr
    Line Item 002 - Discount A/c Dr
    Line Item 003 - Sales revenue
    Line Item 004 - Discount A/c Dr
    Line Item 005 - Sales Revenue
    Line Item 006 - Discount A/c Dr
    Line Item 007 - Sales revenue
    Line Item 008 - VAT
    Even, in my experience I did not find this type of entry and the sales revenue and discount accounts are same with in the COA and is posted with in the plant.
    Please give me your valuable suggestion to rectify the above issue.
    Regards,
    Ramki
    Edited by: Ramki on Nov 5, 2009 10:06 AM

    Dear Ramki,
    This is SAP Standard. System generates Accounting document line item for each Line items in Invoice.
    This is standard & also required bacuase say you have different Material types in single Invoice (e.g.Material & Service items, Trading Goods, etc). The valuation class assigned to these Material Types may be different & you might want to post revenues from these Line items in different GL Accounts.
    Hope this helps. .
    Thanks,
    Jignesh mehta

  • MIRO Split out line item based on different tax amounts

    Hello Friends,
    We have a scenario where we get different tax rates related to the same line item quoted on the invoice which we receive from the vendor. The split out of the line item amount into different tax rates is not known at the time of booking the PO. For example, the PO line item is enter with value 1000Eur. This now shows as one line item in MIRO.
    However, when the paper invoice is received fom the vendor, the 1000Eur may be split between delivery cost of 800Eur with tax rate of 10% and legal fees of 200Eur with tax rate of 5%. These tax rates are not always 10% and 5%, they can vary depending on whatever the itme on the PO is.
    Is there any way in MIRO to split out the single line item into separate line items to allow us book a part of the line item with tax rate of 10% and the other part with tax rate of 5%?
    Or suggestions of how to handle this scenario in SAP (apart from going backwards and altering the PO to split into 2 separate line items which is later in the process and involves alot of overhead etc)?
    We tried to activate the Amount Split functionality but (1) this does not seem to allow a split out by tax code and (2) it seems limited only to the Finanl Invoice amount.
    Thanks for any help.
    Regards
    Mik

    No feedback so closing

Maybe you are looking for

  • Is there any other method so that I can contact Apple to get IMEI number ? since the phone was shyncronized several times in apple store / iCloud.

    Hello community members, my iPhone has been stolen and I tried to contact police, they are asking for IMEI number of the phone. Unfortunately I could not read the IMEI number on the box due to moisture wiped out most of the number on it. I sacanned i

  • Layout is it User-specific or Standard ?

    I have an ALV report that contains user specific layout and standard layout. My question is if user enters the layout name in the selection screen . i wanted to know whether the layout is user-specific or standard layout. How we can differentiate thi

  • Read from binary measure file starting a specified time

    I have a write to measure VI running on a data acquisition. It's saving data in a binary format with XML headers from a channel. I want to have the capability of reading back in the data starting at a specified time. What's the best way to do it? In

  • IDocs without PI or Adapter - Part 2

    Hi All, Following on from my previous question , I have a second question. What is the best way of finding the address of an IDoc service on ECC? For instance, I know that SALESORDER_CREATEFROMDAT202 is setup and working on our ECC system. So I would

  • Looking for the BEST java IDE

    Hi We're evaluating java IDE's (especially JBuilder & VisualAge) for a Client-Server project that uses RMI (there is no Web development\HTML\Bens involved) I would appreciate any recommendations, suggestions, articles or reviews that you have. thanks