How to park invoice ( Incoming Idoc )

Hi,
I have a requiremnt where i need to park the incoming idoc(INVOIC01).
I am using the standard program
"IDOC_INPUT_INVOIC_MRM".
I made the copy of this FM into a Z Function Module and
using "MRM_CREATE_INVOICE"
passing RBSTAT_NEW = 'A'
which is for parking and this is giving errors.
Kindly give me the solution to this problem.
Thanks & Regards
Lakshmi

would try with example from include LFMYC_CCLF16:
**--Enable message handler
    CALL FUNCTION 'MESSAGES_INITIALIZE'.
    CALL FUNCTION 'MRM_INVOICE_PARK'
      EXPORTING
        i_rbkpv           = l_f_rbkpv
        i_xupda           = 'D'
        i_simulation      = l_simulation
        i_rbstat_new      = '2'
        ti_drseg          = l_t_drseg
     IMPORTING
       te_errprot        = l_t_mrm_errprot
      EXCEPTIONS
        invalid_status    = 1
        update_impossible = 2
        error_message     = 3
        OTHERS            = 4.
    IF sy-subrc <> 0.           "MM document parked?
      l_f_return-id         = sy-msgid.
      l_f_return-type       = sy-msgty.
      l_f_return-number     = sy-msgno.
      l_f_return-message_v1 = sy-msgv1.
      l_f_return-message_v2 = sy-msgv2.
      l_f_return-message_v3 = sy-msgv3.
      l_f_return-message_v4 = sy-msgv4.
*----- write message into message text field
      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
            INTO l_f_return-message.
      APPEND l_f_return TO c_t_returns.
    ENDIF.                   "MM document parked?
Please let me know whether is worked for u not?a

