IDoc Correlation Problem

Hi All,
I hav a scenario in BPM which recieves two IDocs and processes further. I used correlation in this. but when i triggered both the IDoc's from the R/3, i'm getting the following error:
Unable to deliver event <b>'RECEIVED' of object 'ZXI_PROXY_DANGEROUSGOOD_A_0001'(IDoc2)</b>. I tried removing recieve for IDoc2 and it was working fine. when i introduced another recieve for IDoc2, i'm getting this problem. I tried the other way round.but, in that case i'm not getting anything(i think the IDoc is not recieved by the BPM) when i double clicked the message that is displayed in the SXMB_MONI.How can i go abt resolving this.
any help wud b appreciated.
Thnx
Anil

Hi Anil,
Please go thru these..
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm
hope these help!
cheers,
Prashanth

Similar Messages

  • IDOC performance problem

    Hi All,
            Currently I come across a idoc performance problem,in we20,the idoc inbound process code invoke BDC manner.
    the detail as follows:
    (1)Seebeyond send the idoc to SAP side.
    (2) Idoc added(Status 50)
    (3)IDoc ready to be passed to application(64)  11:06:27
    (4)IDoc passed to application(62)                   11:21:22
    My question is why the process time spend so much when idoc status from 64 to 62,what is the affect factor.whether the process time include BDC execution time.Thanks.

    Hi,
    I think it has taken much time to get the status 62 from 64 status.
    In the partner profile WE20 transaction for this interface you have used Collect IDOC's option. If that is the case till your background runs it will get into 62 status.
    If you use trigger immediately option in WE20 transaction then as soon as the IDOC is in 64 status it will be processed that is it will 62 status immediately.
    I hope I have answered your question.
    Thanks,
    Mahesh.

  • Database adapter correlation problem

    Hi,
    I have to create process with this scenario:
    Started by db adapter polled table 1 for update.
    Invoke asynchronous webservice
    Waiting for message from db adapter polled table 2 for update.
    How to correlate this.
    I create process started by db adapter and I have problem to correlate it with soap wsdl operation.
    When I replace db adapter operation with soap operation based on adapter xsd correlation works fine.
    Thank you in advance

    I tried to add another adapter which works fine and there was no correlation problem.
    After hours of testing I decide to remove malfunctioned adapter and create it again.
    Fortunately works without problem.

  • Request iDoc and status iDoc correlation

    Hello,
    I have a strange problem.
    In my XI 3.0, I have an iDoc2iDoc interface which used to work fine, until I installed patch level 14.
    Now, when the acknowledgement (ALEAUD) comes back into my R/3 system, the iDoc system does not recognize it as a response for a specific request iDoc I've sent, but as an ordinary inbound iDoc.
    After a short investigation, I found out that the iDoc number is not correlated, it seems like a problem in the iDoc adapter in the XI, that does not translate the iDoc number of the target system back into the iDoc number of the original system.
    Has anyone met with this kind of problem ? any solutions ?
    Thank you,
    Elad.

    Hi Anand.
    All of the partner profile and iDocs configuration are complete and correct.
    I'll try to be a bit more specific:
    Local R/3 sends iDoc MATMAS through XI 3.0 and receives ALEAUD iDoc as an applicational acknowledgement.
    For the R/3 to be able to correlate between the inbound ALEAUD and the outbound MATMAS the iDoc system uses a field containing the iDoc number.
    The problem is that ALEAUD has the number generated by the remote system and the MATMAS has the number of my local system, the XI is suposed to translate the remote iDoc number back to the local iDoc number.
    I hope it's clearer now, and that someone can help.
    Thank you,
    Elad.

  • XI 3.0 IDoc Adapter Problem

    Hello,
    I have a problem to establish an Idoc communication between SAP R/3 4.70 and SAP XI 3.0.
    Following systems I have defined in XI SLD:
    Sending R/3: HS3CLNT100
    Receiving XI: X30CLNT100
    In the Idoc (type orders) the sending port is "SAPHS3".
    I have configured the XI 3.0 IDoc Adapter as follows.
    - IDoc Port "SAPHS3"
    - I have loaded the IDoc Metadata
    - ALE Distribution model in sending R/3 is defined
    - In the Integration Directory I have defined a "service"
      This was done by upload an existing business system
      "HS3CLNT100" including the automatic generation of
      communication channels.
    This should "normally" be all, what I have to define.
    PROBLEM
    ========
    When SAP R/3 tries to send an IDoc into SAP XI it will fail. In SAP R/3 transaction SM58 I can see following message:
    "No service for system SAPHS3 client 100 in Integration Directory"
    I don't think, it's normal to configure XI business systems with the same name as the IDoc port!?
    Thanks in advance
    Klaus

    Hi James,
    yes in the IB (Configuration) I have generated a service under "services without partner". Service name is "HS3CLNT100" and he includes the generated receiver channels. Or do you mean something different?
    Klaus

  • File to Idoc Mapping Problem

    Hi all,
    i'm getting an error from SXMB_MONI in a scenario File to Idoc.
    I have done the mapping from source file and Idoc CREMAS03, when i try to test from Integration Repository it's all ok, but when the scenario is executed i find this error in Idoc Adapter :
    <SAP:P1>MSGGUID EF7E2140A08811DDBE1202004C4F4F50: Tag #TEXT found instead of tag IDOC BEGIN=</SAP:P1>
    The field BEGIN in idoc structure is filled with constant value 1, than i dont understand the error.
    This is the xml source file :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Vendor xmlns:ns0="urn:tbit40:workshop:group01:legacy">
    - <Address>
      <Country>IT</Country>
      <Zip>001</Zip>
      <City>ROMA</City>
      <Street>SATTA</Street>
      </Address>
      <Currency>USD</Currency>
      <SearchTerm>TEST</SearchTerm>
      <LastName>GUIDA</LastName>
      <VendorNumber>44332</VendorNumber>
      </ns0:Vendor>
    Any help is really appreciated.
    Thanks.

    Hi all and thanks for your answer.
    My problem is that for what i can see all Idoc attribute (like the attribute BEGIN) are mapped with constant value.
    In taget source i can see :  BEGIN = Constant([value=1])
    What i dont understand is why when i execute the scenario it ends with this message :
    <SAP:P1>MSGGUID EF7E2140A08811DDBE1202004C4F4F50: Tag #TEXT found instead of tag IDOC BEGIN=</SAP:P1>
    It seem to me that the tag BEGIN is not filled with value, i also tried to copy the source xml file directly from SXMB_MONI  (from payload) and test it in Integration Repository mapping section, but here is all ok and the test end succesfully.

  • Complex IDOC mapping problem

    Hello,
    I'm stuck with a complex mapping issue that I can't figure out.  I'm trying to pull 0..N Variant Configuration segments from the ORDERS IDOC and map it into a 0..N XML segment.
    The inbound ORDERS IDOC is structured like this:
    IDOC
    ...E1EDP01  (Item segment 0..N)
    ......E1EDP19 (Product data 0..5)
    ...........Z1EDPIT  (Configuration Data 0..N)
    .................ATUE1   (Description)
    .................ZCODE   (Category)
    .................RTWTB  (Value)
    Target XML:
    Order  
    ....Item  (Item segment 0..N)
    .......Product  (Product data 0..1)
    ............VariantConfig  (configuration data 0..N)
    ....................Description
    ....................Category
    .....................Value
    I need to create a new VariantConfig segment in my XML for every Z1EDPIT segment for that PO Item.  But I need to skip any Z1EDPIT segments when ATUE1 = 'OPTIONS' or when ATUE1 does not exist.
    The problem I'm running into is that my mapping is capable of creating the VariantConfig segment under those conditions but the following mappings used to create the Description/Category/Value are unable to skip the Z1EDPIT segments.
    For example:
    IDOC
    ...E1EDP01 
    ......E1EDP19
    ...........Z1EDPIT 
    .................ZCODE     = REQT
    .................RTWTB     =  5644
    ...........Z1EDPIT 
    .................ATUE1     = Finish
    .................ZCODE    = REQT
    .................RTWTB    = 7712
    The output XML should read:
    Order  
    ....Item 
    .......Product 
    ............VariantConfig
    ....................Description   = Finish
    ....................Category      = REQT
    .....................Value          = 7712
    So I determine to create the VariantConfig segment if ATUE1 exists and does not equal 'OPTIONS'.  So my mapping creates one VariantConfig segment because the second Z1EDPIT qualifies.  But each element within that node is reverting back to the first Z1EDPIT segment.
    I thought the top of the Node (VariantConfig) would determine the context for the following fields.  Therefore, when the 2nd Z1EDPIT segment generates the VariantConfig node then the elements should refer to the current context of the root node (VariantConfig).
    What tools does PI's mapping provide to resolve a situation like this? 
    Any suggestions?
    Thanks,
    Matt

    Job,
    Thanks, for the responses!
    What do you mean by "add a context change for the fields". 
    Is there some mapping function to add a context change or is this a UDF I need to write to handle the context changes when ATUE1 is missing or equal to "OPTIONS".
    In my example:
    VariantConfig:
    ATUE1 (E1EDP01) >mapWithDefault [OPTIONS] equatsS [OPTIONS] -> Not ->createIf->VariantConfig
    Sub Element
    Category
    ATUE1 (E1EDP01) >mapWithDefault [OPTIONS] equatsS [OPTIONS] -> Not ->ifWithoutElse>ZCODE->Category
    The problem is that this does not keep the ATUE1 and the ZCODE in the same Z1EDPIT segment.  So I get the first ZCODE value when I only want the 2nd.   Even if I insert a context change I can't say for sure that next time I won't have 5 Z1EDPIT segments missing the ATUE1 segment before I find my first good segment that I need to map.
    ...confused...
    Thanks,
    Matt

  • XI IDoc adapter problem. MESSAGE.DUPLICATE_DE

    I have a problem with the IDoc. When sending the IDoc from the PI to ERP - system throws an error (ta SXMB_MONI):
    <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="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>Internal Server Error</SAP:P2>
      <SAP:P3><SAP:Error><SAP:Category>XIProtocol</SAP:Category><SAP:Code>MESSAGE.DUPLICATE_DE</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP server code 500 reason Internal Server Error explanation <SAP:Error><SAP:Category>XIProtocol</SAP:Category><SAP:Code>MESSAGE.DUPLICATE_DE</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    What could be the problem?

    The HTTP code 500 indicates internal error in your application.
    Check on to the stacktrace in
    <local drive>:\usr\sap\XXX\YYY\j2ee\cluster\server0\log
    check note number 804124 at service.sap.com
    You can also check:-
    Ping the receiver host from XI server.
    Have a look at the SMICM->Trace file
    Test the connection of AI_RUNTIME_JCOSERVER
    HTTP 500 can be any problem at receiver side. Are you sure, that the payload fits to the receiver requirements?
    Also i looked up this message "MESSAGE.DUPLICATE_DE" this comes when duplication of message takes place.
    Try chaning the input data.
    Venkat.

  • IDOC Receiver problem with 7.11 and ECC6

    Hello,
    we have a IDOC_2_IDOC scenario on old XI system which worked fine.
    We are moving now to PI7.11 and get the problem, that all IDOCs in the receiving ECC6 system
    go to status 51 "No status record was passed to ALE by the application"
    It seems to be a problem of processing of too many IDOCs at the same time,
    because if there is enought ime between the IDOCs the the procsing in ECC6 works.
    Only if too many IDOCs are sent from PI to ECC6 then I get this error.
    I have checked aRFC and tRFC options in SM59 but there is no difference.
    IDOC packing is not activated on sending system and on PI.
    At the moment the scenario should work as is worked on 7.0......
    Any ideas which setting is different or where to look?
    best regards
    Werner

    Hello,
    which ALE settings do you mean???
    on PI or receiving ECC6
    PI:
    here we only use SM59, IDX1, IDX2.... for IDOC adapter
    ECC6: only partner profile INBOUND PARAMETER
    On the sending R/3 system I can not change something.....and there was no change.
    best regards
    Werner

  • Correlation Problem

    Hi guys .. M having a little problem with the correlation sets here ...here's my situation
    1. Created three Async Processes A,B and C
    2. The Reply from C should go to A directly and not through B.
    3 .This is the same thing as the Tutorial in the Sample of BPEL folder regarding Correlation Sets
    4. This channel is working properly without any problem
    5. I have another process D which calls the same operation 'receive' which Process C also calls to return data to 'A'.
    6. I have kept the two receive activities sequentially.
    7. After the first recieve is over when it comes to the second receive i m getting a null pointer exception
    8. When i remove the correlation set from the second receive it shows receive2 pending which is alright but somehow i need process D to fire the second receive as well ..it's not working ..
    9. Incase of An adapter ..file/jms etc this thing will work but i m confused why it's not working and running into null pointer..
    Any suggestion or help is highly appreciated ...
    thanks

    Hi,
    yes i did all the things ..property,property alias and all ...but still i m getting that .. i m trying to figure out how these things are working independently but when am using both in the same process ..the second receive gets the null pointer when i am adding the correlation properties on that receive..m using the Oracle soa 10.1.3.0 base version on olite for this testing..
    Edited by: andyC on Jul 7, 2010 2:15 AM

  • Correlation Problem in OpenScript with solveGroupJavaScript(String path).

    I am having problems with the correlation of solveGroupJavaScript(String path). My script is throwing the following error.
    Failed to solve JavaScript variable web.jscript.httpseformssitch...
    Does anyone know how to switch of this particular type of correlation or how I can change my script to ignore it?
    I have tried commenting out the line, this failed as I expected it would.
    With out going into too much detail my script is a record of a manager accessing an Oracle form which allows them view only of claims made by their staff.
    The scenario is
    Page 1 of script
    Access Form
    Click on view claims bar with hidden button
    Page 2
    A table drops down of claims
    A claim is selected to view
    Page 3
    Claim is shown
    Page 4
    Return to start
    Close form
    The error occurs when returning to the view claim page before closing form. I believe the problem is that the script does not find the button to view claims. On this second visit the form has reverted back to it original state with drop down table has gone. Whether it’s that that confusing the script I don’t know.
    This is the line from the script
    http.solveGroupJavaScript(http.javaScriptPath(
                                  "web.jscript.httpseformssitchris_21", 1, 3, 2, 0));
    And this is the post line
    http
                                                                     .param("source",
                                                                               "{{web.jscript.httpseformssitchris_21,form1:commandButton1}}"),
    The hidden button to view claims is called commandButton1. I refer to it as a hidden as it is hidden in a bar that runs across the form.
    Any help would be appreciated.
    Edited by: user9020510 on 09-Jul-2010 06:10

    I have found out how to edit my script
    comment out the first line and the post line should be
    .param("source","form1:commandButton1")),
         /*"{{web.jscript.httpseformssitchris_21,form1:commandButton1}}")),*/
    I do not fuuly understand this but it worked.
    I hope this may help others
    Edited by: user9020510 on 12-Jul-2010 04:53

  • Correlation Problem with Oracle BPM 2.1.2

    I have developed a BPEL process that invokes Axis web services and then wait an asynchronous message from the services, using pick with onMessage tag. Previously, I do my work with Oracle BPM 2.0.10 and designer 0.9.5, it works well. But now, I have used Oracle BPEM 2.1.2 and designer 0.9.10, my Axis web services can not send any asynchronous message to the process. What's the problem? Must I set some configuration with BPM 2.1.2 or change my original BPEL code?
    This is a fragement of my BPEL code.
              <invoke name="invokeSubscriptionProxy" partnerLink="subcriptionProxy" operation="subscribeToProxy" inputVariable="input4SubscriptionProxy" outputVariable="output4SubscriptioProxy" portType="nsxml1:NotificationProxyPortType">
                   <correlations>
                        <correlation set="correlationInteger" initiate="no" pattern="out"/>
                   </correlations>
              </invoke>
              <pick name="pick4Subscribe2">
                   <onMessage partnerLink="client" portType="tns:TestOrchestratingGeneratedGramProxy" operation="deliverNotificationFromProxy" variable="deliveredNotificationMessage">
                        <correlations>
                             <correlation set="correlationInteger" initiate="no"/>
                        </correlations>
                        <sequence>
                             <empty name="empty-2"/>
                        </sequence>
                   </onMessage>
                   <onAlarm for="'PT1H'">
                        <sequence>
                             <empty name="empty-2"/>
                        </sequence>
                   </onAlarm>
              </pick>
    When I edit this code with designer 0.9.10, it shows no error. I test my process by viewing BPEL console.
    Please help me to correct this problem.
    PS. I sure that my Axis Web servies work well.

    Hi,
    "my Axis web services can not send any asynchronous message to the process" --&gt; means when you try to invoke an Axis Web services from a BPEL process, there are no callback message from the web services, right? Did you see any exception from either the console or BPEL server DOS window?
    John

  • IDOC Config Problem... Transaction BDFG giving error mesage..

    Hi ,
    Transaction BDFG, If i click on the change button i get an error as Message (Idoc Message Name) has not been generated,Furthur Processing is not problem. Reason being in Table EDBG the Generated field for Idoc Message is blank.
    How can i get in generated.. Do help..

    Hi ,
    Could you please check the below links.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/406efa7e-388a-2910-f9b8-81913b0ca57f?QuickLink=index&overridelayout=true
    http://help.sap.com/saphelp_erp2004/helpdata/en/00/a814b5d05b11d6b2ca00508b6b8b11/content.htm
    Regards,
    Ratheesh BS

  • Inbound IDoc(HRMD_A07) problem in delimiting the infotype records

    Hi All,
    I am using Inbound IDoc (HRMD_A07) approach to update infotypes. I found that I am able to create a record in an infotype, but there is a problem in delimiting the infotype.
    Please help me out in case I am missing something.
    Thanks,
    ABAP_DEV

    Hi,
    Did you get this resolved. Even i'm facing this issue. Is it a config or do we have to do something in the IDOC.
    Thanks,
    Jilly

  • IDOC Inbound Problems

    Hi there experts,
    I've been through a lot of blogs, websites, google, SCN and others, but I can't find a solution for my problem.
    We need to create an interface ECC > PI using IDOC.
    All config were done to make it happen.
    When the IDOC is sent to PI (I've used WE19 for tests), it goes to PI and when I check BD87 I always have those errors:
    Error 56 : External segment name E2FIKPF007 cannot be interpreted
    Error 60 : Basic type FIDCCP02 does not exist
    So, as you can see, we are using IDOC FIDCCP02. It's basic data was configured on PI IDX2 and it is loaded just fine:
    What could be possibly wrong?
    Thank's!
    Flavio

    Hi Ramkumar, thank's for the fast response.
    When we go to IDX2, select the IDOC and choose to show the details, we have an option to show all segment versions. And there is E2FIKPF007.

Maybe you are looking for

  • X keeps crashing

    Hi, I've been using Arch for more than 8 months and I love it a lot. I've never had any major problem with it, until I performed a system upgrade, where my Amarok stopped playing songs. After googling I realized that I had to install gstreamer0.10-ff

  • Selling my iMac for a macbook help!

    So I'm selling my mac that I got in january this year (2013) and I want to sell it to get a macbook so I can have something more accessible. I have a PC which I mainly use but use Logic on macs, will this run logic well compared to my pretty newish i

  • Terminated with error: br REP-501: Unable to connect to the specified data

    Dear All, Oracle DB 10g installed on Windows 2003 Server machine and client is Windows 7 Pro. Forms are running fine. If I run report by puting everything in URL it is also giving result. But only when i am trying to call report via form I get an err

  • DataGrid tooltip doesn't work for customized itemRenderer

    I have a DataGrid with one column is a customized renderer, when I try to use the dataTripFunc, it is not showing tooltips, same function works for the other non-customized column, here is the code: <mx:DataGrid id="myDataGrid" dataProvider="{dataCon

  • My Optiarc DVD RW AD-7581S wont work on Pavillion laptop with windows 8. What do I need to do.

    I Installed windows 8 and DVD stopped working as a player. Am now completely goofed as I tried a backup recovery disc to get back to before win 8 and all that did was wipe my drive and leave windows 8 bare! Any ideas on how to get the DVD drivers to