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

Similar Messages

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

  • 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

  • Http -- File (FTP) Scenario

    Hello -
    I created very simple scenario, where I am posting the message over Http Client and on the receiver side, it is FTP site (File Adapter). 
    I see the status as "Processed Successful" in SXMB_MONI, however I don't the see any message in FTP folder. I have defined the destination folder, application server, User Id, PWD etc in Receiver Communication channel.
    Now the questions -
    1) If the Message is not delivered in FTP folder, why is the status "Processed Successful"
    2) Is there a way to check the connectivity between XI Server and FTP Site (just the way there is "test connection" in SM59 RFC Destination)
    Thanking you all in advance.
    PS: I am PI 7.0

    If the Message is not delivered in FTP folder, why is the status "Processed Successful"
    Is there a way to check the connectivity between XI Server and FTP Site
    Check the File receiver communication channel monitoring in RWB
    Message got passed through Integration engine but might be stuck in Adapter engine,possible error in connecting to FTP server.
    Thanks
    Aamir
    Edited by: Aamir Suhail on Jul 10, 2009 1:17 PM

  • Error in HTTP - SOAP synchronous senario.

    Hi All,
    I am working on a HTTP -> SOAP synchronous scenario. I am using the wftetch tool to send HTTP request. I am getting the following error in the Wfetch tool  when I try to execute the same:
    URL-Parameter service (sender service) in URL is missing
    And in SXMB_MONI I get following error:
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Connection timed out: connect</SAP:AdditionalText>
    Please provide inputs to correct the error.
    Many thanks,,
    Neha

    Hi Neha,
    pls do chk the link that u have used to connect the SOAP and chk in the Wfetch tool
    for the address
    do chk this links
    /message/266750#266750 [original link is broken]
    Some handy HTTP tools
    Thanx
    Sampath

  • Http RFC Synchronous

    Hi ,
    I have created HTTP RFC Synchronous Scenario .....i am able to send the message to RFC... but i am not able to get back response...
    I have created two communication channels one for RFC call in SAP R/3 and the other one is for sending HTTP respose back to source..
    Where is the receiving http adapter is configured.... ?

    I have created the scenario....but i am not able to get the response.....i am getting the following the response error
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_FAXCHG_RFCRESP_</SAP:P1>
      <SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
      <SAP:P3>on: Cannot create target element /ns1:MT_FAX_CHG_T</SAP:P3>
      <SAP:P4>ARGET/IVR/TRANTYPE. Values missing in queue conte~</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_FAXCHG_RFCRESP_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns1:MT_FAX_CHG_TARGET/IVR/TRANTYPE. Values missing in queue conte~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Pls advice on this

  • 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

  • FILE to SOAP synchronous scenario - config of SOAP channel

    Hi All,
    I have a scenario where I want PI to pull some files from 3rd party application.
    Adapters to be used: SOAP receiver, FILE adapters.
    I am aware of the use of Request/Response beans in File sender channel and the File receiver channel to dump the received files in a particular location.
    I need help with the configuration of the SOAP channel.
    The files to be pulled will be Encrypted.
    Summary:
    File sender(RequestResponse & ResponseOneWay Beans) , File receiver( to receive the files), SOAP receiver.
    Need help with the config of SOAP.
    Kindly let me know your views.
    Thanks,
    Pratibha.

    Hi,
    Let me put it in detail steps:
    In forward flow we will be sending an IDoc. It will be processed and later an Acknowledgement file will be generated.
    Now, we want to PULL this Ack file. If the other party had to push the Ack file, the scenario would have been simple.
    But, we want to poll for this file and then pull it.
    So, we would have something like this:
    1. FILE SENDER sends a sample file.
    2. We will be applying the beans in file sender to make it a synchronous scenario. So, the Ack file will be received at the location mentioned in the corresponding FILE RECEIVER adapter.
    3. We have a SOAP RECEIVER which should send the ACK file in response.
    I have configured the same scenario where the RECEIVER was HTTP adapter. The 3rd party had provided us the URL and ENT-APRF value. When I used to send the sample file via FILE SENDER to this HTTP receiver, I was able to retrieve the ACK file via the FILE RECEIVER.
    Now, I wish to configure the same using RECEIVER SOAP adapter.
    I need to know about the config at SOAP end i.e. how and where  the ACK file will be available at the SOAP end for the FILE sender to pull the file.
    Ack files will be encrypted..
    Any views/suggestions will be of great help.
    Thanks,
    Pratibha.

  • File to RFC synchronous scenario

    Hello Friends,
    I have a file to RFC scenario.
    Sender is sending file synchronously and based on conditions within file i have to make call to various ECC instances and returning responses.
    I am using BPMmulticastparallel. Implemented conditional receiver determination and the correlation.
    Does anyone have such scenario example.
    Kindly share.
    Edited by: vishal kharat on Aug 5, 2011 2:47 PM

    Hi Mr.
    You can follow this example, regarding BPM implementation:
    http://www.riyaz.net/blog/a-step-by-step-guide-to-bpm-asynch-sync-bridge/technology/sap/170/
    For XPath Receiver Determination, follow this links:
    http://wiki.sdn.sap.com/wiki/display/XI/XpathConditioninReceiverDetermination
    http://wiki.sdn.sap.com/wiki/display/XI/EnhancedReceiverDeterminationinSAP+XI

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

  • File to RFC synchronous scenario stopped Picking the files

    Hi Experts,
    We have a File to RFC synchronous scenario. Till yesterday night it is working fine.
    But suddenly it is stooped working.In moni, i can see the failed messages with the Mapping error " Can not create target element, values missing in the queue context "
    No Payload in moni / communication channel monitoring / Message monitoring. I've noticed that, wrong files placed in the To-be- processed files and the adapter picked those files and failed in mapping.
    I tried by stop and start the communication channel / did some dummy changes in the communication channel and activated. cleared the cache.
    But still the communication channel is not working.when i stop and start the communication channel it will try to process the wrong files and failed.
    Give me your valuable inputs to resolve this issue.
    Regards
    Bhargava krishna

    Hi Bharghav,
    Please go through the below,
    Symptom
    FTP Adapter is being used in the business scenario for message processing.
    During file processing it is noticed, that the FTP sender channel stops
    polling. There is no error in the channel monitor or the trace/log files
    and the polling jobs are correctly displayed in the AFW scheduler table.
    The issue is observed after a network connection issue with the FTP server.
    In order to remove the hanging locks from the FTP Adapter, the parameter
    'ftp.timeout' setting is required to be set, which releases the lock once
    the timeout value is expired. But in the above situation, the value for the
    'ftp.timeout' is not taken properly while establishing the data connection
    by File Adapter.
    Other terms
    FTP Adapter, sender, FTP, adapter, timeout, stalled, network, hang, polling
    Reason and Prerequisites
    Program error
    Solution
    The hanging situation has now been improved by code changes. Please see
    section "SP Patch Level" of this note for a list of updated software
    components.
    To get this correction available in your Support Package you need to apply
    the patch matching to your Support Package version as per the instructions
    in the NetWeaver Support Package Stack guide which can be found on the SAP
    Service Marketplace as described in SAP Note 952402.
    Thanks & Regards
    Uday.S

  • HTTP to RFC synchronous scenario Issue

    Hi Folks,
        Currently I'm working on a HTTP to RFC synchronous scenario.  Everything went well till i triggered the message. While triggering the message i'M GETTING IS AS BELOW
    Result:
    http-Status:  500 Internal Server Error
    Payload:
    <SAP:Error>
    <SAP:Category>Application</SAP:Category>
    <SAP:Code>MAPPING.EXCEPTION_DURING_EXECUTE</SAP:Code>
    <SAP:P1>com/sap/xi/tf/_MM_Comcode_</SAP:P1>
    <SAP:P2>java.lang.NullPointerException</SAP:P2>
    <SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_MM_Comcode_: </SAP:Stack>
    </SAP:Error>
    I also tried executting the message testing tool to see the trace and the below result I got
      <?xml version="1.0" encoding="iso-8859-1" ?>
    - <Top>
      <First>BeginTrace</First>
      <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 determined</Trace>
      <Trace level="1" type="T">Interface Mapping http://www.http-rfc.com IM_Comdet</Trace>
      <Trace level="3" type="T">Object ID of Interface Mapping CA9DBC0BCB27311FBAA3C4CE387CEC3B</Trace>
      <Trace level="3" type="T">Version ID of Interface Mapping 226C2EB123A711DFC0F4FAEBC0A80020</Trace>
      <Trace level="3" type="T">Mapping Steps 1 JAVA com/sap/xi/tf/_MM_Comcode_</Trace>
      <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="2" type="T">Mode 3</Trace>
      <Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_Comcode_.</Trace>
      <Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_Comcode_</Trace>
      <Trace level="2" type="T">Java mapping com/sap/xi/tf/_MM_Comcode_ completed. (executeStep() of com.sap.xi.tf._MM_Comcode_</Trace>
      <Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
      <Trace level="1" type="E">CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV</Trace>
      </Top>
    But still I'm not able resolve this issue kindly help.
    Regards,
      Santosh

    Looks like there is some mapping problems ,may be the RFC connection is not properly configured .Here is the link to configure the connection between ECC and PI :
    http://wiki.sdn.sap.com/wiki/display/XI/ConnectionSettingsbetweenECCandPIsystem
    May be there is no value retrieved from the ECC system so it is saying null value.
    For proper configuration check you can refer the following blog:
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    I am a beginner so not the full answer is there but may be this would help you.
    Regards
    Ravi Anand

  • Change FILE to IDOC by HTTP to IDOC scenario

    Hi !!!
    We have a txt FILE to IDOC scenario.
    Now we want to implement a HTTP  to IDOC scenario, but taking advantage of the mappings existing and avoid re-implement it. The HTTP calls must contain the text of the actual FILE.
    What is the best way to do it?
    How convert a txt FILE in a XML?

    Hi, Bhavesh
    Rigth? Not exactly...  I assume I need to create new receiver determination and to make some changes in integration directory (like message interface, message mapping), but if it's possible, i want to avoid changes in message mapping
    In fact, I have more than one scenario (orders, stocktaking, cash up, bank information... ) and therefore, some complicated message mapping. This is the main reason to evaluate the best solution.
    In your proposal... ¿How test if first imput is a XML or a TXT? ¿When and how call the java code?
    Thank you in advance,
    Carme

  • Response structure empty for HTTP to RFC synchronous scenario

    Hi experts,
    I have a HTTP to RFC synchronous scenario.
    The request is given to Price List ZBAPI.
    The input to the BAPI is date, material no, customer no and condition type.
    The output I am fetcching from access sequence table into the table FINAL  type structure ZFINAL which is
    then sent back to source as a response.
    But the problem is that I get this table as empty although BAPI returns data
    Regards,
    Mozila

    Dear Mozila,
    How did you check that BAPI returns data? Did you use an exact message sent from PI to the receiver business system? If not, I would suggest to take the message which was sent by PI to the receiver business system and use it when performing BAPI test.
    Are table contents received by RFC adapter on PI side (can you see BAPI execution results in message contents for response message received by RFC adapter)?
    Can you see any errors in RFC communication channel?
    Did you check message monitor in Integration Server for the particular message? Are there any errors?
    Please also check your message mapping - this may also cause the error in case RFC adapter receives correct results, but HTT client receives empty table.
    My regards,
    Vadim

  • System  -- XI -- HTTP Synchronous Scenario. Pls advice

    Hi All,
    I have 2 scenarios:
    1. HTTP -- XI --- System A Synchronous Scenario
    2. System B -- XI -- HTTP  Synchronous Scenario
    Can HTTP Receiver Adapter be used for both the above synchronous scenarios?
    a. In HTTP Receiver Adapter is RFC Destination is of Type G?
    b. What is Target Host
        In Scenario 1 is it System A host name?
        In Scenario 2 is it System B host name?
    c. What is Path Prefix?
    d. What is Service Number?
    e. Does WebServer needs to run on System A and System B for HTTP connection?
    f. Is there any property in HTTP Receiver Aadapter to make it
       Qos as BE or it is by default?
    Regards

    Did you look at the SAp documentation?
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    VJ

Maybe you are looking for

  • How to add words from a JTextField to a JList

    Im working on my final project for Java programming class using JApplet. Im trying to create a spelling test/wordfind I want to be able to have the user type a word in the JtextField press the "Add" button (Jbutton) and have the word be added to the

  • Audio Input to Record Old Tape Cassettes?

    Hello, (Apologies in advance if this is the wrong forum.) I have a MacBook Pro. I have a lot audio cassettes that I would like to digitize. Does any body have suggestions on how to do that? Software apps that work well? I'm new to Apple/Mac and need

  • Unable to open weblogic link in OBIEE

    Hi, I am new to OBIEE, I installed OBIEE 11G in personal laptop and succesfully able to work on BI adminstration, but unable to open web logic console and other stuff which are web applications. I am getting error as cannot display page. Is there any

  • Awful canon raw conversion for photos with dramatic (i.e. underwater) non-standard white balance

    I'm shooting underwater (and white balancing as I shoot using a white disc) with a canon s90, and have noticed that the raw conversions done by aperture are way worse than those from jpegs when I shoot in raw+jpeg and those done by raw processing usi

  • PCD Repository manager

    Hi, I am looking for PCD Repository manage feature provided with SP 14. It says that for configuration of the PCD repository manager, choose Content Management ® Repository Managers ® PCD Repository. After applying SP 14 I am unable to find this 'PCD