Problem with Synchronous Scenario

Hello Experts,
Right now i am working on a synchronous scenario RFC <-> 3rd party.
RFC, with other data, passing one table to XI and 3rd party, but in response RFC will require the same table back.
Now here in XI we are not storing synchronous messages in success case. So can anyone tell me that if i want that table in reply also, what should i do?
I was thinking of option that while i communicate with 3rd party, we will create file also in which i will store that table data with the message Id, and while i will get reply back from 3rd party i will read this data from the file and then will pass it back to RFC.
But m not sure that in response how i will read that file? and will i be able to delete that file or not?
Please reply me as soon as possible as i have to give this option to my client.
Hope the question is clear.
Thanks and Regards,
Hetal

Hey,
  you can do this in a couple of ways.
Fisrt, you can create a file as already mentioned and access the file from your server.
second, you can create an internal table and access it via hash map.
for both the solutions you need to create a udf.
regards,
Milan.

Similar Messages

  • Problems with synchronizing iCal with iCloud accounts on my Mac Pro

    I have problems with synchronizing iCal with iCloud calender accounts on my Mac Pro runnning OS 10.6.8
    (error message "HTTP/1.1 403 Forbidden" på handlingen CalDAVAccountRefreshQueueableOperation.)
    It works fine on iOS devices.

    Due to lacking hardware driver compatibility i our graphic production environment we can't upgrade to Lion.
    Does that mean that it after the closing of MobileMe is impossible to synchronize calenders to Mac's running OS 10.6.8 ??

  • Problems with synchronizing

    Hello,
    I am fairly new to using Dreamweaver CS5, but suddenly am having problems with synchronizing my projects. It was working fine until a few days ago, but I'll just list the steps of what happens now to try to make it clear.
    I refresh and click the sync button.
    I choose 'selected local files only' and 'put newer files to remote,' then 'preview.
    Then, Dreamweaver says it's connecting to my server, retreiving folder information, then complete.
    After that, it says that it's putting file temp2342.htm on my server.
    Then it says no synchronization is necessary...even though I do have newer files which haven't been put on my server.
    I've tried 'putting' individual files on the server, but it says 'file activity incomplete. 1 or more files not completed.'
    Up until a few days ago, the synchronization would work just fine and put the newer files on my server. I'm not sure what kind of setting I might have changed between now and then, but any ideas on how to fix this problem would be much appreciated!

    Call our customer care, they'll sort this out. You can find the details from "contact us" link on top of this page.

  • Problem with synchronous calls

    Hello XI friends,
    I'm having a problem with a synchronous message sending through a RFC.
    This is the scenario I'm having. I call the RFC, the message is delivered to XI, and XI delivers de message to the Legacy System, this system responds to XI and XI delivers the message back to the SAP system.
    But after doing some successful tests with the RFC, for somehow the whole message is delivered to the Legacy System, and XI shows that has delivered back the message to the SAP system, but the RFC stays Idle, as if it was waiting for a response, after a while, the RFC gets a Dump with the following error:
    "call to messaging system failed:
    In order to get it working again, I'm doing a Restart of the J2EE instance, but after another series of tests with the same RFC, the problem comes up again.
    Does anyone knows what could be happening? 
    Thank you,
    Felipe
    Message was edited by: Felipe Andres Contreras

    Hi Felipe,
    Are you using a standard SAP RFC or a customized RFC interface???
    I would also suggest to check the System dumps in the SAP system where the RFC is hanging.
    Thanks
    Prasad

  • Prblem with Synchronous Scenario

    hello,
    I am facing some problem in sync scenario where i am using a FILE adapter at Sender Side and JDBC Adapter at receiver side,
    So, here i used the option of taskTimeout option at the sender side in order to close the job with in that time if there was no response from the receiver side.
    I had given upto 1800 secs in the advanced mode table.
    But still i am facing some problem with that..
    Can anyone help me out...
    Thanks,
    Soorya

    Hi,
    File adapter could be used for synchronous processing. Have a look at this:
    File - RFC - File without a BPM - Possible from SP 19.
    Check the message trace for the interface. You could do this by going to RWB -> Message Monitoring. Please check if you find any useful information about error tracing there.
    Thanks,
    Bhavish
    Reward points if comments helpful

  • Problem with IDoc scenario - IDocs do not aarive to XI

    Hi guys!
    I have a problem with IDoc->XI->File scenario. Colleagues send IDocs from R/3 and they are not in the XI. In R/3 they look like if they were correctly sent, however, I can not see them in sxmb monitor. BUT, when they send them again explicitly from R/3 (t-code WE19), they arrive...
    REALLY strange...
    Any suggestions?
    IDX2 metadata loaded.. I think, all needed settings are done.
    Question - do I need to set up LS in XI ABAP part?
    Thanx, Olian!
    P.

    Hi Olian ,
    just check if u have followed all the following steps
    SAP XI
    1) RFC Destination (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.
    2) Create Port (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 SAP R/3 towards other system.
    e) Save
    3) Load Meta Data for IDOC (IDX2) a) Create new
    b) IDOC Message Type
    c) Enter port created in IDX1.
    SAP R/3
    1) RFC Destination (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.
    2) Create Port (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)
    c) Enter the destination client.
    d) Enter the RFC Destination created in SAP R/3 towards other system.
    e) Save
    3) Create Partner Profile (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.
    e) Click on the + button to select the message type.
    f) Select Partner no. and LS which ever create above.
    g) Select Message type
    h) Select Process code related to the Message type.
    I) save.
    In SLD – System Landscape Directory
    TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
    Ts for Third Party (Logical system):-
    BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
    BS for Third Party (Logical system):-Enter the XI logical system name.
    In Transaction SALE
    Define and Assign the logical system name
    Regards,
    AshwinM

  • Performance problem with synchronized singleton

    I'm using the singleton pattern to cache incoming JMS Message data from a 3rd party. I'm seeing terrible performance though, and I think it's because I've misunderstood something.
    My singleton class stores incoming JMS messages in a HashMap, so that successive messages can be checked to see if they are a new piece of data, or an update to an earlier one.
    I followed the traditional examples of a private constructor and a public getInstance method, and applied the double-checked locking to the latter. However, a colleague then suggested that all my other methods in the same class should also be synchronized - is this the case or am I creating an unnecessary performance bottleneck? Or have I unwittingly created that bottleneck elsewhere?
    package com.mycode;
    import java.util.HashMap;
    import java.util.Iterator;
    public class DataCache {
        private volatile static DataCache uniqueInstance;
        private HashMap<String, DataCacheElement> dataCache;
        private DataCache() {
            if (dataCache == null) {
                dataCache = new HashMap<String, DataCacheElement>();
        public static DataCache getInstance() {
             if (uniqueInstance == null) {
                synchronized  (DataCache.class) {
                    if (uniqueInstance == null) {
                        uniqueInstance = new DataCache();
            return uniqueInstance;
        public synchronized void put(String uniqueID, DataCacheElement dataCacheElement) {
            dataCache.put(uniqueID, dataCacheElement);
        public synchronized DataCacheElement get(String uniqueID) {
            DataCacheElement dataCacheElement = (DataCacheElement) dataCache.get(uniqueID);
            return dataCacheElement;
        public synchronized void remove(String uniqueID) {
            dataCache.remove(uniqueID);
        public synchronized int getCacheSize() {
         return dataCache.keySet().size();
         * Flushes all objects from the cache that are older than the
         * expiry time.
         * @param expiryTime (long milliseconds)
        public synchronized void flush(long expiryTime) {
            String uniqueID;
            long currentDate = System.currentTimeMillis();
            long compareDate = currentDate - (expiryTime);
            Iterator<String> iterator = dataCache.keySet().iterator();
            while( iterator.hasNext() ){
                // Get element by unique key
                uniqueID = (String) iterator.next();
                DataCacheElement dataCacheElement = (DataCacheElement) get(uniqueID);
                // get time from element
                long lastUpdatedDate = dataCacheElement.getUpdatedDate();
                // if time is greater than 1 day, remove element from cache
                if (lastUpdatedDate <  compareDate) {
                    remove(uniqueID);
        public synchronized void empty() {
            dataCache.clear();
    }

    m0thr4 wrote:
    SunFred wrote:
    m0thr4 wrote:
    I [...] applied the double-checked locking
    Which is broken. http://www.ibm.com/developerworks/java/library/j-dcl.html
    from the link:
    The theory behind double-checked locking is perfect. Unfortunately, reality is entirely different. The problem with double-checked locking is that there is no guarantee it will work on single or multi-processor machines.
    The issue of the failure of double-checked locking is not due to implementation bugs in JVMs but to the current Java platform memory model. The memory model allows what is known as "out-of-order writes" and is a prime reason why this idiom fails[b].
    I had a read of that article and have a couple of questions about it:
    1. The article was written way back in May 2002 - is the issue they describe relevant to Java 6's memory model? DCL will work starting with 1.4 or 1.5, if you make the variable you're testing volatile. However, there's no reason to do it.
    Lazy instantiation is almost never appropriate, and for those rare times when it is, use a nested class to hold your instance reference. (There are examples if you search for them.) I'd be willing to be lazy instantiation is no appropriate in your case, so you don't need to muck with syncing or DCL or any of that nonsense.

  • Problems with planning scenarios

    Dear all
    I've a huge problem with the scheduling of a project. I hope I can explain it properly.
    I've created a project with some networks in it. The planning scenario is free scheduling and strict bottom up. I'm using the backward scheduling.
    Some of the networks, which are connected with the "Main" Network now are not scheduled properly. For example I have an acitivity in the "Main" network which is connected with a FS relationship to an activity (this activity has set up a constraint earliest possible) of another network. When I'm carrying out the scheduling this activity is planned much later than the activity in the Main network. In some other similar networks the scheduling is carried out regurarly.
    Now, when I'm changing the planning scenario to bottom up, canceling the start date in the network of concern and making a new scheduling of the whole project, the activity is placed in the right period. When I'm changing back the planning scenario and rescheduling the project once more, the activity is again postponed, even further in the future than before.
    is somebody out there who is able to help me?
    many thanks

    Hello
    is nobody out there who could help?
    Best

  • Problem with synchronizing

    Hi everyone, I have a big problem with my iPod.
    It is a 120GB(with Windows Vista...), and when I plug the USB cable in the port, my iPod shows Connected, Eject before disconnecting, but iTunes is unable to read my iPod. I've tried to sync it with disk mode, and although my iPod appears, I'm not able to restore my data because the operation stops instantly at midway(along with error 1439, or something like that).
    Does anyone have a solution?
    Thanks

    has the same issue, mine i got error coe 1437 and 48.. help?

  • Problems in synchronous scenario

    Hi,
    I am woking on a synchronous SOAP- PROXY scenario. The XI outbound interface has been exposed as web service which is invoked by .NET application to send the request. The inbound interface is ABAP proxy which is retrieving the data from R3 tables based on the selection criteria in request and sending back the same as response. While testing the scenario i am getting the following error in SXMB_MONI:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--
    Call Inbound Proxy
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">INTERFACE_REGISTRATION_ERROR</SAP:Code>
      <SAP:P1>ifmmessif</SAP:P1>
      <SAP:P2>MI_DSSRes_SAP_Equipment</SAP:P2>
      <SAP:P3>urn://DSS_SAP_02/GetEquipment</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No implementing class registered for the interface (ABAP interface, request message MI_DSSRes_SAP_Equipment, request message, namespace urn://DSS_SAP_02/GetEquipment)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Can you help me as I am not able to resolve this error.
    Also I need the steps for IR configurations for a synchronous scenario.
    Thanks in advance.

    >
    sriparna1 wrote:
    > It has been reactivated. But still not working.
    >
    > We have defined the incoming message from .Net application as Inbound  Interface Sync . the message received from r/3 via proxy is defined as outbound sync .We have developed A server proxy on inbound interface and the error we are getting is it is trying to search for the implementation of the outbound Interface. It should actually look for the Inbound proxy implementation as this proxy in its output parmeter sends back the output structure.
    Since it is SOAP_to_PROXY .... the MI from .NET should be OUTBOUND Synchronous and that going into SAP should be INBOUND Synchronous.
    Regards,
    Abhishek.

  • Problems with synchronous message in XI

    Hi
       I have the following scenario involving XI 3.0 ( SP 12 )
    XI has exposed a webservice ( WS provider ) and this webservice is being called from a web application. On receiving the webservice call, XI synchronously calls a RFC on the SAP backend and the response is mapped back as a webservice soap response to the calling web application.
    Now, I see sometimes ( not always ) - the incoming message from the web application has a status in SXMB_MONI -
    <b>Message scheduled (commit follows)</b>
    with a green flag and this message is never processed - i.e The message comes into XI from the webservice call - but beyond this - there is no call to the RFC receiver adapter ( the receiver adapter- comm channel  is ok as seen in the adapter monitoring )
    Since synchronous messaging does not involve any queues ( I hope my understanding is right ), I am not sure why this occurs and what to do to push the message forward in this synchronous messaging scenario ??
    Thank you in advance for your time .

    Hm we have a slightly different version of that problem.
    The message is wirtten into a queue, gets the green flag and the message is processed.
    But the flag as well as the status stay...
    Has anyone soem background information about how the queuing and scheduling and execution planning is done?
    I have quite an idea about queue filters and how to set-up queues. But I have no idea how the synchronous stuff fits in and what this "Message scheduled (commit follows)" exactly means.
    Cheers,
    helge

  • Problem with Synchronous abap proxy time out

    Hi there.
    I have the following scenario:
                      sync                   sync
    3rd party <-->  PI    <--
    >  ERP
                       http                    abap proxy
    In the implementing class on the abap proxy i'm calling an standard BAPI, followed by a commit and returning the result.
    The 3rd party app has a mechanism that when a message fails, he'll retry each 5 mins until it gets the response.
    Last night there where some delays on ERP that cause the sync mesages to timeout, the 3rd party retried about 10 times to send the message until it finally went off. This morning i check and i have the same message 11 times on ERP!!, to my understanding if the sync comm timed out the process will abort and  the message will not be processed on ERP, does anybody knows if im missing some configuration for this to work this way??.
    Kind Regards,
    Roberto.

    Hi Roberto.
    There are a lot of time out configures in PI .
    Follow the link that explain about this:
    How to Investigate Timeouts In Synchronous XI PI Scenarios
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747
    I hope to help you.
    If you still keep this problem, you can ask me more about it.
    Regards..
    Bruno.

  • Problem with synchronizing desktop software with Lotus Notes

    Problem: synchronizing between blackberry storm and my pc with the desktop manager. During the settings of the configuration is asked for the location of the NOTES.INI file. The configuration program finds the NOTES.INI file it's self.
    After selecting the NEXT button I get an announcement that the NOTES.INI file can't be opened and the configuration stops.
    I don't know what to do to select the right file or setting so the desktop manager can synchronize with my blackberry.
    I hope somebody can help me with this problem.
    Regards
    Erik

    Hi and welcome to the forums:
    Please read the attached regards your error:
    Thanks,
    Bifocals
    Please remember to resolve your thread.
    Put the check mark in the green box that contained your answer! Thanks   
    http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB01534&sliceId=2&docTy...
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • Problem with MTO scenario-urgent

    hi everyone,
    our client is using MTO process, where they will exchange halb materials for the fert level production order. i.e according to MTO sales order will trigger procurement seperately at all levels of bom( as sales order stock). what is happening at the client side is they are converting plnd orders to production orders generated in the stock requirement list for HALBS, as thier wish they want to use these randomly for fert production,
    costs differences are arising.....
    so kindly suggest a solution
    thanks
    madhu

    Hi Madhu,
    Your requirement is simple. If my understanding is right in your scenario you have a FERT (A) which is MTO and the assemblies/components (B) used for manufacturing it is a stock item or MTS.
    For component A you have to define in material master MRP view 3 with planning strategy - 20 and in MRP4 maintain "1" for Individual and Collective requirement indicator.
    For component B you have to define in material master MRP view 3 with a suitable planning strategy -(Not= 20) and in MRP4 maintain "2" for Individual and Collective requirement indicator.
    This would resolve the problem. Reward your points,
    thank you,
    Regards,
    Prasobh

  • Problem with HTTP Scenario....

    Hello ,
    While working with the (http >BPM> RFC & FILE ) scenario ,
    I am getting following error...
    <b>
    And while using the http Client I posted the test xml ...But I am unable to see it in the SXI_MONITOR...</b>
    And using RWB --> Componet Monitoring --> Integration Engine --> Test Message I triggered the Test XML
    then its going to sxi_monitor but giving error...
    <b>
    "The process does not support the given synchronous interface or does not support synchronous messages"
    </b>
    what should I do....
    Please help me in this regard...

    Satya ,
    Is it a syncronous interface ? if it is syncronous interface if you want to see that in logs then you have to enable Logging for syncronous in SXMB_ADM .
    Is it enabled ?
    Are you able to post the HTTP request using HTTP client ?
    And using RWB --> Componet Monitoring --> Integration Engine --> Test Message I triggered the Test XML
    then its going to sxi_monitor but giving error...
    The process does not support the given synchronous interface or does not support synchronous messages"
    In the above mentioned error statement it is clearly stating that this stand alone test interface tool in RWB not support this scenario.
    Please let me know if you need any further assistance .
    Regards,
    Kishore

Maybe you are looking for