Problem in dynamically handling the number of line Items in Main Window

Hi Gurus,
I want to know is there any way by which we can handle the Line items that is being Printed in the Main Window.i.e can we split a Line item to the next/subsequent page if it is not fitting in the First/subsequent page.
Please throw some light .
Regards,
Asish Dash

Hi Haritha,
No,  suppose there are 10 line items.suppose the 10th value is not fitting in the first page and some part gets printed in the first page and the rest is splitted to the second page.What I want is the whole 10th line item value should come in the second page i.e if the line item value doesnot fit in the First page then the whole value should get printed in the second page.
Regards .
Asish Dash

Similar Messages

  • Increasing the number of line items in PO

    hello fellow abapers,
    i have a query. i dont know if its the headache of the function ppl or the technicial person - which happens to be me - but i have to get this solved at the earliest.
    now ive made a PO for materials from the scratch and everythin is workin fine. except that out of the blue comes a PO with over 10000 line items. yes, thats right - 10,000 line items.
    so obviously an error was thrown by SAP. unfortunately the end-user did not think it necessary to take a printout or record the error message.
    anyways the error said something to the effect that it did not allow so many line items or somthing like that.
    now can anybody pls help me out with this. firstly is dhere any restrictions on the number of line items, and secondly, if thats the case how do i find a work-around.
    thanx a bunch
    pk

    Hi,
    The basis sets the maximum number of pages that can be printed by the user in authorization object S_SPO_PAGE.
    Please discuss with your basis guy.
    Tyken

  • Maintianing multiple line items in main window  in scripts

    Hi folks,
      i want to print multiple line items in main window of script for eg 50 line items then my main window should continue in second page also. how to maintain this.
    can u provide me sample code for this..
    Thx in advance,
    Neelima.N

    You have an internal table with 50 lines, is it correct?
    Let's say, there's a MATNR field in your internal table.
    First do, what I wrote in my previous comment.
    The create an element in yout main window, like this:
    /E LINE_ITEMS
    /  &GS_MAIN-MATNR&
    In your printer program you have to code the following:
    LOOP AT gt_main INTO gs_main.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    WINDOW = 'MAIN'
    ELEMENT = 'LINE_ITEMS'.
    ENDLOOP.
    This code will loop all 50 of your table entries.
    In the MAIN window will fit 30 entries.
    When the LOOP is reaching the 30th entry, SAP will automatically create a new page (because of the NEXT PAGE statement you set in the page settings in the SAPScript) and will continue the printing.
    Regards
    Tamá

  • Reg: Maximize the Number of Line Items in Invoice Verification

    Hi Gurus,
                 For a Client who is dealing in Retail business,there is a necessity to maintain a huge number of line items at Invoice Verification level.Standard SAP has some maxium line items for each document type.Where are the control for maximum line items and how to increase that?
    Regards,
    Sarosh

    Hi,
    At Billing-Country specific settings you will be able to maintain maximum 3 digit billing item no i.e 999.
    Any other suggestion.
    Regards,
    Sarosh

  • How to display the number of line items in sap-script report?

    Hi friends,
    I need a help regarding the SAP Script. In my script (report) I create two pages and created three windows (MAIN, HEADER, FOOTER) for each pages. Now the problem is while displaying the fewer line item which can come under the main window of the 1st page these line items are comming perfectly but for the remaining line items that comes on the second page the table headings and the boexs are not comming.
    Also it is displaying the total and the amount in text in every pages that should be display in last page.
    Here if I eleminate or comments the total and the amount in text for the first page the same is reflected in second page. Also I need to display the page-nor for each pages to displayed.
    I am requesting all the people out there kindly help me to solve this issues.
    Thanks and Regards

    There is no pre built solution for this. But we can show total pages in the report body.
    one way is Create a other column in the report with code sum(count(1))/25. that gives you total number of pages. 25 here is no of rows in each page. The code you can write in narrative "Total pages in the report are @5" and out put may be "Total Pages in the report are 30".
    If you are using pivot tables, you can try this.
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-pagination-in-pivot-tables/
    - Madan

  • Displaying line items in main window

    Hi
    I want to create a sapscript from scratch. How do one display multiple line items in a one window.
    Do i loop the internal table in the print program and write to scapscript?

    Hi,
    Make a Main window in sapscript.
    Make a text element say ITEM.
    and then give the name of ur variable to be printed as &<variable>&
    Now in Program side make a new prog...
    get the lineitems in itab
    open_form....
    loop across the itab
    write_form
    endloop
    close_form
    Pls ping me if unclear... i think it helps...
    Regards,
    Abhishek

  • What is the maximum number of line items we can enter in an order...

    Hi,
       Can anyone explain what is the max number of line items that v can enter in an order....
    or if i want to increase the number of line items than the max where it is controlled.
    Because my mm counter part is facing this in the PO he could make only 9999,the problem is when posting...the accounting document is not getting generated bcas of exceeding the limit.
    venugopal

    hi,
    this is my personal experiance that we can enter at the most 499 line items in SALES ORDER.
    This is because for every line item there will be 2 financial entries, debit and credit. and 1 FI document can have at the most 999 line items (which we can not increase without KEY fromSAP)
    If we divide 999 by 2 then it comes to 499.50 so you can enter at the most 499 line items in Sales order.
    Regards
    Vishal

  • Display number of line items in my report at the title bar

    hi,
    i would like to ask, how am i going to add in the number of line items to be display under the title bar above of the SAP. example similar to SE16, where it will show you the number of lines under the bar above.
    may i know how am i going to program it for my report? thanks

    Hi,
               check out the following code........copy-paste....and then....................
    data : it type STANDARD TABLE OF vbak,
           wa type vbak.
    data : ctr TYPE sy-dbcnt.
    data : str(20) type c.
    select * from vbak into table it UP TO 10 ROWS.
      ctr = sy-dbcnt.
      move ctr to str.
    set titlebar 'LIST' OF PROGRAM sy-repid with str.
    loop at it into wa.
      skip 1.
      write wa-vbeln.
    endloop  .
    ................create the title-bar 'LIST' as 'List Details : &'.
    (double-click on 'LIST' ....... 
    give 'TITLE' as 'List Details : &'. ).
    run.....& get solved !!!!!
    Rewards points if helpful..............

  • How to resrict number of line items in IDOC  Payment file

    Hai
    I had an issue where user wants to restrict the number of line items in the payment IDOC file. Is there any possibilty to restict these number of line items to 6.
    Because the user has some reporting problem with the bank regarding the IDOC file
    Kindly help me
    Thanks in advance
    Regards,
    Akash Narayana

    Hi Akash,
    Execute transaction code <b>WE20</b> and open up the "<b>Partner Type B</b> - i.e. <b>Bank</b>". Select the bank in question. To the right of the screen, you would see 3 different sections. You are interested in the middle section "<b>Outbound parmtrs</b>.". Highlight the "<b>Message type</b>" (e.g. COSMAS - Master cost center) you want to reduce the size and click on the "<b>Display</b>" icon just underneath it. In the "<b>Outbound Options</b>" tab, change the "<b>PacketSize</b>" to 6 and save your entries.
    Repeat this for all other outbound parameter "<b>Message Types</b>" for this bank. e.g. "<b>EUPEXR</b> - Reference message for electr. signature (for ext. payments)" and "<b>PAYEXT</b> - Extended payment order" etc. That is, change the "<b>PacketSize</b>" for each to <b>6</b> and save your entires. This would reduce the number of each set of messages sent to the bank to 6.
    I hope the above helps.
    Do not forget to award the points please.
    Regards,
    Jacob

  • Maximum number of line items

    Dear All,
    I am facing an issue in the maximum number of line items EBP purchase order.
    We are in SRM 4.0 using extended classic scenario.
    In EBP PO, if the number of line items is more than 50 then we are getting the dump error "Field symbol has not yet been assigned" when we try to display the PO in Process purchase order transaction.
    In process purchase order, if we click on the start after enting the PO number then it is giving the dump error. But we could able to display the PO by clicking on the details icon of the PO after searching with time frame.
    Dump error is occuring only when we try open the PO header node to see the list of items of the PO. Until the PO is having 50 line items we dont have a problem. If the PO is having 51st item then we are getting the dump error.
    Have anyone faced this issue? Please help me to resolve this.
    Thanks.

    Pradeep,
    Dump error details:
    What happened?
        Error in ABAP application program.
        The current ABAP program "SAPLBBP_PDH_SEARCH" had to be terminated because one
         of the
        statements could not be executed.
        This is probably due to an error in the ABAP program.
    Error analysis
        You attempted to access an unassigned field symbol
        (data segment 32774).
        This error may occur for any of the following reasons:
        - You address a typed field symbol before it is set using ASSIGN
        - You address a field symbol that points to a line in an internal table
          that has been deleted
        - You address a field symbol that had previously been reset using
          UNASSIGN, or that pointed to a local field that no longer exists
        - You address a global function interface parameter, even
          though the relevant function module is not active,
          that is it is not in the list of active calls. You can get the list
          of active calls from the this short dump.
    Information on where terminated
        The termination occurred in the ABAP program "SAPLBBP_PDH_SEARCH" in
         "SUB_LIST_GET".
        The main program was "SAPLBBP_PO_UI_ITS ".
        The termination occurred in line 191 of the source code of the (Include)
         program "LBBP_PDH_SEARCHF10"
        of the source code of program "LBBP_PDH_SEARCHF10" (when calling the editor
         1910).
    Thanks.

  • Restriction on number of line items in an automatically generated document

    Hi all,
    As per my info, an accounting document must have a minimum of 2 line items to complete the document. At the same time an accounting document can have a maximum of 999 line items.
    My observation:-
    When I am posting depreciation using t-code AFAB, system is posting depreciation document (document type AF). While checking, I found that the system has posted around 16 document for a period.
    On further checking, I observed that the each document contains a max 100 line items.
    I am using SAP 4.7
    My Query:-
    a> Is there any way / place wherein we can restrict the maximum number of line items possible for a given docuemnt type or for all document types in the client?
    b> In case it is not possible to restrict the number of line items per document, what could be possible reason for the system behaviour wherein it is posting about 100 line items per document & thereafter starts a new document.
    Thanking you in advance
    Santosh K Agarwal

    Hi,
    I have been reading CIN. There I came across with a statement i.e. "There is restriction on no of line items to be in an Excise Invoice".
    where you read this i dont know
    but yes for outgoing excise invoice we can put limitation in sap cin
    as per incoming excise invoice i think no  limitation
    in path SPRO-tax on goods movemnet-India-basic setting-maintain excise registration here you can maintain this
    and yes this for india only for other country they may have different
    Regards
    Kailas ugale

  • Number of line items in each Invoice

    Hi Gurus,
    I have one requirement
    i need to display one column in the Report i.e. "Line items per eachinvoice" which should give the number of line items per that Invoice
    when iam using tcode 'FB03' at ECC - Document Display it is giving
    for Doc 1111 - 2 line items
    for Doc 2222 - 12 line items
    so in the report that column should display
    2 for Doc 1111
    12 for Doc 2222
    please guide me how to do this
    Thank you

    create a formula with constant 1
    and set the exception aggregation as Total, and set the reference char as Line Item.
    Make sure you have Invocie in the report.
    - Danny

  • Maximum number of line items in sales order

    hi,
    Is there a limit on the maximum number of line items that are permitted in a sales order?
    Thanks,
    Shailaja

    Hi
       I think the correct reply would be 999,999 because data type of item number POSNR is NUM 6, which means that it can hold upto value 999,999.
         However, at the same time keep the following into consideration:
    1. FI document has a restriction of 999 line items per document. So, depending on the account settings, there will be a lower limit. E.g. if each Sales order line item results in 2 line items in the accounting document, then the max. no. of SO line items is limited to 499.
    2. If FI summarization is active, then the system summarizes the account postings, thus reducing the no. of FI line items. Hence, a SO can accomodate more than 999 line items. However, this means that certain line item level details will not be available to the Finance guys (which they may not like).
    3. As the number of line items in a Sales order increases, the system performance suffers greatly. There are performance fixes available, but in general, it is painful to load a SO with large no. of line times through BDC's. 10 Sales orders with 100 lines each consume less system resources than 1 Sales order with 1000 lines.

  • Regarding Number of Line Items for Remittance Advice (REMADV)

    Hi all,
    We have an issue where the user tries to upload remittances line items. (More than 10,000 line items).
    We had come across a statement as "Only 100 remittances are allowed per day in SAP and 1 remittance can have only 10,000 line items each".
    However, we would like to confirm the same.
    Please let us know if SAP permits maximum of 10,000 line items only. Also let us know if there is any standard SAP functionality/Function module that confirms the same.
    Regards,
    Lavanya

    I did all settings as told by you But still i am getting the same error Please specify the number of line items for the challans
    Is there any other setting needed before this or after this?
    Regards,
    Mehul

  • Invoice Split based on number of line items

    Dear all,
    We are on CRM 7.0. We are doing billing in crm for service products . We have a requirement that if the number of line items in the invoice is more than 200, invoice split should happen. Has anyone worked on this scenario and if so pl. let me know how to go about this.
    Regards
    P.Bhaskaran

    might give you better answers.
    If this applies to your processes CRM Web Channel, the work will still be in the CRM backend.
    Easwar Ram
    http://www.parxlns.com

