Credit Memo posting using IDOC

Hi,
I could post an invoice using IDOC using the function module IDOC_INPUT_INVOIC_MRM.
I need to post a credit memo (MIRO) using IDOCs now.
Any suggestions?
thanks
Srinivasa Vepa

Hi,
We created our own Function Module to create a Credit Memo with reference to a billing document via BDC, and the VBFA doc flow population was automatic. I do recall we have to do some work to get the iDoc relationships working though.
Regards,
Satish Muvva.

Similar Messages

  • Credit memo posting using SUS (in SRM 7.0)

    Hello,
    We are implementing SUS in SRM 7.0.
    We are facing issues in Credit memo processing through SUS though Invoice gets posted properly.Probably I am missing some configuration step.
    Could anyone please share the set up for credit memo process using SUS?
    Thanks
    Raman.

    Hi,
    P-Card is not supported in Classic Scenario because of MM side capability.
    Configuration Guides are available in SAP Solution Manager or offline download version in http://service.sap.com/srm-inst .
    Regards,
    Masa

  • Create credit memo request using inbound IDOC

    Hi Experts,
    I want to create credit memo request using inbound IDOC, currently I am using GSVERF03 basic type and process code GSVE, I am getting below error:
    No records exist in T661W for vendor XXXXX, plant, unloading point
    Anyone suggest me is this correct message type to create credit memo request or suggest me the correct one. because we are working with customer sales order and invoice not with vendor purchase order.
    Thanks for your help.

    ah, apologies i read outbound! I think you are using the correct message type i.e. GSVERF.
    Can you not simply create the missing entry in T661W? i.e. for the missing records?

  • Credit Memo Posting key

    Hello every one,
    Can some one gave me the exactly posting keys used for Credit Memo document?
    I know the following  Credit Memo Posting key:
    11 for Customer document
    21 for Vendor document
    ?  Assets document
    ?  GL Acounts document
    ? Material Document
    Please don't hesitate to inform me, if you can....
    Ouail.

    Thank u Very Much Vera, it was helpful.
    I have a another question in tax Reporting:
    In the tax code in reporting, can you tell me witch line (in example below) get the priority in reporting ?
    Item = 1 and item = 2 ?
    OR
    Item = 2 and item = 3 ?
    We have to based on the field transaction(mws/vst)? if yes -> who get the priority ? mws or vst?
    Tax code:
    TR -->     Transfer to other EU country
    TX-->      acq of stock in DE
    Transaction:
    MWS-->
    Output Tax
    VST-->
    Input Tax
    WIA1-->
    Input Tax Dest. Ctry
    WIA2-->
    Output Tax Dep. Ctry
    WIA3-->
    Output Tax Dest.Ctry
    Thank u.
    Ouail.

  • Vendor Credit Memo posting to Asset when invoice did not

    Hi Experts,
    We are on SAP 604 and have the following scenario.
    PO to purchase an asset at $10,000.  (not an inventory item).
    Goods receipt has NOT been done.
    1st invoice comes in but is only for half of the asset.  (.5 qty at $5,000)  does not post to asset since there is no GR done.
    Postings:
    Debit 201010 $5000
    Credit 201015 $5000
    2nd invoice is data entered wrong.  It is for the remaing half but Acts Pyble enters quanty of 1 instead of .5.
    Debit 201010 $5000
    Credit 201015 $5000
    When reversing the second invoice (or even just entering a credit memo), instead of the posting doing a simple reversal of hte invoice like this :
    Debit 201010 $5000
    Credit 201015 $5000
    SAP posts to the asset even though there has yet to be any other postings done to the asset (no GRs and no invoices have posted to the asset).  Credit Memo posts like this:
    Credit 201010 $5000
    Debit 201015 $6666.67
    Credit Asset: $1666.67
    Please confirm whether you see this posting as an issue for the asset.  I have posted an OSS message to SAP and they are saying the system is working as designed unless I gather enough business requirements to do a development request.  I'm trying to see if this posting is just an issue for my organization.  Typically we would not expect a Credit Memo to capitalize the Asset.  - Or if you know of a fix, please let me know.
    Thanks!
    Cindy

    If you do not want negative posting/ balances in your asset, you can configure the depreciation areas to allow positive values only. That way if balance is negative (as in your example), posting is not allowed.

  • Problem while creating credit memo request using BAPI

    HI,
    I am trying to create credit memo request using the BAPI_SALESDOCU_CREATEFROMDATA1..
    I am getting the error as " No customer master data is available for the customer". But the customer exists in the KNA1 table. What is the mistake i hv done.. this s my code..
    REPORT  ZSV_CREDITMEMO_TEST1.
    Data declarations.
    DATA: v_vbeln            LIKE vbak-vbeln.
    DATA: header             LIKE bapisdhead1.
    DATA: headerx            LIKE bapisdhead1x.
    DATA: item               LIKE bapisditem  OCCURS 0 WITH HEADER LINE.
    DATA: itemx              LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
    DATA: partner            LIKE bapipartnr  OCCURS 0 WITH HEADER LINE.
    DATA: return             LIKE bapiret2    OCCURS 0 WITH HEADER LINE.
    DATA: lt_schedules_inx   TYPE STANDARD TABLE OF bapischdlx
                             WITH HEADER LINE.
    DATA: lt_schedules_in    TYPE STANDARD TABLE OF bapischdl
                             WITH HEADER LINE.
    DATA: lt_schedules_ink    TYPE STANDARD TABLE OF bapisdhead1
                             WITH HEADER LINE.
    START-OF-SELECTION.
    Header data
    Sales document type
      header-doc_type = 'G2'. 
      headerx-doc_type = 'X'.
    Sales organization
      header-sales_org = '0001'.
      headerx-sales_org = 'X'.
    Distribution channel
      header-distr_chan  = ''.
      headerx-distr_chan = 'X'.
    Division
      header-division = ''.
      headerx-division = 'X'.
      headerx-updateflag = 'I'.
    *Complete delivery
        header-COMPL_DLV = ''.
        header-COMPL_DLV = 'X'.
    Partner data
    Sold to
      partner-partn_role = 'AG'.
      partner-partn_numb = '0000C10130'.
      APPEND partner.
    Ship to
      partner-partn_role = 'WE'.
      partner-partn_numb = ''.
      APPEND partner.
    ITEM DATA
      itemx-updateflag = 'I'.
    Line item number.
      item-itm_number = '000010'.
      itemx-itm_number = 'X'.
    Material
      item-material = 'C20011'.
      itemx-material = 'X'.
    Plant
      item-plant    = ''.
      itemx-plant   = 'X'.
    Quantity
      item-target_qty = '10000'. 
      itemx-target_qty = 'X'.
    item category
      itemx-ITEM_CATEG = 'X'.
      APPEND item.
      APPEND itemx.
      Fill schedule lines
      lt_schedules_in-itm_number = '000010'.
      lt_schedules_in-sched_line = '0001'.
      lt_schedules_in-req_qty    = '10000'.
      APPEND lt_schedules_in.
      Fill schedule line flags
      lt_schedules_inx-itm_number  = '000010'.
      lt_schedules_inx-sched_line  = '0001'.
      lt_schedules_inx-updateflag  = 'X'.
      lt_schedules_inx-req_qty     = 'X'.
      APPEND lt_schedules_inx.
    Call the BAPI to create the sales order.
      CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
           EXPORTING
                sales_header_in     = header
                sales_header_inx    = headerx
           IMPORTING
                salesdocument_ex    = v_vbeln
           TABLES
                return              = return
                sales_items_in      = item
                sales_items_inx     = itemx
                sales_schedules_in  = lt_schedules_in
                sales_schedules_inx = lt_schedules_inx
                sales_partners      = partner.
    Check the return table.
      LOOP AT return WHERE type = 'E' OR type = 'A'.
        EXIT.
      ENDLOOP.
      IF sy-subrc = 0.
        WRITE: / 'Error in creating document'.
      ELSE.
    Commit the work.
        COMMIT WORK AND WAIT.
        WRITE: / 'Document ', v_vbeln, ' created'.
      ENDIF.
    can anyone tell what the error is.?

    Hi
    please look at code below code this succefully creating credit memo may some help to you
    header-doc_type = 'ZS4'.
        PERFORM get_plant.
        headerx-doc_type    = 'X'.
        header-sales_org    = wa_temp1-vkorg.
        headerx-sales_org   = 'X'.
        header-purch_no     = wa_temp1-bstnk.
        header-distr_chan   = wa_temp1-vtweg.
        headerx-distr_chan  = 'X'.
        header-division     = wa_temp1-spart.
        header-purch_no_s   = wa_temp1-bstnk.
        headerx-division    = 'X'.
        wa_partner-partn_role = 'AG'.
        wa_partner-partn_numb = wa_temp1-kunnr.
        APPEND wa_partner TO it_partner.
        wa_partner-partn_role = 'WE'.
        wa_partner-partn_numb = wa_temp1-kunnr.
        APPEND wa_partner TO it_partner.
        CLEAR: wa_partner.
        LOOP AT lt_temp2 INTO wa_temp2 WHERE kunnr = wa_temp1-kunnr.
          "AND matnr = wa_temp1-matnr.
    *wa_item-itm_number = wa_temp2-posnr .
          wa_item-material   = wa_temp2-matnr.
          wa_item-plant      = wa_temp2-werks.
          wa_item-req_qty    = wa_temp2-fkimg * 1000.
          wa_item-target_qty = wa_temp2-fkimg * 1000.
          APPEND wa_item TO it_item.
        ENDLOOP.
        CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT1'
          EXPORTING
            order_header_in       = header
    *   WITHOUT_COMMIT            = ' '
    *   CONVERT_PARVW_AUART       = ' '
         IMPORTING
           salesdocument          = v_vbeln
    *   SOLD_TO_PARTY             =
    *   SHIP_TO_PARTY             =
    *   BILLING_PARTY             =
           return                 = return
          TABLES
           order_items_in         = it_item
           order_partners         = it_partner.
        IF v_vbeln <> space.
          wa_vbeln-vbeln = v_vbeln.
          APPEND wa_vbeln TO lt_vbeln.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              wait = 'X'.
          HIDE wa_vbeln-vbeln.
          CLEAR: wa_partner,header,v_vbeln, wa_temp2.
          REFRESH: it_partner,it_item.
        ELSE.
    *    LOOP AT return .
          it_error-srno = idx.
          it_error-err_msg = return-message.
          APPEND it_error.
    *    ENDLOOP.
        ENDIF.
        idx = idx + 1.
      ENDLOOP.
    Regards

  • Credit Memo posted against Service PO

    Hello Experts,
    Our client wants Credit memo posted against Service Order PO's should credit the Service Entry sheet. This credit memo should reflect in PO history as well. Is there any such configuration? or how to meet this requiement...
    Please suggest.

    Hi Sridhar,
    Its a business requirement.
    Suppose we have posted SES of total value 1000 USD. The same will be reflected in the actual value in Limit section of PO.
    So when, after IR, we post credit memo it should reflect in the actual value. Say after posting credit memo of 200 USD, the actual value becomes 800 USD.
    Came to know from somewhere that the problem is in configuration but not able to find out the same.
    Can you please help.

  • Non-po invoice posting using IDOC into LIV module

    Hi,
    does anyone know if idoc interface is available for posting non-po invoice as an LIV invoice into MM module. what  I found that I can post the idoc to FI module directly using message code - FI.
    Thanks.

    Hi
      I Got your name from this site.I would be very thankful if you can help me here.I am designing a EDI based invoice LIV.Is it possible to post some charges which are without PO reference but are coming in Vendor Invoices.Is it possible to post these kind of charges with EDI message INOIC01 or we have to post through FI posting.If possible through EDI in which segment of IDOC we will enter these charges with amt.Also is it possible to post credit memo also with EDI
    Thanks
    Sanjeev

  • MIRO - Credit memo posted before invoice

    Hello,
    I have a problem with MIRO.
    User is able to introduce credit memo to purchase order even if there was no invoice yet.
    The strange thing is that when he introduce PO number in MIRO (credit memo) system issue a message __M8080 Reversal quantity greater than quantity invoiced to date__ and that is ok but after user will click on multi account assignment and get the same mesaage "Reverse qty greater than qty credited so far Message no. M8476" but after he close the pop up with account assignemnt and back to main screen there is no message M8080 any more and user is abl;e to post credit memo with negative quantity what finally issue ABAP  error DYNPRO_FIELD_CONVERSION
    Screen name.............. "SAPLMR1M"
    Screen number............ 6310
    Screen field............. "DRSEG-REMNG"
    Error text............... "FX015: Sign lost.".
    When I would like to display invoice (credit memo) in MIR4 or from ME23n history.
    But the main question is why system clears message M8080 after clik on multi account assignement.?
    Thanks in advance for your help.....
    Edited by: PG on Sep 2, 2011 10:19 AM

    Hi,
    THis is definetly a issue related to SAP Note.
    Try this SAP note in dev.
    Note 1332137 - MIR6/MIR4: Negative quantity with parked documents
    Summary
    Symptom
    You use transaction MIR4 (Display Invoice Document) or MIR6 (Invoice Overview) to post a parked credit memo with reference to a purchase order.
    You change the item quantity (MENGE) so that it is greater than the current invoice quantity (REMNG) and, without pressing "Enter", you immediately choose "Post". Even though the system executes the quantity check correctly, and error message M8 080 "Reversal quantity greater than quantity invoiced to date" is displayed in the message log, the system unexpectedly allows this credit memo to be posted.
    As a result, when you display or create invoice documents for this purchase order, the ABAP short dump DYNPRO_FIELD_CONVERSION occurs.
    Solution
    The Support Packages for Releases 4.70, 5.00, 6.00, 6.02, 6.03 and 6.04 correct this error.
    If you require an advance correction: Implement the correction instructions.
    Hope this will resolve your query,
    Regards,
    Sandesh Sawant

  • BAI2 Lockbox Issue-Credit memo posting

    When a credit memo (Document found) is processed through the
    lockbox, the payment amount/residual amount is calculating incorrectly.
    The check is posting on account. The issue is visible during post-
    processing (FLB1)
    For example, if the credit memo is -$4428, the residual amount is
    showing as 4,428.00. This should be zero since the record is contained
    in the BAI2 file as shown below:
    401800560101962934 00000000000000442800
    Another way of looking at this issue is that the payment amount is
    showing as -$8,856 rather than as -$4428.
    We are not using reason codes.

    We are on version SAP ECC 6.0. The credit information is in the right 10 characters of the amount field (DDAMT) in the FLB24 structure.
    PYAMT     PYAMT_FLB2     NUMC     10     0     Payment Amount
    DDAMT     DDAMT_FLB2     NUMC     10     0     Deduction amount
    The check contains 4 documents all of which are found and the amounts are matching. The first "4" record is the credit memo. The other 3 invoices are regular payments. The check total processes and posts on account at the correct value.
    401800560102934            00000000000000440000
    401800560204209            00070000000000000000
    401800560304212            00030000000000000000
    401800560494211            00045000000000000000
    The check amount is for 140,600.00
    When post-processing, the invoices are listed and the payment amount shows as follows
    invoice#  Inv amt      payment amt
    2934       -4400         -8800
    4209      70000         70000
    4212      30000         30000
    4211     45000          45000
    My OSS note search has been unsuccessful thus far.

  • Intrastat report Spain. Credit memos posted not appearing in report

    Hi
    I have a issue where the debit notes raised to vendor are not appearing in Intrastat  declaration.
    How this debit and credit notes must be taken by Intrastat ? This problem is there since the Intrastat  report is being used.
    Is there any specific configuration for this or
    is there any period check because of which the debit notes are not picked?
    The reason is po was created in Feb 2009 and continuous GR and invoice postings happened in subsequent months which are all captured in Intrastat  report. A debit note was raised in Sep 2009 which does not appear in the report.
    Request your expertise and help to resolve this issue.
    Thank you

    credit memos are not supported in SAP as you can read in docu:
    http://help.sap.com/saphelp_sbo2005ao/helpdata/en/F3/4392579F5DC24E9FBE2FA84E9E7660/frameset.htm
    Please read the local Intrastat guide, in many countries it just says that you have to file a correction per paper form to your statiscal office.
    SAP explains this as well in OSS note 374682:
    If a credit memo refers to a billing document which was already declared to authorities, proceed as follows:Here, you should create a written correction to the statistical office.Specify a data record to which the credit memo refers.
    Check the documents of the statistical offices for information on when you have to declare the credit memo (limits for values and quantities).*********************************************************************

  • A/R credit memo posting

    Hi Experts,
    I m trying to post A/R credit memo but error comes that G/L account is missing, i've checked the control accounts under accounting tab of business partner, it is ok, plz suggest me that what is missing or anything else need to edit?
    Regards
    Usha
    Edited by: usha.p on Jul 28, 2010 12:16 PM

    Hi Usha,
    Check whether the sales return account is mapped or not based on your gl method in item group or warehouse???
    Oops... sales credit account is what i meant too!!
    Thanks,
    Joseph
    Edited by: Joseph Antony on Jul 28, 2010 4:07 PM

  • Issue in Credit Memo Posting in ECC against SAP TM Freight Order

    Hello Experts,
    I have created Credit Memo against TM Freight Order and Transferred to ECC.
    Sender Outbound Service Interface on TM Side "TransportationOrderSUITEInvoicingPreparationRequest_Out" was successful.
    But Receiver Inbound Service Interface on ECC Side is failing "TransportationOrderSUITEInvoicingPreparationRequest_In"
    XML analysis gives below error message:
    No instance of object type Purchase Order has been created. External reference
    PO header data still faulty
    Enter a vendor
    Please enter items first
    I was able to create a Service PO and Service Entry Sheet for FSD created against same Freight Order, so I don't see any issue in Config.
    Thanks and Regards,
    Arnab Biswas

    Hi Arnab,
    As understood, standard interface creates Service PO in ECC for your Freight order in SAP TM.
    Then you are trying to create Invoicing document linked to the created service PO, which is just like FWSD of Freight order. Inbound XML data will give you thorough picture of this issue.
    General Analysis :
    When FWSD created in TM for Freight Order interface "TranspOrderSUITEInvoicingPreparationRequest_Out" is triggered and it will pass the same TM data of Freight Order to create invoice in ECC and not like the Service PO.
    Kindly check your inbound XML with data in it.
    You might need to change in outbound interface BADI while sending data out from SAP TM, or in inbound BADI to modify incoming data in ECC.
    In SAP TM SPRO search with below content.
    BAdI for TranspOrderSUITEInvoicingPreparationRequest_Out
    or
    you need to search inbound BADI in ECC side to make changes in inbound data.
    Reward if found useful..
    Thanks and Regards,
    Kalpesh

  • Problem in credit memo posting

    Hi,
    I am trying to post a Credit memo. But while i am posting the credit memo in Miss Income a/c system shows me that message :-
    Account 300200 requires an assignment to a CO object
    Message no. KI235
    Diagnosis
    You have not defined a CO account assignment for an account that is relevant to cost accounting.
    System Response
    Account 300200 is defined as a cost element.
    This means that you must always specify a CO account assignment.
    Procedure
    Enter one of the following CO account assignments
    Order
    Cost center / cost center/ activity type
    Sales order item (for a project or cost relevant)
    Project / WBS element
    Cost object (Process manufacturing)
    Network/ Network activities
    Business process
    Profitability segment
    Real estate object
    The posting row affected is 002, account 300200.
    Could you help out me.
    With Regards
    Ravinder kumar

    Hi Ravindra,
    You would be getting this error message as the account 300200 is defined as cost element. When any account is defined as a cost element, the system would not allow postings unless you enter any cost object while posting to this account. Cost Objects would include Cost center, Internal Order, etc. Please proceed as below:
    1) while posting the credit memo in the FB75 (or FB65)  screen, in the line item, scroll right and enter any cost center defined for your company code in the "cost center" field. Then simulate and save. The system would thus post the credit memo.
    2) You can even try deleting the cost element. Go to Tcode KA04, and enter this account 300200 and press execute in the test run. Check the result. If the result shows that the cost element can be deleted, go backand execute the same as update run (without test run). If the result shows that dependent areas exist for this cost element, then point 1 is the only option.
    Regards
    SATYA

  • Credit memo posting

    Dear experts,
    I tried to post the credit memo for partial amount of PO, when I tried for this, system is giving the message "Reverse entry value set automatically for full reversal".
    But in other client it is accepting to post a credit memo for partial amount.
    Can any one help me, where I have to change the setting to allow credut memo for partial amount.
    Thanks & Regards,
    Govardhan Vadlapatla

    Hi
    Thanks for your response,
    Actual requirement is like this.
    PO value is 1230.6 GBP, but Invoice made for 1500 GBP, due to variance in amount invoice got blocked
    Now I am trying to post credit memo for the difference amount 169.4 GBP, when I tried to post it it is getting the message mentioned message.
    thanks & regards,
    Krish

