BAPI for subsequent credit memo in MIRO transaction

hi,
i need to upload the data for subsequent credit memo in MIRO transaction using BAPI.
Is there any BAPI for subsequent credit memo in MIRO transaction?
Thanks & regards
Prajwala

Hi,
I am not 100 percent sure but try this BAPI:
BAPI_INCOMINGINVOICE_CREATE.
Regards,
Rahul

Similar Messages

  • BAPI for  Invoice Credit Memo

    Hi Guys,
    Can you plz help me which BAPI is used  for Invoice credit memo.
    Thanks and regards
    Praveen

    use...
    'BAPI_CRED_MEMO_CREATEFROMDAT2'
    data: con_cr_memo_bus_obj like BAPIUSW01-OBJTYPE value 'BUS2094'.
    CALL FUNCTION 'ZBAPI_CRED_MEMO_CREATEFROMDAT2'
    EXPORTING
    ORDER_HEADER_IN = bapi_hdr
    business_object = con_cr_memo_bus_obj
    convert = 'X'
    IMPORTING
    SALESDOCUMENT = bapi_salesdoc
    TABLES
    return = bapi_ret_tbl
    ORDER_ITEMS_IN = bapi_itm
    ORDER_PARTNERS = bapi_prtnr
    ORDER_ITEMS_inx = bapi_itm_out
    order_schedules_in = bapi_schd_lin
    order_text = bapi_text.
    AND in the cloned ZBAPI above in SE37/80, add this Importing parameter: BUSINESS_OBJECT LIKE BAPIUSW01-OBJTYPE
    Please have a look in older topics:
    MWST taxcondition missing bapi_salesorder_createfromdat2
    sales order with reference to quotation
    Message was edited by: kishan negi

  • Trigger output for subsequent credit invoice in MIRO

    hi
    We have a requirement for triggering  the output Message only for  subsequent credit type  Invoice only in MIRO. Is there a way to achieve this ?

    Hi,
    Please check the link for answers.
    Output type for miro
    Hope this helps.

  • Bapi for debit/credit memo creation

    Dear all,
    I am using the BAPI_SALESORDER_CREATEFROMDAT2 for creating a credit/debit memo, the following error is displayed.
    "Unpermitted Combination of Business object BUS2032 & Sales Doc Category type K"
    Could you please provide me a solution and let me know if there are any BAPIs to create credit/debit memos.
    Thanks in Advance.
    Regards,
    Raj

    Raj you can try with these also:
    use...
    'BAPI_CRED_MEMO_CREATEFROMDAT2'
    data: con_cr_memo_bus_obj like BAPIUSW01-OBJTYPE value 'BUS2094'.
    CALL FUNCTION 'ZBAPI_CRED_MEMO_CREATEFROMDAT2'
    EXPORTING
    ORDER_HEADER_IN = bapi_hdr
    business_object = con_cr_memo_bus_obj
    convert = 'X'
    IMPORTING
    SALESDOCUMENT = bapi_salesdoc
    TABLES
    return = bapi_ret_tbl
    ORDER_ITEMS_IN = bapi_itm
    ORDER_PARTNERS = bapi_prtnr
    ORDER_ITEMS_inx = bapi_itm_out
    order_schedules_in = bapi_schd_lin
    order_text = bapi_text.
    AND in the cloned ZBAPI above in SE37/80, add this Importing parameter: BUSINESS_OBJECT LIKE BAPIUSW01-OBJTYPE
    Please have a look in older topics:
    <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="95866"></a>
    <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="82006"></a>
    Also:
    Did you try BAPI_INCOMING_INVOICE_CREATE with DOC_TYPE (CREDIT MEMO) field in BAPI_INCINV_CREATE_HEADER.
    Amit.

  • BAPI for vendor credit memo posting by FB65

    Hi guys,
    I need a BAPI to post vendor credit note by FB65.
    I am trying BAPI_ACC_DOCUMENT_POST, but I cannot find the fields to fill with the information we input at FB65 Payment tab, such as: Inv. Ref (document, year and item ).
    Could anybody help me?
    Cheers,
    Karla.

    HI ,
    Please Find below the relevant code to Fill the Fields while calling the BAPI for FB65
    step1.
    First of all fill the wa_bapiheader.
    *header data
        wa_bapiheader-username = sy-uname.
        wa_bapiheader-comp_code = wa_final-bukrs.
        wa_bapiheader-doc_date = sy-datum.
        wa_bapiheader-pstng_date = sy-datum.
        wa_bapiheader-doc_type = c_blart.
        wa_bapiheader-ref_doc_no = 'GROWPAY'.   "Can be the refrence text
        w_waers = wa_final-waers.
    Step2.
    Fill this internal table. i_currencyamount  and i_accountgl.
    i_final will be the Internal table conating all the Relevant data for Posting the Document.
    Loop at  i_final into wa_final.
    ADD 1 TO w_acc_lno.
        wa_accountgl-itemno_acc = w_acc_lno.        
        wa_accountgl-gl_account = wa_final-saknr.    "G/L Account
        wa_accountgl-plant = wa_final-werks.             " Plant
        wa_accountgl-costcenter = wa_final-kostl.       " Cost Center
        wa_accountgl-cond_type = wa_final-knumv.    "From EKKO for the Purchase Order
        wa_accountgl-po_number = wa_final-ebeln.    " Purchase Order no
        wa_accountgl-po_item = wa_final-ebelp.         " Line item in PO
        APPEND wa_accountgl TO i_accountgl.
        CLEAR : wa_accountgl.
        wa_currencyamount-itemno_acc = w_acc_lno.
        wa_currencyamount-currency = wa_final-waers.
        wa_currencyamount-amt_doccur = wa_final-kbetr.
        w_sum = w_sum + wa_final-kbetr.
        APPEND wa_currencyamount TO i_currencyamount.     " G/L line item
        CLEAR : wa_currencyamount.
    *item  data
          wa_accountpayable-itemno_acc = 1.
          wa_accountpayable-vendor_no = wa_final-lifnr.
          APPEND wa_accountpayable TO i_accountpayable.
    *Amount for the vendor line item.
          CLEAR : wa_currencyamount.
          wa_currencyamount-itemno_acc = 1.
          wa_currencyamount-currency = w_waers.
          wa_currencyamount-amt_doccur = 0 - w_sum.
          INSERT  wa_currencyamount INTO i_currencyamount INDEX 1.
    Step 3.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
              EXPORTING
                documentheader = wa_bapiheader
              TABLES
                accountgl           = i_accountgl
                currencyamount = i_currencyamount
                accountpayable = i_accountpayable
                return                 = i_result_out.
    i_result_out will conatin the messages returned by the BAPI.
        based on i_resuklt_out that is if the posting is Successful....call commit
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
                     Wait = X.
    Endloop.
    I hope the above code may solve your problem....Thanks
    Regards ,
    Sonu Krishna.
    Edited by: Sonu Krishna PV on Aug 6, 2009 11:03 AM

  • Bapi for cuatomer credit memo  f-27

    which bapi i should use in order to create cuatomer credit memo. F-27
    and how.

    Try to use this BAPI : BAPI_SALESDOCU_CREATEFROMDATA1 with sales order type 'CR'.
    Hope this link [Create credit memo request]helps you.Please check..
    Thanks,
    Manjula

  • MIRO subsequent Credit Memo

    Hello Everyone,
    When I am posting a subsequent credit memo through MIRO for a Purchase Order with account  assignment category Asset,
    I am getting the following error message
    "Balance for transaction type group 10 negative for the area 01
    Diagnosis
    With the transaction entered, the balance for the transactions in group 10 in area 01 will be negative in this fiscal year. However, the balance of transaction type group 10, according to its definition, must be positive in each fiscal year.
    System Response
    The system rejects this posting.
    Procedure
    Check the transaction type, the amount and the fiscal year in your posting. If you want to post a credit memo to an acquisition from the previous year, then use a transaction type for a retirement. If necessary, you can change balance rules after talking with your SAP consultant".
    Can you please let me how to change the Transaction type in MIRO or how to go abt this issue.
    Thanks in Advance
    Vaman A

    Hi,
    Good evening and greetings,
    The solution for your problem is as below
    For this posting change the +/- sign allowed for the transaction type group to '*'.
    First you must activate the maintenance of the table in the ABAP dictionary for table TABWG (transaction SE11).
    You should then call transaction SE16. Enter table TABWG and select the affected transaction type group. Set the value '*' in field VZJSA.
    Once you have made the posting, you should decide whether you want to set the /- sign check again (VZJSA = ''), or whether a negative balance should continue to be allowed for this transaction type group.
    Alternatively, you can also change the proposed transaction type for the invoice receipt of affiliated companies. To do this, go to IMG Asset Accounting -> Transactions -> Determine transaction type for internal transactions.
    Instead of transaction type 152, enter transaction type 151 there under 'Acquisition from invoice receipt (affiliated)'.
    Check whether transaction type 151 in your system corresponds to the transaction type 151 described in note 327088.
    This is as per SAP OSS Note 139899 - AA629 when posting MR01/MRHR/MIRO invoice receipt
    Please reward points if found useful
    Thanking you
    With kindest regards
    Ramesh Padmanabhan

  • Standard SApScript / Smartform name for FB75 (credit memo) transaction

    Need to know Standard SApScript / Smartform name for FB75 (credit memo) transaction..

    hi
    check SPRO>Financial Accounting>Accounts Receivable and Accounts
    Payable>Customer Accounts>Line Items>Correspondence>Carry Out
    and Check Settings for Correspondence
    surya

  • Cenvat Adjustment for subsequent credit/debit posted

    Hi Everybody,
                Is it necessary to do  Cenvat Adsjustment in J1IH for subsequent credit/debit posted against PO.
    If  i want to do adjustment how to do and for  subsequent credit what's the option to be choose in J1IH and same for the subsequent debit.
    Regards
    Govindaraj

    Hello Rish,
    Please, be aware that if you look at the document at MIR4/MIRO etc, they will apear as a INVOICE/CREDIT MEMO (in the "Drop down" box, in the top of transaction)even if they are sub. credit/deb, but that is the standard system behavior ! In order to check if it is a Subcequent debit/credit, you can check directly into rbkp table or even better, just check in the PO history! it will be in a separate category !
    Give it a check if this is not the case!
    Regards!

  • Subsequent Credit Memo

    I have a requirement to post a subsequent credit memo that have been send by some vendors in order to make correction to the prices that they have charged in a previous invoice.
    I need therefore to post a subsequent credit memo for a purchase order that have already been invoiced. The PO contains a great number of items and the subsequent credit memo that is received from the vendor contains only one value. How can the system determine and split this value to the items of the PO?
    Do I have to do something in the customizing??

    Hi,
    as you know when you post a subsequent credit if the price in the invoice is too high.th total quantity invoiced for the purchase order item remain same,total valu invoice is reduced
    as you got invoice from vendor for small amount,now you want to split this amount amoung all item
    i dont think there is any customization for same
    you have to reduce it maunally as per item
    Regards
    Kailas ugale

  • You cannot supply payment terms for your credit memo

    Hi,
    My req is as per below,
    1) I would like to apply payment terms on credit memo screen throgu auto invoice creation.
    When i tried to update ra_interface_lines_all.term_id then i got error message : You cannot supply payment terms for your credit memo
    Can someone gudie me.How is it possible?
    Thaks,
    Raj
    Edited by: RajPatel on Sep 23, 2009 8:33 AM

    Hi octavio,
    Thanks for your valuable input.
    You are right and also I found from metalink...
    Subject: 11.5-AR-How Can You Enter Payment Terms For Credit Memos
    Doc ID: 249547.1 Type: HOWTO
    Modified Date: 16-DEC-2003 Status: PUBLISHED
    goal: How can you enter payment terms for Credit memos
    fact: Oracle Receivables 11.5
    fix:
    Payment terms cannot be used in Credit memos. This is standard functionality.
    The trx_date/gl_date of the credit memo transaction is the date which is
    considered as the due date of the credit memos. This is the current
    functionality.
    Thanks,
    Raj

  • Credit memo using MIRO

    Hi
    My organization is doing credit memo using MIRO for both stock and non stock materials.But P&L G/L account is not getting credited with this entry.
    <b>Following are the flow of entries as per my knowledge-------</b>
    <b>1.When we receive materials(MIGO)</b>
    <b>Debit</b> -Stock(in case of stock materials) OR consumption account in case of non stock material
    <b>Credit-</b>  GR/IR Account
    <b>2.When inv verification done(MIRO)</b>
    <b>Debit</b> GR/IR Account
    <b>Credi</b>t Vendor
    <b>3.If I want to give normal credit memo I can use FV60 or MIRO</b>.
    MIRO is used in case of quantity reduction .
    If I used MIRO following is the entry happening.
    <b>Debit</b>-Vendor
    <b>Credit</b>-GR/IR Account
    During the third step G/L consumption account or stock account is not getting credited.This is resulting with unnecessary credit in GR/IR account and G/L account is not getting reversed.
    Can any one please advise whether this is the right procedure?If so why G/L account is not getting reversed?
    OR
    Do we need to post additional entry again debiting GR/IR account and crediting Stock or consumption account????
    Please advise ASAP.
    thanks
    Henfi<b></b>

    Hi,
    During credit memo, the G/L or consumption accont will not credited.
    The concerned material doc has to be reversed through migo also in MM.
    the steps is as under.
    1.  MIRO - Credit Memo
    Entries
    Dr. Vendor
    Cr. GR/IR Clearing account
    2.  MIGO - Select return delivery.
    Entries
    Dr. GR/IR Clearing account
    Cr. Inventory / consumption account.
    The GR/IR account gets nullified and the inventory or consumption account will get reduced.
    For any further queries, contact me on 9963233322
    Regards,
    Vinod S

  • BAPI to create credit memo requests in SAP

    Hi All,
    I have a requirement to create Credit memo request in SAP SD. I'm trying to use the BAPI which is used for Sales order creation - BAPI_SALESORDER_CREATEFROMDAT2 since credit memos are also sales orders of diff. sales document type. However, the BAPI throws an error as follows
    "Unpermitted combination of business object BUS2032 and sales doc. category K". 
    Does this mean that the business object BUS2032 does not support creation of cerdit memo request ? If yes, can anyone suggest an alternate BAPI  to be used to address this requirement ?
    Thanks,
    Venkat.

    Hi Venkatesh,
    Thanks you for your post, your post has helped me a ton in my work, Infact I was working on BAPI to
    Create Credit Memo request i.e BAPI_SALESORDER_CREATEFROMDAT2 as expected i got the same error as "Unpermitted combination of business object BUS2032 and sales doc. category K" and i tried on  other BAPI it worked, Just i need to know BUS2032 doesn't support Credit Memo Request, How we can find it
    to what Sales document it support?

  • GL Entries of  Excise JV for Subsequent Credit in J1IH

    Hello Friends ,
    Kindly guide me with an issue :
    The issue is for an exciseable material I have done POMIGOMIRO , now I want to do subsequent credit for the same PO due to some changes in the rates , I raise a subsequent credit and then I go to J1IH to make cenvat adjustment, here I enter the subsequent credit document no., select additional excise option & then I enter the material no , qty etc.
    Now when I am determining the GL , following entries are shown:
    CR   G/L ACT-XXXXXX        AMT -Rs XXXX         PROVISONAL LIABILITY VENDOR
    DB   G/L ACT-XXXXXX        AMT -Rs XXXX         CENVAT INPUT SEC -EX GRP-XXX
    DB   G/L ACT-XXXXXX        AMT -Rs XXXX         CENVAT INPUT BED -EX GRP-XXX
    DB   G/L ACT-XXXXXX        AMT -Rs XXXX         CENVAT INPUT ECS -EX GRP-XXX
    My question is as I am doing subsequent credit , the cenvat input account should get credited & vendor provisional liability account should get debited.
    Kindly guide me about the entries & also what i need to do  to get correct entries
    Thanks
    Edited by: dgn21 on Dec 17, 2010 12:27 PM

    Credit memo is used to reduce the vendor liability with change in qty.
    Credit memo is done in case of material to be returned to vendor. When you post a credit memo, the postings are reversed from the GR/Ir clearing account and the vendor account. But when you post a subsequent credit/debit the postings will be to the stock account and the vendor account.
    The account postings for a subsequent debit/credit depend on the quantity that the subsequent debit/credit applies to:
    If the quantity of the subsequent debit/credit is smaller than or the same as the quantity delivered, the system tries to post the subsequent debit/credit to the stock account. If the material is valuated with a standard price or if there is insufficient stock coverage for the quantity to be debited or credited, the amount is posted to a price difference account.
    If the quantity of the subsequent debit/credit is larger than the quantity delivered, the system distributes the relevant amount proportionally. The part of the subsequent debit/credit that does not have a goods receipt is posted to the GR/IR clearing account. The remaining amount is posted to the stock account u2013 or in the case of standard price control or insufficient stock coverage u2013 to a price difference account.
    if you create one more invoice, the qty invoiced will be increased by the qty you mention in the invoice.
    ie if you have posted an invoice for 100 qty @ 10 per qty and again if you try to post the difference amount of 250 for total 100qty, system will update the invoice qty as 200, and it is wrong.
    You have to use subsequent credit/debit.
    So the thumb rule is that, if only value changes after Invoice verification, use subsequent credit/ debit and if there is qty and value changes, use credit memo / invoice.
    After subsequent credit/debit u have to pass JV if the material is excisable,
    select other adjst for subsequent credit and additional excise for subsequent debit.
    hope it helps

  • Due date calculation for the credit memo with invoice reference.

    Hi,
    When we create the credit memo with reference to invoice, the due date for the credit memo is getting copied from Invoice. In this case if the invoice is due on 31.12.2008 and the credit memo is created on 10.09.2009, then the credit memo due date is appearing as 31.12.2008. It should be 10.09.2009 as per the setting in VOFA billing type customisation in "Credit Memo w/vldt".
    I would like to know how to customise the below requirement.
    If the reference invoice is due after the credit memo creation, the the credit memo should due as per the invoice date.
    If the invoice due is past & then the credit memo due date should be Immediate i.e. Due Immediately.
    Thanks in advance for help.
    Regards,
    Nithin

    I doubt there is such option. From the past projects I do remember that we made a change in the form to print the document date as 'Due Date' for credit memos. Credit memos were paid at once when they were processed and I think that payment term was copied from the original invoice, which made their due date far in future.

