Delivery document no for a Billing doc

Hi ,
How to find a Delivery document no for a Billing document no. Is there any table, that has relation b/w Billing & Delivery docu no.
Thanks

see.. its a simple thing..
sales --- delivery -- billing..
so for delivery, reference document is sales order,
for billing, reference document is delivery...
hope this clears the entire thing... always go for item level linkage.. its accurate..

Similar Messages

  • Same no ranges for both Billing doc and Accounting Documents

    Hi friends,
    My client requirement is he want to use same number ranges for both billing document and accounting document.
    Is it possible?
    Regards
    Sasi

    Hi,
    For Accounting Documents...Create a number range using the TCode : FBN1
    Give the range as the one which you specifed for the billing doc and make a check over the External Entry.
    Assign this Number Range to Your Accounting Doc. Type.. using the Tcode OBA7.
    Hope it'll work as per your requirement.
    Regards,
    Venkatesh.S.P.

  • 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.

  • SQ01  to show condition types for the Billing doc

    Dear Friends,
    I need to show 3 cost condition types from a invoice in SQ01
    For  eg
    The Query  has   for eg
    Billing Doc     Material     Net value     ZT07     ZT08     ZT09
    The ZT07/8/9  are conditiontypes
    I need to link these at item level in SQ01, which tables should be linked
    Please help
    Kind Regards  Ravi  Kumar Rath

    Hi  Ravi
    Please use the following tables for SQ01
    KONV     Conditions (Transaction Data)     
    KONP     Conditions (Item)     
    VBRP   Billing Item data
    T685
    Regards
    Srinath

  • Generate different spool for diff billing docs generated using VF04

    Hi guys,
    want to generate different spool for diff billing docs generated using VF04, when doing mass billing.
    Pls reply guys...
    Thanks & Regards,
    Sachin

    Are u using smartforms.
    u when u loop at invoices and calling the smartform FM, u can make this parameter of output options as space. ls_control_param-no_close = ' '.
    this will close spool and create a new one when fm is again called.

  • Double actual cost in Profitability Analysis for cancelled billing doc

    Dear expert
    Say we have a billing doc posted in May, and we run ML closing and KE27 during month end closing, which transfered actual cost from material ledger to value field in PA.
    In June, we cancelled that billing document, the question is why the system automatically posted actual cost of cancelled billing docs to value field in PA right away (without KE27)?
    The reason I asked is because when we run KE27 for June closing, the SAP transfer again actual cost from material ledger to value field in PA. So we will have double posting of actual cost for cancelled billing document
    Please help, which setting did I missed to prevent SAP automatically posted actual cost of cancelled billing docs to value field in PA right away (without KE27)?
    Thx

    Hi
    Thats because you had double +ve also..
    Let me u/s your situation better
    1.PGI Posted COGS of Say, 100
    2. KE27 posted, say, addnl 20
    So, total COGS is now 120
    3. You posted a reversal now... It should post -100 and not -120.... Is it posting -120?
    Run KE27 for this month and see if it really posts -120 again... If it does, raise an OSS message to SAP... They are liable to help
    In my opinion, there is no Config set up for this... At best, you can try to assign different VF in KE4R for PV = 02 as compared to PV=01 and see if it helps
    br, Ajay M

  • Rebate Agreements for Archived Billing Docs

    Can anyone help me with how to find Rebate Agreements associated with ARCHIVED billing documents.  I know table M-VMCFB will give me billing docs and rebate agreements, but archived billing docs aren't on there.  There must be a way to find the info as I can drill down on individual billing docs in VF07 to get the rebate agreement number for an item.  But how do I do it for a list of archived billing docs?
    Thanks for your time.

    Hello Friend,
    Run the T.code VFRB.

  • Runtime error : table_invalid_idex When VF03 for cancel billing doc. flow

    Dear Gurus,
    i'm facing a problem, when i want to display document flow for my cancel billing was getting error.
    Dump analysis :
    602                     PERFORM vbfa_tab_append.
    603                     EXIT.
    604                   ELSE.
    605                     CLEAR vbfa_index_key-posnn.
    606                     READ TABLE vbfa_index WITH KEY vbfa_index_key
    607                                                    BINARY SEARCH.
    608                   ENDIF.
    609                 ENDIF.
    610               ENDIF.
    611               IF sy-subrc = 0.
    612                 tabix = vbfa_index-tabix + zaehler - 1.
    613                 vbfa_tab = vbfa.
    614                 IF vbfa-vbeln = gv_storno_vbeln.
    615                   vbfa_insert = vbfa_index-tabix + zaehler.
    616                   ADD 1 TO zaehler.
    617                   READ TABLE vbfa_tab INDEX vbfa_insert.
    618                   vbfa_tab = vbfa.
    619                   INSERT vbfa_tab INDEX vbfa_insert.
    620                   ADD 1 TO vbfa_insert.
    621                   SELECT * FROM vbfa WHERE vbelv = vbfa_tab-vbeln
    622                                      AND   vbtyp_v = vbfa_tab-vbtyp_n.
    623                     vbfa_tab = vbfa.
    624                     ADD 2 TO vbfa_tab-stufe.
    625                     INSERT vbfa_tab INDEX vbfa_insert.
    626                     ADD 1 TO zaehler.
    627                   ENDSELECT.
    628                   vbfa_insert = tabix.
    629                 ELSE.
    630                   IF vbfa-vbeln NE gv_storno_vbeln.
    631                     vbfa_insert = vbfa_index-tabix + zaehler.
    --->                       INSERT vbfa_tab INDEX vbfa_insert
    633                     ADD 1 TO zaehler.
    634                   ENDIF.
    635                 ENDIF.
    636               ELSE.
    637                 PERFORM vbfa_tab_append.
    638                 EXIT.
    639               ENDIF.
    640             ELSE.
    641               PERFORM vbfa_tab_append.
    642               EXIT.
    643             ENDIF.
    644           ENDIF.
    645           DESCRIBE TABLE xvbfa.
    646           IF sy-tfill = 1 OR
    647     *archivierter Beleg
    648             ( sy-tfill = 0 AND NOT vbfa_tab-vbelv IS INITIAL ).
    649             ADD 1 TO vbfa_insert.
    650           ENDIF.
    651         ENDIF.
    i'v found sap note 978073 but did not solved my problem. Please reply if anyone know the answer (solution) for this problem.
    Many-many thanks for your answer
    Regards,
    ARA
    Edited by: Agung Rahmat on Jan 19, 2010 5:36 AM
    Edited by: Agung Rahmat on Jan 19, 2010 5:37 AM
    Edited by: Agung Rahmat on Jan 19, 2010 5:38 AM

    Dear All,
    this is part of error analysis :
    When changing or deleting one or more lines of the internal table
    \PROGRAM=SAPMV75F\DATA=VBFA_TAB[] or when inserting in the table
    "\PROGRAM=SAPMV75F\DATA=VBFA_TAB[]", 0 was used as
    the line index. An index less than or equal to zero is not
    allowed.
    The error can occur when using the following options:
    1. "INDEX idx" for specifying the line number in the table
    "\PROGRAM=SAPMV75F\DATA=VBFA_TAB[]"
       where you want to change, insert or delete.
    2. "FROM idx" for specifying the start index when deleting a line
       area from or inserting a line area into the table
    "\PROGRAM=SAPMV75F\DATA=VBFA_TAB[]".
    3. "TO idx" for specifying the end index when deleting a line
       area from or inserting a line area into the table
    "\PROGRAM=SAPMV75F\DATA=VBFA_TAB[]".
    At the time of the termination, the table contained 11 lines.
    hope that can help.
    Thanks & regards,
    ARA

  • Delivery Document creation for STO using BAPI_OUTB_DELIVERY_CREATE_STO

    Hi Experts,
    Am Cretaing Delivery DOC for the STO (PO) as the reference document using the bapi BAPI_OUTB_DELIVERY_CREATE_STO.
    my problem is, the bapi is not picking the stogare location(LGORT)  from the STO doc storage location. Please help me to find way, if its possible to pass the storage location to Bapi or any Badi exists for the bapi  to pass the storage location based on some condition.
    Have found below BADI's for the BAPI in my initial investigation, but not sure to use which one, pls suggest
    LE_SHP_PRICING
    BADI_HU_MAIN
    BADI_HU_PACKING_ALWD
    BADI_HU_PACKING_QTY
    BADI_HU_SAVE
    BADI_HU_AUTOPACK
    DELIVERY_PUBLISH
    Pls find below code for reference.
    WA_STOCK_TRANS_ITEMS-REF_DOC    = STO no
    WA_STOCK_TRANS_ITEMS-REF_ITEM   = Item.
    WA_STOCK_TRANS_ITEMS-DLV_QTY    = quantity.
    WA_STOCK_TRANS_ITEMS-SALES_UNIT = 'EA'.
    APPEND WA_STOCK_TRANS_ITEMS TO STOCK_TRANS_ITEMS.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CREATE_STO'
              IMPORTING
                DELIVERY          = DELIVERY
                NUM_DELIVERIES    = NUM_DELIVERIES
              TABLES
                STOCK_TRANS_ITEMS = STOCK_TRANS_ITEMS
                DELIVERIES        = DELIVERIES
                RETURN            = RETURN3.
    thanks in advance.

    Hi Venkat,
    If you check the Function Module Documentation, there is a note which mentions:
    Order (SALES_ORDER_ITEMS-REF_DOC)
    Unless specified otherwise, the entire order is delivered. This means that it is not necessary to list all the order items. It is sufficient to specify the order number.
    Please try this.
    Regards,
    Pranav.

  • Sequential Delivery document nos for a particular Company Code

    Dear All
    I have to assign a customized Number Range based on the company code while creating a  Delivery using VL01N.
    I am aware that Standard Number Range in SAP does not support my business needs and number range enhancements are possible for SD document types. I have achieved the same for invoice documents but not able to override the standard number range of delivery to the newly created number range based on the company code.
    Can any one you help me on the User Exits with you so that I can proceed without much delay.
    Please help and please advise and let me know if you want some more details!!!
    Regards
    Amitanshu
    Edited by: Amitanshu Deep on Oct 5, 2009 1:51 PM

    Hi All,
    Thanks for the reply. I did go through the S_ALR_87012342 and found three documents missing in the number range I specified.
    Also I went through SNRO and applied Objects "RF_BELEG" , "DEBITOR"  "KREDITOR" and I founf No Buffering for object type  "RF_BELEG" and Main Memory buffering for  "DEBITOR"  and "KREDITOR" with 5 as No. of number in buffers section.
    Can you please suggest as to what this implies and how do I found out the Object that I need to specify in SNRO.
    Also I observed one peculiar thing wherin whenever there is a document posetd via third party tool an idoc is generated which would post a doc via FB08 ,the previous document number is missing in the BKPF table.
    Please advise.
    REgards,
    Praveen

  • URGENT: Multiple line items in delivery document created for a STO

    Hi Gurus,
    We ar ecreating deliveries using VL10b for a STO. Teh TSO has 40 - 50 line items. But the delivery is created with one line item only an dit creates a delivery for each line item. How cna we allow the inclusion of multiple line items in delivery?
    We are using delivery type NL an ditem categor is NLN.
    Geratly appreciate any help in that.
    Thanks,
    KHAN

    Hi Gianpaolo,
    Thanks for your suggestion I have 5 shedule line itmes for one material and two shedule line for another material and when i changed the material by selecting one line for each sales document no and creates the delivery it is howing three line itmes for the 1st material and line items for the second and quantities equal to the changed quantity in VL02N. and I have value "1" in field "Split per sched.line" in "user role" view of VL10E.
    Kindly help.
    Thanks and Regards
    Tanweer

  • Invoice Lists, can you create a single a/c for multo billing docs

    We are looking at using the invoice list functionlity to provide a single bill for a payer per month.
    This will cover multi ship tos, billing document types, PO numbers etc.
    Is there a way to have a single accounting document that will be able to capture the information from multi billing documents and types?

    I don't think so it is possible because the moment you will be having different billing types, your invoice will split, they can not be clubbed into a single invoice(Number Range are defined on your Document Type).
    Reward points if it helps
    Regards
    N

  • No accounting document generated for SD billing document

    Hello,
    We had a billing document with status "C Posting document has been created" but actually there was no accounting document generated.
    When we try to release the billing document again using VF02, the system displays the message "The document has already been passed on to accounting".
    What is the problem?
    Thanks in advance!

    longlost,
    Accouting documents not generated,
    1. VF02 Mode Click"Release o Acounting" the Accoutning documents not generated.
    2. If yes, then OK Else
    3. Check Whether you have assigned Accounting keys to the relevent condition types.
    4. Check Account assignment Procedure VKOA and check G/L account has been assigned.
    5. If error found correct it
    If you say "The document has already been passed on to accounting" then it is automatic
    Check with FI Consultant whether Accounting entries has been posted with reference to customer and Invoice.
    Fi consultant will run F-28 - Post incoming payments or F-26 Payment past entry after that it will come to cleared status.
    Regards
    Sathya

  • Delivery number for a billing document

    Dear Experts
    How to retrive or get the preceeding delivery document number from a billing doc.I have tried for VF05 but its restricts me by only specifying a single customer to be selected.I dont require this.
    I require the list of billing docs generated within a particlar billing period and their respective delivery numbers.
    The copy control settings in VTFL might have helped me but the reference number that was maintained was only POrder number.
    Please comment

    Hi ,
    You can get this from the docment flow
    Goto VF03 and give the  Billign docment number and click on Contro + F1
    It willl take u to the docment flow.
    There u can see the preceeding docment that were created for this Billing docment
    If you want the docments  from a table , then goto VBFA table which is the table for Docment flow and
    Give the Billing docment nmber and select the docment category as J and then u can retrieve all the Deliveries for that particlar Billing docment
    Hope it is clear
    santosh

  • Table name for open delivery document and open billing document.

    Can any body tell me what are the table names where we can get the the open delivery document numbers and open billing document numbers?

    HI
    Table S066 (Open orders)
    S067(Open deliveries and billing)
    Those 2 tables helpful only to know the credit exposure not for open deliveries and open billings document numbers
    Solution: Mr.Prakash Already suggested table and field names
    Regards,
    Prasanna

Maybe you are looking for

  • My iphone 4s is no longer connecting to my laptop due to usb

    my iphone 4s is no longer connecting to my laptop. It states that my usb is a 3.0 and my iphone 2.0 is not compatible whereas it had worked before. Advice on how to link it back together?

  • Why does coverflow not work with windows 7

    I installed windows 7 on my computer and now my iTunes does not show coverflow. I get a black screen that says "iTunes is unable to browse album covers on this computer." I thought a patch would be issued to resolve this, but it's been quite a while

  • Minor glitch with manually created report form

    I don't know if this is "as designed" or not, but it seems like a minor glitch. If I create a report form manually, using htmldb_item syntax and have a column or two using the hidden construct (htmldb_item.hidden) and subsequently go back into the re

  • NEED HELP... PLEASE Upgrading Library Question

    Ok i have 3 imacs 1 with aperture 3 already on it and been using it awahile... 1 with aperture 2  and the other one with aperture 2 but i just purchased aperture 3 online for it and downloaded it... now for the last 10 hours it has been upgrading lib

  • Need a bit of help with some theory...

    I'm just looking over some past paers for my exam and I'm having trouble understanding exactly what this question is asking for: What is an Enterprise computer system? Give an example of an Enterprise system. Critically discuss two alternative develo