Maybe you are looking for

  • How to suppress a property being output to a label once a date has been reached

    Hi, I would like to suppress a property being output to a label once a date has been reached. I have tried the WWI conditional output functionality but am experiencing issues. The issue is the symbols I am wanting to use have different expansion time

  • Globally Intercepting Enter Keypresses

    I'm a bit of a newbie when it comes to Flash, so please bear with me, especially if this is actually a really simple problem ^^;;. I have a program with an imbedded menu created from Flash. I'm looking to send a message to the application, telling it

  • Web Logic Memeory Leaks

    I have an application that uses WebLogic Driver for connecting to Database. We use Connection Pooling We have 11 application threads running and an RMI architecture. The main server process which delegates the load is given -mx120m and the other proc

  • Searching Custom fields Bridge CS3

    Hello I created a custom file info dialog box in Bridge CS3 using the audio data 1.txt file located @ C:\Program Files\Common Files\Adobe\XMP\Custom File Info Panels. I just modified the fields in that panel to my own custom fields. Now I saved as te

  • [SOLVED]Kindle 5 disconnects after few seconds (USB)

    Hi, I have problem with my Kindle e-book reader. It worked fine last week, but now it keep disconnecting from laptop. When I plug it in (using USB 2.0), it is recognized, according to lsusb, but after few seconds it "disappears" from list. Bus 001 De