IDOC Asynchronous or Synchronous

Hello,
a quick question:
When you import an IDOC out of an R/3 4.6C into XI is the IDOC always asynchronous, e.g. can it only be used for an async outbound interface. I'm using XI 2.0.
Thanks
Stefan

Stefan -
The way I think about IDOC's is that they are messages for the purpose of message mappings, and interfaces for the purposes of message exchange (interface mappings). You cannot include an IDOC as a message type in an interface definition.  Thus the async nature of the IDOC itself determines that it is asynchronous in the int. rep.  Really, an IDOC is a record structure that is transmitted (in classical ALE) via function modules.
HTH,
Paul

Similar Messages

  • IDoc (asynchron) - HTTP (synchron, plain text) - RFC

    Hello,
    I've implemented the following Business Process inside our PI 7.1:
    Reciver           -> Mapping                    -> Sender             -> Mapping              -> Sender
    (getting IDoc)     (IDoc to Plain Text)         (sync, HTTP)       (plain text to xml)     (back to SAP using RFC)
    My problem is, it works only until the first Mapping has finished and ends before the synchronsous sender.
    It's a Java mapping which creats a Plain text containing the POST parameter which are needed for the HTTP
    Request (no I can't send xml). The created payload looks the following way:
    mid=1&portalid=xxx&key=xxx&mode=live&request=capture&encoding=UTF-8&txid=1&amount=0&currency=EUR&invoiceid=6510672402&id[0]=6510672402&pr[0]=0&no[0]=1&de[0]=6510672402
    The error I get is:
    could not create BPE proxy for message, no XML object definition found for message [msg id]
    It's no XML message, but can't plain text be processed inside the BPM?
    AFAIK I need the BPM for ASYNC/SYNC bridge.
    Regards
    Manfred

    Hello all,
    I've done the scenary three times on PI 7.1 in different ways and was not able to make it work. I've switched to our old XI 3.1 developer machine and tried there again. It worked at the first try. Don't ask my why, but after exporting repository and directory from the XI 3.1 machine and importing to PI 7.1, it also worked there.
    I can't say, what's the reason, but we also had cache problems on the PI 7.1 last days (interface mappings where not found), maybe it simply was a cache problem...
    Thanks for your help,
    Manfred

  • Send idocs to SAP synchronously

    Hello.
    Currently we are sending idocs to SAP using the RFC IDOC_INBOUND_ASYNCHRONOUS. However, this is an asynchronous call - as in we need to create a TID, and use the sdk api RfcIndirectCallEx() to execute this RFC, which will execute it asynchronously. Is there any way to send idocs to SAP synchronously? I looked at IDOC_INBOUND_SYNCHRONOUS, but this RFC takes parameters of type EDI_DD and EDI_DC (i.e., idoc Version 2 parameters), and not EDI_DC40/EDI_DD40. Is there any way to send idocs synchronously in version 3 format?
    Thanks,
    Mustansir

    Hi,
    Partner profile should be defined explicitely in the SAP system.
    Steps to create partner profile.
    Create a Partner profile(TSTCLNT000) in we20 transation with required information :
    Inbound parameters : MATMAS.
    Double click on message type to define other parameters:
    Define Partner type as 'LS'.
    These settings will solve the problem.
    Regards,
    Senthil

  • IDOC to JDBC Synchronous interface

    Hi Experts,
    I am using PI 7.1.
    Having requirement of IDOC to JDBC synchronous scenario. When data is coming from SAP to DB it is updating data in to u201CXu201D table, when data response from DB is u201CYu201D table.
    How can I configure this interface, Please suggest me.
    Best Regards,
    Pasi...

    Hello,
    For special problematic of IDOC -> JDBC and sending back acknowledgement have a look to One Logical System Name for serveral BPM Acknowledgements
    One Logical System Name for serveral BPM Acknowledgements
    Step by Step JDBC Synchornous
    JDBC Receiver Adapter -- Synchronous Select – Step by Step
    Integration with database made easy
    Integration with Databases made easy – Part 1.
    SOAP <=> JDBC Synchronous
    SYNCHRONOUS SOAP TO JDBC - END TO END WALKTHROUGH
    Serialize IDOC XML
    How to serialize IDoc XML messages fed into XI
    Regards,
    Phani

  • IDoc to soap synchronous scenario with BPM

    Hi,
    I am working on IDoc to soap synchronous scenario using BPM. Here i am facing lot of soap exceptions in my production system. I handled the exceptions. The data getting excuted for the first time, the same data(just changed the description)is giving exceptions for the second time. Please let me know why the exceptions are getting, and different type of exceptions and solutions for the same.(Blog also is fine)
    Thanks & Regards,
    Pragathi.

    The data getting excuted for the first time, the same data(just changed the description)is giving exceptions for the second
    time.
    Ideally you should not get an exception for the same data....can you tell is the description and where are you getting the exception...is it a part of the SOAP message or some object?
    An exception might have occured because the description would be something unacceptable by the target application.
    and different type of exceptions and solutions for the same
    there would be many blogs....your thread would be spammed...better make a search on SDN with exception text that you are getting.
    Regards,
    Abhishek.

  • IDOC to SOAP synchronous scenario

    Hi All,
    We have an IDOC to SOAP synchronous scenario in which IDOCs are sent to SOAP by calling a service and then SOAP sends a response back to XI . The response is not sent to SAP- R3. Please suggest on this
    Thanks

    Hello Rajesh,
    Thanks for your good justification.
    Here I have also replicated same kind of scenario and having same kind of issue.
    One thing just wanted to confirm - Even though SOAP adapter expects HTTP 200 response back from webservice, still SOAP channel is getting into red with following , and as we have Alert configured ...Alert mail also receiving as part of Error only. So How can we avoid that response ? Is there have any parameter to handle or suppress the response back?
    Thanks!
    Goutam

  • IDOC to SOAP Synchronous Communication

    Hi Experts,
    Scenario is IDOC to SOAP.
    And Expecting Response(Sucess/Failure) from Third Party system.
    My understading is IDOC wont support Synchronous communication.
    If synchronous comm is possible in IDOC to SOAP scenario could you please elobrate the Requirements and detail the procedures with ID and IR configuration.
    If not How this can achived in this scenario.
    Regards,
    Seshu.

    [IDoc to SOAP Synchronous with BPM|http://wiki.sdn.sap.com/wiki/display/XI/IDoctoSOAPSynchronouswith+BPM]
    Regards
    Raj

  • IDOC to WS Synchronous Scenario Without BPM

    Hi Experts,
    I am dealing with Idoc to WS synchronous scenario. Can this be done without BPM??
    ALEAUD can make IDOC to handle WS response??
    Please suggest.
    Regards,
    Sushama

    Please suggest since BPM involves performance issue
    BPM surely has performance issue...only when there are a lot of steps/ logic implemented in it and when the processing load is too much for the XI/ PI server to handle.
    The BPM design in your case will be just of following steps: Receive --> SyncSend --> AsyncSend .... excluding Transformation...and a BPM with these steps wont cause a big harm to processing of other messages.
    Regards,
    Abhishek.

  • Webservice  call to IDOC can be synchronous ?

    Hi Friends ,
    I would like to use XI exposed Webservice Call to SO create IDOC.Can we get the response as SO Number . As i know that IDOC is asynchronous but is there anyother way to make in synchronous  ?
    I have tried with BAPI it is working fine . But we need to work with IDOC as synchronus . Any input will be appreciated .
    Thanks.,
    V.Rangarajan

    hi,
    you can check the idoc creation and acknowledgments using Ale audit.
    You have to use bpm for your scenario Since Idocs are always Asynchronous.
    For Ale Audits you can see :
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    /people/mitesh.parekh/blog/2008/12/01/receiving-aleaud-as-acknowledgment-in-ccbpm
    regards,
    ujjwal kumar

  • Idocs in mode synchronous

    Hi:
    Is it possible to configure the idocs to send it from XI to SAP in mode synchronous?
    Thanks

    you cannot ... but then you can configure ACK for IDocs.
    Ref: https://websmp210.sap-ag.de/~sapdownload/011000358700003477212005E/HowTo_IDOC_Ack_20040817RR.pdf

  • IDOC to SOAP Synchronous

    Hi Team,
                    Is it possible to do IDOC to SOAP in Synchronous, if So could you please help me with necessary steps involved in doing the scenario.
    Regards,
    Amruth

    Hi,
    >Is it possible to do IDOC to SOAP in Synchronous, if So could you please help me with necessary steps involved in doing the scenario
    this configuration would not make sense completely
    as IDOCs cannot be used in a sync way
    (idocs do not wait/nor expect for any response)
    Regards,
    Michal Krawczyk
    Http://mypigenie.com XI/PI FAQ

  • IDOC to JDBC synchronous scenario

    Hi All,
    We have the following requirement:
    Idoc will be sent from ECC to SAP PI and from PI we update MS SQL server using JDBC receiver adapter synchronously and get the insert/update count as response and send this response back to ECC as ALEAUD or SYSTSTATUS idoc along with the initial IDOC number. So that status of the original idoc gets updated at ECC side.
    We have SAP PI 7.31 single stack system.
    Following are my queries:
    - Can this be achieved using BPM?
    - with BPM, how can we send the original IDOC number in the status IDOC  which we send back to ECC, is it through correlation feature  ?
    - Can this be achieved without BPM?
    -- How can we send the original IDOC number in the status idoc which we send back to ECC, without using BPM?
    Kindly help with suggestions.
    Thanks,
    Jane

    Hi,
    Using BPM you can capture the source IDoc no and also response from d/b(insert/update count) using 2:1 mapping in BPM (source IDoc,Resp-->Target IDoc).
    Try the below alternative if you don't want to go for BPM.
    Use request response bean and use
    "GetPayloadValuebean" ,RemovePayloadValueBeanto store the IDoc no in request flow and remove the same from payload while passing to target system .
    PutPayloadValueBean to retrieve the saved IDoc no and put it in response structure .Now in response flow you can pass as per your wish
    Sync-Async without ccBPM - Process Integration - SCN Wiki
    Insert value from Request message to Response message using GetPayloadValueBean and PutPayloadValueBean
    Regards
    Venkat

  • Report Designer - Asynchronous vs Synchronous

    Greetings fellow Oracle groupies,
    I have been working with BI Publisher EE for the past few months and would like to hear the community's thoughts around the Asynchronous mode option that is available when designing a report.
    The 'Report Designer's Guide for Oracle Business Intelligence Publisher' (page 2-13) states the following:
    Asynchronous Mode
    Default: Not enabled.
    Reports run in asynchronous mode use a unique thread to
    execute the report when run in the report viewer. This
    allows BI Publisher to cleanly terminate the thread if a user
    cancels the report execution. Note that there are
    performance implications when enabling this property.
    Which option would you choose? Why? or perhaps a better question would be in what circumstances would you switch this option on?
    Edited by: OdinsWrath on 08-Mar-2012 15:19

    You should ask your question in the BI Publisher forum:
    BI Publisher

  • Difference between Asynchronous and synchronous service (BPMN Process).

    When we create new BPM process jdeveloper gives 4 options including Asy and synchronous service.
    i want to know how they differ logically because both templates look same!!!!

    In an Async process the start node is exposed as 'one way', so if you see the wsdl for this (port type section) , you will see only inputs and not outputs. This means the  caller doesn't wait for the process to end. In a Sync process, the web service interface to the start node is 'two way', request/response....so you will see both and input and output in the port type section. the caller will wait for the response from the process.

  • Synchronous and Asynchronous  update

    Dear Abapers  ,
    which of the following command are synchronous and which of the asynchronous ??
    a) modify ztable from wa.
    b) update ztable set field1 = '123'.
    c) update ztable from ztable.
    d) insert wa into ztable.
    e) call function 'update_table' in update task
    Also list some other updates which are asynchronous and synchronous
    Moderator message - Please do not ask or answer interview type questions - post locked and answer deleted
    Edited by: Rob Burbank on Sep 1, 2009 9:09 AM

    hi,
    For Update you have
    A - asynchronus - does not wait for next update in the queue
    S - Synchronus - waits until the previous update is completed before a new request is considered
    L - Local update - Uses a different work process to trigger call function in update task.
    In synchronus method until one record process takes place into database next record will not be processed.
    In asynchronus immedate updation of data into database table.
    Check this link for more detailed information:
    http://fuller.mit.edu/tech/sync_asynchronous.html
    'A', 'S' and 'L' are the update modes in CALL transaction method.
    I will give you a simple example to explain this.
    Suppose that there are 30 records in total and an error has occured in the 5th record.
    In asynchronous, update is done for every 30 records while in synchronous one,
    update is done only upto the 4th record.
    So only after the record in the fifth one is eliminated, remaining others are processed.
    Have a look at this URL from SAP Help:
    http://help.sap.com/saphelp_46c/helpdata/en/41/7af4cba79e11d1950f0000e82de14a/frameset.htm
    Regards
    Anversha

Maybe you are looking for