Inbound IDoc incurs FI/CO interface error: Line item entered several times

We encountered an error in an attempt to post a financial transaction document with multiple line items. The Paid In/Paid Out IDoc 210266 was created in the transaction WPUF as follows:
Customer: 711
Transaction Date: 08/22/2008
Transaction Type: ZPOU   (Paid out)
Item __ Acc.assgnt obj. ____ Cost Ctr __ Amount __ Crcy
1________________________7110150____100______USD
2________________________7110150____100______USD
1________________________7110150____200______USD
2________________________7110150____200______USD
The IDoc status was 64 (ready to be transferred to application).
Next we ran the interface program RWPOS_PARA_ENQUEUE and saw the message that the IDoc was fully posted. However, when we checked it in WE02, we saw the IDoc had actually failed. In WPER, we saw the error message:
u201CFI/CO Interface: Line items created several times.u201D
We double clicked on the error message to bring up the following diagnosis:
FI/CO interface: Line item entered several times
Message no. RW014
Diagnosis
The following document information was transferred several times:
*Reference document "U0000001M8"
*Reference organization ""
*Item number "0000000001" .
System Response
The document information keys must be clear.
Procedure
This is a system error of the application which was called up.
I drilled down to the SAP code trying to find what condition triggered this error message. The only place where this message is called is in the include program LRWCLF01, inside the subroutine CHECK_ITEMS. It seems that the system doesn't like the repetition of the item numbers in the IDoc. We consulted a functional consultant to see if we should change the second pair of items 1 and 2 in WPUF to 3 and 4. His answer was no.
We would like to get the expert advice from this forum to help us solve this problem. Your time and effort will be appreciated.
Thanks,
Ning
Edited by: Ning Hu on Aug 22, 2008 2:45 PM
Edited by: Ning Hu on Aug 22, 2008 2:50 PM

Just a guess, instead of
Item __ Acc.assgnt obj. ____ Cost Ctr __ Amount __ Crcy
1________________________7110150____100______USD
2________________________7110150____100______USD
1________________________7110150____200______USD
2________________________7110150____200______USD
try:
Item __ Acc.assgnt obj. ____ Cost Ctr __ Amount __ Crcy
1________________________7110150____100______USD
2________________________7110150____100______USD
3________________________7110150____200______USD
4________________________7110150____200______USD
Rob

