Mapping of large INVOIC Idocs

Dear SAP,
we have a 1:n mapping scenario.
The source is an INVOIC Idoc that will be splitted into several messages.
The INVOIC IDoc has a sice of 5MB and more than 35.000 data sets.
Because of the huge number of data sets / positions, there are two new
child-segments containing the data sets (see attachment).
INVOIC IDocs with only eg. 100 data sets has noch such child-segments
(see attachments).
In PI message mapping there is an error while mapping large INVOIC IDocs:
While 1:1 mapping of positions (E1EDP01) the text segments
(E1EDPT1/E1EDPT2) are not mapped correctly.
While mapping a position of child-segment ONE the text is mapped from a
position from child-segment TWO.
In our case the 166th position of child-segment ONE is mapped, but the
text is comming from the 166th. position of child-segment TWO.
The text mapping is 1:1. It works without errors while proceeding smaller INVOIC IDocs.
We can´t explain this behaviour.
Also the standard INVOIC structure does not provide such child-segments
while uploading into PI.
Is it a buffer problem in PI?
Is there a maximum number of data records in INVOICE IDocs?
Do we have to adjust the INVOICE structure in PI?
Thanks in advance,
André

Is it a buffer problem in PI?
Could be, but I have used bigger message size without any issues. If your mapping is not too complex, could you write an XSL mapping and check if you run into similar situation? Message mapping has definitely cache issues, hence I prefer XSL.
Is there a maximum number of data records in INVOICE IDocs?
No.
Do we have to adjust the INVOICE structure in PI?
No need to adjust the structure, just try with XSL mapping.

