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

Similar Messages

  • Accounting Doc Change

    Hi
    Is there any function module to chage the accounting doc header and item data together? I Only want to change the editable fields that I can do through FB02. I will prefer to have a FM for that. Thanks for ur help.
    Chinmoy

    hi,
    have3 a look here:
    Function module for FI document change with G/L line items
    A.

  • 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

  • Billing Doc-Header-Texts copy Accounting Doc-Hader Texts?

    Dear gurus,
    I it possible to copy Billing Doc.-header- Text1 to
    Accounting Document>>>>>>"Doc. Header Text" field?

    Hello,
    the SAP note 301077 lists the available userexits in SD/FI interface.
    If, for example, you want to fill a BSEG field of customer line, userexit EXIT_SAPLV60B_002 is the good one.
    Instead if you want to fill a BSEG field of a G/L line, userexit EXIT_SAPLV60B_004 is the good one.
    Best regards,
    Ivano.

  • SD billing Accounting document Profit center not coming from billing doc

    Hi Expert,
        I have stuck with the accounting doc entries. Issue is that accounting document should have
        the same profit center as billing document. Actually i have created profit center for my each of
        my divisions and want the same profit center whenever that particular division  is selected. But it
       is not  working.
        I have tried with substitution  method also by t-codes 0KEL and 0KEM. It works correctly till
       billing document means division wise profit center is coming in order,delivery , and billing but
       when we check accounting document,Profit center doc. Controlling Document and Profitab.
       Analysis  in Delivery and Bill it is coming from what i have maintained in material master.
       But it should come from what is in the delivery and billing document.
        Please share your ideas.
       Thanks &  Regards

    Hi SAP Consultant
    I would not agree with the first reply above.
    When you define a substitution in 0KEL and 0KES, it is intended to overwrite the PC from Material Master. It is a wrong notion that this Substitution will only impact FI, and not CO / COPA
    1. Are you able to see the over-written PC in Sales Order? (I think YES)
    2. Are you able to see the over-written PC in Billing doc? (I think YES)
    3. If in FI doc you are not able to see that, then see where is the problem. Probable reasons would be a Substitution written in OBBH, You are having a CO Object in the line item, a user exit written in the exit SDVFX008
    Ask your ABAP to check on these lines, if 1 and 2 is YES
    Br, Ajay M

  • I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    Hi Arun ,
    Can you explain little bit more ??
    what is account doc no? 
    what are the transactions should be displayed in your output??
    -Rajesh N

  • Control accounting doc. from billing

    Hello,
    for my accountment department, i need that from two positions of one single bill, create two positions in the accounting document. There will be at the same account, but i need two separate postings.
    BILL NR. 1
    POS 10 MATERIAL A 100 EUROS
    POS 20 MATERIAL B 50 EUROS
    ACCOUNTING DOC.
    ITEM 1 CUSTOMER A 150 EUROS
    ITEM 2 ACCOUNT 701000 100 EUROS
    ITEM 3 ACCOUNT 701000 50 EUROS
    ITEM 4 TAX XX EUROS
    This is what i want. Now i get ITEM 2 ACCOUNT 701000 - 150 EUROS. Is it possible to separate the positions?
    Thank you.

    SPRO - IMG - Financial Accounting - Financial Accounting Global Settings - General Ledger Accounting - Business Transactions - Integration - Sales and Distribution - Perform Document Summarization for Sales and Distribution.

  • Unable to create accounting doc from invoice

    HI all,
       In creating an accounting doc from an invoice via VF02, i  got an error message:
    Cost Center SGCA/33150 does not exist on 7/7/2010.
    First of all, we don;t have a cost center 3150. 
    Can anyone suggest why I cannot create an accounting doc ?
    Why the message on cost center ?
    thanks
    Joyce

    Hello Joyce
    Identify  the GL accounts that are likely to be posted ( if the posting were to go through). Typically you will have GL accounts for Trade Sales, Tax payable etc. here.
    While displaying them using T code FSS0, click on the' Edit Cost element' tab and go into 'Display Cost Element: Basic screen". Now click on the tab, 'Default Account Assignment' tab and see if  the cost center tab has been filled with '33150. If so, remove it. after checking with your FI colleague. Repeat this for all the accounts (likely) to be posted. I am guessing that is the reason.
    Let me know how it goes.

  • Invoice Currency differ from Accounting doc Currency...

    Dear all,
    Can any body tell me how the order and invoice currency differ from accounting doc currency.
    Ex:  in Order and billing value in 450 USD 
          But after invoice, in accounting doc currency will be  
          converted into 18900 INR how ?
    Cheers,
    San Rao..

    Dear san
    Yes whatever currency you maintain at Company Code Level, that currency is going to be your local currency.
    For more information, go through the link
    [Defining Currencies|http://help.sap.com/saphelp_46c/helpdata/en/08/51410a43b511d182b30000e829fbfe/content.htm]
    Thanks
    G. Lakshmipathi

  • Accounting doc entries not matching with the the entries from j_1ipart2 entries

    Hi,
    After creating PO, I have done MIGO and J1IEX. Now, posted MIRO. The end screen shows a number stating accounting document created.
    I checked the accounting doc in fb03 and the document is displayed over there. I also checked the table for values captured in PART2 of excise. The value displayed in table is not matching with the value displayed in accounting document. Can anyone help?

    Hello Tejas,
    Here is the updated version of the situation.
    After the transaction J1IEX, I got a message saying an 'Accounting Document' has been created. But the accounting document number does not match with the original values. I checked all the tables and found out that the accounting document is not created.
    In this case, I thought of creating an accounting document manually and adding them directly to the table.
    Here are my questions,
    -Can I manually create an accounting document for multiple line items?
    -Few tax values should be split and should go to 2 different GL accounts. so how to do this if I am creating it manually
    -Or can I delete the values captured during 'J1IEX' in the table and reopen the GR so that the t-code j1iex can be processed again?

  • 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

  • Link from Accounting Doc Number to PO

    Hi,
    In FBL3n certain doc types PO number is not updating.Using assignmnets i want to update the field for these kind of doc no.
    My doubt is from FI doc number how can i link it to the PO number.
    Eg:i have an FI doc number say 51000000 which has two line items and corrponding 3 tax line items each .(ie 9 lines for the same in FBL3N).How can i link that my tax line items corrspond to which line item.
    Hope my question is clear.Please suggest.

    Hello,
    Generally the FI doc created from an PO Invoice have:
    BKPF-AWTYP = 'RMRP'.
    You can goto RSEG from BKPF using:
    RSEG-BELNR = BKPF-AWKEY+0(10)
    RSEG-GJHAR = BKPF-AWKEY+10(4)
    In RSEG, you have the PO details in RSEG-EBELN & RSEG-EBELP.
    BR,
    Suhas

  • How to get - Net amount for accounting doc in the SD doc flow?

    Hi,
    In my report I have to show the net amounts from the Sales doc, invoice and accounting doc, etc.
    I got the FI doc amount from BSEG, however there the gross amount is stored.
    I noticed that in the SD document flow for the accounting document the net amount is shown.
    I tried with the following calculation, however in some cases this doesn't work (eg there is separate tax item in the FI doc):
    "<lwa_bseg>-wrbtr - <lwa_bseg>-wmwst"
    Is there a function module/sap standard code to provide this data?
    Thanks in advance,
    Peter

    when u see the Item Header in SO or Billing , at the Head of Condition table u will get NET amount ?
    are u not maintaining any seperate conditions for this NET amount ?
    have a word with ur functional guys , so he can help u out.
    Regards
    Peram

  • 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

  • Accounting doc no and g/l

    hi all
    from where i can found accounting doc no that has been generated through issue posting and their respective g/l no.
    plz suggest me, it is very necessary.
    nitin

    Hello Nitin,
    When you post any material document for Issue or transfer posting then note down that material document number, go to MIGO / MB03 --> click on "Documents" on header view here you will find FI document. So double click on that which will show you GL accounts as well with amount.
    Hope this helps
    Regards
    Arif Mansuri

Maybe you are looking for