Similar Messages

  • How to park invoice

    Hi,
       I have a requiremnt where i need to park the incoming idoc(INVOIC01).
        I am using the standard program
    "IDOC_INPUT_INVOIC_MRM".
        I made the copy of this FM into a Z Function Module and
        using "MRM_CREATE_INVOICE"
        passing RBSTAT_NEW = 'A'
        which is for parking and this is giving errors.
        Kindly give me the solution to this problem.
    Thanks & Regards
    Lakshmi

    Pls chk the, BAPI_INCOMINGINVOICE_PARK... this may help u....

  • Parking Invoices Via IDOC

    Hi,
    I am using an inbound Purchase Invoices INVOICE02.
    Is it possible to park an invoice via idoc rather than creating it in MIR0.
    I do not want my IDOC to post the invoice and rather need to just park the invoice.
    Regards
    Krish

    Hi,
    There should be some reason for giving this FM inside the main FM
    This FM MRM_INVOICE_PARK will park the invoice while creating the invoice.
    The inbound function module uses IDOC_INPUT_INVOIC_MRM.
    I wanted to know if there is any indicator in the incoming idoc which will rout thru the MRM_INVOICE_PARK.
    Regards
    KRish

  • How to post invoice through idoc?

    how to send invoice to customers through idoc? what is the message type and idoc type for invoice? please explain me step by step in sending and receiving invoice through idoc?
    regards,
    pavan reddy

    Hello Pavan
    You need to maintain the partner profile (transaction WE20) for the customer to whom you want to send invoices.
    Example: customer no. 1000
    1) Create new entry for partner type KU (= customer)
    2) Maintain outbound parameters: parter role = PY (payer), message type = INVOIC
    3) Maintain details for outbound: port (e.g. send to SAP-XI), transfer immediately (or collect), basic type = INVOIC02
    4) Maintain message control, e.g. V3 / ZRDE / SD09
    Open an invoice for customer 1000 and go to message output. Create a new message output ZRDE / Medium = 6 (EDI) / PY / 1000.
    This message can be sent either immediately or via a schedules job.
    However, if the sent invoice arrives at your customer depends on whether your customer is able to receive IDocs or is using an EDI subsystem. In this case the IDoc needs to be converted into an EDI message (e.g. EDIFACT or ANSI.X12).
    Regards
      Uwe

  • How to park the invoice using 'IDOC_INPUT_INVOIC_MRM' ....

    Hi All,
    I am using FM 'IDOC_INPUT_INVOIC_MRM' for parking the incoming (Idoc) invoices.
    But FM   IDOC_INPUT_INVOIC_MRM   directly posts the invoices. I think is by default from SAP.(not sure)
    Can you Pls help me on this issue.
    Thanks.

    Thanks for ur help
    g_fl_adspc_park_document = A will park the document
    g_fl_adspc_park_document = 5 will post the document
    I have few questions.
    1. The status variable 'i_rbstat_new'  is not exported in the Standard SAP code. It will be difficult to change.
       Is there any NOTE?
    Include:LMRMHF1E
    ----- Aufruf Create-Baustein zur Erzeugung des Rechnungsbelegs -
      CALL FUNCTION 'MRM_INVOICE_CREATE'
           EXPORTING
                i_rbkpv               = i_rbkpv
                i_edi_korrkz          = i_korrkz
                i_fix_payment_terms   = f_fix_payment_terms
                i_fix_quantity_amount = 'X'
                i_transfer_price      = e_transfer_price
           IMPORTING
                e_belnr               = e_belnr
                e_gjahr               = e_gjahr
           TABLES
                t_frseg               = t_frseg
           EXCEPTIONS
                error_message         = 4
                OTHERS                = 8.
    2. In FM 'MRM_INVOICE_CREATE'  i_rbstat_new is by default 5.
        I think we need to set the status to 'A' in FM  'MRM_INVOICE_CREATE'  .
        Can you sugest any function exit.
    Thank you....

  • Park Invoice with delivery note

    Hello,
    How to park invoice with delivery note. i am using bapi  BAPI_INCOMINGINVOICE_PARK.
    Please help.

    try FM AC_DOCUMENT_DIRECT_INPUT
    check its documentation.
    regards
    prabhu

  • Park vendor invoice thru' IDOC

    Hello All,
    The requirement is our vendor sends EDI invoices and they get parked in SAP as IDOCs. IDOC gets posted if GRN exist for a PO.
    In purchase order it is GR based IV. If vendor parks invoice and there is no GRN for purchase order then IDOC fails and it goes in status 51 (Error).
    Our requirement is, IDOC should get posted even if there is no GRN for a purchase order and client do not want to remove GR based IV tick from PO. After through verification of the parked invoice it gets posted in the system.
    We have done the config change in MM>>LIV>>EDI>Enter program parameters, we have maintained value "1" for field "Processing". Inspite of this change system does not process inbound ICOCs and they go in error (51) status.
    Please provide solution for this. This is possible to achieve by configuration. Not able to make out where is the problem.
    Van you all please suggest a solution.
    Thanks & regards.
    Sanjay

    turn you process. instead of directly posting the idocs and wanting the failed ones go into the parked status, park all first and process then the parked invoices.
    check OSS Note 501524 - EDI: Parking incoming invoices by default

  • How to Post Parked Invoice Document

    Hi ,
       Some basic FI functional qry ... How to post the parked invoice document .If any one can give me the transaction code will be great .
    Thanks in advance.
    Bye
    Raj

    FBV0.
    Below given is the list of all transactions related to parked documents.
    [code]
    FBV0                 Post Parked Document                 
    FBV1                 Park Document                        
    FBV2                 Change Parked Document               
    FBV3                 Display Parked Document              
    FBV4                 Change Parked Document (Header)      
    FBV5                 Document Changes of Parked Documents 
    FBV6                 Parked Document $                    
    FBVB                 Post Parked Document                 
    FV50                 Park G/L Account Items              
    FV53                 Display Parked G/L Account Document 
    FV60                 Park Incoming Invoices              
    FV63                 Displayed Parked Vendor Document    
    FV65                 Park Incoming Invoices              
    FV73                 Display Parked Customer Document    
    FV75                 Park Outgoing Credit Notes          
    [/code]
    Regards
    Raja

  • How do we raise Incoming Excise invoice on Vendor1 and A/P Invoice on Vendo

    Hi All,
    How do we raise Incoming Excise invoice on Vendor1 and A/P Invoice on Vendor2 for a single purchase order?
    The Scenario:  PO is raised on Vendor2 for certain goods excisable and Vendor2 is not registered under Excise hence i cannot get Incoming excise invoice from Vendor2 or I cannot raise Excise invoice in B1 on the name of Vendor2.
    But
    the same goods (which are excisable) were already supplied by Vendor1 to Vendor2.  So here the excise invoice is coming from Vendor1 and A/P Invoice from Vendor2 how this is actually handled in Business One?  How do we show the A/P Invoice amount due on Vendor2 and the Excise Passed from Vendor1?
    Thanks
    SV Reddy

    Hi Thanga Raj,
    what you said is works only for payment consolidation.  where in a particular purchase two vendors are involved, the tax updates should go into relevant vendor master data.  in the above case excise is updated in the vendor1 account and RG23 also should be generated on the name of Vendor1.
    Since you already raising incoming excise invoice on the name of Vendor1 you also need to raise A/P Invoice on Vendor1 (this is mandatory, from the goods receipt PO when you click copy to Incoming Excise Invoice and A/P Invoice the system automatically inserts "Vendor1")
    but how do you update the Vendor2 account only for the A/P Invoice VAT portion.  Because in reality the VAT you are paying to Vendor2 since you need to raise the a/P Invoice on the name of Vendor2.  it is not actually happening in business one.  If you try to raise A/P Invoice on Vendor2 from this Goods Receipt PO, initially the system copies Vendor1 from GRPO and if you change and try to add the invoice on Vendor2 name, the system will ask you to create a serial number again if the item is excisable.  here the work is duplicated for the same item you already created a serial number while you creating the Goods Rectipt PO from Vendor1. 
    Any body knows any other scenario please help me.
    Thanks
    SV Reddy

  • How to distinguish what GR line item has been parked invoice document by MIR7

    Hi Experts,
    I use work flow to release MM invoice parked by MIR7. But I get trouble with PO with many GR line items (example: PO shipment cost, PO stationery ...) where we need to match consecutive many invoices from one PO. Normally, when matching invoice by MIRO, amount an quanlity will be minused, we can continue to match invoice by exist line items. But now, when we parked first invoice  to one line item (invoice not be released), amount and quanlity also display old value in second invoice  for this line item, user cannot distinguish what line item has been mached invoice and waiting released, this is difficult to working. Please give me solution to distinguish what line item has been parked invoice in t-code MIR7?
    Thanks

    I think what you describe is standar system behaviour. You nee to re-think how you use Invoice Parking  workflow - it is meant to manage incomplete documents, not for invoice release. You need to first post invoice doucument, only than open invoice qunatities will be updated and depending on tollerance limits and other setting release invoice for payment.

  • Park the incoming invoice without PO#.

    Hi All,
    I have a issue where i need to  park the incoming invoice without PO#. I found one BAPI 'BAPI_INCOMINGINVOICE_PARK', but when I checked it, It is asking for PO#. Is there any BAPI, or FM which can serve the purpose.
    Please help me on this issue.
    Regards,
    Rohit

    Hi,
    With T_Code FB60, you can fulfill your requirements, but whenever you want to track the same wrt PO / GR / SES it will not give you proper details, as long as possible you should avoid using FB60.
    Regards,
    VIkas

  • FI - How to reverse Park Invoice created by FV60 (No deletion, only reverse)

    Hello FI Guru,
    I'm a developper, not a functional
    For a client, I have created a tool to allow the Park Invoice for every invoices coming from vendor.
    For invoices without PO, the park invoice is created by transaction FV60, but some times the user has to "cancel" the park invoice to allow the creation a-of a new park invoice because it was link to a PO.
    The goal is that I have to reverse the parked Document (they don't want to deleted it, only a reversing).
    How can we do this in FI ?
    Wich transaction, wich procedure ?
    Thanks a lot.
    JC

    Hello Jean,
    It is not possible to reverse the parked document in SAP as it is not yet posted finally. But you can able to delete the same with the help of FBV0 t code.
    Delete parked doc - Go to FBV0 - give co.code, document no,fiscal year details and press enter.
    Now go to document tab and click delete parked document option then it will delete the parked document.
    I hope it helps else revert us with your query.
    Thanks & Regards,
    Lakshmi S

  • How to posting and parking invoice verification

    Hi Guys,
       How to find userexits
    invoice verification MIRO t.code,
    and How to posting and parking invoice verification also.plz send me the procedure both invoice posting and parking procedure. and navigations also help me.
    Thanks & Regards
    kiran.N

    Hi...
    See the following links...
    Invoice verification
    Invoice Verification
    Hope it helps you...
    Let me know if u have any more doubt...
    Reward points if useful......
    Suresh.......

  • How to Park the single invoice for multiple purchase orders

    Hi,
    How to Park the single invoice for multiple purchase orders?

    brother this is possible to enter one Invoice fro multiple purchase order.
    call transaction MIR7, select " purchase order/Scheduling Agreement" from the PO refernce Tab. then click on arrow. give your purchase orders here.
    Thanks

  • How to view parked invoice.. urgent

    hi gurus
    Can anybody explain me how to view the parked invoice but the invoice is not posted....
    Normally in my client site, number ranges  maintained for parking invoice document is 510000..
    But today now some parked document numbers showing with 580000..
    pls send me the solution .. very urgent..
    thanks
    sap-mm

    Hi,
    You can use the " worklist" to call up your parked documents for further processing.Use invoice overview transaction to  select parked documents & process them further from there.
    Reward if useful.
    Vivek Maitra

Maybe you are looking for

  • SRM 4.0 INSTALLATION DOCUMENT

    HI FRIENDS CAN ANYBODY SEND ME THE INSTALLATION DOCUMENT FOR SRM 4.0. ANY HELP IS HIGHLY APPRECIATED THANKU   my email id is   [email protected] Edited by: RANJITH KUMAR on Jan 5, 2008 6:51 AM

  • "404 Error - The requested resource does not exist" found in portal for Collaboration room

    Hi Experts, I am trying to resolve this issue since a week but not able to solve it, so i need your help. The Problem is when i assign a collaboration room to a user, the room is assigned but when the user clicks on the room link it gives the "404 Er

  • Logging into a specific server in a terminal server farm

    We have several terminal server farms and in each farm we have the need for 1 user to always log into a specific server in the farm.   This is due to a little piece of sortware that is required for a device that only this one user has and the fact th

  • How to create execution plan in DAC and how to start ETL steps

    Hi, For ETL configuration i have installed and configured, 1. Oracle 10G DB 2. obiee and obia 7.9.6 3. informatica server (here i created repository and integration services) 4. DAC server 10g (setup for DAC is also configured like create warehouse t

  • Inspire 5.1 5200 - Problem with headphones

    I have an Inspire 5.1 5200 using Turtle Beach Santa Cruz. Recently the right channel stopped working on the headphones. I at first thought the headphones were bad but checked another set and they also would not work on right channel. Tried both sets