Similar Messages

  • Mapping issue from Invoice (Idoc - file) scenario

    Dear All,
    I am working on Idoc to File scenario and i have a requirement like..
    INVOICE02                    
       E1EDP01
            E1EDP05                                     
                  BETRG                         
            E1EDP05                                    
                  KSCHL
                  BETRG    etc         
    condition :
    If KSCHL not equals to space then map all BETRG's to a target field which is not mandatory.            Sometimes E1EDP05 may not contain KSCHL and when i set the context to E1EDP05 level its not considering the BETRG values, it behaving lik taking up the condition part and summing part seperately.
    It would be really great if anybody comes up with some ideas.
    Thanks a lot
    Hari

    KSCHL ----> exists
                                                 -----------------------> And ------->ifWithoutElse -------------> Target
    KSCHL                                                                            Then(BETRG)
                     -------> equalS ---> Not
    Constant(blank)
    Context of KSCHL should be above that of E1EDP05
    I hope that Target node is repeating -
    0...unbounded.
    Regards,
    Abhishek.

  • Inbound Invoice IDOC mapping Required fields

    Hi All,
    Please let me know what need to be mapped for the @begin , @segment , TABNAM , SNDPOR, SNDPRT etc like this elements in the IDOC structure.
    In my scenarion i get Invoices in  XML file so that i can pick that and process it into SAP R/3 by doing correct mapping with the inbound IDOC and post the same into R/3 . Please provide the sample mapping for processing Invoice IDOC.
    Regards,
    Reddy

    Nanda,
    @ Control records
    >>>
    You have two option. One is to fill the control records inside the mapping or else let XI fill it automatically.
    In case you are filling the control records in the mapping, then you will have to enable the option to take those values in the IDOC receiver adapter.
    See option (Apply Control Record Values from Payload) - http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/content.htm
    Control values - http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/content.htm
    @ Begin, Segment etc
    >>
    you can map any constant value to the same.

  • Error while posting Invoice IDOC (The difference is too large for clearing)

    Hi All,
    While posting Invoice IDOC to Remittance Advice IDOC get fails with status 51 &  message ' The difference is too large for clearing'.
    Please suggest any solution or reason to fail IDOC.
    Thanks & Regards,
    Ajay
    Moderator message: please search for information and try to find out yourself before asking, this will be a functional problem anyway that should be asked in the appropriate forum, e.g. ERP Financials.
    locked by: Thomas Zloch on Aug 20, 2010 1:59 PM

    Pls check the tolerance amounts limits:
    SPRO--- F/A --AR/AP -
    Business transactions -Open item clearing--- Clearing differance---- Define / Assign tolerance groups for emp -
    Where you need to change the limits of max amounts with the %
    Let me know for any info.
    Regards
    Suresh

  • Inbound Invoice idoc segment feilds mapping to SAP feilds

    Hi,
    Could you please help me to find out the tables and feilds in SAP for the inbound invoice idoc type INVOIC01. I need to map the idoc segment fields with SAP fields and respective tables.
    Thanks in Advance
    Satish

    Hi Satish,
    That's quite a big case to get such mapping - why would you need it really? You can process Idoc with std process codes and you will see the std mapping then happening.
    You can also go through logic of processing modules:
    Function Module Name          Short text for function module
    IDOC_INPUT_INVOIC_FI           EDI: Invoice Receipt (INVOICE)
    IDOC_INPUT_INVOIC_MM           EDI: Invoice Receipt (INVOICE)
    IDOC_INPUT_INVOIC_MRM
    For sure you will get RBKP for header, RSEG for items, RBTX for taxes and some more, depending on what you get in the invoice and what are your booking and matching processes.
    Best Regards,
    Tomek

  • Invoice IDOC data mapping

    plz help in mapping of these two fields in INVOIC02 IDOC
    BSCHL     Posting Key
    GJAHR     Fiscal year
    thanks ..
    plz send me if you have any info about data mapping and processing a idoc...
    pts ll be given to all helpful answers
    Message was edited by: sharadha sharma

    INVOIC02 is for billing document. If you are looking for accounting document then i think you should be looking at ACC_DOCUMENT02.

  • Java heap space error occured during message mapping of FILE to IDOC

    hello Friends,
                          I am trying to do the message mapping for File to Idoc scenario.
    Idoc which I am using is HRMD_A.HRMD_A06 and infotype which I want to update is 14. I am trying to map the message type which I hav created for infotype 14 with the IDOC
    Its very simple scenerio but  every time I try to save the mapping before activating it I get an error:
    Java heap space
    Internal problem occurred (INTERNAL_PROBLEM)
    Java heap space.
                I am not able to figure out what possibly is the problem wheather its from my end or the BASIS end.
    Kindly help.
    Regards,
    Lokesh

    As the server probably survives (you restart your Integration Builder and can probably connect immediately), the problem will be on your side (client). Did you add one or more large xml-test-instances to the mapping ? If yes, delete them, because they lower the performance and can make problems. If not, then this is a strange problem. Even if the Idoc structure is complex, the mapping object itself cannot be that large.Is this problem only with this one mapping ?
    CSY
    Edited by: Christian Sy on Mar 9, 2010 6:26 AM

  • Generates a SAP Invoice IDOC based on xCBL Invoice document

    Hi Experts,
    I am looking for code to generate invoice through XCBL to SAP Invoice IDOC.
    Could anyone post where I can get this code in stylesheet..
    Please help me.

    svraju wrote:
    Thnks for ur reply..But is there any stylesheet mapping avaibale for this because we want to do in XSLT.
    >
    > Please help me..
    dont think there are any standard mappings available for this.
    you might want to get the logic from your functional contact/business and build the mapping.
    I think it will ideally fit within the graphical mapping itself

  • Activate standard sum segment in INVOIC iDoc

    Dear experts,
    I am not sure if I am in the right board but I hope you can point me in the correct direction.
    I have to map INVOICE02 to INVOIC EDIFACT format and in the sum segments of the EDIFACT message
    I need a sum of all discounts.
    Now in WE60 I checked the INVOIC02 structure and saw that in E1EDS01, QUALF='020' I get the sum of "allowances/charges".
    But in my iDoc example I do not have an E1EDS01, QUALF='020'.
    How can I "activate" or add that standard sum segment to my INVOICE02 iDoc?
    Thank you for your help and best regarsd,
    Peter

    Hello TW Typewriter,
    thank you for your comment. Yes, other fields are populating. Yes, there are discounts given in the invoice.
    I checked one of the invoices in SAP ERP and in the head under "Conditions" I can see that there are 2 different Z-rebates and field that contains the sum of the two rebates.
    But that sum I can't find in the iDoc.
    I guess I have to sum up discounts myself implementing a user exit and looping over all the positions with possible discounts.
    Thank you again and best regards,
    Peter

  • Use IBAN number in outbound INVOIC IDOC

    Hi,
    I'm looking for a field to store the IBAN number in outbound INVOIC IDOC's. Apparently there is no separate field available for this. I would like to avoid extending the current IDOC structure and I would have expected the IBAN number to be part of the SAP standard outbound INVOIC idoc.
    Has anyone encountered the same requirement? I have looked at the standard INVOIC01 and INVOIC02 structure.
    Thanks
    Walter

    Hi Ken,
    Thanks for the response. I'm indeed looking at the international bank account number.
    I was hoping that SAP somewhere does have a solution to send the IBAN numbers and not that we have to overwrite the ACNUM field or create our own segment. I want to pass the regular bank account and the IBAN number in our IDOC so that we do not need to decide within SAP if a customer requires the IBAN number or any other number. We want to make that decision in our EDI mapping, not in SAP. I'm surprised SAP has not foreseen anything for this as the IBAN is widely used within Europe.
    We already have a problem that we have more than 20 house bank with more than 20 bank accounts, so the SAP limitation of 20 K28 segments is already creating a problem for us.
    I guess we will need to setup our own coding in the user exit. Thanks for your response anyway.
    Regards
    Walter

  • Error 'No tax code found for difference' in Posting Vendor Invoice IDOC

    Hi All,
    I am getting error message 'No tax code found for difference' while posting Vendor Invoice IDOC into SAP. IDOC type is INVOIC02. There is no difference in PO price, Invoice price and even Standard price. then why this  error message? Other Vendor EDI settings are done ( OBCA, OBCD, OBCE etc). Is there any thing specific to be done in the config for this error?
    IDOC has PO  as reference document.
    I looked into several threads in SDN forum but could not find proper solution
    Can any ine help me with this issue?
    Thanks in advance
    Hari

    Hi
    You might be  missing the tax code for uploding through IDOC
    so you can use the t.code we02 and give the doc and find the error
    go to the WE19 to edit the tax  code
    and USE the t.code  BD87  to select the doc and process it
    thanks
    Madhu

  • When we post Inbound Invoice IDocs, we are getting an error message "Enter a tax jurisdiction code".

    Hi Experts,
    When we post Inbound Invoice IDocs, we are getting an error message "Enter a tax jurisdiction code". As checked, we have configured OBCD and OBCA for the vendor and we are passing the Tax Jurisdiction code in E1EDP04 SAL segment. Can anybody give us some idea to resolve this issue.
    Regards,
    Sameek

    Hi Sameek,
    Please refer the below link. Hope it helps.
    http://scn.sap.com/thread/1435286
    Regards,
    Chandan.

  • SP14 Multi-mapping - error in receiver idoc adapter

    Hi,
    I have a scenario where a business service should send some XML to SAP CRM. I get the file via a sender JMS adapter and try to post it to CRM via a receiver IDOC adapter.
    I have created a multimapping (1:N - 1 XML file to many Idocs) as should in the repository.
    In the configuration under Interface Determination, I have chosen 'RB_SPLIT' and selected the interface multimapping.
    It should be pointed out, that when testing both interface and message mapping i get no error. All idocs seem to be created as they should.
    When testing the setup 'real life' the message fails. The error message in the monitor says:
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_WRONG_INTF</SAP:Code>
      <SAP:P1>InterfaceCollection</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Unable to interpret IDoc interface InterfaceCollection</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Notice that the above error is when trying to send only 1 record, which in turn then should result in only 1 idoc.
    If trying to send multiple XML records, i get the following error:
    - <!--  Technical Routing
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="OUTBINDING">MMF_ENGINETYPE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>A system error occurred in the outbound binding</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    In the monitor in the payload of 'Request message mapping' I see as many Maindocument, Submaindocument pairs as should be Idocs.
    Now i really don't know how to interpret the error messages in both cases, so I'm a little lost here...
    It should be pointed out that the idoc being used everywhere in this scenario, has not been modified - from all places it is being used (and only exists) in the 'Imported objects | Idocs' place.
    Also the Idoc is also being used as Inbound interface - so no mistakes here either.
    I really hope someone can help me here, as I'm otherwise pretty stuck in this case.
    Best regards,
    Daniel

    Hi Daniel,
    I have exactly the same type of scenario (under SPS14 and now also SPS15), sending an XML message over JMS to XI and trying a multi-mapping to many IDocs (actually a list of orders in XML is mapped to n ORDERS Idocs).
    I also face problems doing so, when I use the IDoc Adapter as outbound in the Receiver Agreement. I receive the following error:
    <i>CO_TXT_MMF_ENGINETYPE
    Messages in multi message format can be sent to one adapter engine only</i>
    However, I tested the same scenario by just changing the Receiver Agreement to a File Communication Channel and - surprise, surprise - it works. One file per IDoc is created.
    Of course, this is not what we want to accomplish, but when I checked this piece of documentation (sorry another link
    http://help.sap.com/saphelp_nw04/helpdata/en/42/ed364cf8593eebe10000000a1553f7/content.htm
    the IDoc adapter is not listed in the list of Adapters that are supported. Does that mean, that this feature is not supported for generating IDocs? Maybe that's a question for a SAP OSS Message?
    I hope that helped you a little further - if you find out more I'd be happy to learn about it.
    regards,
    Peter

  • Error in Invoic Idoc - Vendor, Company code not found

    Hi All,
    We are facing an issue with an Incoming Invoice Idoc (Mes type - Invoic). A third party system sends the Invoices which are received by the XI system and then as Idocs into SAP.
    The XI system is defined as a Logical system in R/3. We have created Partner Profile, Dist Model with XI as a LS.
    The error that we are encountering is -
    Customer , vendor <our LS> not known
    Message no. FD110
    A company code cannot be determined for LS
    Message no. FD006
    Are we missing out some data in the Idoc or are we missing some EDI configuration?
    Please advise as to how we need to proceed.
    Thanks in advance!
    Liz

    hi,
    Error : A company code cannot be determined for LS
    This means that SAP cannot match an appropriate company code with a partner profile :-  and hence, doesn't know where to post the invoice.
    Partner Type = "LS" (Logical System)
    Partner Name = ""
    I think what you've got is message FD006 - longtext for it can be found via transaction SE91 and sounds like this:
    The system cannot determine the relevant company code since the allocation of the data transferred in the invoice is missing in Financial Accounting customizing.
    The company code can be determined outside of the system and be put into the intermediate document (for example, from the EDI subsystem). Then the company code must be put into the E1EDK14 segment and ORGID field and the value "011" used as the qualifier.
    Determine the company code for & & & in Financial Accounting customizing.
    LS  is your Logical System. So you might want to have a look at transaction OBCA where you can assign a company code name in the invoice for your Logical System.
    In the E1EDKA1 segment. there are two fields PARVW (which is the qualifer or Partner function) PARTN (partner number). The information that is sent in the PARTN has to either match the information in SAP or has to be converted.
    If the later is the case try transaction VOED.

  • Inbound processing of INVOIC IDOC without PO number and item check

    Hi All,
    I'm processing an Inbound INVOIC IDOC to create an Intercompany Vendor Invoice against a Purchase order but wish to do process this based on the delivery note number rather than the PO number. The INVOIC IDOC will not contain a reference to the Purchase order and thus the need to process it based on the delivery note number which will be referenced in the Purchase order Goods receipt.
    However, when processing the Inbound INVOIC IDOC it is validating that the number in IDOC segment E1EDP02 with QUALF 001 is the purchase order number. In this scenario it won't be and therefore it errors. The delivery note number is in IDOC segment E1EDP02 with QUALF 016.
    Could someone please tell me if there is a standard way that we can have this Inbound INVOIC IDOC processing using only the delivery note?. If I manual process in the MIRO transaction I can process an Invoice based on the dleivery note in the Goods receipt so would expect I should be able to do so also with the IDOC processing.
    I have noticed that IDOC segment E1EDP19 with QUALF 003 is not being populated and therefore according to the SAP help the IDOC segment E1EDP19 with QUALF 002 holding the Vendor material number is checked. Could this have something to do with it not being able to process the Invoice using only the delivery note number reference?.
    Thanks in advance,
    Michael

    Hi Karen,
    According to Note 103051 - EDI: Multiple reference to same purchase order item.
    Module IDOC_INPUT_INVOIC_MRM (only as of Release 4.0) for the logistics invoice verification can distinguish different goods receipts by means of the delivery note number. For this purpose, GR-related invoice verification must be active. Please check the note.
    Thank you,
    Shyam

Maybe you are looking for

  • How to use ant1.3 in Wndows ME to build the examples in J2EE Tutorial?

    When I tried to build the examples bundled with j2ee tutorial in the ..\j2eetutorial\examples directory using the ant 1.3 on Wndows ME I get the following exception.Anybody please help me.Is there any other build tool available for download? StringIn

  • Font Book does not recognize some Postscript type 1 font files

    I am new to OS X and am trying to copy all of the fonts used under OS 9 (using Suitcase) to be available under OS X. I have copied all of my font folders into the correct location, but some of them do not appear in the font list within Font Book, and

  • Older PDF documents are not opening in .msg (outlook) format

    Hi, I'm using adobe reader 11 and outlook 2010. I converted all emails that need to be transferred to PDF and then 'delete' the original emails from Outlook.  It converts to pdf (so one pdf file can have 230 emails in them).  we then open the pdf whi

  • SAPphone transfers

    Hi, We´re going to do a connection between CTI system and SAPphone using SAPphone server and integrating it with TAPI interface. So, when the agent will answer a call, in his computer screen will appear the client information in a pop-up. If now that

  • Joining two tables LIKP and VBUK

    HI, I want to join two tables LIKP and VBUK, can u give some explaination ? points will be given for good answers... regards Vijaya