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

Similar Messages

  • 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

  • Create vendor invoice via IDOC INVOIC

    Hello,
    We are using IDOC with message type INVOIC for creation of vendor incoming invoices in Logistic Invoice Verification. Can You answer me, is it possible to save (park) correct documents (without price/quantity differences), which later could be posted manually?
    Thank You in advance!
    Natalija

    Hi Natalija,
    ok this need is covered.
    You can post the SD document and park the FI document (park).
    Therefore you have to customize the billing-type.
    Under: SPRO-> Sales and Dist. -> Billing Documents -> Define Billing Documents.
    ==> you will found on top the checkbox "Posting Block".
    To release them you can use VFX3.
    I hope it helps.
    BR,
    Burhan

  • Invoicing via IDOC

    Hi There,
    We have a requirement to automate the invoicing between two SAP systems . We want to achieve this using IDOCs. Below is the scenario:
    Selling CoCd 0001 in SAP system 1
    Customer Number = C1 (Representing CoCd 0002)
    Partner Profile maintained as below:
    KU C1
    Outbound Parameter
    BP INVOIC INVOIC02
    Purchasing CoCd 0002 in SAP system 2
    Vendor Number = V1 (represting CoCd 0001)
    Partner Profile maintained as below:
    LI V1
    Inbound Parameter
    INVOIC INVL (process code)
    Currently we are able to send an IDOC from system 1 but this is received in system 2 as type LS and hence the partner determination fails.
    Also, the PARTN is not populated in E1EDKA1-RS.
    In case you have worked on a similar scenario, please let me know the issue.
    Thanks
    Anita

    Hi Habib,
    In the partner profile that you defined you would have selected message type RD00 (Customer partner prfoile in sending system).
    You need to issue the IDOC via Output in your SD Invoice.
    In VF02>Goto>Header-->Output -- Add the output type RD00 if not already appearing there (Comes via SD settigns of output types) and change the method from Print to EDI and save. This should trigger the IDOC if the partner profile is correctly maintained.
    You can also check the status of the IDOC in the invoice.
    On the same screen (Output)
    Select RD00 and click on processing log.
    Hope it helps.
    anita

  • Loading Invoice XML IDoc with digital signature via XI into R/3

    Hi,
    I received an Invoice XML IDoc with digital signature via Mail (for test purposes) and want to load it via XI into an R/3 systeme.
    My idea is to load the Invoice XML IDoc file via the File Sender Adapter into XI and send it to the R/3 system via the IDoc Inbound adapter.
    Due to the digital signature the file looks like this:
    0‚ S      *†H†÷
        ‚ D0‚ @   1 0       +      0‚ '      *†H†÷
        ‚   ‚   ‚ –0‚ ’0‚ û      etc.
    When I load the file like this with the File Sender Adapter, an error message occurs in the XI Monitoring as the XML Parser cannot read the file due to the digital signatur (as expected).
    Has anybody an idea how I can configure the File Sender Adapter Communication Channel to be able to load only the XML IDoc and ignore the digital Signature strings?
    Thanks in advance for your support.
    Alex

    BTW
    do use the second way you need:
    Security Settings for the Sender Mail Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/27/c0524257a1b56be10000000a155106/content.htm
    and
    Key Storage Service
    http://help.sap.com/saphelp_webas630/helpdata/DE/e9/a1dd44d2c83c43afb5ec8a4292f3e0/content.htm
    apart from adapter module config
    Regards,
    michal

  • 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

  • FI Invoices correction to send via IDoc vs OSS Note 114814

    Hi All,
    I would like to send Financial Invoice Corrections via IDoc and I am looking for some guidelines and technical explanation on how I should proceed.
    I found some explanations in OSS Note 114814 and on other forum threads but I am kind of confused on what I need to do exactly.
    I understood that FM EXIT_SAPLF050_008 is involved in the process and also IDoc type FIDCCP01 and FIDCCP02 but I do not know what need to be enhanced in the FM? Does someone have any coding example?
    Where exactly is FM EXIT_SAPLF050_008 being called (TCode)? Is it in FB60? I cannot find the enhancement point in this case.
    Do I only have to create a project in CMOD and activate it and that's it? I do not know what I need to do in the function module.
    Thank you in advance for your guidance. I am a bit lost here to be honest.
    Best regards,
    Sylvain

    first of all u have to find out the user exit.and then if u need to add fields ,then u can write the code here. and then determine the outbound partner profle using tcode WE20. AND then u can u can assign those things in bd64 bussiness model.and if need filters u can set there.
    Regards,
    Jampani.

  • Invoice Verification IDoc Output

    Hi,
    When a parked invoice is posted via MIR4, we require an IDoc to be created. When the FM IDOC_OUTPUT_IDOC is called, it fails due to the payment terms being blank. At the time of posting the invocie the payment is populated. SAP is clearing out this field.
    Does anyone have experience of this type of output.
    Thanks
    Martin

    Suresh,
    I have mine set up in message schema MR0004 (ERS Procedure (MRRL)) and I do not have anything in the requirement field.   
    To state the obvious, output type set up is not retroactive.   So any settlements done prior to your set up will not be affected.
    Regards,
    Sandra

  • Automatically generate accruals for Parked Invoices

    Dear SAP Gurus,
    I am currently in the process of trying to improve our month end accrual process.
    We currently have a standard process where we issue a PO, book in the delivery and then process the invoice. Occasionally we have instances where the invoice is received before the GRN is completed (the goods havent actually arrived or a User has forgottent to book in the Goods Receipt).
    In this instance we park the invoice and then complete once the GRN has been booked in.
    My question is is it possible to automatically accrue these parked invoices at month end without having to download and then post via a journal?
    Is there some way of using the accrual engine to account for these parked invoices at month end?
    Thank you for you time.
    Regards
    John

    Hello.
    To initiate a new payment batch, enter criteria for the invoices you want to pay. Payables selects all invoices that match your invoice selection criteria and that are ready for payment.
    You can initiate payment batches from either the Payment Batches window or the Payment Batch Sets window. You can also schedule payment batch sets to automatically submit at regular intervals.
    And yes, the payment batches consist on standard concurrent requests. You can access payment batches by naviganting to Payments/Entry/Payment Batches.
    As you know, you can classify your suppliers in a Payment Group. Suppose you have, lets say, 150 suppliers, all belonging to the same Payment Group. All invoices from these suppliers can be paid on a single payment batch.
    Octavio

  • Std workflow for Parked Invoices?

    hi guys
    are there any std workflows for parked invoices? Our requirement is that once the Finance clerk creates a customer or vendor invoice he should only be able to park it and not post the invoice. Once the invoice is parked then the system should trigger a workflow and a notification neeeds to be sent to the approver to approve the invoice. Once it is done the finance clerk will post the invoice.
    I switched on the event trace and did a trace on while creating a parked invoice. No event is triggered when the document is parked. If i post the document the event POSTED of object FIPP is triggerd. So since we dont have any std events raised when a document is parked is it possible to have a workflow?

    Hi,
    The event FIPP.CREATED is raise via the customizing (SPRO)
    Financial Accounting -> Financial Accounting global setting -> document -> document parking -> create workflow variant for parking documents.
                                      Assign co.code to a workflow variant for parking documents.
    Have a look at ws10000051.
    Regards,
    Ronit.

  • Posting a Parked Invoice

    Hi All,
    I am developing a report to post the parked invoices.
    For this i have used the function module 'MRM_INVOICE_READ' and the function module 'MRM_PARKED_INVOICE_POST'.
    But when i select a parked invoice from the ALV Grid display and click on the post button i get a warning message like 'Invoice quantity greater than PO Quantity(NO GR)'.
    Can anyone suggest how to overcome this or is there any other function module to POST the parked invoice.
    In this case there is no GR done for the Purchase order.

    Hi,
    this is how i see it:
    parked invoices can only be posted when they have no errors.
    With the simulation button you can display all errors available.
    In your case you receive the message: Invoice quantity greater than PO Quantity
    go to the invoice in question via MIR4 + F7 and correct the error.
    You have two options:
    1.- decrease the amount to be invoiced.
    2.- increase the amount of the po.
    Check as well how tolerances are set in your system.
    Best regards.

  • Outgoing Parked Invoices Screen layout - FV70

    Hi,
    I am trying to activate the Reference Key 1 field which sits in tables bseg for FI and vbsega for its parked documents (XREF1).
    I want to be able to populate this at line item level however I cannot see the field.  Currently I have the field status group for this field set to optional and I can see this working for other documents such as incoming fast payments - in which I can go to FBL5N and go into the document in change mode and go into the additional data button and see this field appear and make a change to it.
    However I cannot see the same in outgoing invoices via FB70 or FV70 and FV75 etc.
    I have worked my way through the IMG and tried various things with no luck. 
    I can see screen variants sap01 and sap02 but the field I want is not listed so I cant even create a new one and add it. 
    Im sure if the field is available in the tables i must be able to enter it somehow on the document.
    Can anyone advise.
    Thanks

    Hi,
    Unfortunately fields as Reference1-3 (XREF1,XREF2,XREF3) are not availabe at line item level within Enjoy transactions you have to apply notes:
    174413     Customer-specific fields in new Enjoy transactions
    215798     FBL*N: Special fields are not displayed
    Note 174413 applies to Release > 4.6. Review the second part of the note but be aware that this is a modification.
    Fields XREF1 and XREF2 have been designed to contain additional data to the trading partner and not for G/L-line items (please refer the F1-help of these fields). Therefore these fields have not been included
    in tables BSIS/BSAS where open/closed items are selected from clearing processes. e.g. Program SAPMF05A reads table BSIS.
    XREF1 and XREF2 occurs in both BSEG & RFPOS, but in order to use this field in trans. F-28 or F-03, these 2 fields must exist in BSIS as well.
    I would suggest you to use XREF3.
    I hope it helps
    Best Regards,
    Vanessa Barth.

  • Migrating parked invoices

    We have a large number of parked invoices to migrate into SAP from an external system.
    Note 381593 states that transaction MIR7 cannot be used via batch processing and to use BAPI BUS2081 instead.  However this is not available via the LSMW.
    Are there any other transactions that can be used to load the data into SAP?
    Thanks.

    Abdul - As I have already mentioned, the BAPI listed in note 381593 which is recommended to use (BUS2081) is NOT AVAILABLE to use via the LSMW.  If you go to "Maintain Object Attributes" and enter that value (BUS2081) you get the error message "please enter valid value".  It is not available to select via the drop-down menu either.
    I am looking for an answer on how to ...
    (a) Incorporate BUS2081 into the LSMW
    or
    (b) Record an alternative (batch supported) transaction via the LSMW to migrate the data into SAP
    or
    (c) Another recommended solution

  • Credit/Debit Memo Request with reference to Billing document via IDoc

    Hello Experts,
    It seems SAP doesn't support Credit/Debit Memo Request with reference to Billing document via IDoc. Via IDoc, we can create sales document only with reference to contract or quotation but not with reference to billing/invoice document.
    Wanted to check if anybody came across such requirement and what would be the best way to acheive (Other than custom program using BAPI).
    Additional Information: Its ECC 6.0 Environment with AFS 6.03
    Appreciate your help.
    Thanks,
    Shekhar.

    Please Help... it is Urgent...  Thank you

  • 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

