Accounting doc no for billing no

i want to develop a query to get accounting doc no for each billing no
from which tables and fields i need to pick up these values

hI,
Pass billing document number as BSEG-VBELN into table:BSEG and get the accounting document line items. Table for accounting document header is BKPF. You can query the BKPF table also dpending on which field of BKPF , billing document number is getting updated.
Muraleedharan.R
091 9880028904

Similar Messages

  • Accounting doc typelink with billing doc type

    Hi,
    I want to see the configuration settings to be done for the accounting document type whenever a Invoice is posted to accounting.Basically if a standard Invoice F2 is posted to accounting then an accounting doc type RV is created.So I would like to know where is the link between the invoice documnet type and accounting document type maintained in the system?

    Hi
    In T code VOFA  in the configuration of the billing type, i think in the control data tab ,there is a field called document type
    This is the field to get the accounting document type
    If that is left blank system takes RV by default
    If you maintain some other accounting doc type in that field, other than RV ,system will pick what you have assigned
    You can test this too
    The Standard  SAP configuration for F2 and many other billing types  that field is maintained blank
    Hence the system picks up RV accounting type automatically
    It is because of the background program ,which runs while billing doc which tells the system to pick RV accounting type ,if that field is left blank ( coding in SAP standard is maintained like that ,to pick RV if that field is left blank)
    Regards
    Raja

  • No Accounting doc created from billing doc

    Hi,
    i created a new invoice from Billing (SD) and saved it, but the accounting document is not created for it.
    what might be the reason?
    how do i get this invoice posted to accouting?
    Thanks,
    Shilpa

    1.   VF02:  Check the billing date u2013 make use the posting date is valid (i.e. posting period not closed) as this the common cause of SD billing not posted to FI/Accounting
        To correct billing date u2013 Goto > Header > Billing date
        Accounting doc will be created as soon as you save Billing with correct date
    2.  Enter billing document # in VF02 (screen 101)
    (Menu bar on top) Billing document > Release to Accounting > The system will prompt a descriptive message for the problem
    Hope this helps.
    Stacy

  • Is accounting doc created for goods issue doc?

    Hello,
    does a GL posting happen on goods issue?
    if yes i am not able to see any accounting doc generated from a goods issue.. in this case where can i check what is wrong?
    Thanks

    Hi
    If the material is a valuated material for which you have done Goods Issue, then the accounting document must be generated. You can display the Goods Issue document from MIGO - Display option - Doc. Info - FI Document
    regards
    Parag Bhargava

  • Enable accounting doc posting for PGI consignment 631

    Hi experts,
    Here is my case:
    SD group wants to post Goods Issue (PCI) to customer as consignment stock owned by the company, but they want the system to raise an accounting doc per each transaction (to report that the goods had been sent to the customer; in our regional Accounting Standard, we have this kind of GL account)  through mvt 631 instead of generating accounting doc as it is now.
    MM controls 631 and I didn't figured out how to enable it, please help me!
    Thank you very much
    Best,

    Why you are using 631, if u want a PGI , goods issue cust consignment use movement type 633 . The system will take your Stock CR and COGS + (maintain Gl acct for acct modifier VAX )
    regardzz

  • Accounting doc g for Movement type  309

    I have created a new movement type, copy of 309. and assigned G/L account.
    Still I am unable to see accounting Doc for the same
    Pl help me its Urgent

    It depends what you are doing with this movement type.
    309 is a multi-purpose movement type, you can jsut use it to move materials from one location to another like 311, then no accounting document is created.
    But you can as well move material to material, then you should get accounting docs, but.......if the materials are nonvaluated materials, then you dont get an accounting document.
    Tell more details And we will see how we can help you.

  • Fetch Accounting Doc No from Billing Doc No

    Hi,
    Could someone tell me how to get the Accounting Doc no if we have the Billing Doc No. I tried using table VBFA but it did not solve the purpose.
    Regards,
    Shobhit

    Try:
    CALL FUNCTION 'AC_DOCUMENT_RECORD' 
      EXPORTING                        
        I_AWTYP     = 'VBRK'           
        I_AWREF     = VBRK-VBELN       
        I_AWSYS     = VBRK-LOGSYS      
        I_BUKRS     = VBRK-BUKRS       
      TABLES                           
        T_DOCUMENTS = DOC_NUM          
      EXCEPTIONS                       
        NO_DOCUMENT = 1.
    This should return all kinds of FI docs.              
    Cheers
    Dom

  • Hey, I recently made a new apple id and it is verified but whenever I try to sign in it says you have not used iTunes , please review and when I review my account it asks for billing information .. I want to make account without credit card. Please help

    Please help me ..

    Create a iTune and App Store account without credit card
    1. Go to App Store and select a free app
    2. Tap INSTALL APP
    3. Create New Apple ID
    4. Confirm Your Country
    5. Agree with Terms and Conditions
    6. Fill in your Apple ID and Password (must be a valid email address)
    7. Create and answer your secret question e.g. What is the name of my dog?
    8. Select NONE for Billing Information (see picture below)
    9. Fill in Billing Address i.e. your address
    10. Submit application for new Apple ID
    11. Wait for verification email
    12. When email arrive, verify your account
    13. Start downloading your free apps
    http://i1224.photobucket.com/albums/ee374/Diavonex/6f6e54ff.jpg

  • No accounting doc generated at billing

    hi all guru's
    at time of billing;;;;; no accounting document was generated
    after that i realised this document
    msg:
    Doc xxxxxxx is currently being processed
    tell me the reasons
    regards
    ss

    Hi Supriya,
    Please check your all sap-screen . it may be happen which documnet you are posting that documnet is allready open in pther screen.
    plz check and let me know.
    rgd
    Amit

  • Cannot generate accounting doc when creating billing doc

    When creating billing doc, no accounting document is generated, the posting status is "Error in accounting interface". I have checked and there is no problem in account determination. Does anyone get idea on this problem? Thanks!

    Check the account determination in Transaction Code VKOA.
    If the data is not maitained to determine G/L, in that case it gives error. Once you maintain the relevant data in VKOA, next go to billing document in change mode VF02 & release the same to accounting.
    Regards,
    Rajesh Banka
    Reward points if helpful.

  • Accounting doc number for a material doc

    Hi Experts,
    Pls help me to know the accouting document number for a material document.
    Is there any functional module for the above or any table fields.
    currently we are developing zprogram.
    Appreciate for advices.

    Hi
    u want Accounting document against Material document
    means
    u done GR through Migo
    and ur documennt type is We _ goods receipt - this is ur material document no
    u done invoice dopcument againmst Gr - RE Dcoument type - accounting Document No
    see when u going to Po , purchase order history
    then bothe Gr and IR document u seen
    for example :_ gR - 500000123
    and             IR 5105601234
    but when u double clcik on IR Dcoument , screen will be open
    here u also se another accounting no document see 510004563 then clcik on this field and f1 then u see table and field
    i can tell u u doing GR 5000000123
    at the time of ir two document no genrated
    one for document for Mm Point of view and one for Fianance point of view
    means 5105601234 is MM Accounting dcouemnt
               510004563 is finance accounting document
    i hope u clear that
    if any query revert back
    Regards
    Roobal

  • Accounting Doc  amount is higher than billing doc

    Hi any body pls advice me
    there is diff showing in billing doc amount and accounting doc amount
    in billing doc(vf01)  basic price (includes ed)proo
    and we deducted 14.15% ed in that and again aded 12.5% ed
    i dont know y there is diff in accountind doc. is bcoz of  basicprice(proo) problem
    how dont know
    pls explain me what could me the secnarios
    regards
    arjun

    HI
    Please open the document through VF03 -> go to -> line item details -> see the conditions
    List down the values against condition (Non-statistical conditons) and check the accounting postings
    Regards
    Anilkumar

  • Table for Invoice accounting doc

    I have got the invoice number posted in MIRO,i need to get the accounting document number generated for this invoice number.
    Can any one please let me know th etable where i could give the  the invoice number posted in MIRO and get accounting doc generataed for it.I need to pass invoice number posted in MIRO and get the accounting doc.

    Hi,
    Table BKPF will help you...
    BELNR = Accounting document number
    AWKEY = Object Key which is nothing but Material Doc no + Fiscal year
    From SE16, select table BKPF
    In the field AWKEY (Object Key), give the material doc number+fiscal year ( for example, 50000000002009)
    Execute.
    You will get the corresponding accounting doc number
    Regards,
    Mike

  • G/L account nos from accounting doc header

    How to get the G/L account nos  ( for amounts)from the accounting doc header, for a particular customer?
    The above logic is needed for a Z report for  a customers
    Any guidance/help will be appreciated.
    Thanking you.
    Rgds
    Sumanth G

    Hi Sumanth,
    Go to BSEG table and give the accounting document number in the feild BELNR and execute,
    you will get the details and choose the field DMBTR and WRBTR according to your requirement.
    Press F1 help on the screen and click tools icon you will get table name and field name.
    Arshad

  • One Tcode for excise invoice and Billing and Accounting doc no.

    Hi Sap,
    Is there any Tcode or Table to see the Sales Accounting Entries with the help of Excise Invoice number and Billing Document Number?
    I mean I want a Tcode or table to see all Excise Invoice number , Billing document Nuber as well Accounting document number in one screen.
    If any Tcode is there could you reply me,
    Regards,

    In VFX3 check if you have correctly filled up the selection screen.
    Especially "Created By" fields which gets the default value of user who is running the t-code. If you have not created the billing doc then keep the field empty.
    Also check in VF02 or VF03 if the billing doc exists.
    Either thru VF02 or VFX3 you can release the billing doc to accounting.
    There can be several reason for failure to post billing doc to accounting.
    For ex,
    1. FI posting period for the billing date is not open.
    2. Some of the GL where posting should go are locked.
    3. Account Assignment Group for the material is not maintained in material master.

Maybe you are looking for