Item Numbering on Billing docs, goes out of line

Hi all,
A small question for you all...
This is my situation -
We have one sales order with 11 lines on it, some are from stock, some are drop ship and some are on PO's that come in to stock prior to shipping. There is also items that are on billing plans (service items) Currently i have item 10 to 110.
From this we have created two deliveries.
So for the creation of the billing doc i will have 1 sales order and two deliveries (all to go on one bill) Now this all works ok and the bill is created and this is all good, other than all the item number are all over the place.
On VF01 i sent in this order
Sales Order
Delivery 1
Delivery 2
But my number range on my Billing docs has no relevance to my items on the sales order, i understand that the billing plans will add a 1 to the number eg item, so i have the following items on the bill
20, 30, 50, 90, 91, 92, 93, 94, 95, 96, 97, 99, 100 & 110
This is the correct numbe rof items based on the billing plans also.
so the question is how do i ensure that item 10 on order show item 10 on bills and so, also if item 20 has a plan then how can i see 20 from sales order = 20, 21, 22, etc etc.
I have tried my bes tot explain this and please feel free to ask any questions....
all help and advice is welcome
Regards
Steve

Hello Steve,
I would like to explain how the system determines the item number
The item number is set in the program LV60AA30
loop at avbap where fkrel ne con_fkrel_fplan.
    if not xkomfk-posnr is initial.
      check : avbap-posnr = xkomfk-posnr.
    endif.
Therefore the system starts numbering from the first order related item
So In your case because of the Flag copy item number , the items 10, 40,
70 & 80 are created.
Then system reads item number 20 of the order. Since Item number 20 is
less than the already assigned item number(in this case 80), the
system adds the 'number increment(assume this is 1)' field from VOFA to
determine the next position number and overwrites the value taken from
VBAP.
This happens here:
Main Program     SAPLV60A
Source code of   LV60AB06
form XVBRK_VORHANDEN
IF SY-SUBRC = 0.
   IF *TVCPF-POSVO =  'X'          AND
      KUMUL        = SPACE         AND
      XPOSNR       GT XVBRK-HIPOS.
     XVBRK-HIPOS = XPOSNR.
   ELSE.
     ADD TVFK-INCPO TO XVBRK-HIPOS.
     XPOSNR = XVBRK-HIPOS.                 >>>>>>>>>>>>>>>>>>>>>
This is the standard system behaviour.
Regards,
Raghavendra YN

