Maximum line items for one billing document

Hello Friends,
  We have a business requirement to invoice 50000 line items in a billing document.   Could you please advice the approach to fulfill this requirement.   As per my understanding, there are some limitations for billing item and accouting document item.
Appreaciate for your valuable inputs.
Best Regards,
Goutham

Yes your understanding is correct.  It is not possible to achieve this requirement.
You can also go through some of the threads where the same topic was discussed
[accounting document limit 999   |accounting document limit 999;
[Re: More than 999 line items in Invoice|More than 999 line items in Invoice;
thanks
G. Lakshmipathi

Similar Messages

  • Order related item and delivery related item in one billing document

    Hi Experts,
    how can we include order related item and delivery related item in one billing document .
    Please give me the configuration logic .

    Hello,
    1)Reference Document Number VBRK-XBLNR.
    In transaction VTFA and VTFL at header level setup the field 'Reference number' so that it is the same (example 'E')
    2) Payment Reference VBRK-KIDNO
    It should be a consequence of the split, and not a cause. So you can ignore it
    3) Billing date for billing index VBRK-FKDAT
    In sales order and delivery you should set the same billing date. Alternatively, the the first screen of VF01 please set a Defailt billing date
    4) Customer purchase order number VBRK-BSTNK_VF
    It is necessary that sales order to be billed and sales order referenced to delivery to be billed have the same purchase order number. There is not other way.
    5) Assignment number VBRK-ZUONR
    In transaction VTFA and VTFL at header level setup the field 'Assignment number' so that it is the same (example 'E')
    6) Translation Date
    Same solution of point 3.
    Best regards,
    Ivano.

  • Multiple Service Entry Sheet For PO Line Items and One GR Document

    Dear All,
    We have just migrated from ECC 5.0 System to ECC 6.0 System. We are facing a problem while processing service entry sheets and the GR against them. The scenario is:
    1. We create a maintenance plan
    2. Upon saving the Maintenance Plan, a Purchase Requisition (PR) is generated
    3. The PR's are combined into one Purchase Order
    4. Against the Purchase Orders, multiple service entry sheets are created
    In ECC 5.0 System, we used to accept the service entry sheets and only one material document used to get generated as GR document. But now in ECC 6.0, we observe that with the same configuration, individual material documents are getting generated for individual service entry sheets. Is there a configuration in ECC 5.0, that enables clubbing of service entry sheet items in one GR document?
    Your help will be sincerely appreciated.
    Thanks and Sincere Regards,
    Amitabha

    Hi,
    If this can be of help I can report the list of the programs that                    
    are executed:                                                                               
    Before the popup "FUNCTION POPUP_TO_CONFIRM_STEP" appeares in ML81N,                          
    following programs are executed:                                                                               
    5  FUNCTION POPUP_TO_CONFIRM_STEP SAPLSPO1                                           
    4  FORM SELECTION_CHANGED_PO SAPLMLSR                                                
    3  FORM FCODE_SEL_PO SAPLMLSR                                                        
    2  FORM FCODE SAPLMLSR                                                               
    1  MODULE (PAI) FCODE SAPLMLSR                                                                               
    Unfortunately at this time it is not planned to change the current                   
    functionality.
    Regards,
    Edit

  • More than 999 line items for an FI Document

    Hello All,
    Per SAP standard, an accounting document can only contain up to 999 line items. However, we have Logistics posting (Backflush) that would yield more than 999 line items in FI. We can't opt for setting summarization in transaction OBCY (FI Summarization based on Object Type) since this would affect GR/IR clearing. We can select reference transaction key MKPF (Material Doc Table) and table BSEG (Field MENGE <Qty>) but GR/IR clearing would be affected since definition of clearing is at Purchasing Doc (EBELN) and Item (EBELP).
    Do you have other recommendations?
    Thanks.

    Dear scorpio0485,
    Yes ! I have already done posting for morethan 999 line items. but in the standard program we cant do it. We need to go for Z process.
    In Zprocess we need to put one cut off line item for ex : 900 or 950. After that hardcode one GL code(clearing GL Code) in program to split the line items. Means the system generates 2 documents.
    Please give the following Code to ABAPer
    AT END OF xblnr.
          mtab[] = ttab[].
          CLEAR v_count1.
          DESCRIBE TABLE ttab LINES v_lines.
          LOOP AT ttab INTO wa_ttab.
            v_tabix = sy-tabix.
            v_count = v_count + 1.
            IF v_count EQ 900.
              count = count + 1.
              v_count1 = v_count + v_count1.
              MOVE-CORRESPONDING wa_ttab TO wa_xtab.
              IF v_wtotal < 0.
                wa_xtab-newbs = '40'.
                wa_xtab-newko = '00003100001'.
              ELSE.
                wa_xtab-newbs = '50'.
                wa_xtab-newko = '00003100001'.
              ENDIF.
              IF v_dtotal < 0.
                wa_xtab-newbs = '40'.
                wa_xtab-newko = '0003100001'.
              ELSE.
                wa_xtab-newbs = '50'.
                wa_xtab-newko = '0003100001'.
              ENDIF.
              IF v_dtotal LE 0.
                v_dtotal = v_dtotal * -1.
              ENDIF.
              IF v_wtotal LE 0.
                v_wtotal = v_wtotal * -1.
              ENDIF.
              wa_xtab-prctr = '0000900008'.
              wa_xtab-dmbtr = v_dtotal .
              wa_xtab-wrbtr = v_wtotal .
    If you need anymore,please let us know

  • Two FI documents for one billing document.

    Hi,
       This problem occurs rarely. We do VF04 and generate billing documents. Some billing documents thus generated were not found as actual billing documents by looking at VF03 but are posted in FI in the corresponding company code. When we see these documents in FB03, the header of the document indicates that they came from billing and are not manually posted in FI, thus indicating that billing ran, the FI document was processed, but the billing for some reason failed to be saved in SD. For each of these FI document which do not have a corresponding billing document in FI, there is one more billing document which is existing with the same billing amount and references the same details. It has a corresponding FI document too. So, the crux of the issue is there one only one billing document and two FI documents.
    SAP service has given an OSS note 92592 to find out all the orphaned FI documents and then a way to reverse these documents. This is sort of a workaround. But the root cause for this issue is not found. The note also says the following..
    "In one of the function modules called by FI/CO interface, a 'commit work' is performed.
    A 'commit work' can, for example, be triggered in a Native SQL or result from an RFC.
    A commit work is not allowed here.
    The commit work should not be performed until the billing document is transferred to the update program."
    I have gone through most of the custom codes written by us in the SD billing and FI accounting areas. None of the custom codes use 'commit work' staements. Since this issue doesn't happen frequently, we understood that this is due to a 'commit work' problem in the database but are unable to nail down on the exact piece of code.
    Any suggestions/ideas or experiences of similar instances, please share.
    Regards,
    - Raja.

    Hi Raja!
    Explicit commit work wasn't very likely (but of course you never know). Now you should extend your search for the implicit commit works -> database commit.
    "Database commits are triggered either implicitly or explicitly in an SAP system.
    <b>Implicit Database Commits</b>
    The implicit database commits in an SAP system are caused by the fact that the SAP system is logged on to the database system via its work processes . A work process can only ever execute a single database LUW but cannot interfere with the database LUWs belonging to other work processes. Since an ABAP program can be executed by different work processes during its runtime, the database LUW for the current work process must be completed each time an action takes place that leads to a change of work process. As a result, a database commit is performed implicitly in the following situation:
    Completion of a dialog step
    The program waits for a user action and does not occupy a work process during this time. The next free work process is assigned to the program in the next dialog step.
    Calling a function module in a synchronous or asynchronous Remote Function Call
    The current work process hands over control to a different work process or system.
    Completion of a function module accessed with a synchronous Remote Function Call in a separate work process
    The calling program is assigned a new work process.
    Execution of a RECEIVE statement in a callback routine specified in an asynchronous RFC
    The current work process is interrupted so that the data can be received from the other application server.
    Interruption of the current work process with a WAIT statement.
    After interruption, the program is assigned the next free work process.
    Sending error and information messages and warnings.
    These messages interrupt the current dialog step (see above).
    <b>Explicit Database Commits</b>
    Database commits can be triggered explicitly in ABAP programs in the following ways:
    Use of the corresponding database-specific native sql statement.
    Calling the function module DB_COMMIT.
    This function module, which has no parameters, encapsulates the corresponding native sql statement.
    Executing the open sql statement COMMIT WORK."
    Maybe there is somewhere a wait or sometimes a RFC is called - that are the most likely implicit commits.
    Also calls of standard FMs can contain dangerous coding - include calling of 'bigger' standard functions into your search (not something like 'MARA_SINGLE_READ', but all BAPI).
    Regards,
    Christian

  • Freight Line Item on customer billing documents

    The systems is ECC 6.0.7. We will be charging freight cost to our customers going forward, so freight will show up as a separate posting to a separate GL acocunt. A new condition type is created for this purpose.
    Our business wants to post freight costs to a cost center account assignment. I have checked and currently the sales order posting screen does not have cost center field available for input while internal order field is. So I am guessing there will be some screen layout settings needed to make cost center field available for input. What are the settigns needed to make it available?
    The cost center account assignment field is available in the posted billing documents. Can we just add cost center for the posting at that time even if the sales order would not contain it? We want the freight line only to post to cost center, but not the price portion of the posting. Is it possible to do it because it seems that account assignment is entered for each at the billing item and price, freight, handling and taxes related to each item will pick up the same cost center entered for that billing item?

    You need to take the help of your FI consultant and proceed as discussed here
    Assign Cost Center to Freight GL
    G. Lakshmipathi

  • How to handle line item for posting a document

    Hello,
    I am using a function module to post a document, so far I have hard coded all the values in the test program. I am passing two internal tables to the function module, one which has header data and the other which has line item data. So far I have written the following code to get the line item details:
    it_bseg-BUKRS = '001'.
    it_bseg-GJAHR = u20182010u2019.
    it_bseg-BUZEI = '001'.
    it_bseg-BSCHL = '31'.
    it_bseg-WRBTR = '900'.
    it_bseg-PSWSl = 'USD'.
    it_bseg-SAKNR = u20180000123456u2019.
    it_bseg-HKONT = u20180000123456u2019.
    it_bseg-LIFNR = u2018001234567u2019.
    append it_bseg to lt_temp_bseg.
    clear it_bseg.
    it_bseg-BUKRS = '001'.
    it_bseg-GJAHR = '2010'.
    it_bseg-BUZEI = '002'.
    it_bseg-BSCHL = '40'.
    it_bseg-WRBTR = '900''.
    it_bseg-PSWSL = 'USD'.
    it_bseg-KOSTL = '1111871234'.
    it_bseg-XKRES = 'X'.
    it_bseg-HKONT = '0000564738'.
    it_bseg-FISTL = '1234556000'.
    it_bseg-GEBER = '0000001'.
    it_bseg-fkber = '0'.
    append it_bseg to lt_temp_bseg.
    clear it_bseg.
    Now I want to get rid of the way I am handling the line item and want to handle it based on what user enters. For example right now only line item is being considered but if user enters two line items then what should be the approach.
    Thank you,
    Rajeev Gupta

    Any Suggestion.

  • Production order from sales order with multiple line item(for one material)

    Dear Gurus,
    I am working in MTO scenarios. If there is several line item in a sales order for one material, multiple production order( same as no. of sales order line item) is getting created against each of the line item.My requirement is,since the material code is same in each line item and sales order is one, one production order should be generated for all line item. please tell me how to do it.
    (Here for one material, multiple line item is required for some specific reason)
    Regards
    Rajib Pathak

    Hi,
    This is not possible.
    In Std SAP will create one production order for one sales order. The stock is also allocated to thet particular sales order only. Because each and every sales order may vary in any one of the parameters. Considering this, SAP has designed like this.
    Regards,
    V. Suresh

  • How to get all the line items for each Purchasing Document ?

    Hi,
    There are multiple purchase orders (EBELN) in PSA with different line items (EBELP). But, when loaded into ODS from PSA, I am getting purcahse orders with only one Line item.
    Eg.,If the EBELN has a Record# 4000005 and has 3 line items in it (10,20, 30), I am receiving 10 or 20 or 30 Line item.
    As there are more than one line item per PO, how can I retreive all of them?
    Also, there are no conditions / routines in transfer structure and update rules.
    Please let me know

    problem solved.
    I moved the EBELP field from Data fields to Key Fields in ODS.

  • Maximum Line items for Equipment BOM

    Dear Experts,
    Is there a limit to the number of line items of components we can have in equipment BOM. I am not able to add anything above 999. It doesnt show any error, but doesnot save any value after 999. Please let me if there is a work around.
    Thanks,
    Boby

    The BOM item node number STPO-STLKN is an 8 digit field therefore I would imagine that you could have a maximum of 99999999 items..
    But you could use multi-level BOMs which would allow you to organise your components better.
    PeteA

  • FI Document Summarization for SD Billing Documents

    Hi Gurus,
    Appreciate if you can please let me know the configuration and process of FI Document summarization for sd billing documents where, there are more that 10000 line items in one billing document. And how can we do clearing of multiple accounting documents against one billing document when we recieve payment.
    Thank You

    Hello,
    The summarization of FI items for SD billing documents are done in transaction OBCY. The steps to configure it is explained in note 36353:
    1) Enter in transaction OBCY
    2) Inform Reference Transact. VBRK
    3) Add the following fields:
              BSEG     MATNR
              BSEG     MEINS
              BSEG     MENGE
              BSEG     PAOBJNR
              BSEG     POSN2
              BSEG     VBEL2
              BSEG     WERKS
    Be informed that the content of those items will be deleted in FI document.
    The information above will help you to configure summarization of FI items for SD billing documents.
    Kind regards,
    Cintia.

  • How to find the GL Account for a Billing Document Item?

    Hi All,
       For a specific Billing Document Item, how to fetch the corresponding GL Account No.?
       I tried the below approach.
       Using the Billing Document Number, I fetched the corresponding Accounting Document No. then I tried to match the item of billing document with the item of Accounting Document by comparing the amount and then fetch the GL Account from table BSEG. When I compared the line items of both the documents, the no. of line items in the Accounting Document is more compared to the no. of line items in the Billing Document. I tried to match the items using Amount, but what if more than one item has the same amount but different GL Account No.?

    Hi,
    i would agree with what 'Rajasekhar Dinavahi' said.
    quote,
    <b>Hi
    If you open the billing document in VF03, click on 'Accounting' , select the accounting document, click on 'Administrat. data' tab.
    Here you will find the Reference Document and Reference item no.
    Regards,
    Raj
    </b>
    unquote
    The reference Doc will be XBLNR .
    Regards,
    Shehryar

  • One billing Docu two payers

    Dear All,
      I have scenario where for one billing document payers are two,Let me elobrate more
    In our scenario on be half od every sale farmer is the customer but government give subsidy for the sale ,so on every sale 70% of payment will be done by Government and 30% of payment will be done by Farmer .
      So please suggest me how to map this in SAP.
      Thanks&regards.

    Check if possible:
    If the quantity is say 1, is it possible to have 2 line item with quantity 0.7 and 0.3.
    or
    Check and work with FI Consultant regarding splitting the payer through development of a routine which will split the payer at the Accounting entry level and the 2 payer need to be maintained, one as payer and second as a copy of payer with a separate naming convention. proper logic will have to be framed for the same.
    Development will certainly be challenging.
    Regards,
    Rajesh Banka

  • Multiple Posting change notice created for one material document

    Hi All,
    The scenario is that the user needs to transfer material from unrestricted to quality stock type. while doing so the storage type is different than the actual storage type for the material. Meaning if the material is normally stored in high rack storage type, when it is found that the material is damaged or expired it need to be moved to the quality storage type. For this the user will first create  material document in IM with movement type 322 transferring material from unrestricted stock to qualtiy stock. A PCN will be created in back ground which will in turn be converted manually by the user to a TO. while doing so the user will pick the quant manually from the required storage type and select the destination storage type as the quality or quanranntine area.
    The issue here is that system creates one PCN for each material document line item. The requirement is that the system should create only one PCN with multiple lines for one Material document.
    The setting in the movememnt type clearly says that it will behave as it is behaving.
    Is there any other way or setting by which we can create one PCN with multiple line items for a material document.
    Would look forward to your replies.
    Regards,
    Jeetendra

    Thanks and Sorry for the delayed reply. We have now convinced the users that the system behaviour is standard and we cannot change the same.
    To your question about the need to have one PCN with multiple lines please note that the setup is such that when material document is created for transferring material from unrestricted to quality and vice versa this document is created with multiple materials in one go. Now when the PCN is to be converted to TO then the user ends up in creating number of TO's equal to the number of lines in the Material Document. We wanted to avoid this and hence this was posted in SDN.

  • Maximum number of items for an FI document ('999') has been exceded

    Hi,
    I have try to move some materials from one storage location to another using  MB1B transaction. And i receive following error:
    Maximum number of items for an FI document ('999') has been exceded.
    Please someone help me.
    Thank you.

    Dear Dan
    As you would be aware one FI document can have line items upto a maximum of 999 and it seems, you are trying to input more than that and hence the error.
    Try to minimise the number of line items and retry.
    thanks
    G. Lakshmipathi

