BAPI for Accounting Document Posting

What is the name of BAPI for Accounting Document Posting and how can I run it?

Hi ,
Can you send me the code how to use the BAPI_ACC_DOCUMENT_POST.
Regards,
L Srikanthan.

Similar Messages

  • BADI/EXIT for MIGO for accounting  document posting

    Hi
    I am using MIGO where SAP post Mat Document and Accountying document.
    This Uses FM  'MB_POST_GOODS_MOVEMENT  < Include LMIGOKG1>, once this FM executed both MKPF and BKPF data gets filled . I can see tha data for MKPF in debug but I am not able to see data for Accounting Document.Even I cant see the Acc. document no assigned by SAP
    I need to change some fieds for Acc. Document <BSEG-VBUND>
    Can any one help me to find in which structure or table I can get data for Accounting document

    am using the method POST_DOCUMENT,
    am writing the code like..
    sample code..
    DATA: wa_mseg type mseg,
    wa_mch1 type mch1,
    wa_ausp type ausp.
    loop at it_mseg into wa_mseg.
    *select single * from mch1 into wa_mch1 where matnr = wa_mseg-matnr*
                                                               and charg = wa_mseg-charg.
    if sy-subrc is initial.
    *select * from ausp into wa_ausp where objek = wa_mch1-cuonj_bm*
                                                   and klart = '023'.
    if sy-subrc is initial.
    if wa_ausp-atwrt EQ 'ACCEPTED'.
    continue.
    else.
    if wa_ausp-atwrt EQ 'REJECTED'.
    call function 'popup_to_display_text'.
    endif.
    endif.
    endif.
    endif.
    endloop.
    when i debug ,i find no data in the mch1 table ..
    any help..
    thanx

  • How to use Bapi BAPI_ACC_DOCUMENT_POST for g/l account document posting

    Hi all,
    I am using BAPI_ACC_DOCUMENT_POST bapi for g/l account documents posting.as I am first time using BAPI in my program.can anyone give details about how to use this BAPI for document postings.what importing parameters need to be passed , which exporting parameters need to be passed and which tables need to be used.  
    Thanks in advance.
    Regards,
    Harshada

    Moderator message - Please search before asking - post locked
    Rob

  • Text in accounting document posted against Excise invoice

    Hi,
       We have a requirement that the accounting document posted against excise invoice ( J1IEX) should display a text ( Vendor name and PO No.).
      We have tried entering the text at the time of capture and posting the excise invoice.But this does not reflect in the accounting document text field.
    However we can maintain the same afterwards from transaction FAGLL03.
    Is there any option that we can maintain the same at the time of capturing and posting the excise invoice.
    Also,if I think of defaulting the same ( Vendor name and Po no) is ther any user exit OR BAPI.
    Rajesh

    hi
    yes is their in this go to spro->img->Logistics - General->Tax on Goods Movements->India->Basic Settings->Maintain Excise Groups
    in this for your excise group in *migo settings please put the tick mark in post ei in migo the at the time of migo only the excise invoice will be posted. no need of doing the ji1ex here.
    Thanking you

  • Question on account document posting...

    Hi,
    I am interfacing between 2 systems, one being ECC 6.0 and another the 4.6 system. I am calling the FM ALE_ACC_DOCUMENT_POST with document header containing the BELNR which i assume to be the invoice number (billing document number). Now this is passed to 4.6, and the  BAPI BAPI_ACC_DOCUMENT_POST is called. When this posts (creates) the invoices in 4.6, the VBELN is blank and BELNR is getting the value as it was in ECC 6.0.
    4.6 uses external number range for accounting documents.
    I have a report in 4.6 which checks for bsid-vbeln which I assume to be the invoice number for open  invoices. Right ? But this field happens to be blank for the invoices that got transferred from ECC 6.0. For all other invoices that were create in 4.6, the value in VBELN and BELNR are same.
    I assume that BELNR needs to be set in VBELN too for the invoices passed from ECC 6.0. Am I right ?
    I am not able to do that ALE_ACC_DOCUMENT_POST  FM as there is no field to do so. So how should I achieve this. Hope I am clear.
    thks

    An accounting doc no is an invoice for particular doc types.
    find that accounting doc type which is an invoice
    use SD00 (Billing Document) to pass corresponding billing data to accounting.
    regards
    Arjun
    Edited by: Arjun Subhash on Dec 18, 2008 2:45 PM

  • Accounting Document Post with Ledger Group

    Hi,
    I am trying you post accounting document using 'BAPI_ACC_DOCUMENT_POST', But my requirement is to post the acc documents with 'Ledger Group', I couldn't find any parameter in the  above mentioned BAPI. If anyone come accross same requirement please share your knowledge and suggest me how to proceed with this.
    Before posting this thread I searched for the threads with same category, but i couldn't find sufficient information.
    Regards,
    Narayan

    Hi Navitha,
    I am doing migration as It's a one time activity, If I implement BADI  it will be triggered whenever accounting document posting happens, Is there any other way to pass Ledger group like other BAPI / FM etc ?
    Regards,
    Narayan
    Edited by: narayanasamy rajagopal on Sep 30, 2009 11:08 AM

  • FM or BAPI for resetting Documents

    Hi all,
    Is there any FM or BAPI available for resettign and reversing documents in FBRA. I have a FM for reversing document but i don't have a FM or BAPI for resetting documents. If any one knows answer for this, please suggest me.
    Thanks and Regards,
    Subbu.

    HOPE THIS WILL HELP
    Reset cleared items (FBRA)
    After executing the data in FBRA, the accounting document will be moved from BSAK table to BSIK, after executing the below function module one can check in these table. Never try to select accounting document from BSEG table, it's a cluster table. Try to use key fields when firing query on BASK table. *---Declaration for fun mod
    DATA:  d_bukrs       LIKE rf05r-bukrs,
           d_belnr       LIKE rf05r-augbl,
           d_gjahr       LIKE rf05r-gjahr,
           it_rf05r_acct LIKE rf05r_acct OCCURS 0 WITH HEADER LINE.
    LOOP AT it_bsak.
           CLEAR: d_bukrs, d_belnr, d_gjahr.
           d_bukrs  = it_bsak-bukrs.
           d_belnr  = it_bsak-augbl.
           d_gjahr  = it_bsak-gjahr.
    *---Fuction module to run FBRA
           CALL FUNCTION 'CALL_FBRA'
             EXPORTING
               i_bukrs      = d_bukrs
               i_augbl      = d_belnr
               i_gjahr      = d_gjahr
             TABLES
               t_accnt      = it_rf05r_acct
             EXCEPTIONS
               not_possible = 1
               OTHERS       = 2.
    Endloop.

  • Exit/Badi for Accounting Document

    Dear Friends
    Is there any user exit/BADI for accounting document. My requirement is quite simple which you would also faced in many implimentation. Client wants number ranges business area/plantwise. I was just thinking as plant/business area is a line item field it may be little difficult to have different number range controll at that level, so I thought we could use user id as the import parameter. But these is possible once I get any user exit/badi for number range change. We dont want to create so many document type also.
    Thanks and Regards
    Pankaj Gupta

    Hi Marta,
    Check these notes
    SAP Note 1259505 - FAQ: New cancellation procedure in SD,
    SAP Note 400000 - FAQ: Transaction VF11: Cancellation of SD billing documents
    See with attention note 1259505 question 4. It says
    Most of the userexits in the SD-FI interface (see note 301077) will not be
    performed.
    So, try to do it with BTE's
    Sorry, try with USEREXIT_PRICING_COPY in program RV61AFZA.
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Nov 21, 2011 9:15 AM

  • BAPI for change documents like FB09

    Hi
    I need to change the Assignment Number (ZUONR) Field for several document positions just like FB09 ,
    Does somebody knows a BAPI for change document positions (BSEG) ?
    Regards
    Frank

    Hi,
    Please see this link, It may help you.
    Add documents to materials via BAPI
    Regards,
    Shamma

  • Bapi for parking documents

    Hello!
    Does anyone know a BAPI for parking documents that works ok? (in spanish we call "documentos apartados")
    I have read about it on the internet and it seems that there is no bapi for it.
    I have found bapi for preliminars.... but nothing about parking.
    Thanks you in advance!
    Sabrina.

    Hi,
    If I understand your requirement correctly, you can use BAPI 'BAPI_ACC_GL_POSTING_POST' to park the FI documents. Fill the required interface parameters and call this BAPI.
    Let me know if the requirement is different.
    Regards
    Gangadhar

  • Change profit center for accounting document on item line

    HI
    I need to change profit center for accounting document on item line, for that purpose I have used user-exit EXIT_SAPLV60B_004, but my new profit center gets latly overwritten in FM CO_DOCUMENT_CHECK (which is called from FM AC_DOCUMENT_CREATE). It gets overwritten from COBL. Is there any way to solve this?

    HI,
    possible reasons are :
    In GR document profit center pulled from PO Material :
    If you have ordered with material code, must check profit center assigned into material by mm03/Plant Data2
    If you have ordered without material code, than check cost center assigned Profit center by 1KE4

  • Activity report in REM for each document posting

    Dear All,
    Please help me with , how to get the Activity report for each & every for  MFBF document posted.
    BR,
    Subbu.

    Dear Subbu,
    The report MF12 can help you in getting the postings that has happened for a plant and using the type
    B : Backflush
    Goods receipt, goods issue and activity backflush.
    Check and revert back.
    Regards
    Mangalraj.S

  • When does incompleteness of foreign trade matters for accounting document?

    Hi,
    When creating billing from an SO without delivery, the accounting document is created even though foreign trade data is incomplete.
    While when creating billing from a delivery, the accounting document is not created since foreign trade data is incomplete.
    My question is, When does incompleteness of foreign trade matters for accounting document?
    Please advice.
    Thanks!

    Hi,
    I donu2019t have an exact answer but I take a guess that, when creating billing from a delivery, the accounting document is not created since foreign trade data is incomplete -  it might be because the necessary information for delivery is not maintained, for instance mode of transport for Foreign Trade, Domestic mode of transport (you can see them in billing doc u2013 header u2013 foreign trade/customs) most of the data maintained in material master.
    Whereas for order related billing, these data might not be necessary as it has no delivery.
    Note: This is just a guess.
    Also take a look at the below link. It might be useful for you.
    Re: foreign data incomplete appearing after deactivating
    Good luck
    Sats.

  • Table for Accounting Document of Invoice Document

    Dear All,
      We have accounting doc. table of material document as BKPF(HEADER) & BSEG(ITEM).
      In the same way, can any one share, whats the accounting doc table for Invoice/MIRO??
    Regards
    Mahesh
    Re

    Hi Dear
    actually what table you have mentioned in your thread that table is for Accounting document, it doesn't matter whether the accounting document is created during good receipt or Invoice receipt
    hence BKPF and BSEG is accounting table for invoice as well
    Thanks

  • BAPI for goods reciept posting

    Hi,
         Can Any one provide me BAPI for goods reciept posting.
    Thanks.
    Moderator message: please try finding out yourself before asking.
    locked by: Thomas Zloch on Aug 17, 2010 10:55 AM

    HI,
         Have a look at
    BAPI_GOODSMVT_CREATE
    BAPI_ACC_GOODS_MOVEMENT_CHECK
    BAPI_ACC_GOODS_MOVEMENT_POST
    Regards,
    S.Velsankar
    Moderator message: please do not encourage laziness by replying to such questions!
    Edited by: Thomas Zloch on Aug 17, 2010 11:00 AM

Maybe you are looking for