Similar Messages

  • COPA : Drive Item Category from billing doc. / without sales order

    Dear All ,
    I need to drive item category directly from billing document ( billing without sales order - POS inbound doc. )
    i tried to drive it from table VBRP but the derivation failed as table VBRP need the billing doc. number & i can't get it from COPA
    POS does not create any sales order , the in coming inbound doc. create billing directly ( billing type : FP  ).
    Edited by: Ahmed Hassan on May 25, 2011 2:28 PM

    Hi Jat
    This is not the screen I  am looking for .Please go to condition tab and look for Analysis .Let me know on what excess you are looking system to find your pricing .
      Below are are reference for u.
    Regards

  • BAPI_BILLINGDOC_CREATEMULTIPLE, creating a Bill doc with a single line item

    Hi there,
    I am trying to create a Billing document with reference to Sales document using this BAPI (BAPI_BILLINGDOC_CREATEMULTIPLE)
    ..but the generated billing document is creating only single line item where as the original Sales document is containing a Two line items, ie. 1 main line item an a Sub line item for this .
    I am passing the Values mentioned below..
    As per requirement is need to create a Pre invoice or a Proforma with Provided Sales Document.
    it_billingdata_in-ORDBILLTYP =  Proforma/Preinvoice
    it_billingdata_in-REF_DOC =  Reference Sales doc number
    it_billingdata_in-REF_DOC_CA = Reference Sales document category('C').
    Can some one please suggest any thing else do i need to pass apart of these field..
    Appreciate of some one answer me.
    thanks
    Srinivas

    Hi Srinivas,
    You need to loop on the internal table 'it_billingdata_in' based on the Sales Order line items and pass the value to 'it_billingdata_in-REF_ITEM' for every line item of the Sales Order.
    Hope this helps.
    Regards,
    Pranav.

  • Text types - Billing Doc item

    Good Morning,
    I have to update the item text, which is already in SO and Delivery and I have to use the same item text in Billing Doc also. I went to VOTX and displayed textid and description in change mode.
    Text id 0020 and Description GTIN number is there.
    The check mark is checked for only order and delivery. How can I check the BillDoc check mark. These check boxes are disabled here. We are using ver 4.6c.
    Please help me.
    Thanks,
    Veni.

    Dear SRI,
    These are the fields
    1.BUZEI --- Number of Line item with in the Accounting
    Document.
    2.POSNR -- Billing item
    These are the Tables,
    1.VBRP -
    (INV ITEM)
    2.BSEG -
    (ACC DOC SEGMENT)
    I hope it will help you
    Regards
    Murali.

  • Creating Billing Doc

    Hello Professionals,
    I need some clarification on the copy control and item determination for Billing doc creation.
    Am I right to say that :
    1. Item category determination can be done 2 ways : from setting in SPRO assign item category and the Maintain copy control for Billing doc in SPRO.
    2. Of the 2 places to set item category, the copy control setting for item category will overwrite the Item category determined from assign item category setting in SPRO.
    A question I have is :
    1. In SPRO maintain Copy Control for Billing Doc, I selected the Target Billing Type and the Source Delivery Type and went into   the item screen, In this screen , I see Item category for Delivery Type but there is no corresponding item category below the Target Billing Type area.
    May i know what does this imply?
    Thanks.
    regards
    John

    hi john,
    read it and revert i hope will clear the issue
    system copies the item category from the item category determination rule as specified in the earlier posts,
    on the basis of  item category grp in material master,sales  document.
    this happens ,provided that you are creating the order w/o ref to any quotation or any other preceding document .
    and when the system creates the delivery for this order copying control is used for the data transfer from item category and schedule line data of the order in to the delivery.
    -item cat det is done for the first time when the user punches in the data in any document(sales-delivery).
    -when user creates any subsequent document from this document then system uses the copy control to fetch in the data that is to be copied from the item category of this preceding document's item category inn to the followup or subsequent doc.
    hope this clear your some issues
    revert if helpful
    Mohit Singh

  • Line numbering and Item numbering in SRM 7 for shopping carts.

    Hi,
    We are on SRM 7.1.
    The issue we are facing is when a shopping cart has multiple service
    items and one of the service lines is deleted and the cart is ordered
    the item numbering for the shopping cart lines is different in the item
    overview screen in shopping cart transaction as well as sourcing and
    workload reassignment.
    For example,
    - If you create an Item for your SC. This would be Item 1 - line 1.
    - You now create another Item for your SC. This would be Item 2 - line
    2.
    - Then, you add a new line item, which is Item 3 - line 3.
    - Now you delete the second Item (line 2)
    Since we do not show the deleted items, you will only see 2 items,
    however there are 3 lines in buffer.
    - After you save the cart, front end will display two items, which
    have line number 1 and 2.
    - However, item number will be stored as number 1 and 3, since these
    are the sequential records created in buffer.
    In sourcing cockpit, workload distribution and POWL, item number is
    displayed.
    In shopping cart screen, line number is displayed.
    This difference in numbering for line number and item number due to the standard design of SRM 7 is creating a lot of confusion among buyers in our organization.
    Has anyone come across this issue?

    Hi,
    As i told this is Std SRM Functionality.
    You can do  one thing if the client agrees.
    in the shopping cart screen add a new column next to the line item
    Case 1 - No line item is deleted
    Line item    Zline item
    10                 1
    20                 2
    30                 3
    40                 4
    Case 2 -Line item 20 is deleted
    Line item     Z line item
    10                 1
    30                 2
    40                 3
    zline item has to key in by the user
    Remember while deleting the line by the user he has to check the Zline item numbering
    You have to add this new line item in the sourcing
    screen also.
    Check whether this soulution works
    (or) convenience the client that they have remember the line item
    Regards
    G.Ganesh Kumar

  • Billing Doc with over 200 item lines, wont post to FI

    Hi there i have a F2 billing doc with 209 lines on it, this will not post to FI as it is trying to post over 999 lines into FI, has anyone overcome this issue if so how did you do it?
    If not what are my options, i have customers who want monthly bills but this bill i have created is only for 2 weeks worth.
    Is there away of having multile FI docs again one billing doc?
    Hope you can help me out
    (this question is also in ERP-SD & FI section)

    hi,
    you have to set up summarization of the line items. Please see note 36353.
    If your business process does not allow this, the only possibility is to split the invoice.
    Balazs

  • How to find out SD billing doc # using accounting doc number ?

    Hi Experts,
    Using accounting doc tables such as BKPF , BSEG and BSID , I need to find out respective SD billing doc no when I have accounting doc number.
    The issue is I cannot use either 'reference number' or assignment number' because the same numbers are not flowing to accounting doc from SD ( enabled by a enhacement ).
    Regards
    Mahesh.

    Hi,
    In BKPF : AWKEY / XBLNR  with these fields we can identify the SD billing document number.
    In BSEG table VBELN field is Billing document number
    Or
    Goto T.Code FB03 enter the accounting document number,company code and fiscal year and press enter.
    select the line and choose details, choose addtional data tab, here we can see the billing document number.
    Regards,
    Chandrasekhar.S

  • Billing doc item , show batch

    I am actually trying to show batch split in billing doc type..
    i already set in copying control Billing Quantity with "B"
    what else configuration needed to show split in Billing doc?
    point confirmed..

    Dear SRI,
    These are the fields
    1.BUZEI --- Number of Line item with in the Accounting
    Document.
    2.POSNR -- Billing item
    These are the Tables,
    1.VBRP -
    (INV ITEM)
    2.BSEG -
    (ACC DOC SEGMENT)
    I hope it will help you
    Regards
    Murali.

  • Billing doc item to Accounting doc item no relation

    Hi all
    I want to link the billing doc item to Accounting doc item no.
    how is the relation available using tables & fields ?
    thanks

    Dear SRI,
    These are the fields
    1.BUZEI --- Number of Line item with in the Accounting
    Document.
    2.POSNR -- Billing item
    These are the Tables,
    1.VBRP -
    (INV ITEM)
    2.BSEG -
    (ACC DOC SEGMENT)
    I hope it will help you
    Regards
    Murali.

  • Billing doc - item level

    for the given billing doc number, the billing line  items starts with 10,.20,30,40,50 and the output is correct for vf03. But if the line item starts with 100, 110 , 120 the entries are not printed in smartform. Pls help

    Check if you have any select statements for Line items.
    Debug the form and check the line item table for entries.
    Regards,
    Nageswar

  • ZUONR field in billing doc to item texts in Accounting Doc

    I have a client who wants to have the contents of the ZUONR field in the billing document appear in the line item texts of the resultant accounting document. Does anyone know how I can achieve this?
    Cheers,
    Ross Goodman

    Thanks,
              I know where the data lives The process involved is WPUBON idoc from POS inbound in SAP retail automatically creates 3 documents for a sale of article
    1] Article document
    2] Billing document
    3] Accounting document created from the billing document
    This is all automatic.
    So I will look into the use of the user exit to get the ZUONR content from the billing doc to flow through to the accounting document also.
    Many thanks, will let you know if ity works.
    Ross

  • Tax amount line item with Business area in Billing Doc generating to A/cing

    Hi,
    While generating the Billing Doc, for the Tax amount line item , the Business area shd be populated. How this can be done? while  for the othter line items it is displaying but not for the tax amount line item.

    In ECC 6.0 with document splitting and new GL business area would be available in the general ledger view for tax postings. For earlier versions than ECC 6.0 use balance sheet adjustment program SAPF180 to populate business area for tax items.
    Thanks and regards
    Kedar

  • Details from Billing doc line item in COPA

    Hi,
    We are posting billing docs with multiple ship-to parties on the different line items. In COPA I need to get hold of the ship-to party. There are no sales orders created in the process.
    In neither the derivations (KEDR) nor in the user-exit am I able to get hold of the billing doc line item nr, as that is what I need to determine the ship-to party from the VBRP table.
    Any ideas on how I can pick up the ship-to party from the billing doc?
    Thanks in advance
    Piet Strydom

    HI,
    Thanks for your response.
    Yes, we have ship-to party at the line-item level. Technically it is stored on VBPA, but the access into VBPA is the billing doc and line item number.
    I have not been able to find good (SAP) documentation for exit COPA0005, but what I did find warned against changing characteristics? That should be done in COPA0001. However, the RBELN and RPOSN fields are not populated yet.

  • Item numbers are differing when i am creating billing document.

    item numbers are differing when i am creating billing document with reference to delivery.
    eg:  item 10  Nimusulide
          item 20 paracetomol
    but in invoice it is as follows
    item 50  Nimusulide
    item 100 paracetomol
    plz help me

    Hi,
    In VOFA check field item number increment
    This will be maintained as 50.Change it to 10.
    Reward points if useful
    Regards,
    Amrish Purohit
    Message was edited by:
            AMRISH PUROHIT

Maybe you are looking for

  • Copying 2 drives to 1 for the same project

    I'm copying an external drive and have a 2nd for the same project I want to also copy (to the same external drive) and am wondering if I'll have any issues with media becoming unlinked? Anyone have any ideas? .

  • Line drawn with Pencil Tool appears to fade in and out

    My Nme is Allen Togwell.Case No: 0183721415. Your chat line guy said I needed a graphic card to solve my problem for my CS6. He gave me a link but disconnected before I could use it. Can you help me with what type of graphic card I need. I am 75 yrs

  • How to view an .xls document using Swing

    Hi folks, I'd like to view an .xls document in the same format as in Microsoft Excel. How can i accomplish this using jdk1.5 (swing). I've gone through JExcel doc but dont know how to use it. I appreciate if u guys provide an example... Thanks in adv

  • HT1918 App Store does not accept my bank card, what i have to do?

    App Store does not accept my bank card, what i have to do?

  • Where can I find my picture files in the finder?

    I download iPhoto with another person's account, so I never could update the new versions; because I don't know the password, and the person cannot enter to the account anymore. Now apple doesn't let me open iPhoto, because the version is too old, 9.