Parkin invoices using IDOC INVOIC02

Hello experts,
We need to park invoices (related to a PO) using IDOCs. I have being reading that INVOIC02 with process code INVL may do this. However my question is:
How SAP determines if I want to park or post an invoice? Is there any flag in the IDOC? I did not find one. Or is there any specific process code for parking and one for posting?
Thanks in advance for your help.

Hi carlosrv,
I have similar requirement to park the incoming invoice in ECC system from SUS system.
in ECC, I am using INVOIC message type with INVL process code.
and in SPRO -> MM -> LIV -> EDI -> Enter program parameters, I am giving following values:
Partn type: LS
Partnr no: ABC_110
Company code: (blank)
Invoice doc type: RE
Cred.memo doc.type: RE
Park Document: X (checkbox checked)
Processing: (blank)
But the invoice is still getting posted automatically. They should be parked now as per the customizings.
Am I wrong anywhere in configuration. Please help.
Your reply is very much appreciated.
Thankyou.

Similar Messages

  • Accounting document creation for sales invoice with IDOC INVOIC02 ?

    Hi All,
    Our sales invoice are managed in a external system and those Invoice are going to be send in FI with IDOC interface.
    is it possible to use the IDOC INVOIC02 to do this operation ?
    if yes, what are the customizing points I have to implement ?
    if not, what kind of IDOC can I use ?
    Thank you in advance for your help
    Franck

    Hi Thenna
    The accounting document status in the document flow is determined dynamically when you display the document flow,
    it's not saved in a specific table.
    Here is the relevant logic:
    LV05CF01 -> form BUCHHALTUNGSBELEG
    IF vbrk-vbeln <> vbfa_tab-vbeln.
       PERFORM vbrk_ermitteln USING vbfa_tab-vbeln.
       REFRESH xbkpf.
       CALL FUNCTION 'FI_DOCUMENT_READ'
        LOOP AT xbseg WHERE bukrs EQ xbkpf-bukrs
                      AND   belnr EQ xbkpf-belnr
                      AND   gjahr EQ xbkpf-gjahr
                      AND   ( koart EQ 'D' OR koart EQ 'K' ).
        ENDLOOP.
                IF NOT sy-subrc IS INITIAL.
      SET STATUS TO 'No items are cleared'
                  l_xdoc_num-status = 'A'. <<<
                ELSE.
                  LOOP AT xbseg WHERE augbl IS initial
                                AND   umskz NE 'A'
                                AND   vorgn NE 'AZUM'
                                AND   ( koart EQ 'D' OR koart EQ 'K' ).
                  ENDLOOP.
                  IF NOT sy-subrc IS INITIAL.
      Set status to 'All items are cleared'
                    l_xdoc_num-status = 'C'. <<<
                  ENDIF.
                ENDIF.
    Regards,
    Alex

  • "Standard" mapping between SAP IDOC INVOIC02 and Finvoice

    Hello all
    We are about to implement invoicing via IDOC (INVOIC02) => XI => mapping to Finvoice (http://www.fkl.fi/verkkolasku/english/index.htm).
    Now i am interested in a "standard" mapping between Invoice02 and Finvoice as a starting point for our mapping.
    I cannot find anything in the internet, so i wanted to ask you, if you have such a mapping?
    Thank you and best Regards
    Martin

    Hi  Martin,
    Now i am interested in a "standard" mapping between Invoice02 and Finvoice as
    a starting point for our mapping.
    Do you have the XSD or DTD for the Finvoice structure.If you are able to load the XSD structure
    then try mapping according to the business requirement.Pls ref link below.
    XML definition -> SAP data dictionary structure
    Finvoice (http://www.fkl.fi/verkkolasku/english/index.htm).
    Not sure if you are trying to use the service by http://www.ebxml.org/.
    Please elaborate more on your requirement.
    Regards,
    Srinivas

  • 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.

  • Create Idoc INVOIC02 when a invoice is created

    Hi everybody.
    Which are the necessary steps to make in order to costumize the Idoc INVOIC02 creation when a invoice is created in R3?
    Thanks a lot

    Hi again,
    Ive done this steps:
    1. create the output type in the nace using the output type RD04 and define the transmission medium as the EDI.
    2. configure the newly created output type in the access sequence.
    3. create the partner profile in the we20 transaction in partner type LS. I need to send it through Logical Systema
    4. In creation of partner profile mentioned the port number to which you want to pass the idoc. define the port in we21 transaction. and in message type mentioned the INVOIC. in basic type mention the INVOIC02.
    5. in message control tab define the output type for your EDI.and use the correct process code.
    But the output type doesn´t appear in my invoice and if i try to add it I always get an error.
    How could I fix this???? Im getting crazy!!!!

  • Regarding Creation of Invoice Verification Document Using Idoc

    Hi All,
    I am using Idoc INVOICE01 which is getting triggered from one SAP system after Invoice (VF01) is saved.
    However this Idoc at the receiving SAP system is not getting posted and is giving error.
    I want to post invoiceverification document in the receiving system.
    The FM used is IDOC_INPUT_INVOICE_MRM for processing incoming Idoc with process code INVL.
    Also I am using Logical System(LS) with ALE Setup fo communications bewteen the two SAP systems.
    What sort of functional configurations I need to do to post the Idoc successfully.
    I have done the configration for Tcodes OBCA, OCBD, OBCE ??
    Do I need to maintain any entry in OBCB ??
    Any sample example for this Invoice01 Idoc execution would be of great help.
    Waiting for your replies.
    Thanks
    Jitendra

    Hi Jitendra
    I did not understand your question at all except your idoc is not posted. Without telling us your error message how can we provide our inputs 
    What exactly have you done and searched please provide those detail along with error detail rather than these tcode
    Nabheet

  • 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

  • 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

  • Posting Header Freight to separate account with idoc INVOIC02

    Hi,
    I am using idoc type INVOIC02 to post a cross-company code invoice.  There is freight at the header level in the invoice and I want the freight amount to hit a different G/L account than the rest of the document. From the help documentation, it looks like I should be able to set the flag in T076S-KOKSEPA, and this should then take the amount in segment E1EDK05 and place it in a separate line item segment in the Idoc.  Once it's in its in a separate segment then I should be able to use settings in table T076I to direct it to a separate G/L account.  However, when I set this flag inT076S-KOKSEPA the system is not doing anything with the amount in the header segment..
    Does anyone have experience with this?  If I set the flag in T076S-KOKSEPA what should I expect to see at the item segment level? Should I get an additional E1EDP01 segment?  If not, what's the best way to get header freight to post to a separate account?
    Thanks,

    Hi,
    You need to add a record in T076I using OBCB transaction, fill EWLNR with the folllowing concatenated values from E1EDK05 :
    - E1EDK05-ALCKZ (the value is - or +)
    - E1EDK05-KSCHL
    In my case T076S-KOKSEPA doesn't work, I got an accounting item corresponding to header condition but no more accounting lines corresponding to invoice items...
    But it works fine using T076S-KOPSEPA to post conditions at item level.
    Your questions :
    - Does anyone have experience with this ?  > We are still waiting ...
    - If I set the flag in T076S-KOKSEPA what should I expect to see at the item segment level ? > Nothing, this parameter works later, when the idoc is processed to create the accounting data (function IDOC_INPUT_INVOIC_FI not function IDOC_OUTPUT_INVOIC_IV_MM)
    - Should I get an additional E1EDP01 segment ?  > No
    - If not, what's the best way to get header freight to post to a separate account ? > It is the best way, but you can try at item level (T076S-KOPSEPA), in my case it works immediatly.
    My question :
    When the flag is set at header level (set the flag in T076S-KOKSEPA), an accounting item is created for the header condition, but how this value is allowed (- or +) on the other accounting items ?

  • 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

  • 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

  • Park inbound EDI Invoices on iDoc failure from a workflow?

    Hello all,
    We have seen note 501524 that talks about parking inbound invoices by default.
    Our situation is this. We are expanding our use of EDI for inbound invoices. As such we would like to automate the validations steps as much as possible. To date with our limited use we have set up a workflow to notify on idoc failures and then a few agents have access to BD87 to make the idoc right and reprocess. We don't want to continue this process.
    Our preference would be to continue to allow the iDoc to fail, the workflow fires but at this point we communicate the failure to the appropriate person and park the invoice.
    Does this sound like a reasonable approach?
    Can we even park a red lighted iDoc?
    Once parked can the invoice be dealt with without using BD87?
    Has anyone ever tried this?
    Thanks,
    Doug

    Hi Ralph,
       In my opinion, you must have a PO Number for Invoice if you want to use standard functionality. You will probably need to create IDOC using an ABAP program which reads this file and search for PO based on the information available to you. I also notice that you are missing material number as well, how do you match the item number in the PO ?
       I don't see a way aroung without writing an ABAP program to handle this logic, but you can still use IDOC ( which comes with the standard processing logic and that is a big advantage ) so that you need to write only the PO matching logic.
      or if you are not inclined to write a separate program for uploading file into SAP and formatting IDOC, you can write your own process code (FM)for INVOICE01. Inside this process code (FM), you can put your PO matching logic and then call standard FM (process code). This is what I usually do.
    Cheers,
    Sanjeev
    Cheers,
    Sanjeev

  • Customer Order and confirm number on idoc invoic02

    Goodmorning,
    in idoc invoic02 at line of invoice is present a field that give:
    -customer order number and data of creation
    -data of creation of order confirm about customer order
    Thanks
    Fabrizio T.

    Hi
    go to header-> output in the sales order and u will find the idoc no there
    Ranga

  • Invoic & GSVERF IDocs with Head & Office Branch office relationship

    Hi ,
    We have maintained Head office & branch office relationship in vendor master.
    Based on this master data set up, all accounting documents are getting posted to Head office account. Currently we are facing the below issue:
    We have created purchase order for Branch office vendor (Eg. B) and as required accounting document is getting posted to Head office vendor(Eg. H). We are using Idoc Msg type 'Invoic' for this invoice verificaiton and using Idoc msg type 'GSVERF' to send acknowledgement for that Invoice.In this case, Acknowledgement IDoc has been getting transmitted to Head office vendor (H) and not the Branch vendor (B) who
    has originally sent the Invoice.
    Kindly let me know whether it is possible to forward acknowledgement vendor to branch account instead of Head office.
    Thanks
    Hari

    Moved from SAP ERP Sales and Distribution (SAP SD) to SAP ERP Financials
    G. Lakshmipathi

  • IDOC INVOIC02 in outbound - segment E1EDP05

    I'm making some test with the IDOC INVOIC02, i try to generate a invoice idoc for from another SAP system for generate SD invoice with the GN_INVOICE_CREATE.
    I view that the idoc created dont generate the segment E1EDP05 with the pricing procedure conditions (necessary for a mirror creation of invoice on the destionation SAP).
    Anyone knows why the segment is lost?
    Thanks
    Davide

    Hi,
    Could you please check is there any segment filters are set in the sender system.
    Generally we will check any segment filter in BD56 transaction.
    Thanks,
    shyla

Maybe you are looking for

  • Time Machine miscalculates the amount of data to be backed up, and fails.

    Hi. Situation: After many successful backups, Time Machine spontaneously states that it requires tens of GB more space on the backup volume than the size of the data to be backed up. Total required space exceeds physical size of backup volume, despit

  • Export NLS_CHARACTERSET WE8PC850 & IMPORT TO AR8MSWIN1256

    hi , I want to export data from below mentioned database O.s : Linux DB : 9i NLS_CHARACTERSET=WE8PC850 And Import to below mentioned database. O.S : Linux DB: 11gr2 NLS_CHARACTERSET=AR8ISO8859P6 OR AR8MSWIN1256 I am having issue with arabic fonts aft

  • RMI and RowSet

    I'm trying to write an app that access a database using Swing (not in the internet) and RMI. I'm not using J2EE (and doesn't want to, just J2SE). But the ResultSet can't be serialized, so I wish to use the RowSet I made 3 software layers which runs i

  • Looking for a way to monitor forums for a text string.

    Hi as the subject says I'm looking for a way to monitor various forums for a list of text strings and give me a link to the post. I'm have tried googling but cant find anything specific enough I've tried looking at methabot but am unsure as to if thi

  • Using data dictionary

    Hi everyone, I am a new user to Oracle 10g XE. I would like to know if there is any way for me to list the size of each object in my current schema follow by the object name. Any advice / help would be appreciated. Regards