Maybe you are looking for

  • How to load file with 500M into noncontiguous memory and visit them

    My data file consist of  a serial of 2d images. Each image is 174*130*2 butes and the total images in the file is up to 11000, which takes almost 500M bytes. I hope to load them into memory in one turn since I need to visit either image many times in

  • CS3 Will not open...

    So my computer crashed and I had to install windows all over again. (Note: It was working fine before the crash) When I got to my CS3 disc it installed fine but when I try to open the program it freezes and stops responding. Description: A problem ca

  • No encuentro mi número de serie/ i cant find my serial number

    Buenos dias: El día 30 de diciembre se compro lo que es adobe photoshop cc, y lo instale hace unos días y me encuentro con que no me aparece mi número de serie ni en mi cuenta que esta comprado deseo saber porque motivo no aparece. Gracias Luis Arang

  • Remove Host Manually in 12C...

    Hi, I want to remove some hosts in 12C grid control which were decommissioned in past but were never removed from grid control. If I try to remove from grid control it gives error host not reachable. I'm wondering is there any method to remove these

  • INTERCOMPANY INVOICE WITHOUT REFERENCE

    Hi, I have 2 companies under the same controlling area, I would like to create invoices between them without any reference to a sales order, purchase order or whatever.  I would like to know if there is any special transaction for this (in SD or FI)