Maybe you are looking for

  • Indesign tables

    Hi, wondering if anyone could help me with this...i have been creating tables in indesign to a specific size, saving as a pdf, opening in illustrator and saving for web to be placed in muse. Once in muse they do not retain the original size and i alw

  • Problems with NO_DATA_FOUND Exception

    Hi, I have experienced some problems with the NO_DATA_FOUND Exception. I have defined a cursor c. Then I have started a loop and a NO_DATA_FOUND Exception has rised. I handle this exception with un update clause but when the exception rises the loop

  • Currency Input Field Format

    Dear Experts, I have a requirement to modify the currency input fields on interview screens to automatically format as below, while entering values. - Right align values in the entry field - Prefix currency sign - Hide decimals - Comma as 1000 separa

  • 11 radiobuttons giving different output

    Hi, I'm using 11 radiobuttons on my selection screen. each button gives me output in different format. how to do that? again i want to give one listbox/textbox attach to some perticular radiobuttons. can i do that also? Thanks, Deepika

  • Trouble configuring BIC2G EE+ Linux vm image; IP address is not assigned

    Hi, I am installing BIC2G EE+ VM Image for Linux OS. I extracted all files and started the VM Image with VMware Workstation. I am getting one error when booting up the image. "Determining IP information for eth0....Failed". Because of this error, it