Similar Messages

  • Error in MIGO(Import)- FI/CO interface: Currency item entered several time

    Dear All,
    I'm doing Import process. I have created PO, then have done BOE in MIRO.
    After that I'm trying to do GR, at that time system is giving me following error
    FI/CO interface: Currency item entered several times
    Message no. RW018
    Diagnosis
    Currency information was transferred several times in the current document. The keys for the currency data must, however, be unique.
    Origin of the document: MKPF, Material document
    System Response
    The document could not be posted.
    Procedure
    This is a system error of the calling application.
    What could be the reason?
    Regards,
    Piyush

    hi
    check this sap notes can help
    632348 Settlement to asset in other company code: RW022 10.03.2009
    1238733 Error RW018 in MR21/MIGO/VL02N due to wrong entries in T169A

  • Only able to confirm one PO line item at a time

    In SRM 7.0 (Ext Classic) it seems that you can only select one PO line item at a time to confirm.  I am doing this in the portal, highligting the lines, clicking create with reference and then confirmation.  Then I get an error that says only select one line.
    I don't understand why SAP would not let you confirm more than one PO line item at the same time, you can do it in SRM 3.0.
    Please advise.
    Thanks,
    Matt

    It will actually bring in both lines eventhough you don't select them both in the portal.  However, it does seem that you can't confirm a limit and a standard line at the same time.

  • How can i clear the vendor and customer open line items at a time same vendor as a customer of the company (same vendor same customer and equal invoices )

    my vendor and customer are same . purchase invoice due100000 and sales invoice amount is also 100000 at a time with any manual action , have any setting for cleared both vendor and customer line items at a time ...........

    X Ltd. will be Vendor & Customer.
    Purchase Invoice is booked under Vendor SAP number & Sales Invoice is booked under Customer SAP number. Then you can transfer amount from Vendor to Customer or vice versa with T-code F-04.
    Then if you have transferred amount from customer to Vendor (F-04), Vendor account will have two entries Debit & Credit. Then go for clearance with T-code F-44 clear Vendor.

  • Inbound Idoc processing issues - Partner Profiles - error status 56

    Hello All,
    I'm having a little difficulty posting an idoc coming from MDM.  It's a CREMDM04 xml coming from an MDM system.  It is getting mapped through PI and is being split into ADRMAS02 and CREMAS04 Idocs.  The message is being passed through XI and being posted to the ECC system, but certain fields in the EDI_DC40 header table are not being populated correctly (i believe).  I'm using nothing but standard mapping/material from the SAP Business Content for XI.  After looking through the standard XSLTs i cannot find the field-to-field mapping where the fields below are being populated.
    The RCVPOR value (SAP[SID]) is correct when i view it in SOAP Header, but does not appear in the remote system under the receiver port for the inbound idoc.
    The RCVPRN value ([String Value]) is incorrect in the SOAP Header and does appear in the remote system under the receiver partner number for the inbound idoc.  How is the RCVPRN value being populated? 
    SOAP Header in IDocOutbound tag
      <SAP:RCVPOR>SAP[SID]</SAP:RCVPOR>
      <SAP:RCVPRN>[String Value]</SAP:RCVPRN>
      <SAP:RCVPRT>LS</SAP:RCVPRT>
    I've been trying to trace down the string value for the RCVPRN, but i cannot find it anywhere.  Perhaps i'm just overlooking it?
    When i set the proper values (port = SAP<SIDofECC> and partner number = <LSnameof ECC>) using WE19 in the remote system then the partner profile is found and i'm left with different error to please specify an address group.
    Any help is very much appreciated! :-D

    Hi Jason ,
    Just check out if you have done the following steps most of us make minor mistake here ....... I think this would solve your problem
    To Configure the IDOC SCENARIOS ,PROCEED AS FOLLOWS
    STEP 1:ALE SETTINGS TO POST IDOC INTO SAP R/3
    We need to do the following settings in XI
    1) Create an RFC Destination to the Receiving System in transaction code (SM59)
    a) Choose create
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#
    e) Enter the Gateway host as same details above SID/URL
    f) Gateway service is 3300+system number#
    g) In the Logon /Security tab, enter the client, user & Password details of Destination system
    h) Test the connection and remote logon.Both should be succesful
    2) Create Port Using Transaction Code IDX1
    a) Select Create New button
    b) Enter the port name as SAP+SID (The starting char should be SAP)
    c) Enter the destination client
    d) Enter the RFC Destination created in XI towards R/3
    e) Save
    3) Load Meta Data for IDOC Using transaction Using Transaction (IDX2)
    a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1
    SETTINGS IN SAP R/3
    We need to do the following settings in R/3
    Logon to Sap R/3 System
    1) Create an RFC Destination to XI in transaction code (SM59)
    a) Choose create
    b) Specify the name of the RFC destination
    c) Select connection type as 3 and save
    d) In the technical settings tab enter the details SAP SID/URL and system number#
    e) Enter the Gateway host as same details above SID/URL
    f) Gateway service is 3300+system number#
    g) In the Logon /Security tab, enter the client, user & Password details of Destination system
    h) Test the connection and remote logon.Both must be succesful
    2) Create communication Port for Idoc processing Using Transaction(We21)
    a) First Select Transactional RFC and then click create button
    b) Enter the destination port name as SAP+SID (The starting char should be SAP)
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile with Inbound Parameters (WE20)
    a) Create New
    b) Create the Partner no. name as same the logical system name of the destination system
    c) Select Partner type LS
    d) Enter details for Type: US/USER, Agent, and Lang
    Then Save
    e) Select Partner no. and LS which were create above
    f) Now we have to give some Inbound Parameters.So click on ADD TO Create Inbound Parameter
    g) Select Message type
    h) Double click on Message Type and Then Enter the details for Message Type and Process Code.
    I) save
    4) In Transaction SALE, Create Logical System
    a). Go to Basic Settings-> First Define logical systems
    and then assign logical systems
    b) Double click on Define the logical systems
    c) Give data for your Logicaal System and Name
    d) Now click on Save.Here one window may appear just click on Continue.Now the Logical System name is ready
    e) Assign the logical system name to the client
    do let me know if it helped
    Edited by: Tom  Jose on Feb 21, 2008 9:04 AM

  • Idoc Type to add a new line item to existing Inbound delivery

    Hi Friends,
    we have one requirement.
    In the system Inbound delivery is created through Idoc. Once the inbound delivery is created, we need to change that inbound delivery by adding a new line item to that inbound delivery where the line item belongs to another PO. Means, I have an existing inbound delivery number for a PO having one line item. Now I want to add another line item into the inbound delivery for another PO. I have created the inbound delivery through Idoc using the idoc type DESADV. Now I want to change the inbound delivery for adding the line item. Can anybody please tell me which idoc type should I use for this above highlighted requirement?
    Thanks & Regards
    Satya

    Hi.
    I have one PO 4500000001 for which I have created the inbound delivery 180000001. This inbound delivery has been created through an IDOC. I have another PO 4500000002 having one line item. Now i want to add another line item into the inbound delivery 180000001 for the PO 4500000002 as second line item. To add a second line item to the existing inbound delivery, which IDOC type should I use.
    Hope it clarifies the requriement.
    Thanks & Regards
    Satya

  • Idoc to uodate delivery date of line item on Purchase order

    Hi All,
    Our vendor sends a delivery file consisting of delivery date and quantity(could be partial) for line items of a purchase order.
    I need to update the Purchase order line item with the delivery date and quantity sent from the Vendor. It should add a new confirmation line with custom confirmation category in the confirmation tab of the line item in the Purchase order.
    Each time we get a delivery file we need to add a new confirmation line in the confirmation tab of the purchase order line item.
    How can I get this working using inbound idoc processing? Which Idoc type should I use to solve my issue. Will ORDERSP work for my scenario?
    Thank you in advance!
    Sonali.

    Hi,
    I don't know about IDOCS, but since your vendor is not using EDI, but rather sends a file, you could right a small program to read the confirmations from the file, using the standard BAPI "BAPI_PO_CHANGE" to actually change the PO accordingly.
    Regards,
    Mario

  • IDOC INVOIC/FI, why is vendor line item always at the end?

    Hi,
    I implement an IDOC/EDI solution where some invoices are sent directly to FI module using INVOIC FI message, in SAP R/3 4.7.
    Normally, when such invoice is posted manually in the system (e.g. tcode FB01) the users enter vendor line item at the beginning of the FI document(item 001).
    When the invoice is posted from IDOC, the vendor line item is always appended by the system as the last item in the FI document which is 'unnatural' for the end users.
    After tracing the code in function module IDOC_INPUT_INVOIC_FI        
    I can see that vendor line item is counted as '1' in internal table beleg_daten[] throught the processing of IDOC. But at the end, in FORM VERARBEITUNG_BELEGENDE, when data is moved from beleg_daten[] to fb01_daten[] and vendor data is always appended as the last line item to be posted here.                                     
    Do you have any similar experience and an idea how to influence this behaviour, to get the vendor line item
    posted as item 001 in FI document, from IDOC?                         
    Kind regards,
    Michal Kunze

    Hello Michal,
    looking to the logic of LIEDIF31 i'm in doubt if you can change this behaviour. the logic loops through the line items of the IDOC, preparing to splitt the document at 949 line items. So they have to add the single amounts  for the vendor line - to get a balanced document.
    Regards Wolfgang

  • Two idocs of same type for each line item

    I am new to SAP PI and seeking your help in the following scenario
    legacy -> SAP PI -> branched to two idocs in ECC
    The scenario is that a fixed length flat file coming from Legacy wil contain some line items but each line will be a separate invoice ..the twist . since it is a financial posting each invoice(line) has to be posted twice in the same IDOC but different logics  which implies that for each line in the file there will be two IDOCS created in ECC of the same type, where one would be the AR posting and the other would be the AP posting
    How can i make this happen without BPM ??
    I have referred to a blog 1 : n possible in PI without BPM but here it is a combination of 1:n and also splitting of the line and posting it to two IDOCS simultaneously
    since the transformation logics are different  will I  have to create two mappings but how and where to use them ??
    Can I please have someone help me with the steps in ESR ad ID
    Kindly help
    Thanks
    Rohan

    Thanks Prateek i have done that but
    " Map the occurrence of line items to the node Idoc at the target structue and then multiple idocs will be created "
    is what  iam unable to do
    In the mapping  i have to create  two idocs per line item and this is creating  just one
    my source structure is like this
    MT_abc     1.1
    Invoices     1..unbounded
    field 1
    field 2 etc
    and the target is
    ACC_DOCUMENT02 1..1
    IDOC                     1.unbounded
    and i have mapped invoices to IDOC
    now for  testing in the test tab of mapping
    how do i test  if i will have  two IDOC if i get  one line item  ??
    Edited by: RohanS on Jun 18, 2009 2:06 PM
    Edited by: RohanS on Jun 18, 2009 2:08 PM

  • Ref. PO no. is not coming in second line item at the time of delivery

    Hi All
    STO Scenario
    In PO it single Line item,  but in delivery we doing split batch. the system showing error that " Enter the    PO No." But in first line it it picking the Ref. Document No. while it not coming second line item.
    Please suggest.
    Regards
    Mahesh

    Hi Mahesh
        Proceed accordingly, first select te batch split by selecting line item and then go to environment for batch select once the batch selected then choose the belowmentioned magnifying glass, maintained other necessary field your delivery will be created.

  • Function module for BOM Update all line items at a time

    Hi,
    Please enlightenn us, which FM is do the update for BOM item datas. ( current FM is updated line item one item then come out and log in again updating another line item , thus cause more error are facing.)
    we want a FM to update one time all the line time and come out from the screen.
    Thx
    Sathiya

    HI,
    As suggested above use CEWB or if you want to manage it via a Z program then use:
    CSAP_MAT_BOM_MAINTAIN
    or
    CSAP_MAT_BOM_OPEN
    CSAP_BOM_ITEM_MAINTAIN (Use these 3 in sequence, refer to the help file on the FM)
    CSAP_MAT_BOM_CLOSE
    Hope it answers your query.
    Regards,
    Vivek

  • How to show line items repeating n times alternatively or assa sets

    Dear All
    Situation: Here is my problem. I have have editable ALV which saves the
    data on pressing save. The no. of qty against an invoce gets repeated on
    the basis of input from the selection screen.
    Problem Area: For example if user entered invoce number and 2 at one field
    in selection screen so if there were 2 line items against the invoce both of
    them should be repated 2 and 2 times. Right now if there are 2 line items
    and user entered 4 so first line item will be shown 1 times and second will
    be repeated 3 times.
    Question how can I have both the line items to appear 4 and 4 times
    instead of the current situation described above.
    I would appreciate help all the senior members of the ABAP group.
    Regards,
    Anurag Jain

    Dear All
    Situation: Here is my problem. I have have editable ALV which saves the
    data on pressing save. The no. of qty against an invoce gets repeated on
    the basis of input from the selection screen.
    Problem Area: For example if user entered invoce number and 2 at one field
    in selection screen so if there were 2 line items against the invoce both of
    them should be repated 2 and 2 times. Right now if there are 2 line items
    and user entered 4 so first line item will be shown 1 times and second will
    be repeated 3 times.
    Question how can I have both the line items to appear 4 and 4 times
    instead of the current situation described above.
    I would appreciate help all the senior members of the ABAP group.
    Regards,
    Anurag Jain

  • Bapi for posting IR line item at a time

    Hi....
    Do we have a bapi for posting invoive receipt line item wise instead of posting the PO at a time......this wud be more precise for my requirement.....presently i'm using bapi_acc_document_post but this wud clear the document with single document number.....but i want it to be posted line item wise to see the amount individually item wise instead of combined one....similar to what we have in the IR which shows amount of individual items........

    This is an old bug that keeps popping up:
    https://forums.lenovo.com/t5/T400-T500-and-newer-T-series/Vertical-scrolling-got-reset-everytime-I-use-Ultra-Nav-to-scroll/td-p/343477

  • Additional Service tax line items at the time of payment

    Hi friends,
    Please look into the following requirement:
    At the time of vendor invoice, following entry is passed:
    Dr. Expenses                                             3000
    Dr. Service Tax (ST) not accrued Due             100
    Dr. Ed. Cess on ST Not accried Due                20
    Dr. SHE Cess on ST Not accrued Due             10
    Cr. Supplier                                          3130
    In the normal course, at the time of payment the following entries are generated:
    Dr. Suppliera/c.    3130
    Cr. Bank a/c.                 3130
    My requirement is:  at the time of payment, the service tax components debit entries should be nullified by credit entries and these three items should be debited to new accounts and the entries should be:
    =========================
    Dr. Suppliera/c.                            3130
    Dr. Service Tax (ST) 'accrued Due'  100
    Dr. Ed. Cess on ST 'accrued Due'      20
    Dr. SHE Cess on ST 'accrued Due'   10
    Cr. Service Tax (ST) Not accrued Due 100
    Cr. Ed. Cess on ST Not accried Due     20
    Cr. SHE Cess on ST Not accrued Due   10
    Cr. Bank a/c.                                      3130
    ==========================
    The purpose of the above is to carry forward only the tax applicable to the due account at the time of paying the vendor. 
    These additionally created three items as 'accrued due' should be taken for adjustment against the output tax liability at the time of making the payment of tax to the Government.
    I am not sure whether this is what being following as a general practice.
    If this is not so, I look forward your remarks on the procedure to be followed or updation of any SAP Notes.
    Full points will be awarded for eligible answers.
    Regards,

    Yes yar.  I know the concept of special GL.  But I fail to understand how that would be applied in the case. 
    My requirement is in another terms: 
    At the time of posting vendor invoice, the ST line items are created and is taken for input credit. 
    But I dont want that to be taken for credit at that time.  Only at the time of payment to the vendor, the same should be credited to my 'due' account.  So the line items generated at the time of invoice posting should be nullified with equal credit entries and additional credit entries for availing credit should be generated at the time of payment.  This process should happen in the case of output service tax also. 
    The processes should generate those additional nullifying and crediting 'due' accounts manually when you select the outstanding invoice and click on it for processing.
    Am I more clear to you now ?  Please offer your comments.  Is there any SAP Notes for coping the situation.
    Regards

  • CONF21 Inbound Idoc - How to Monitor the Error

    I have just set up the idoc conf21 - and everything works perfectly well (I ticked "immediate update" via CI41 in order to avoid using CIP2).
    I have simulated an error in the ILE01 unit of measurement I putted 'XXX'.
    I launched the idoc via we19 and the idoc appears in status 53 green. ( This is normal because the status 53 represents only the fact that function module KK2A_GET_DATA_FROM_IDOC has runned without errors. It does not report errors possibly occuring in PROCESS_CC2_MESSAGES_PARALLEL.)
    Obviously due to the 'XXX' the confirmation did not happen. The record disappeared from the table RUECK.
    Question : How can I monitor this type of error ?
    Thanks
    Philippe

    Go to CO16
    reprocess - change the *** in unit of measurement to H
    back - the line shoulb be green now
    save
    and up this is it !

