JMS to IDOC scenario...

Hi,
I am doing an JMS to IDOC scenario...
where will i mention saying there is a logical system in R3(Partner profile).The IDoc should reach that Logical system only.I have a doubt on this....Because we are disabling the IDOC EDIDC segemnt in Recever segment.so.
Please guide me.

You fill the mandt field like SNDRPRT, RCVRPRT and others in the mapping and you can take care of rest in the R/3 side.
You could fill up it in mapping and apply the Check box as mark for considering the control record from Payload in communication channel. Just pass the mandatory fields as you have used the details to configure the prtner profile and port.
You could also specify the Adapter specific attributes with the same logical system name in Busines system or service that could fill-up the control records internally.
Refer
http://help.sap.com/saphelp_nw04/helpdata/en/13/95244269625633e10000000a155106/frameset.htm
SAP Network Blog: Manipulating Idoc Control Records from Payload
Manipulating Idoc Control Records from Payload
changing IDOC control record by XSL Mapping

Similar Messages

  • How to reduce processing time  in case of jms to idoc scenario

    hi all,
    i am doing jms to idoc scenario.
    in this i'm using xslt and graphical mapping.
    while perfroming E2E testing the messages are taking lot of time to get processed.
    please tell me as how can i reduce this processing time or in short how can i overcome this problem.this is a critical issue in production.
    regards
    madhu

    Hi,
    1. To reduce the processing time for JMS -> IDOC scenario, try to get the Average processing time taken by JMS adapter, IE, IDOC adapter for the messages that are processed so far by going thro the Adapter Audit logs, SXMB_MONI race and Time in WE02 in R/3 system. Calculate this for 5 - 10 messages at different time to get the clear idea of which step is consuming more time. Then it will be helpful to focus on tuning that specific step.  If you are using BPM, check the processing time taken by PE.
    2. Check the Inbound and Outbound queues used by this interface, if required try to configure Prioritized Queue with more time allocated for this interface in Integration Engine.
    3. Check the load on the Integration Server when this Interface messages are getting processed, to understand/ isolate the interfaces which are consuming more processing time and system resources.
    4. If this is not in Production try to perform the Mapping/ transformation in graphical mapping itself, it will be helpful to minimise use of XSLT mapping to get better performance.
    5. Check if the Archive and Delete jobs are running successfully in the Integration Server, since this will free up the occupied resources in the system.
    6. If possible post seperate Forum questions for issues in different Interface scenarios, it will be easy to understand the problem for all of us.
    Hope this will be helpful,
    Regards,
    S.Santhosh Kumar

  • JMS - PI - IDoc scenario: possible to disable check for duplicate JMS message ID?

    Dear all,
    we have a scenario JMS - PI - IDoc. We are on 7.4 SP 7 AEX.
    Once and again we get this error in PI Logs
    com.sap.aii.adapter.jms.core.channel.filter.InboundDuplicateCheckFilter.filter(MessageFilterContext filterCtx)
    Duplicated and already processed JMS message with JMSMessageID ID:414d512053415050523120202020202053f0f4852000fb39 and XI message id b0beffdbcee64c2605779eaacf27b335 detected.
    We are currently investigating the error and it seems that the duplicate message IDs already exist on the JMS (MQ) side. The messages with the same ID reside in the same queue but have different payloads, so really are different messages
    While it's certainly true that we need to get rid of those duplicate IDs in the long run, I'd like to ask if it is possible to tackle the problem from both sides.
    My sender JMS Adapter looks like this:
    Transactional JMS Session = Checked
    Set PI Message ID (MessageID) to = GUID
    Set PI conversation ID (ConversationID) to = No Value
    Enable Duplicate Handling = Unchecked
    Prefix Channel ID = Unchecked
    --> Is there any way to tell PI to just ignore the duplicate JMS ID and continue processing?
    Many thanks
    Kind regards
    Jens

    Hi Jens - Please have a look at the below note if it helps.
    If you want the duplicate messages received from different channels (that is JMS Messages with the same Message ID) to be processed as a distinct JMS messages and not as duplicate messages, select Prefix Channel ID to JMS Message ID
    Reference :
    Configuring the Sender JMS Adapter - Advanced Adapter Engine - SAP Library

  • Jms-xi-idoc scenario

    Hi
    As ECC system is going to receive idoc's we got to set partner profiles in this sytem. If I am not wrong  in ECC system we are going to set the partner profiles of XI system ?? or partner profiles of ECC system itself ?? Meanwhile whether we got to set for outbound or inbound ??
    Thanks
    kumar

    hi,
    Please go through these liks it will be very usefull.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    /people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi
    provide me the points if it is useful.
    thak's
    prabhakar.

  • JMS to IDOC error

    I am doing a JMS to IDOC scenario...
    i am getting an error:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException
    thrown during application mapping
    com/sap/xi/tf/_ECC_TTG_CREATE_:
    RuntimeException in Message-Mapping transformatio~
    Before it was working fine...
    i dont why this is happening...

    Hi PSRK,
      It looks like it is a message mapping error.
    take the raw payload from SXMB_MONI and run in the test tab of the message mapping. To know the exact issue.
    Regards,
    ravi

  • JMS to IDOC xslt mapping

    Hi,
    We have a JMS to IDOC scenario. We are using PI7.1.  We are currently using XSLT Mapping . This needs to be replaced by Graphical mapping as XSLT mapping  is consuming more memory.
    If we remove the XSLT Mapping between source and target would we need content conversion for the soruce file  ?
    Please advice.
    Thanks,
    Teresa

    Hi Teresa,
    File Content conversion(fcc) is used to convert Any format file to XML format, while sending the data into PI.
    & XML format to Any required output format, while sending data out of PI.
    B'cos, PI only understands XML language.
    So, this has nothing to do with XSLT mapping in your case.
    change XSLT mapping to Graphical mapping. that should accomplish your task.
    -santosh.

  • JMS to IDOC

    Hi,
    I'm working on JMS to Idoc scenario, this is going to be a huge volume scenario( may be 50K messages at a time from legacy). So SAP folks needed the maximum records in a Idoc would be "10000" and should processed for 5 times something like that.
    How can I achieve the same in XI. Please help me out.
    -Xavier

    First of all you have to create an external definition in which you have to change the occurrence of IDOC as 1...unbounded. Then use the UDF as mentioned below to create a context change after 5000 records for example. And then map the UDF to "IDOC" segment.
    While creating the UDF select the Cache as "Queue".
    int count = 0;
    for (int i = 0; i<input.length; i++)
    count = count + 1;
    if(count == 5000)
    result.addValue(" ");
    result.addValue(ResultList.CC);
    Count = 0;
    //if at any time records are less then 5000 then also an idoc should be created
    if(input.length < 5000)
    result.addValue(" ");
    While doing the mapping you have to set the context of source node at higher level or use removeContext. e.g.
    SourceNode -
    >RemoveContext -
    >UDF -
    > IDOC.
    To change the occurrence of IDOC follow step1 to 4 from below mentioned blog...
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Regards,
    Sarvesh

  • How to implement this Scenario(JMS to IDOC)

    Hi Frnds,
    I am working on one scenario JMS to IDOC .based on JMS Message my XSLT Mapping will genarate Multiple Idocs(max 3) or 2 or one.
       I have to send this IDOCS based on some conditions,the conditions mentioned below.
    xslt mapping genarats one message ,but this contains 3 IDOCS or 2 or 1.(Order Create , Order Change and Order Response),
    what is the best approach to implement this scenario
    1)f Order Create  segment exists (new PO), first check SAP to see if PO does actually exist using RFC Z_BBPR46_GET_PO_FROM_FPA ,If it does not exist, pass Order Create idoc to SAP to create new purchase order
    If it does exist, retrieve PO details from RFC and pass Order Change idoc to SAP to update existing purchase order
    2)If Order Change segment exists (change PO), retrieve PO details using RFC Z_BBPR46_GET_PO_FROM_FPA and pass Order Change idoc to SAP to update existing purchase order
    3)If Order Response segment exists (goods movement), retrieve PO details using RFC Z_BBPR46_GET_PO_FROM_FPA and pass Order Response idoc to SAP to create goods movement.
    Above logic i implemented in one mesage mapping Source is XSLT Mapping Output and Receiver message in message mapping is Multimapping selected 3 IDOCS.
    Regards,
    raj

    thanks

  • JMS -- PI -- IDOC Party Communication

    Hi,
    I have a scenario JMS --> PI --> IDOC and vice-versa. JMS is an external system, so using PARTY communication. SAP System is within customer landspace.
    My doubt is - I have to import a Business System in ID for the IDOC (SAP system). Now where should I import this Business System? Should I import the SAP Business System under Party or under Without Party?
    If I am not wrong Business Component for JMS will come under the Party; have a doubt about the Business System.
    Thank you,
    Pankaj.

    If this is in another landscape then use Party..
    Ok. So nowI have imported the Business System (SAP ECC) under Without Party and will create the Business Component for JMS under Party.
    Thank you,
    Pankaj.

  • JMS to RFC Scenario

    Hi Every body...
    I am working on SAP XI 3.0 with Service Pack 14. I had completed a scenario for JMS to RFC communication. I completed all the steps and when i am posting the xml message but not getting the responce.
    could any one tell me what may be the reason i had done this scenarion with out using BPM. Is it possible to work with JMS having XI ,Service pack 14.
    Regards

    Hi Just refer these may be help you
    refer in this thread  the reply of Krishnamoorty'
    JMS to RFC without ccBPM ????
    <b>Async/Sync Communication using JMS adapter without BPM</b>
    /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    <b>Sync/Async communication in JMS adapter without BPM</b>
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    <b> Multi Mapping without BPM (JMS 2 IDoc) </b>  
    Re: Multi Mapping without BPM (JMS 2 IDoc)
    Thanks!!

  • Error while executing a JDBC to Idoc scenario : No standard agreement found

    Hello SAP PI Gurus, 
    I am having a JDBC to idoc Scenario .And the interface is running at 10 min of duration. 
    <SAP:AdditionalText>No standard agreement found for ,
    BS_EXT_CTBSREPDB, , BS_ERPQAS_QE1_320, http://XYZ.com/FI/FI_FI_01/Charges, FIDCC2</SAP:AdditionalText>.
    While i test the configuration...i get an error in reciever agreement as mentioned above.
    Can you pls help me in resolving this issue.
    Regards,
    Ravi

    Hi,
        I think the problem is with namespace....for IDOC the namespace will be "urn:sap-com:document:sap:idoc:messages"...but in your case it is different.....i.e http:....etc.....please check whether you 've used the same IDOC withe above mentioned namespace in all the configuration objects like interface determination, receiveragreement etc.....
    Thanks
    Priyanka

  • Idoc-XI-Idoc Scenario

    Dear All,
    I am working on Idoc-XI-Idoc scenario in which I am getting ORDRSP Idoc in input. In one of its segment I am getting value as either A or B. If value is coming as A in input then in the output we want PORDCR101 Idoc but if we have B as value in the source idoc then we should have multiple PORDCR102 Idocs ie for each line item there will be different idocs.
    Please guide me on how we can implement BPM in this scenario as required two MM i have created and they are working fine.
    Regards,
    NJ

    Hi,
    If value is coming as A in input then in the output we want PORDCR101 Idoc but if we
    have B as value in the source idoc then we should have multiple PORDCR102 Idocs ie for
    each line item there will be different idocs.
    For Source = A:
    SourceField----
                          -----equalS ----ifwithoutElse ----then Constant(blank) ---> PORDCR101
    Constant(A)---
    Assuming that A in input then in the output we want PORDCR101 Idoc means that you need only one occurence of the IDOC
    For Source = B:
    SourceField----
                          -----equalS ----ifwithoutElse ----then LineItem ---> PORDCR102
    Constant(B)---
    Regards,
    ABhishek.

  • XI 3 File to IDoc scenario - Still referencing Old Logical system

    Hi
    Dont know if you can help. I have a file to idoc scenario  using XI 3 to R/3 4.6c system.
    I had the interface working from a third party system XMLHUB to SAP R/3. The Logical system name for the XMLHUB was XMLHUB01 in the SLD which I have set up as a partner profile in R/3. I have recently changed the logical system name to XMLHUBDEV01 in the SLD and created that logical system in R/3 and changed the partner profile to XMLHUBDEV01.
    Unfortunately in the sender information of the IDoc the partner number is still XMLHUB01 and not XMLHUBDEV01. I don't understand where this partner is sent from to get into the control record of the IDoc.
    I have cleared the SLD cache in both the Repository and the directory. Is there somewhere else I should be looking? Any help would be appreciated.
    Regards
    Daniel

    hi daniel...
    this thread wud answer ur query....
    Re: IDOC Payload
    regards..
    vishal

  • Issue in IDOC-XI-IDOC scenario

    Hi,
    We are facing a strange issue in an IDOC-XI-IDOC scenario. We are using a SAX parser to parse the code here.
    The error we are getting in 'sxmb_moni' is
    <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/abc/def/dev/sapxi/clfmas/Idoc2IdocMapperCLFMAS</SAP:P1>
      <SAP:P2>java.lang.RuntimeException</SAP:P2>
      <SAP:P3>For input string: ""</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>During the application mapping com/abc/def/dev/sapxi/clfmas/Idoc2IdocMapperCLFMAS a java.lang.RuntimeException was thrown: For input string: &quot;&quot;</SAP:Stack>
    The strange thing is, when I restart the message, it gets processed successfully. Also, when I copy the payload, and test the same on a different environment, it gets processed successfully.
    Would really appreciate some pointers here!
    cheers,
    Prashanth

    Hi,
    This related to mapping error check it once again.Check in Interface mapping Test tab.see the result.check the sxmb_moni and get the source of mapping come back to interfcae mapping and test .
    See the below links
    Hi I got EXCEPTION_DURING_EXECUTE in RWB->Message Monitoring
    I am getting MAPPING  EXCEPTION_DURING_EXECUTE
    EXCEPTION_DURING_EXECUTE- Error in Mapping. Doubt about IE and AE
    EXCEPTION_DURING_EXECUTE
    Mapping problem - EXCEPTION_DURING_EXECUTE
    ERR: EXCEPTION_DURING_EXECUTE while using FILE CONTENT CONVERSION
    Regards
    Chilla..

  • Error in IDOC-XI-IDOC scenario

    Hi folks,
    Let me explain the issue. This is an IDOC-XI-IDOC scenario. No BPM’s involved. SAX parsing used to parse the IDOCs.
    We had around 35000 IDOCs coming in from Brazil system, and they are all stuck in SMQ2 (Inbound queue) in XI. The first message of every queue is in SYSFAIL status, with the status text as <b>‘Problems found during the EXPORT to specified keyin table’</b>.
    When I try to execute the queue manually, nothing happens, but an error comes at the bottom of the screen, saying <b>‘Function module does not exist or EXCEPTION raised’</b>.
    I checked the dump on ST22, and it shows 130 runtime errors yesterday. The name of the runtime error is<b> ‘EXPORT_TABLE_UPDATE_CONFLICT’</b>.
    In the ‘what happened?’ part of the dump, it says ‘Error in ABAP application program. The current ABAP program <b>“CL_XMS_PERSIST=============CP”</b> had to be terminated because one of the statements could not be executed. This is probably due to an error in the ABAP program.’
    Even SXMB_MONI is not opening (for yesterday’s date). When I try to open it, it hangs for a long time, and finally opens an ‘ABAP Runtime Errors’ page with the runtime error titled as<b> ‘SNAP_NO_NEW_ENTRY’</b> and the error short text as ‘ Runtime error: Unable to write short dump’
    Please advise.Thanks a ton!
    cheers,
    Prashanth

    Hello Prashanth,
    First of all this is an XI issue and belongs in that forum.
    The export problem is typical to situations where your XI DB is out of space/out of table space. Please check with your Basis team.
    ‘Function module does not exist or EXCEPTION raised’- This message is a standard ABAP RFC message. For an RFC function call to succeed, you need the same RFC function to exist on both systems. However this is probably not the case- it is more likely that you're out of DB space as I already wrote.
    Good Luck (don't forget to award points)
    Ofer

Maybe you are looking for

  • Using Keyfigures with selections in a query

    Hi Experts, I am designing a query which has the selection criteria as (Condition1) OR ( Condition2 and Condition3) and all the selection are for a single month. For this I have created a Structure and am using two selections. I also need to display

  • Exchange rate differences between GR and IR

    Hi Gurus, i have a problem about a exchange rate differences beetween GR and IR. Customizing setting is done based on this logic (transaction OMRW, ERD setting = blank). For example: Goods Receipt amount is $100 and the posting is made with exchange

  • An Oracle data pump situation that I need help with

    Oracle 10g running on Sun Solaris: I have written a unix shell script that exports data into a dump file(data pump export using expdp). Similarly I have import script that imports the data from the dump file(import using impdp). These are not schema

  • Ok I am getting different speeds in every program I use (p6n sli)

    Post says one thing, cpu-z, dual core center, and clock gen says another. Which should I trust exactly? I have an e6600, is a 1480 MHz fsb pretty good at stock voltage to start with? Im afraid to go any further, as I am getting a myriad of different

  • TopLink Unit of Work Primer classes

    Hello, I found the contents of White Paper : "Oracle Application Server TopLink Unit of Work Primer" very interessant. It is possible to provide me the java definition of the three classes used: Fart, PetOwner and VetVisit? Regards, TT