Maybe you are looking for

  • Printing several pages from a single page pdf file

    I have a pdf file single page of a schematic diagram illegible at A4 (so much information); viewable in parts on screen with zoom and loupe tool. How can I separate the diagram and print at a legible size on separate A4 sheets .

  • Cannot open PDF in browser or downloaded PDF file

    I try accessing this pdf: http://www.uscis.gov/files/form/n-400.pdf My sister also emailed me the pdf but I can't open it as a file either. I keep receiving the "Please wait.." page and nothing ever loads in either case. I've updated my adobe, tried

  • FI_DOCUMENT_READ

    Hi all experts, I need to extend printing form for cash journal document. I need to add line items from accounting document. I use FM FI_DOCUMENT_READ. When I call it in test mode, table T_ACCIT is filled with data. But when I use it in program with

  • Db2 - bea jdbc type 4 driver error - cursor not in a prepared state

    Hi I am getting this error from BEA DB2 Driver in weblogic console. java.sql.SQLException: [BEA][DB2 JDBC Driver][DB2]CURSOR C02 NOT IN A PREPARED STATE This problem occurs frequently almost everyday. When this error happens we clear the statement ca

  • Can someone please tell me why I am getting an error when using my Liquify tool?

    I am receiving an "error"window when using my Liquify tool in Filters. I receive a "delayed write failed" window also...I heard a loud honking sound and then my ability to use the tool is frozen. A little help please?