Maybe you are looking for

  • Best Buy Willowbrook Store 214

    I purchased a 13" Macbook Pro from this store on January 26, 2013. The explained to the best buy employee that I wanted the 2 year warranty with the accidental damage protection, as this is the plan we get with all of our laptops. He agreed and I che

  • Payment type: PP, ACH, COS in SAP ?

    Dear all, I'm creating DMEE format tree for three payment types: PP (Priority Payment), ACH (Automatic Clearing House) and COS (Cheque Outsourcing Services). I'm wondering in SAP how can I know which payment is PP, ACH, or COS. Or when we enter a ven

  • Can't delete email since updating to 10.5.3

    Since I updated my OSX to 10.5.3 three days ago, I can't delete email messages in Mail. I get the following error message "The destination mailbox "(null)" does not allow messages to be moved to it." I've rebuilt mailboxes, deleted trash mailboxes, r

  • IPhone 4s problems since iOS7

    Ever since I upgraded my iPhone 4s to iOS7, my wifi chip has since died, my iPhone burns incredibly hot, my bluetooth connectivity is intermittent, my battery literally drains as I watch it and it takes about 20 seconds for Settings to open when I hi

  • Using a projector

    How easy is it to set up a projector on a 11" Macbook Air. Will it just work or is there a setting on the MacBook that I need to be aware of?