Synchronous FTP response message

Hi,
I am new to XI, so would welcome some advice.
I have implemented an interface from ECC5 via abap proxy to XI FTP adapter to send files to a third party.
I am using a synchronous interface to check the ftp has been successful.
Because of it being synchronous, I must give a response message type.  But as this response is empty, the mapping back is failing.
So, can I have a synchronous interface without a response, or can I fill the response from the FTP action, and if so, how ?
Thanks
Paul

I am using a synchronous interface to check the ftp has been successful.
1) FTP receiver cannot be used in a SYNC mode.
2) If your intention is only to check if the connection was established successfully between PI and FTP and the file was transferred successfully then you can see that from status in Runtime Workbench --> Adapter Engine --> Channel MOnitoring.
You dont need to do this manually (even though you can), you can set alerts which can raise an error message in case if anything goes wrong....this is a standard practice followed....no need to make the process SYNC.
If your requirement is to check if the file has been processed successfully by the FTP server then you need to implement a process similar to the one explained by Holger.

Similar Messages

  • Synchronous Nonrowset response message to 3rd Party

    I've created a synchronous non rowset based message. I believe that my set up is correct and my request/response schema are all working as expected. I have PeopleCode in an Application Package that retrieves the data that I want. When I run this via sendmaster, I am able to get the data that I expect and it's in an XML format but I'm kinda stuck. I need to know how I get this data into the format of the Response schema withoug having to manually "build" it in an XML layout? Shouldnt I be able to "pull in" the response schema and then populate that schema according to the elements associated with it? I may be totally off on this, but that's the way I think it should work. Can someone clarify and if you have an example of a response message that is uses an existing schema, that would definately help.
    thanks
    Rich

    Exactly... The XML response via sendmaster is because I am manually formatting it in the Application Package peoplecode. I want to return it in the form of the response xml schema that is tied to the repsonse message.

  • Problem accessing value of response message of synchronous call in BPM

    Hello,
    I've a problem with a synchronous sending step (in BPM) and a following container operation.
    In the message monitoring I can see the right response of the sending step. But the value of the container is empty.
    If I navigate from the container of the sending step to the message, I can also see the right message.
    But I can't access any elements in the message, they will be ignored.
    Here is the response message:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <ns0:Envelope xmlns:ns0="http://xmlns.bp.com/UEHReply" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    - <ns0:Header>
      <ns0:Event businessDocRef="" component="VEST" domain="MyPoCVest" id="" objectPayloadRef="" timestamp="" />
      </ns0:Header>
    - <ns0:Body>
    - <ns0:ObjectPayload id="" version="">
    - <ns0:uehReply version="2.0">
    - <ns0:component type="BUSINESS">
      <ns0:name>VEST</ns0:name>
      <ns0:application>Vest</ns0:application>
      </ns0:component>
    - <ns0:exception id="0" type="">
      <ns0:triggerMsg format="" />
      </ns0:exception>
      <ns0:detail />
      <ns0:resolutionOption>WAIT</ns0:resolutionOption>
      <ns0:nextChoice>NONE</ns0:nextChoice>
      </ns0:uehReply>
      </ns0:ObjectPayload>
      </ns0:Body>
      </ns0:Envelope>
    And the XPath statement, to get the value:
    /p2:Envelope/p2:Body/p2:ObjectPayload/p2:uehReply/p2:resolutionOption
    Someone an idea?
    Cheers
    Daniel

    Hi ,
    I am facing similar problem , in case you have a resolution about the FAX number , then please let me know .
    Thanks,
    Abhishek
    ([email protected])

  • Synchronous Receiver JDBC adapter--response message empty

    My scenario is ABAP Proxt to JDBC synchronous case where I am calling a stored procedure "GetEmployer" to get the relevent data. There is no input data to the stored procedure, just need to call the stored procedure to return the records.
    In the SXMB_MONI I am getting the response message as empty with no records.
    In the communication channel monitoring it is showing successfully processed.
    Request Message :
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_IRIS_SELECT_JDBC_REQ xmlns:ns0="XXXX">         <STATEMENT>
    <GetEmployer ACTION="EXECUTE"></GetEmployerList>        </STATEMENT>                      </ns0:MT_IRIS_SELECT_JDBC_REQ>
    Response Message:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_IRIS_SEL_PRXY_RES xmlns:ns0="XXXX"> <STATEMENT_response></STATEMENT_response> </ns0:MT_IRIS_SEL_PRXY_RES>

    Hi All,
              If I am trying to test the configuration in the ID I am getting the following error.
    Runtime error      Unable to read the payload from the     message object 
    <Trace level="1" type="B">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
    <Trace level="2" type="T">......attachment XI_Context not found </Trace>
    <Trace level="3" type="T">Mapping is already determined in the interface determination </Trace>
    <Trace level="3" type="T">Object ID of Interface Mapping 35933EB051F13E60906107DF6862E093 </Trace>
    <Trace level="3" type="T">Version ID of Interface Mapping 640C5B80B54311DCABA9F7BB0A126A22 </Trace>
    <Trace level="1" type="T">Interface Mapping http://XXX/employer_list</Trace>
    <Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_MM_EMPLOYERLST_ </Trace>
    I am getting the success flag in SXMB_MONI but getting no records in the JDBC response message. It is not throwing any error and the interface is running successfully.
    Could you please suggest some solution for this.
    Thx in advance
    Ravijeet Das

  • JDBC- RFC- JDBC Synchronous scenario (Can't see the response message)

    Hello Experts,
    I tried this step in creating a synchronous scenario by using steps found in this site -> [http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29|http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29] I just changes File to JDBC. But problem is I see the sent XML message in SXMB_MONI but to response message. I also can't see the Sender interface name for the response message when I tried to use F4 in the Interface Name portion.
    Do someone encountered this before? Please help
    Regards,
    Alfred

    Hello,
    I hope someone could guide me on how to set this up cause I only see the sent message but there's no response message in SXMB_MONI. Note that interface was successful, I just want to see what was sent by the response.
    Regards,
    Alfred

  • HTTP Synchronous Response Message

    hi,
    I am getting the following response message in the SXMB_MONI.
    <?xml version="1.0" ?>
      <!DOCTYPE cXML (View Source for full doctype...)>
    - <cXML version="1.1.009" payloadID="20060517092932992.5555CCLyVQDdasNetXE0B+Yy5OeXUHc=443-71.c0a81cb9f70d2c060000180f@wmqa3" timestamp="2006-05-17T09:29:32-CDT">
    - <Response>
      <Status code="500" text="Error">The document received is not a cXML request or is unknown by the AribaSupplier OnRamp package.</Status>
      </Response>
      </cXML>
    To capture this error message as Response message what message types need to be defined/configured?
    Thanks,
    Kumar

    Dirk -
    I am currently using Integration Process.
    I am capturing system messages through an Exception error handler in the block step of Integration Processes.
    When i execute the scenario, i see an error in the workflow in the Block Step. It shows an Error which says "No Exception Defined for System Errors", though i have a Exception Branch in the Block step.
    Any clues why i am not able to capture the Exception errors and send it through email.
    Its failing at the Block step.
    More details on the scenario:
    1. Start
    2. Receive Step - Asynch - IDOC
    3. Block Step - with Exception name as "TimeOut"
    3.1 Exception Branch with exception handler as "Timeout"
    3.1.1 - Transform Step - to transform a Exception message(with just one field) to "Error" message (with 5 fields)
    3.1.2 - Send Step - send the "Error" message through email
    3.2 Deadline branch set to 1 minute
    3.3 Switch step
    3.3.1 Transformation step - to transform the IDOC to XML
    3.3.2 Send step - Synch - request xml and response xml defined in this step
    4. Switch Step
    4.1 - Transform step - transforms the idoc and xml response to the actual error
    4.2 - Send Step - sends the actual error to the email message using MAIL adapter.
    Any tips would be grateful.
    Thanks,
    Tirumal

  • Missing response message in Idoc - WS scenario

    Hello
    I 'm missing a response message in the follwing scenario:
    Idoc-> XI -> Web service (SOAP)
    A Matmas idoc is sent from R/3 to XI. In XI the Idoc is
    mapped to a SOAP message and sent to a web service.
    The Message Interface for the SOAP call is synchronous
    and has a PushMaterialSoapOut and a PushMaterialSoapIn
    messsage, which is defined in the WSDL from the
    web service and imported into XI Repository.
    Everything is working fine but I do not get the response
    message. The web service has sent the response message. I
    have traced the firewall logs and i have seen the
    response.
    What is wrong? Is it basically possible to have a
    scenario like this?
    The message must have arrived somewhere, since the web
    server does not throw an exception. But where is it?
    Thank you in advance
    Thomas

    Hello Stefan
    >Scenarios with IDOCs are always async. Therefore you
    >cannot have a response.
    Ok, so I have to use BPM.
    >How do you want to process the response? What should
    >happen in the sender system?
    I was thinking about an ALEAUD idoc which is sent back
    to R/3. Therefor I have created an synchronous message
    interface with the MATMAS idoc as outgoing message and an
    ALEAUD as incoming message. Accordingly I have a message
    mapping for the response message.
    An other reaction to the response message could be to set
    the message to status failed. But this is the next issue.
    >In some scenarios you might use a BAPI instead of an
    >IDOC for synchronous message processing, but this
    >depends of many circumstance depending ofyour business
    >requirement.
    The process in SAP R/3 is fixed. To move to BAPI is not
    an option.
    Regards
    Thomas

  • Error:SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to read request. --- There is an error in XML document (1, 447). --- Input string was not in a correct format.

    Hi All,
        We have a scenario of FTP-->PI---> Webservice.  While triggering the data in the FTP, it is failing in the PI with the below error
    SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to read request. ---> There is an error in XML document (1, 447). ---> Input string was not in a correct format.
    Can you please help?

    Hi Raja- It seems to be a data quality issue.
    Check for the value @ 1447 position in the xml message that you are trying to send to web service..
    may be a date filed/decimal value which is not in expected format.

  • In Synch comm, what happens to response message if sender fails?

    Hi All,
    I have came up with the following question:
    I have a synchronous scenario type: WS -> PI -> Proxy.
    Lets say that the external system is able to consume the Web Service, and send the data to PI, and from there to the SAP ERP.  SAP ERP starts processing the message (calling function, BAPIs, etc). During that execution the external system for some how cuts its connection (session) to the WS that PI is exposing.
    What will happen then?
    In SAP ERP I will have some processes that were executed, the response message will be sent back to PI, but not to the legacy system.  So the data will not be consistent, as ERP was able to perform its process but the Legacy system will never know that these were done, so I will have an unbalanced scenario.
    One of my questions is, will SAP ERP know that the connection between the legacy system and PI was cut, and there for ERP will stop, cancel or not perform its processes?
    If the response message was sent back to PI by the ERP, but this message could not reach the legacy system. How can we let know the legacy system that ERP did all of its processes and that it should "update" their data according to the response message sent by ERP?
    As we all know, we can not re-process a synchronous message. So, what will be the best way to mantaining the consistency of the DATA between the two systems (ERP - Legacy)?
    Thanks and regards,
    Felipe

    One of my questions is, will SAP ERP know that the connection between the legacy system and
    PI was cut, and there for ERP will stop, cancel or not perform its processes?
    There is a possibility of triggering an alert when your Target system is down (i suppose this is what you mean when you say connection is cut)....the udf can be implemented in a mapping.....just check the blog:
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    from the blog:
    We can use this code in the Exception Handler block of the try u2013 catch block of the code to
    publish the JMS message, and, whenever the JMS service was down, the Exception handler block is
    called and the Alert is triggered to the Operations Support team.
    check if this suits your requirement
    Regards,
    Abhishek.

  • SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPT

    Hi there,
    I am trying to publish a file from SAP as web service using XI and SOAP Adapter.
    I am using ABAP proxy to get the data into XI.
    Designing and Configuration in XI has no problems because when i use File adapter the data is trasmitted to FTP server.
    But when I used SOAP Reciever adapter I am getting following error in RWB
    Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Error during parsing of SOAP header.
    <b>Scenario</b>: SAP ABAP Proxy -> XI -> WebService. Asynchronous.
    <b>SOAP</b> Receiver adaptor.
    <b>Target URL</b> http://<host>:<port number >/sap/xi/engine?type=entry&version=3.0&Sender.Service=SAPDC2653&Interface=urn:bzttest:00:hsa:test%5EOB_MI_BZT_TEST&QualityOfService=ExactlyOnce
    Do not use SOAP Envelop is checked.
    <b>SOAP Action</b> http://sap.com/xi/WebService/soap1.1
    What i am missing here? How should I solve this problem?
    Any help is appreciated,
    Thx,
    Yogi

    Say there's a bapi/rfc that you want to call on an R/3 backend (e.g. 4.6c).  On it's own, the R/3 system cannot expose the rfc/bapi as a web service, but XI can.  So in this case, the scenario would be:
    WS client -> XI -> R/3
    When XI "exposes" a web service, it is exposing a service for a receiving system (in the above example, the R/3 system).  XI itself does not provide or contain the service implementation.  When XI exposes a web service, it is always done via the <b>sender</b> soap adapter (i.e. if soap adapter is used).   Receiver soap adapter is used to call or consume an actual web service from an external application.
    Regards,
    Jin

  • SOAP : response message contains an error Application/UNKNOWN/APPLICATION_E

    Hi All,
    I am working in a Proxy to SOAP synchronous scenario. Message is processing successfully through IE but i am getting the below error in receiver (SOAP) communication channel.
    SOAP : response message contains an error Application/UNKNOWN/APPLICATION_ERROR.
    Please suggest what will be possible way out to resolve this issue.
    Thanks,
    Priya Ranjan

    Dear Priya
    Have you configured Fault Message for this scenario.
    This kind of error is generally thrown by the end target system where the message is not processed succesfully due to some error in there system.
    Sourabh

  • SOAP Receiver Response Message

    I have setup the following scenario:
    Create PO in EBP --> XI --> Webservice
    In the Repository I have set up both the outbound and inbound message interfaces as Synchronous. The interface mapping has been setup to map both the request and response messages.
    In the Directory I have set up the SOAP receiver adapter and the receiver/interface determination and receiver agreement for EBP as the sender system and the external webservice as the receiver party/service.
    When I create a purchase order in EBP the webservice is called successfully and the PO gets created on the target system. The webservice returns a response message which I am expecting to see via SXMB_MONI but is not currently showing!! Is there some Directory configuration that I am missing?
    Any pointers would be appreciated.
    Regards
    Mark Briggs

    Hi Mark,
    >>>>n the Repository I have set up both the outbound and inbound message interfaces as Synchronous
    is your scenario sync or async?
    do the ID config with ID wizzard if you're not sure
    if will guide you
    if you have a sync scenario you shoudl see and error
    if you have no response withint the timeout
    do you see that in the calling application or in the XI ?
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Response message from stored procedure

    I have created  the stored procedure(oracle)
    CREATE OR REPLACE PROCEDURE UPDATE_INSERT(sHID IN VARCHAR2,sZNAME IN VARCHAR2,sZDATE IN DATE)IS
    I NUMBER;
    BEGIN
    SELECT COUNT(HID) INTO I FROM ZSO_H WHERE HID = sHID;
    IF I > 0
    THEN
    begin
    DELETE FROM ZSO_H WHERE HID = sHID;
    end;
    END IF;
    INSERT INTO zso_h VALUES(sHID,sZNAME,sZDATE);
    commit;
    END UPDATE_INSERT;
    It's proxy to jdbc synchronous scenario.
    I can see data saved in the table, and sucessfull in communication channel monitoring.
    but sxmn_moni, get error,(SAP system)
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
    sxmb_moni in XI
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns0:t002_ora_response xmlns:ns0="http://topfine.com/proxy">
      <st3_response />
      <st3_response />
      <st3_response />
      <st3_response />
      <st3_response />
      </ns0:t002_ora_response>
    but structure is
       <st3_response>
          <insert_count/>
          <update_count/>
       </st3_response>
    and the db request message is
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:t002_ora xmlns:ns0="http://topfine.com/proxy">
    - <st3>
    - <spName action="execute">
      <table>UPDATE_INSERT</table>
      <SHID type="VARCHAR">21</SHID>
      <SZNAME type="VARCHAR">21</SZNAME>
      <SZDATE type="DATE">2010-11-21</SZDATE>
      </spName>
      </st3>
    - <st3>
    - <spName action="execute">
      <table>UPDATE_INSERT</table>
      <SHID type="VARCHAR">22</SHID>
      <SZNAME type="VARCHAR">22</SZNAME>
      <SZDATE type="DATE">2010-11-21</SZDATE>
      </spName>
      </st3>
    then how to get update_count in  response message?
    Edited by: Shen Peng on Nov 21, 2010 8:35 AM

    Can you jus let know totally how many are getting Updated and inserted for the Proxy u sent....I am guessin the response from ur DB is
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns0:t002_ora_response xmlns:ns0="http://topfine.com/proxy">
    <st3_response />
    <st3_response />
    <st3_response />
    <st3_response />
    <st3_response />
    </ns0:t002_ora_response>
    So probably four records are getting updated or inserted...
    Check this blog may be helpful
    /people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response

  • Response message timed out - JDBC adapter - PI 7.1

    Hi All,
    I have a synchronous Proxy <-> XI <-> JDBC scenario. The interface works fine in most of the cases, but when my proxy sends data to UPDATE the receiver SQL server 2000 with more than 1000 records, I do not find the response message in SXMB_MONI. But all the records have been successfully updated in SQL database. The response message in my case is the number of records that have been updated.
    Initially I got the message "Synchronous response expired" in RWB, and based on SAP note 791379 and 1078420 , I changed the xiadapter.inbound.timeout.default parameter from 180000 to 600000 and added the parameter 'sqlquerytimeout' in my receiver JDBC adapter configuration with value as 600 seconds.
    I have also enabled batch mode in my receiver adapter.
    Now my problem is I don't see any error message in RWB , but still in SXMB_MONI I am not able the response  message, but can see only the log version of my request message.
    Any idea on what needs to be done in this case ? Any help will be greatly appreciated.
    Regards,
    Sandeep

    Hello,
    Could you pease let us know how thiswas solved ?
    Same problem i am having.
    Thanks in advance

  • Response Message Mapping payload is empty

    Hi,
    I have synchronous interface using webservice call from ECC . I get the response with empty payload. I checked in PI 7.4, SXMB_MONI step in the Response Message Mapping is showing empty payload. Any inputs is greatly appreciated.
    Thanks
    Misha.

    Hi ,
    As above said first have a word with your receiver system counterpart .Check with them on whether they received request payload from PI ? and whether they have sent any response to PI? .
    You will get clarity on the issue.More over if you want to check the sync scenario you can do so by using soap ui mock service.
    Regards
    Venkat

Maybe you are looking for

  • Speaker Phone Issues!!!

    Has anyone else  had problems switching between normal talk mode and speaker phone mode with thier iphone? When I switch to speaker phone, say to look something up on my phone while still communcating with the person on the other side we can communic

  • DB Migration from MYSQL to ORACLE Using Offline Capture

    Hi Am doing a database migration from MySQL to Oracle using SQL Developer (version 2.1.1.64). So far, I've successfully captured the MySQL database and converted it to the Oracle Model. However, when generating offline scripts to create the converted

  • Oracle Financials Implementation Consultant

    Good Wonderful Afternoon,      My name is Steven Boucher and I am a professional recruiter with Harrington Informatics Resources in Ottawa. I currently have a few Oracle Financials Implementation positions available in Ottawa and Quebec City. If you

  • Missing authorization to view line items

    Hello guys, I am having issues viewing line items for a particular vendor. I have access to the line items of other vendors. I get this error message when I try to view it. And when I click yes, I can only view the credit entry. Kindly let me know ho

  • Excise duty tax code is not appearing in marketing documents.

    Hi all, I am not able to view BED+VAT tax code in Marketing documents.What will be the reason. Kindly let me know if i am missing any setting. Regards, Vikram