Maybe you are looking for

  • Hard drive installation problem, please help

    I installed a new hard drive and get a prompt: "No bootable device -- insert boot disk and press any key" I then insert the Mac OS install disk 1 and press a key and nothing happens -- it stays at the above prompt. What do I need to do?

  • Dynamic table in Offline interactive form

    Hi Experts,           I want to add dynamic table (for Purchase Order line items). Number of rows in table will depend on item in purchase order. So, table rows should be added and data can be entered in table rows.          Can anyone give me the st

  • Imformattedport Universal disc format (UDF)

    Hi I want to import a Universal disc formated disc into iMovie, any one know how?

  • SQL - VMM Cluster Configuration Understanding

    Dear All,             I am building a two-node failover cluster on SQL Server 2012 SP1 (inside Hyper-V as a Guest Cluster) and want clarification on few things that I am facing. 1.  I am receiving MSDTC Warning.  I can go ahead and create the cluster

  • Displaying subtotals for each group item in a Matrix or Group Matrix Report.

    Hi, I have generated a Report as follows: month1 month2 month3 M1 R1 P1 x y z P2 a b c R2 P3 d e f M2 R3 P4 g h i R4 P5 k l m Is it possible to display the subtotals per each category as follows: month1 month2 month3 M1 R1 P1 x y z P2 a b c ---------