Proxy to File Synchronous Scenario

Hello,
My scenario is 
SAP System ----->(Proxy)   PI -------->(File)  FTP
Synchronous Scenario
I have been using the RequestResponseBean and ResponseOnewayBean module in the Sender Request Adapter channel to convert the file adapter from Asynchrounous to Synchronous scenario.
While Triggering Data From Proxy the receiver request channel is placing the file in the FTP.
But the sender Response channel is saying that "No suitable Sender  agreement found" error.
Also in the Audit log :SOAP: call failed com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: 204 .
Getting the above error.
Also I need the Sender Response Channel to pick the file after 10 minutes of placing the file in the FTP by the receiver Request channel.
Please help on this.

My question is , can I use graphical mapping as I am using a java class for content conversion?
You can use as long as the structure generatde by the JAVA program is same as the source-message structure of the message mapping.
I have developed a java code for content conversion and it is working fine. How to use this .jar file in XI?
In my opinion this should be the adapter module....as the conversion needs to be done in the channel and inclucing it as a mapping wont help.
Regards,
Abhishek.

Similar Messages

  • HTTP-FILE synchronous scenario

    Hi,
    I want to configure a Http to file synchronous scenario.
    Message will be sent through the HTTP test tool. I have selected BestEffort as the QoS.
    We do not want to use the repository objects.
    Sample file say(<tag>this is a sample file</tag>) will be sent through HTTP test tool.
    This file should be received by the File Receiver channel and dumped on the FTP.
    In response, a file from some other folder on FTP should be sent.
    How can this be achieved?
    Regards,
    Pratibha.

    Hi Pratibha,
    the standard sap help side is here very good
    [Integration Processes (ccBPM)|http://help.sap.com/saphelp_nw2004s/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm]
    You need a receive step (synchronous) for for your http request.  For this you need 3 abstract interfaces: 1 synchr IF, 1 async for request container, 1 async for resp container. You need to correlate with a unique number which the http sender has to send (f.e. date/time stamp)
    Next may be a transformation (mapping) but not required.
    Then a async send step to send the file.
    The response file need to be created, the corresponding adapter should have a short poll intervall. The response file need to send the unique id as well.
    The BP correlates the second receive step, next you can - like before optional - execute a transformation step.
    Finally u close the sync/async bridge and send the response back. This will take assumedly a minute or more.
    The whole design is may be not sufficient. Better ask if the requierments are changeable.
    Regards,
    Udo

  • Java Proxy - XI - RFC Synchronous Scenario OUTBINDING Problem.

    Java Proxy -> XI -> RFC Synchronous Scenario. Problem
    Hi,
         I'm doing a Java Proxy -> XI -> RFC Syncronous Scenario.
         A Java Server Socket is running as a Demon. When a client make a request to the Java Server Socket, this one call Java Proxy Client and set up the parameters.
         The first time that execute the scenario it works perfectly but no the next one and so on.
         The error when I check the monitor (TCODE: SXMB_MONI) is in PLSRV_OUTBOUND_BINDING.
    <Trace level="1" type="B" name="CL_XMS_PLSRV_OUTBINDING-ENTER_PLSRV">
      <Trace level="1" type="T">no outbound binding found.</Trace>
      <Trace level="1" type="T">No standard agreement found for , DES210_DEV, , JPX_DEV, urn:servipago:SERVIPAGO_SAP_02, mi_os_t1</Trace>
    </Trace>
    <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    And it has sense, because my scenario doesn't begin with the execution of FM (RFC).
    A Hint, my services in the first try are:
         <b>Sender Service:</b>          JPX_DEV (Java Proxy Client)
         <b>Receiver Service:</b>     DES210_DEV (R/3 4.6C)
    But the second try and so on the services that I saw in the monitor are:
         <b>Sender Service:</b>          DES210_DEV (R/3 4.6C)
         <b>Receiver Service:</b>     JPX_DEV (Java Proxy Client)
    I can't understand why they swich each other.
    Any idea?

    Hi,
    Outbound binding problem is because of Reciever Determination/Agreement is not activated or refreshed correctly.
    Try to recreate or refresh and activate it. Then check it.
    also do the cache refresh in SXI_CACHE.
    Also in go to Integration Builder(XI home page)->Administration->Cache Overview and do all the cache refresh.
    Hope this helps
    Regards,
    Moorthy

  • No response message in Proxy to JDBC synchronous scenario

    Dear Team,
    I am working on synchronous scenario Sender ABAP proxy <===> SAP PI 7.31 <===> Oracle Database.All the necessary proxy configuration has been successfully tested.
    Business Scenario:
    ABAP proxy will send a single Vendor Id to Oracle DB as request and in return , it has to retrieve all the columns related to Vendor as response.Oracle Database stores all the Vendor information.There are 11 columns including the vendor Id in the view for the Vendor records.
    Design :
    For Request structure:
    a-->Created MT for Sender ABAP Proxy with only 1 field for Vendor Id.
    b-->Created MT for Receiver JDBC  with Action as SELECT , Table with "View Name" , Access with Constant Blank for all 11 column and Key as Vendor Id.
    I have been following  the link and Bhavesh Kantilal document.
    http://help.sap.com/saphelp_nw73/helpdata/en/44/7b7171fde93673e10000000a114a6b/content.htm?frameset=/en/44/7b7855fde93673e10000000a114a6b/f
    rameset.htm&current_toc=/en/ca/b977f1c7814201954f20bb87ad7aab/plain.htm&node_id=71
    For Response structure:
    Created MT for Receiver JDBC with All the column names.
    Created MT for target ABAP ECC with the same 11 column name of JDBC response.
    Note :
    1.Database team shared a excel file as a sample payload which has all the column names of a vendor and I created my DT with the same naming conventions as they are maintaining in their database i.e. Column names are in CAPs, in the same order and even the special characters in the column name.
    2. The PING test connection for Cc works fine to database.
    Please read out my queries as the I am not receiving any response from Oracle DB and gives error as timeout exception:
    1.Since I am trying to retrieve all the column of the view , am I doing the correct procedure of putting all the column name in the JDBC request structure and making a Select statement. Can I add < * > to fetch all the column name and if so where can I add it.
    2. Whats the difference between SELECT and SQL_QUERY and on what circumstances I can add it?
    3. How can I test ICO in ID?
    4. Can I use any SOAP tool to test the messages? Is there any functionality in NWA to test the messages directly to JDBC .
    Hope all your inputs can improve my design part.
    Regards
    Rebecca

    Hi Rebecca,
    Did you go through all of these links below?
    PROXY to JDBC- SYNC
    Proxy to JDBC Sync, with Idoc Receiver
    JDBC to PROXY Sync Scenario | SCN
    JBDC Receiver Insert Statement Response
    Re: Synchronous JDBC select
    receiver JDBC structure
    Regards,
    Jannus Botha

  • SAP Client Proxy to Webservice Synchronous Scenario

    Hi Experts,
    I have an outbound Synchronous Scenario.In which i have to trigger a Client Proxy from SAP side and Connect to a WebService using PI.
    I have with me the WSDl and URL for Webservice.Can anyone guide me with the necessary steps.
    Regards
    Gaurav

    Hi gaurav,
    From client proxy u have to send request and get the response back...
    So, for this create 2 corresponding data types and message types. and mapping will be between request message type which u created and request wsdl message and another mapping for response wsdl message and response message type which u created.
    create service interface outbound synchronous(give the message types which u created) and inbound synchronous(give the wsdl request and response messages).
    Regards,
    Sunitha

  • Client Proxy to JDBC synchronous Scenario

    I'm using Proxy--PI---JDBC synchronous shcenario, when i execute the proxy from R/3 it is giving me error "RCVR_DETERMINATION.NO_RECEIVER_CASE_BE" in configuration i have used one inbound receiver determination for request, my question is do i need to have one more reciever determination for response.
    Thanks for help.

    No, you do not have to add additional receiver determination
    Usually in sync scenario, make sure you have one receiver determination, no arbitration.
    If you have condition for receiver detemination, make sure the condition only return one true.
    Liang

  • File - BAPI -  File Synchronous scenario

    Hi all,
    I am working on a 'flat file--> BAPI --> flat file' scenario. This is a synchronous scenario in which data from input flat file will be sent to BAPI on R/3 side and from the response of BAPI a flat file will be created.
    Is it possible to implement this scenario without using BPM ?
    Thanks.

    Hi Minal,
         For this, you hv to use BPM
    The BPM procee will look like this
    1. Receive step (Receive the data from file)
    2. Sync send to R/3 and get a response
    3. Async send (response) to File
    Check the following link
    <a href="/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit:///people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Regards,
    Akshay
    Message was edited by:
            Akshay Salunke

  • Error in Proxy to SOAP synchronous scenario

    Hi Gurus,
    Hope you are doing well. I have a Proxy to SOAP synchronous interface interacting with an external system (system outside the firewall/landscape of my company).
    When I am trying to post the request message from XI, I am getting the following error.
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs
    In the WSDL provided by the external application, i.e. receiver WSDL, there is no attribute/field with the name 'IncludeExceptionDetailInFaults' and there is no fault string defined.
    Where is this error being thrown up? Is it a network/firewall error that XI is unable to determine?
    Please provide an answer as soon as possible.
    regards
    Debansu

    Hi,
    i think it is the problem in the WSDL provider system, because it is throwing the Error with some string".NET",
    do the below steps for investigating the issue
    1)try pinging the URL provided in the WSDL from internet explorer.
    2)if it is successfull, try to push one message from SOAP UI to by importing that WSDL, if you get any error then it is problem in the end system.
    Thank You,
    Madhav

  • Client proxy to file(xml) scenario configuration

    I have done client proxy to file (xml) ,while executing abap code there is no error, but xml msg is not received in particular target directory. so i want to know about 1. What are the configuration required for client proxy to pi(with T.Code).
                                                           2.how to monitor client proxy in ecc and pi.
    please reply me

    1. What are the configuration required for client proxy to pi(with T.Code).
    step1:
    1.       Create a HTTP connection in the business system using transaction SM59
    Technical Setting & Logon Security details:
    u2022         Connection Type: H
    u2022         Target Host: System name
    u2022         Service Number: HTTP Port name
    u2022         Path Prefix:
    step2:
    2.       Configuration Business system as local Integration Engine.
    1.       Go to Transaction SXMB_ADM
    2.       Choose Edit --> Change Global Configuration Data.
    3.       Select Role of Business System: Application system
    step3:
    check maintain SLD Access data / not by using T.C  SLDAPICUST
    SLDAPICUST->check  XI Server is it activate/not
    step4:
    4.test LCR Connection by using SLDCHECK.
    2.how to monitor client proxy in ecc .
    trigger the report by using T.c se38 and check the status in SXMB_MONI in ECC.
    Edited by: bhavanisankar.solasu on Feb 13, 2012 11:09 AM

  • Proxy to Webservice Synchronous Scenario

    Hi All,
    I have a Synchronous Proxy to Webservice Scenario.
    Here is the catch:
    My Source Proxy Datatype is
    DT_Source
        Status
         PayGradeA
         PayGradeB
    Now the requirement is
    if PayGradeA is equal to 01, 04, 05 then the data should be sent to WebserviceA and we need to get the response back to the Proxy,
    if PayGradeB is not equal to 01, 04, 05 then the data should be sent to WebserviceB and we need to get the response back to the Proxy.
    To handle this, in XI. I created
    2  Receiver Communication Channels ,
    2 Receiver Communication Components,
    2 Receiver Agreements,
    1 Interface Determination,
    1 Receiver Determination, (In the Receiver Determination I gave the Conditions, if PayGradeA is equal to 01, 04, 05 and PayGradeB is not equal to 01, 04, 05 ).
    Now when I trigger the proxy I am getting the following error
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">TOO_MANY_RECEIVERS_CASE_BE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Multiple receivers are not permitted in synchronous calls</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    I have read some blogs, they say XI wont support synchronous calls if we have more than 1 receiver.
    I want to handle this without the use of BPM.
    "Can we handle this in the ABAP Program in ECC?? If so can some body let me know how many Service Interfaces do I need to create in XI??"
    Can somebody help me step by step.
    Thanks,
    Harsh

    the other possibilitiy to avoid ccBPM is create a multimapping.
    so in the memssage mapping define 2 target structures and you will create or not the root structures: for example:
    If PayGrade is equal to 01,04,05 then create MT_PayGradeA
    IF PayGrade is not equal to 01,04,05 create MT_PayGradeB
    to do that in the message mapping add a new Message type in the target section under signature tab.
    now if you will only receive values 01,04,05 so validate the routing rule defined in the Receiver determination.
    best Regads
    RP
    Edited by: Rodrigo Alejandro Pertierra on Nov 10, 2011 4:04 PM

  • File to Proxy synchronous scenario

    Experts,
       I am working on a File to proxy synchronous scenario.
    I am doing the content conversion at the sendre side by using java program as  input structure is very complex so have to go fr java code. Its a  txt file at sender side.
    Once I read the file in XI, am doing a graphical mapping ( just one to one mapping)  then using the server proxy , a service entry is getting created then response am sending to the receiver.
    My question is , can I use graphical mapping as I am using a java class for content conversion? both in one scenario is possible?
    I have developed a java code  for content conversion and it is working fine. How to use this .jar file in XI?
    Can Any one help me wz thsi one?
    Thanks in Advance
    Virendra

    My question is , can I use graphical mapping as I am using a java class for content conversion?
    You can use as long as the structure generatde by the JAVA program is same as the source-message structure of the message mapping.
    I have developed a java code for content conversion and it is working fine. How to use this .jar file in XI?
    In my opinion this should be the adapter module....as the conversion needs to be done in the channel and inclucing it as a mapping wont help.
    Regards,
    Abhishek.

  • Scenario PROXY - SENDER FILE - RECEIVER FILE

    Hi Experts,
    I need to create a synchronous scenario where the proxy sends the filename to send and PI must transfer the file to a location X. The source file is in a different location of the destination file 
    This scenario, should this be done through Process Integration?
    Thanks,

    Hi,
    I think you can use a sync/async bridge to do your scenario and you wont need any development outside of using standard modules. The idea is to create a scenario Proxy(sync)-File(Async) -File (Async) without BPM. Check the point 8 in this document http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f96dbf-adca-3010-ffb5-daf2d1f0e276?QuickLink=index&…
    I have never tested this with the SFTP channel, and i dont know if this adapter supports the RequestOneWayBean and WaitResponseBean modules. May be you should wait to someone that confirms to you the possibility of using this modules with the SFTP adapter.
    Regards.

  • SOAP - XI- PROXY synchronous  scenario

    Hi Experts,
    I have a
    SOAP -
    XI -
    PROXY  Synchronous Scenario
    I have done the following things ESR and ID
    ESR:
    1. Created DT and respective MT for Request and Response.
    2. Created Service Interfaces with Synchronous mode with respective MT's.
    3. Created Two separate MM with respective Request and Response MT's.
    4. Created Operation Mapping and call both Request and Response Mappings in it.
    Integration Directory (ID):
    1. Configured considering Sender SOAP and Receiver ECC Services.
    2. Configured CC with required parameters in Sender SOAP CC and Receiver XI CC.
    3. Generate wsdl from Sender agreement and save it as a local file.
    I am getting error in receiver agreement. Do I need to specify any Module parameters in Module TAB for Sender CC or Receiver CC to synchronous scenario.
    Please hep me out.
    Thanks

    Hi Ram,
    I am getting error in receiver agreement. Do I need to specify any Module parameters in Module TAB for Sender CC or Receiver CC to synchronous scenario.
    It looks like you did not create a receiver agreement, or if you did, it did not match the interface that is given or configured in Interface Determination. Can you recheck your configuration?
    Regards,
    Mark

  • Synchronous Scenario SOAP to Proxy and Proxy to SOAP

    Hi Sdn,
    I am new to Synchronous Scenario.
    Third party will send SOAP message requesting some information from SAP.
    SOAP - > PI -> Proxy SAP
    they are expecting a response Proxy - > PI -> SOAP.
    Could you please let me know how to design teh Synchronous Scenario in PI .
    Thanks

    > Create DT and respective MT for Request and Response.
    > Create Service Interfaces with Synchronous mode with respective MT's.
    > Create Two separate MM with respective Request and Response MT's.
    > Create Operation Mapping and call both Request and Response Mappings in it.
    > Complete the Configuration part considering Sender SOAP and Receiver ECC Services.
    > Configure CC with required parameters in Sender SOAP CC and Receiver XI CC.
    > Generate wsdl from Sender agreement and save it as a local file.
    > Use SOAP UI or any available Tool for testing purpose. Import the generated wsdl, provide input data and execute the test.
    > If you are comfortable with expected result, deliver wsdl to the Sender Party.
    > For Inbound Proxy, you can refer initial replies.
    Hope it helps.!
    Regards,
    Sunil

  • Synchronous File- Soap scenario with fault message

    Hi!
    I have a File to Soap synchronous scenario.
    All is right when no exception is returned by the web service.
    I want to use fault messages to catch thoses exceptions, so I have added fault message in message interfaces and in the mapping program in the interface mapping.
    Now, when the web service return an exception like :
    <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
       <soap-env:Body>
          <soap-env:Fault>
             <faultcode>soap-env:Client</faultcode>
             <faultstring xml:lang="en">NOT_CREATED</faultstring>
             <detail>
                <n0:Z_WS_CREATE_WAGON.Exception xmlns:n0="urn:sap-com:document:sap:rfc:functions">
                   <Name>NOT_CREATED</Name>
                   <Text> does not have packaging material type and is therefore not a pack.mat.</Text>
                   <Message>
                      <ID>HUSELECT</ID>
                      <Number>041</Number>
                   </Message>
                </n0:Z_WS_CREATE_WAGON.Exception>
             </detail>
          </soap-env:Fault>
       </soap-env:Body>
    </soap-env:Envelope>
    I get the 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>XIServer</SAP:Category>
       <SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
       <SAP:P1>http://www.arcelormittal.com/radis/rad IM_RAD_to_ZWsCreateWagon</SAP:P1>
       <SAP:P2 />
       <SAP:P3 />
       <SAP:P4 />
       <SAP:AdditionalText />
       <SAP:ApplicationFaultMessage namespace="" />
       <SAP:Stack>Interface mapping http://www.arcelormittal.com/radis/rad IM_RAD_to_ZWsCreateWagon does not exist in runtime cache</SAP:Stack>
       <SAP:Retry>N</SAP:Retry>
    </SAP:Error>
    My mapping program for fault message is well defined (I tested it with the exception message received from the web service).
    I have also refresh caches, but without success...
    Can anyone help me ?
    Thanks in advance,
    Laurence

    Hey Laurence,
    A File adapter is aysnchronous u cant use for synchrous because it cant acknwlodge the response it gets or itt sends.
    regarding two asynchoronus
    1. file to SOAP asychn.
    2. triggger the second one if SOAP has exception then pass the error from SOAP to New File.
    using BPM we have to use Transportion level acknowledgments
    please reward points if it helps
    Regards
    Sreeram.G.Reddy

Maybe you are looking for