Vendor invoice stimulation bapi

hi all,
    Any suggestions as to which bapi can be used for determining stimulation for Vendor Invoice Stimulation process using BAPI.
      thanks,
        chetan.

hi sanjeev/srimanta,
  Thanks for your responses.  
   I am following your inputs and will update you soon.
  regards,
  chetan

Similar Messages

  • Vendor Invoices/Customer -BAPI

    Hi all
    Equivalnt bapis to postVendor Invoices/Customer Invoices through f-02 transaction.
    we need to post with and without special GL Indicator. Can anyone let me knw which is the suitable bapi with SAMPLE DATA and MANDATORY FIELDS.
    Thanks
    sha

    Hi,
    Pls try these BAPI's...
    <b>BAPI_ACC_GL_POSTING_POST
    BAPI_ACC_DOCUMENT_POST
    BAPI_ACC_GL_POSTING_CHECK
    FI_GET_POSTING_KEY</b>
    BAPI_ACC_GL_POSTING_POST
    More Information about this:
    Text
    Accounting: General G/L Account Posting Functionality
    You can use this method to update business transactions in Accounting which mainly affect the general ledger and are definitely not updated in subledgers which are relevant to the balance sheet.
    An example of this is a provision posting for an expected guarantee service.
    This can be produce debit or credit entries to balances which are not managed in one of the subledgers relevant to the balance sheet. This is especially applicable if the balances cannot be represented as assets, customers/vendors, materials, loans, etc.
    An example of this is a provision posting for an expected guarantee. However, this can also involve depreciation or write-ups in which values have a higher level of summarization than in the corresponding subledger relevant to the balance sheet in which they are managed.
    An example of this is foreign currency revaluation for receivables/ payables caused by considerable exchange rate fluctuations which is not updated in accounts payable or accounts receivable.
    A similar transaction may come about when revaluating balances for raw materials if the revaluation takes place at a corresponding level of summarization.
    The third cateogry is the reclassification of items to balance sheet accounts or income statement accounts, which is only undertaken in the general ledger in order to balance accounts (values are then finally reassigned to financial statement items).
    Example: Reclassifying balances of receivables with different return times for the balance sheet.
    Restrictions:
    This object cannot be used to update business transactions which are normally posted to one of the subledgers which affects the balance sheet (such as a billing document; for this see the business object AcctngBilling).
    This is especially applicable if the reason the relevant subledger cannot be updated is because it is an external system or is not in use.
    Notes
    If the currency fields have been entered in the CurrencyAmount parameter, the system runs a complete check for the document. Otherwise only the account assignment objects are validated.
    Messages are displayed in the Return parameter. You will find the return values and their meanings in the documentation for this parameter.
    Further Information
    For further information, see the documentation on "Interfaces to Accounting" in the R/3 Library (under "Cross-Application Functions -> Interfaces to External Systems").
    Parameters
    DOCUMENTHEADER
    OBJ_TYPE
    OBJ_KEY
    OBJ_SYS
    ACCOUNTGL
    CURRENCYAMOUNT
    RETURN
    EXTENSION1
    Exceptions
    Function Group
    ACC4
    <b>http://www.planetsap.com/LIST_ALL_BAPIs.htm
    Re: BAPI FOR POSTING FBS1 TRANSACTION</b>
    <b>***Reward Points if Useful</b>
    Regards
    Gokul

  • BAPI Error for Vendor Invoice

    Hi Experts
             I am developing a BAPI to post the Vendor Invoice, I am not clear the parameters to be passed. Anyhow i have filled some parameters and am getting the following error, Can anyone suggest me about the error.
    Error :
    Enter a reference to a valid goods receipt (line 000010)
    Coding :
    data:it_head like bapi_incinv_create_header,
    it_item like bapi_incinv_create_item occurs 0 with header line,
    it_acct like bapi_incinv_create_account occurs 0 with header line,
    it_gl like bapi_incinv_create_gl_account occurs 0 with header line,
    it_mat like bapi_incinv_create_material occurs 0 with header line,
    it_ven like bapi_incinv_create_vendorsplit occurs 0 with header line,
    it_ret like bapiret2 occurs 0 with header line.
    data: inv_doc like bapi_incinv_fld-inv_doc_no,
    fisc_yr like bapi_incinv_fld-fisc_year.
    data: zinvdoc(50) type c, zfiscyr(30) type c.
    clear it_head.
    move 'x' to it_head-invoice_ind.
    move '1000' to it_head-comp_code.
    move sy-datum to it_head-doc_date .
    move sy-datum to it_head-pstng_date .
    move '27-61725' to it_head-ref_doc_no .
    move '200' to it_head-gross_amount .
    move 'inr' to it_head-currency .
    move '27-61725' to it_head-item_text .
    move '1WEAVIN20' to it_head-diff_inv .
    move 're' to it_head-doc_type .
    move sy-datum to it_head-bline_date.
    move '2' to it_head-pmtmthsupl.
    move 'a' to it_head-pmnt_block.
    move 'z' to it_head-pymt_meth.
    move '0001' to it_head-pmnttrms.
    clear it_item.
    it_item-ref_doc = '123'.
    it_item-REF_DOC_YEAR = '2008'.
    it_item-REF_DOC_IT = '10'.
    it_item-po_number = '4511007408'.
    it_item-po_item = '10'.
    it_item-invoice_doc_item = '00010'. " ( i don't know what this is for so i gave this no.)
    it_item-item_amount
    it_item-po_unit
    it_item-freight_ve
    append it_item.
    break pp01.
    call function 'BAPI_INCOMINGINVOICE_CREATE'
    exporting
    headerdata = it_head
    addressdata
    importing
    invoicedocnumber = inv_doc
    fiscalyear = fisc_yr
    tables
    itemdata = it_item
    accountingdata
    glaccountdata
    materialdata
    taxdata
    withtaxdata
    vendoritemsplitdata
    return = it_ret.
    Thanks in advance.
    Regards
    Rajaram

    Hi,
    You have to fill the header and item check out 1,2 point in your code...
    Fill in the item details
          CNT = CNT + 1.
    1.      ITEMDATA-INVOICE_DOC_ITEM = CNT.
          ITEMDATA-PO_NUMBER = WA_EKPO-EBELN.
          ITEMDATA-PO_ITEM = WA_EKPO-EBELP.
          ITEMDATA-TAX_CODE = <XX>.
          ITEMDATA-ITEM_AMOUNT = WA_EKPO-NETWR.
          ITEMDATA-QUANTITY = WA_EKPO-MENGE.
          ITEMDATA-PO_UNIT = WA_EKPO-MEINS.
          APPEND ITEMDATA.
          CLEAR ITEMDATA.
    Header Info
    2.    HEADERDATA-INVOICE_IND = 'X'.
        HEADERDATA-DOC_DATE = EKKO-BEDAT.
        HEADERDATA-BLINE_DATE = EKKO-BEDAT.
        HEADERDATA-PSTNG_DATE = SY-DATUM.
        HEADERDATA-COMP_CODE = EKKO-BUKRS.
        HEADERDATA-CURRENCY = EKKO-WAERS.
       HEADERDATA-GROSS_AMOUNT
        HEADERDATA-CALC_TAX_IND = ' '.
        HEADERDATA-PMNTTRMS = EKKO-ZTERM.
    Regadrs,
    Prabhu Rajesh

  • Problem in  vendor invoice creation through BAPI

    I am trying to create vendor invoice using bapi_acc_document_post but what value have be passed to obj_key and obj_typ fields of header is not clear to me.
    regards,
    anu

    Hi,
    Don't pass any values to OBJ_TYPE,OBJ_KEY.  Many threads are available in SDN regarding this BAPI.
    Search SDN to get more details.
    Regards
    Vinod

  • BAPI required for incoming vendor invoice (without PO)

    Hi,
    Which BAPI can be used to post a "vendor invoice" ie.like a utility bill where there is no PO or GR ?
    The few BAPI's that I have searched and obtained is:
    1. BAPI_INCOMINGINVOICE_CREATE
    2. BAPI_ACC_INVOICE_RECEIPT_POST
    Our exact requirement is to have a BAPI which can take the following fields as input:
    GL Account
    Cost Center
    WBS element
    Material No
    Customer
    Tax Code
    Trade Partner
    Customer group
    And give the following data as response
    Verification number in SAP
    Payment status
    Vendor master data
    Kindly help me to find the correct BAPI.
    Greatly appreciate your help.
    Thanks,
    John

    Hi,
    When we use BAPI_ACC_INVOICE_RECEIPT_POST for posting an invoice without a PO, we are facing major issues.
    We have to input vendor account number and the amount. This should be entered in 'ACCOUNTPAYABLE'.
    Even though there is the field 'VENDOR_NO' for entering the vendor number, there is no field for entering the amount !!.
    Kindly help me to identify where I should input vendor amount as input (either in 'ACCOUNTPAYABLE' or elsewhere).
    Also, I am entering GL account number in field 'GL_ACCOUNT' in the segment 'ACCOUNTGL'. But there is not field to enter the amount.
    Kindly help me to identify where I should input GL account amount as input (either in 'ACCOUNTGL' or elsewhere).
    Thanks,
    John

  • BAPI for Vendor invoice Park FV60

    Hi All,
       Do you knwo any BAPI for vendor invoice Park through FV60, I have tried
       BAPI_INCOMINGINVOICE_PARK  - Got struck where It is asking to pass teh PO data in Itme level, where as i have to uplaod only
       GLaccounts data.
      and i tryed for another  BAPI_ACC_DOCUMENT_POST   but is not working its not related to my requiremment it seems...
    Can any one know better about the process to do this.. pleas let me know..?
      Can anybody did the same, if ues please share with me... its very urgent it need it...
    Thanks,

    use bapi: BAPI_INCOMINGINVOICE_PARK

  • BAPI for Vendor Invoice and Credit memo - FB60

    Hi
    Iam using BAPI_ACC_DOCUMENT_POST for creating Vendor invoice and Credit memo ..Could you please tell me which fields to be populated on the below structures?
    what will be the value i should use for BAPIACHE09-BUS_ACT...RFBU or RMRP?
    ACCOUNTPAYABLE ( BAPIACAP09)
    ACCOUNTGL(BAPIACGL09)
    CURRENCYAMOUNT( BAPIACCR09)
    Only the fields which needs to be populated on these structures when we do FB60 invoice and credit memo using bapi..
    Thanks in advance
    Govi

    Hi,
    Populate in Document_header : (User name, Comp code, Doc DAte, Doc type, Ref Doc No)
                       Account GL : ItemNo_Acc, GL Accuont, REf Key1, Refkey2, Refkey3, Account Type = 'A', Doc Type, Comp code
                                              Account_number, Cost_center
                       Account Payable: ItemNo_Acc, Vendor_No, Rey_key1, Ref_key2, Ref_key3
                      Currency Amount: Item No_Acc = 2, 1
                                                    Curr = USD, USD
                       Amt_Doccur 
    At last use commit bapi.
    Thanks,
    Krishna

  • Can we use BAPI BAPI_ACC_DOCUMENT_POST to upload the vendor invoice?

    Hi,
    Can anybody tell me, can we use bapi BAPI_ACC_DOCUMENT_POST to upload the vender invoice?
    If yes, then which parameters we have to pass, and if no, then which is the other BAPI which is used for
    this purpose?
    Regards,
    Mrunal

    Hi Mrunal,
    Yes you can use BAPI_ACC_DOCUMENT_POST to upload vendor invoices.
    Parameters which are required to be passed are :
    Import tab :
    DOCUMENTHEADER: Mandatory fields for this specififed in documentation for this.
    Table tab:
    ACCOUNTGL: Enteries aganist GL account will be populated in this(check documentation for mandatory fields)
    ACCOUNTPAYABLE: Enteries aganist vendors will be populated in this(check documentation for mandatory fields)
    CURRENCYAMOUNT: in this currency amount aganist GL and vendor entries will specified.
    ITEMNO_ACC field will act as identifier as to amount belongs to which GL or vendor enteries.
    This much parameter are required to post vendor invoices.
    Regards,
    Brajvir

  • Required BAPI for Vendor Invoice Creation

    Hi,
    The transaction code for creation a vendor invoice is FB60. Is there any BAPI to create VENDOR INVOICE.
    Regards!
    kannan

    check...
    <b>BAPI_ACC_INVOICE_RECEIPT_POST</b>

  • Bapi to change payment method for vendor invoices using FB02 - VERSION 4.6C

    Hi all,
    I have a requirment to change payment method from 'A' to 'N' in vendor invoice using tcode FB02 .My system version is 4.6c.
    I am looking for a BAPI which will serve the purpose. I tried but could not find anyone.
    Please help me to find the same, or any OSS note which will help me in this matter.
    Thanks in advance.
    Vengal Rao.

    Hi,
       I think there is no BAPI for this, but can use FM ' FI_ITEMS_MASS_CHANGE '.
    In this FM pass field 'ZLSCH' to table IT_FLDTAB, w_bseg-ZLSCH = 'N'
    and pass your BSEG data to table IT_BUZTAB.  This will help
    Can refer to threat [Any BAPI for "FB02";
    Thanks,
    Anmol.

  • Vendor Invoice Bapi

    BAPI for vendor invoice posting
    Moderator message : Read forum rules before posting. Thread locked.
    Edited by: Vinod Kumar on Jul 28, 2011 5:35 PM

    hi sanjeev/srimanta,
      Thanks for your responses.  
       I am following your inputs and will update you soon.
      regards,
      chetan

  • BAPI for clearing vendor invoice

    Dear SAP Guru's,
                                 I need to make clearing of the invoice made for particular vendors on daily basis, i have tried to look in the forum but i find regarding the posting of vendor invoice but ---
    My requirement is to schedule a z-program which will automatically clear the vendor invoice. i am looking for any relevant BAPI that can be used for the said purpose.
    Thanks in advance,
    Rahul

    Hi Rahul,
    Hey did you get any BAPI to clear vendor invoice.
    Regards
    Neeraj Sharma

  • Required BAPI for Vendor Invoice park

    Hi,
    I need to create vendor invoice upload program which support the withholding functionlity also.
    Normally for vendor invoice parking we use FV60 transaction code. is there any standared BAPI which does vendor invoice park.
    please let me know.
    With Regards!
    kannan.ja

    use bapi: BAPI_INCOMINGINVOICE_PARK

  • BAPI/FM to release Parked Vendor Invoice

    Hi,
    I'm looking for a function module or bapi to release Parked Vendor Invoice (FV60) in background. 
    Regards,
    Steph

    Try  "BAPI_ACC_INVOICE_RECEIPT_POST" or "BAPI_ACC_DOCUMENT_POST"
    Shail

  • BAPI for FV60 tcode parking (Vendor Invoic)

    Hi All,
    I want to park Vendor invoice through FV60 tcode using BAPI
    I got one BAPI (BAPI_INCOMINGINVOICE_PARK), which is doing for incoming invoice i.e. MIR7 only. but it is not suitable for FV60.
    Please help me in finding BAPI for Vendor Invoic (FV60) parking.
    Thanks,
    Ramanjaneyulu Reddy

    Hi. I know it is very late, but I was looking for an answer to this on SDN today and found your post amongst others, but could not find a solution so had to have a look through SAP in more detail.
    I have managed to get a finance invoice to park just like FV60 using function module PRELIMINARY_POSTING_FB01.
    To find the right data to pass the easiest way is to park an invoice manually in FV60, then call function PRELIMINARY_POSTING_DOC_READ and get the data for the parked invoice.
    Then just populate all the same fields in PRELIMINARY_POSTING_FB01 apart from the document number and it should work fine.
    I hope this was of some help.
    Regards,
    Dave.

Maybe you are looking for