IDOC Synchronous

Hi all,
   Scenario is File to IDOC
   Either cases if success or failure ,it needs to send the message back .
So what are all the configurations that need to be done at R/3 side and how to trigger the IDOC and send the application document to the XI back.
Can some one help me out.
Regards,
Kiran.

Hi Kiran,
You can use IDOC Acknowledgements for your scenario.  Go thro' this link:-
/people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
There is nothing like IDOC synchronous.
Regards.
Praveen

Similar Messages

  • HTTP to Idoc-Synchronous

    Hi,
    Can any one tell me how to proceed with a HTTP request which is sent to ECC system in form of Idoc and I want the response back from The Idoc Format.
    i.e.Request- HTTP-SAP XI------IDOC
    i.e.Response---IDOC -SAP XI----HTTP
    Any Help Is Highly appreciated.
    BR,
    Sainath Chutke

    hi,
    if you want like this:
    Request- HTTP-SAP XI----IDOC - Response-IDOC -SAP XI----HTTP
    then it's not possible with IDOC
    if like this:
    first flow i.e.Request- HTTP-SAP XI------IDOC
    second flow i.e.Response---IDOC -SAP XI----HTTP
    as two flows then it's standard
    Regards,
    Michal Krawczyk

  • 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

  • Abstract-Synchronous

    FILE >> RFC>> IDOC
    SYNCHRONOUS????
    Output message = File
    Input message    = IDoc
    <b>
    Activation of the change list canceled
    Message interface  references an IDoc message and a non-IDoc message</b>
    How Can I solved this problem ?
    Regards,
    Fth

    Hi,
    You need to have to go for a BPM in this case,.
    You can always do the RFC Lookup from your mapping itself.
    Inside the message mapping , do the RFC look up by passing the request and getting the response , do the required mapping and sent it out to the destination R3 system.
    Take a look at this blog,
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/xi mapping lookups rfc api.pdf
    Regards,
    Bhavesh

  • ADAPTER.SOAP_EXCEPTION Error while posting data on webservice.

    Hi.
    I have IDOC-> SOAP -> IDOC Synchronous Scenario.
    I have uploaded WSDL of the webservice for mapping.
    Data is not posting on Webservice.
    it is giving me Following error.
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PARSING">ADAPTER.SOAP_EXCEPTION</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>soap fault: Server was unable to process request. ---> Object reference not set to an instance of an object.</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    When i checked Call Adapter Outboundbinding..
    <SAP:OutboundBindingAttributes>
    - <SAP:AdapterTypeData xmlns:SAP="http://sap.com/xi/XI/Message/30">
    - <SAP:Attribute>
      <SAP:Name>verifyWsuTimestampMessageAge_SecurityProfileWSSEVerifyEncryptionBodyThenSignatureBodyResponse</SAP:Name>
      <SAP:Value />
      </SAP:Attribute>
    - <SAP:Attribute>
      <SAP:Name>applyEncryptionKeyStore</SAP:Name>
      <SAP:Value />
      </SAP:Attribute>
    - <SAP:Attribute>
      <SAP:Name>applyEncryptionKeyStoreAlias_SecurityProfileWSSEApplyEncryptionBody</SAP:Name>
      <SAP:Value />
      </SAP:Attribute>
    - <SAP:Attribute>
      <SAP:Name>WSSEProfileApply</SAP:Name>
      <SAP:Value>SecurityProfileWSSEApplySignatureBody</SAP:Value>
      </SAP:Attribute>
    - <SAP:Attribute>
      <SAP:Name>applyEncryptionEncryptionSignatureAlias</SAP:Name>
      <SAP:Value />
      </SAP:Attribute>
    I found this entry..
    Is there any problem in outbound binding.
    Kindly guide me for same.
    Regards,
    Siya

    Thanks Stefan.
    Yes, sender agreement is there and it is also there in CPA Cache.
    CPAObject: (Binding) keys: ObjectId=02cb8f5717cc35e582f072b26138a0f8 values: Direction=I
    ActionNamespace=http://test.com/xi/POC ToParty= FromParty= HeaderMappingConfig=null MappedActionNamespace=null MappingClassName=null ActionName=os_test AdapterNamespace=http://sap.com/xi/XI/System MappedActionName=null ToService= AdapterSWCV=b38bcd00e47111d7afacde420a1145a5 FromService=temp AdapterType=SOAP MappingId=null Attributes=<?xml version="1.0" encoding ...
    http://sapxis:50000/XIAxisAdapter/MessageServlet page also shows the status OK for required components and Warning for optional components.
    Am I missing something?
    Thanks,
    Beena.

  • Query On Mode Of Communication For Adapters.

    Hi All,
    Kindly let me know which adapter is compatible to which type of communication or is it like all the adapters are compatible with either mode of communication.:
    1) File:     Synchronous / Asynchronous
    2) RFC:     Synchronous / Asynchronous
    3) JMS:          Synchronous / Asynchronous
    4) Mail:       Synchronous / Asynchronous
    5) IDoc:       Synchronous / Asynchronous
    6) JDBC:     Synchronous / Asynchronous
    7) SOAP:     Synchronous / Asynchronous
    Correct me if I'm wrong.
    Regards,
    Sreedhar, Av

    Hi Sridhar,
       1.File: This adapter supports only Asynchoronous mode of communication.But if u want to use it in the combination of synchronous interfaces for instance (File 2 RFC 2 File) scenario .You have to go for BPMs where in we have to use SYNC-ASYNC bridge.
    2.RFC: Supports synchronous and asyncronous Mode depending on the type of RFC that you are going to use(Syncronous or Asynchronous RFC).
    3.IDOC: supports mpstly Asynchronous scenarios.But some times we have to deal with Acknoledgementes using additional configurations at system level.
    4.SOAP: Its used in both Synchronous and Asynchronous .But in general we go for this adapter for Syncronous communication.
    5.JDBC: suports both sync/async communication (Synchronous in case of fetching the data from the system)& (Async for updating data in the database).
    6.Mail: supports asynchronous.
    7.JMS: No idea.
    Thanks,
    Ram.

  • 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 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

    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 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

  • 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

  • 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

  • IDoc scenario - synchronous service

    Hey,
    I have the following scenario:
    SAP system ---(IDOC)-----> PI -------(synchronous service)---> ext. System
    but the response of the synchronous service should be:
    ext. System ------(synchronous service response)----> PI -----------(server proxy)----> SAP system
    That means, the Idoc is coming asynchronous in, but IP then calls a synchronous service. The response of this service call should then be routed over PI to a server proxy on the SAP system.
    How can I so that the best way?
    Thank you very much!
    Michael

    Hi Markus,
    My JMS receiver channel shows now the following modules:
    1     AF_Modules/RequestResponseBean     Local Enterprise Bean     0
    2     SAP XI JMS Adapter/ConvertMessageToBinary     Local Enterprise Bean     convert_XI2Bin
    3     SAP XI JMS Adapter/SendBinarytoXIJMSService     Local Enterprise Bean     exit
    4     AF_Modules/ResponseOnewayBean     Local Enterprise Bean     1
    And the following Module configuration parameters:
    0      passThrough          true
    1      receiverChannel     -
    1      receiverParty          -
    1      receiverService      -
    Are the parameters connected to the right module, or should they be set in the opposite way?
    What have you set in receiverChannel/-party/-service?
    Thanks in advance!
    Edited by: Michael Schmidt on Nov 2, 2010 1:24 PM

Maybe you are looking for