Scenario XI - HTTP - Webservice - XI - RFC - SAP R/3

Hi,
i have the scenario:
Sending request to an Webservice per HTTPS and catch the response. This is working fine. In transaction sxmb_moni i can see the answer as XML.
I have implemented the scenario response from webservice mapped into RFC-Function and send into SAP R/3. But i have to run this manuell! How can i run this automatically after getting the response from the Webservice.
Thanks for any answere,
Max

Hi Max,
You could look at these threads :
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
BPM: Multiple synchronous receivers
Synchronous - Synchronous BPM
Synchronous BPM start
Regards,
Laurent.
Reward points if helpfull.

Similar Messages

  • Error in 'WEBSERVICE TO RFC' SCENARIO

    Hi experts,
      i am facing a problem in 'WEB SERVICE-RFC' scenario,here we are using soap sender communication cheannel & rfc receiver communication channel.while processing the message from 'portal'(through web service in 'SXI_MONI' we are gettin 1 request & 2 response(error) message.
    (in sxi_moni)
    1st error message:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <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="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">ZBAPI_QUOTATION.Exception</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    [note: here we are using 'ZBAPI_QUOTATION' IN sap r/3)
    2nd response:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <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>Object ID 08490A2EBE1A301E9D13373FF379B9BE Software Component 9776FD71CBAE11DF8942F5910A010C19</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Interface mapping Object ID 08490A2EBE1A301E9D13373FF379B9BE Software Component 9776FD71CBAE11DF8942F5910A010C19 does not exist in runtime cache</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    please help me to solve this issue.

    For the mapping error >>>  Please check whether  you have created a response mapping and properly  referenced it in your operation mapping
    For the RFC exception error >> Please check if you have any new fields added in RFC , re Import the RFC definition in PI
    refresh the cache SXI_Cache
    Please check below similar threads
    file rfc file
    RFC_ADAPTER "APPLICATION_ERROR"
    Re: Webservice to RFC  testing
    Hope this helps
    Regards
    Ninad

  • Webservice to RFC scenario

    Hi
    In the webservice to RFC scenario i am trying to create a webservice from the tools->define webservice option. the system takes to me a webservice creaton wizard and it asks for the Integration Server SOAP inbound channel URL I know that the  syntax of the URL is like shown below.
    http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
    How do I know what is the host and port of the system??
    Also we need java knowledge to excel in XI. I want to know to what extent we need to learn Java to be able to excel in XI. Is there any blog or link which discuss about this?
    thanks,
    sankar

    Hi,
    TCODE: SXMB_IFR
    Then you'll see then server, port .
    Also:
    SMICM -> goto -> services
    Java basic knowledge is required where u can able to write the user defined function in graphical mapping,
    but sometime the requirement is not fullfilled then u need to to go for advance java for writing a java mapping or adapter module program.
    We use ABAP Proxies in case of we are dealing with the ABAP Based Applications
    We use JAVA Proxies in case of we are dealing with the JAVA based application
    in SAP XI We have two ways of connectivity
    1) adapter
    2)proxy
    in applications based on WAS 6.20 or above we can directly communicate to XI through Proxies
    while application based on below WAS 6.20 you have to use adaptyer to communicate to XI
    proxies seperate business application logic from the integration logic of integration logic
    proxy generation converts non language specific interface description in WSDL into executable interface
    Java proxy is generated from the WSDL description opf interface and this is generated as a JAR file in IR
    while ABAP proxy is generated by transaction SPROXY
    on Application server based on WSDL description of message interface
    PROXIES have same mode and direction as Interfaces have
    To learn Java you should know only basic concepts of java means you must have basic java programmin skill
    Java proxy can be generated through wizard also this is an inbuild functionality of SAP XI
    to lear java follow this link
    java.sun.com/docs/books/tutorial/
    To learn ABAP you should know beginner level ABAP4GL
    ABAP is very simple language and coding is like that you are writing simple english sentence so you would be feeling comfortable withABAP with a little practice
    GO to T CODE se24 and start developing
    learn ABAP with this link
    http://www.itquestionbank.com/sams-teach-yourself-abap-4-in-21-days.html.
    Regards,
    Vinod.

  • Error While executing WebService to RFC Scenario

    Hi,
    I am doing a Scenario of WebService to RFC . While Executing the WSDL in Altova I am getting an Error.
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
         <SOAP:Body>
              <SOAP:Fault>
                   <faultcode>SOAP:Server</faultcode>
                   <faultstring>Server Error</faultstring>
                   <detail>
                        <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                             <context>XIAdapter</context>
                             <code>ADAPTER.JAVA_EXCEPTION</code>
                             <text><![CDATA[
    What might be the problem ..??

    When you receive a system fault, it means the receiver has an application error. So, please review the Configuration and Design objects (Integration Repositor/Directory), if all determinations and agreements are correct. Also, please try refreshing the cache by running the http://<host>:<port>/CPACache/refresh?mode=full (with PIDIRUSER).
    If you still face it, please provide the "<text>" tag content, for the exception trace.

  • Webservice to RFC Scenario - Through Java Mapping

    Hello All,
    In my integration scenario, I will receive a request from a webservice consumer. The webservice is my outbound interface.
    Now I have to write a Java Mapping for it because a similar interface (file to RFC) has been implemented using it and the customer wants minimum deviation from that functionality.
    One question, that I have at this point in time is:
    I must define a Java class that implements the Java interface com.sap.aii.mapping.api.StreamTransformation. This interface has two methods, one of them is:
    public void execute(java.io.InputStream in, java.io.OutputStream out). In the existing interface the InputStream object say 'input' has been initialized to FileInputStream:
    InputStream in = new FileInputStream(new File("Sample7.xml"));
    What shall I initialize it to in my case? One probable is a InputSource, but does the execute method accept an InputSource?
    Please help,
    Regards,
    Varun

    Hello Jose,
    Thanks for your reply, but what I have mentioned above is how it is being done in a similar interface. That being a file to RFC interface, it makes sense to initialize 'in' with the file name.
    But if you mean that I do not need to initialize in my case (Webservice to RFC), then I'll surely give it a try and if useful, will get back to you.
    Thanks again,
    Varun

  • Need help with scenario BPM Http-RFC Sync/async bridge

    hi all!
    i've got the following scenario: HTTP-BPM(XI)-RFC synchronous both of them. for that, i'm using S/A bridge in the BPM, but i'm getting the error 'Timeout condition of pipeline reached'. i think the problem is that the process gets lost in the sync/async communication, because in the trace level shows CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV" and after that every message are 'wait time starting'.
    don't know the reason of the error. Maybe I missed something to configure?
    the BPM is like this:
    Receiver(Open Sync/Async bridge) -> Transformation (mapping from http request to RFC request) -> SyncSend (RFC request and response) -> Transformation (mapping from rfc response to http response) -> Send (Close S/A Bridge)
    the IR is configured like this:
    Message Types u2013 External Definitions u2013 Imported Objects
    mt_cxml_request -> contains xsd of xcml request template.
    mt_cxml_response -> contains xsd of xcml response template.
    zintegracion_pedidos -> imported RFC from R/3
    zintegracion_pedidos.response -> imported RFC from R/3
    Message Interfaces
    mi_cxml_request_async_abs
    mi_cxml_request_sync_abs
    mi_cxml_request_sync_out
    mi_xcml_response_async
    mi_rfc_request_asyn_abs
    mi_rfc_request_sync_abs
    mi_rfc_request_sync_in
    mi_rfc_response_async_abs
    Message Mappings
    mm_cxml_request_to_rfc_request -> mapping from http request (cxml) to rfc request.
    mm_rfc_response_to_cxml_response -> mapping from rfc response to http response (cxml).
    Interface Mappings
    im_cxml_request_async_abs_to_rfc_request_async_abs
    im_rfc_response_async_abs_to_cxml_response_async_abs
    and the ID is configured like this:
    Business system DES -> created business system for RFC adapter with interface mi_rfc_request_sync_in as receiver. Comunication channel u2018RFC Receiveru2019
    Businnes service VW -> created businnes service for HTTP adapter with interface mi_cxml_request_sync_out as sender. Comunication channel u2018HTTP Senderu2019
    Receiver Determination
    two receiver determinations. One for BPM and the other one for RFC(R/3):
    |VW| mi_cxml_request_sync_out:
    |BPM_PO| mi_rfc_request_sync_abs:
    Interface Determination
    two interface determinations:
    |VW| mi_cxml_request_sync_out | | BPM_PO:
    |BPM_PO| mi_rfc_request_sync_abs | * | * :
    Sender Agreement
    VW
    mi_cxml_request_sync_out
    Receiver Agreement
    |BPM_PO| |DES| mi_rfc_request_sync_in

    hi all,
    i've removed the transformations from the BPM, and i've created:
    in IR:
    - interface mapping: im_xcml_request_to_rfc_request_sync_abs
                                    source interface: mi_cxml_request-sync_abs
                                    target interface: mi_rfc_request_sync_abs
    in ID:
    - receiver determination: |VW| mi_cxml_request_sync_abs
                                      sender service: VW
                                      interface: mi_cxml_request_sync_abs
                                      receiver: DES
                                      interface mapping:im_xcml_request_to_rfc_request_sync_abs
    - interface determination: |VW| mi_cxml_erquest_sync_abs ||
                                         sender service: VW
                                         interface: mi_cxml_request_sync_abs
                                         inbound interface: mi_rfc_request_sync_abs
                                         interface mapping: im_xcml_request_to_rfc_request_sync_abs
    - receiver agreement: |VW| |DES| mi_rfc_request_sync_abs
                                   sender service: VW
                                   receiver service: DES
                                   receiver interface: mi_rfc_request_sync_abs
    not sure these are the steps i had to do for mapping xml to rfc. but the result is the same error as before, the timeout.
    i couldn't test with RTW because i'm getting an error 401 unauthorized.
    i'd do it without BPM but the issue is that i wanted to add another step that would be to send the response from rfc to mail too once i got this BPM running. i mean, the response from RFC would be sent to http response and mail both.
    the only way i can imagine to do it is with BPM but i'm really fed up with it.
    thank u very much folks

  • Webservice to RFC  testing

    Hi,
    I am testing webservice the RFC scenario using SOAPUI 2.0.2 tool and I get the below message in SOAPUI.What could be the problem?
    Thanks
    Points will be awarded
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>DeliveryException</code>
                   <text>com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:NO_MAPPINGPROGRAM_FOUND:
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:451)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:125)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:795)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:74)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:141)</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>

    I see 3 error msg in sxmb_moni
    *1st msg shows sender  to receiver*
    *response msg*
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <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="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">Z_****************************.Exception</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    *response Call adapter payload*
    <rfc:Z_*****************************.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><Name>RFC_ERROR_SYSTEM_FAILURE</Name><Text>The function module is not active or contains no code.</Text></rfc:Z_*******************************.Exception>
    *2nd msg(receiver to sender)*
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <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="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="urn:sap-com:document:sap:rfc:functions">Z_*****************************.Exception</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    *response Call adapter payload*
    <rfc:Z_***********************.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions"><Name>RFC_ERROR_SYSTEM_FAILURE</Name><Text>The function module is not active or contains no code.</Text></rfc:Z_***********************.Exception>
    *2nd msg(receiver to sender)*
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <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://*****************os_**************toZ_********************</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Unable to determine name of mapping program</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>

  • Calling Webservice defined in SAP R/3  in Flex builder using mx:Webservice

    Hi All,
    I am calling R/3 webservices in Flex builder using <mx:webservice> tag. but the wsdl is not accepting additional parameters like &, =  ....
    when I try to run this code Flex builder is generating an error
    <mx:WebService id="ws" wsdl="http://localhost.com:8088/sap/bc/srt/rfc/sap/Z_SIMPLE_TEST_WS?<b>sap-client=030</b>&wsdl<b>=1.1</b>"
              useProxy="false"
              result="handleResult(event)"
              fault="handleFault(event)" showBusyCursor="true" >
    and when I remove the <b>sap-client=030&</b> and <b>=1.1</b> from the wsdl, the program gets executed, however SAP is calling client 010 as that is the default client.
    I would appreciate if anyone can tell how to pass the parameter sap-client=030 in Flex.
    Thanks,
    Madhavi
    Message was edited by:
            Madhavi<b></b>
    Message was edited by:
            Madhavi

    its because of the & sign. instead use it like below it will work.
    Z_SIMPLE_TEST_WS?sap-client=030&emp;wsdl=1.1
    in the above line replace 'e' in emp with 'a' (amp)
    Raja

  • SOAP service /sap/bc/soap/rfc/sap does not exist

    Hi!
    I implement ABAP-Proxy to SOAP scenario.
    For the receiver communication channel (SOAP Adapter) I need to put target-URL
    http://<server>:8000/sap/bc/soap/rfc/sap/BAPI_MATERIAL_EXISTENCECHECK?sap-client=200.
    Unfortunately the URL cannot be displayed in brwoser.
    I also could not detect the appropriate SICF service sap/bc/soap/rfc/sap under tcode SICF.
    Can some one help me to solve this problem?
    Thank you very much!
    regards
    Holger

    Hi!
    What is the difference between the both URL's?
    http://<server>:8000/sap/bc/soap/wsdl11?services=BAPI_NAME&sap-client=200
    http://<server>:8000/sap/bc/soap/rfc/sap/BAPI_MATERIAL_EXISTENCECHECK?sap-client=200.
    Thank you!
    regards
    Holger

  • Using Synchronous webservice without using SAP XI

    Hi,
    I have a requirement of wherein which my client has provided me a dot net webservice which needs to be consumed in SAP R/3 using which i have to build an interface between SAP R/3 and the legacy system. This interface needs to be synchronous in nature.
    Please let me know how to handle this in ABAP and is this possible without using SAP XI / PI.
    Step 1:
    SAP r/3 ( sends data )------> (Webservice) Legacy system
    Step 2:
    (Webservice) Legacy system -
    > SAP R/3 (recives response from legacy system)
    Regards
    Joel

    Hi Joel,
    You can use the webservie (SOAP or WS[if it is PI7.1server] adapter).
    By calling the webservice from the ABAP.
    http://help.sap.com/saphelp_srm40/helpdata/EN/2d/64d023e74911d6b2e400508b6b8a93/frameset.htm
    or by using PI also it is possible
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f?quicklink=index&overridelayout=true
    Read page no 26th onwards.
    > Step 1:
    > SAP r/3 ( sends data )------> (Webservice) Legacy system
    you can use Proxy to PI to SOAP/WS scenario.
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    > Step 2:
    > (Webservice) Legacy system -
    > SAP R/3 (recives response from legacy system)
    you can use SOAP to PI to Proxy scenario.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8e/464442c1a1c253e10000000a1550b0/content.htm (For SOAP)
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies  (for proxy)
    Regards
    Ramesh

  • Using WebService served by SAP

    Greetings,
    I have been stuck trying to get CF 8 to talk to SAP serviced Web
    Service. Here is code I am using:
    <cfscript>
       ws = CreateObject("webservice", "http://xxx.xxxxx.com:8002/sap/bc/
    srt/rfc/sap/Z_ZRFC_TEST?sap-client=235&wsdl=1.1");
       xlatstring = ws.ZZrfcTest(Rfcin = "Hello");
    </cfscript>
    Here is WSDL file
    <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions targetNamespace="urn:sap-
    com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://
    schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/
    XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://
    schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="urn:sap-
    com:document:sap:soap:functions:mc-style" xmlns:n1="urn:sap-
    com:document:sap:rfc:functions">
    - <wsdl:documentation>
    <sidl:sidl xmlns:sidl="http://www.sap.com/2007/03/sidl" />
    </wsdl:documentation>
    - <wsdl:types>
    - <xsd:schema attributeFormDefault="qualified"
    targetNamespace="urn:sap-com:document:sap:rfc:functions">
    - <xsd:simpleType name="char10">
    - <xsd:restriction base="xsd:string">
    <xsd:maxLength value="10" />
    </xsd:restriction>
    </xsd:simpleType>
    </xsd:schema>
    - <xsd:schema attributeFormDefault="qualified"
    targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style"
    xmlns:n0="urn:sap-com:document:sap:rfc:functions">
    <xsd:import namespace="urn:sap-com:document:sap:rfc:functions" />
    - <xsd:element name="ZZrfcTest">
    - <xsd:complexType>
    - <xsd:sequence>
    <xsd:element name="Rfcin" type="n0:char10" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    - <xsd:element name="ZZrfcTestResponse">
    - <xsd:complexType>
    - <xsd:sequence>
    <xsd:element name="Rfcout" type="n0:char10" />
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </wsdl:types>
    - <wsdl:message name="ZZrfcTest">
    <wsdl:part name="parameters" element="tns:ZZrfcTest" />
    </wsdl:message>
    - <wsdl:message name="ZZrfcTestResponse">
    <wsdl:part name="parameter" element="tns:ZZrfcTestResponse" />
    </wsdl:message>
    - <wsdl:portType name="Z_ZRFC_TEST">
    - <wsdl:operation name="ZZrfcTest">
    <wsdl:input message="tns:ZZrfcTest" />
    <wsdl:output message="tns:ZZrfcTestResponse" />
    </wsdl:operation>
    </wsdl:portType>
    </wsdl:definitions>
    here is error message I am getting
    The web site you are accessing has experienced an unexpected error.
    Please contact the website administrator.
    Unable to read WSDL from URL:
    http://xxxx.xxxxxxx.com:8002/sap/bc/srt/rfc/sap/Z_ZRFC_TEST?sap-client=235&wsdl=1.1
    Please advice what to check...
    Regards,
    Egils

    I am still strugling even with parsed XML attribute however I am not ready investigating WSDL2Java yet...
    Here is how parameters are described in WSDL
    - <xsd:element name="BAPI_PO_GETDETAIL1">
         <xsd:complexType>
    -           <xsd:sequence>
               <xsd:element name="ACCOUNT_ASSIGNMENT" minOccurs="0" type="tns:char1" />
               <xsd:element name="DELIVERY_ADDRESS" minOccurs="0" type="tns:char1" />
               <xsd:element name="HEADER_TEXT" minOccurs="0" type="tns:char1" />
               <xsd:element name="ITEM_TEXT" minOccurs="0" type="tns:char1" />
               <xsd:element name="PURCHASEORDER" type="tns:char10" />
               <xsd:element name="SERVICES" minOccurs="0" type="tns:char1" />
                    <xsd:element name="VERSION" minOccurs="0" type="tns:char1" />
              </xsd:sequence>
         </xsd:complexType>
    </xsd:element>
    Here is how char1 is described
    - <xsd:simpleType name="char1">
        -<xsd:restriction base="xsd:string">
               <xsd:maxLength value="1" />
         </xsd:restriction>
    </xsd:simpleType>
    Here is how Char10 is defined
    <xsd:simpleType name="char10">
        -<xsd:restriction base="xsd:string">
               <xsd:maxLength value="10" />
         </xsd:restriction>
    </xsd:simpleType>
    This is one of the versions of the code I tried
    <cfsavecontent variable="sXML">
        <BAPI_PO_GETDETAIL1>
          <ACCOUNT_ASSIGNMENT/>
          <DELIVERY_ADDRESS/>
          <HEADER_TEXT/>
          <ITEM_TEXT/>
          <PURCHASEORDER>4500000059</PURCHASEORDER>
          <SERVICES/>
          <VERSION/>
        </BAPI_PO_GETDETAIL1>
    /cfsavecontent>
    <cfset xmlObj = XMLParse(sXML)>
    <cfdump var="#sXML#">
    <cfinvoke
          webservice="http://xxxx.xxxxxxxx.com:8006/sap/bc/srt/rfc/sap/Z_PO_GETDETAIL1?sap-client=330&wsdl=1.1"
          method="BAPI_PO_GETDETAIL1"
          refreshWSDL="yes"
          username="web_service"
          password="Seneca09"
         <!--- argumentcollection="#xmlObj#" --->
          returnvariable="aReturn"
    >
          <cfinvokeargument name="BAPI_PO_GETDETAIL1" value="#xmlObj#">
    </cfinvoke>
    Any ideas what I am doing wrong? Any suggestiong or tips?

  • Using Webservice through RFC Func Mod Can I able to fill dropdown field

    Hi,
    I am going to develop offline interactive form using Webservice through RFC Function module.
    There are dropdown list fields in my adobe form. Then how can I able to fill these dropdown fields in my form, I mean how to bind the values to dropdown fields.
    Thanks & Regards,
    nspkumar.

    Hi,
    Option 1:
    If the form is designed in transaction SFP, which has a form interface (transaction SFI), then below solution will work:
    For example consider the data node name as 'COUNTRY' . Select drop down UI element and go to 'Object' properties tab. Select 'Binding' tab, on the top right hand side of this tab there is small icon, select the icon and enable the option 'Show Dynamic Properties'. Once this option is enabled in the 'Binding' tab you can click on the link 'Specify Item Values'. A popup will open, here specify the binding value as 
    $record.sap-vhlist.COUNTRY.item[*]
    Refer to link:
    [Drop down list binding|http://help.sap.com/erp2005_ehp_06/helpdata/en/43/7a667df4ad6fc9e10000000a1553f6/frameset.htm]
    Option 2:
    If the data connection is directly to the webservice then binding needs to be done similar to option 1 except one change. While binding the value in dynamic properties based on XML schema binding needs to be changed.
    As you can see in option 1, for dynamic property binding 
    $record.sap-vhlist.COUNTRY.item[*]
    , there is a value called sap-vhlist. This 'sap-vhlist' gets generated when form is designed in transaction SFP with form interface. So in your case if data connection is from webservice value sap-vhlist needs to changed to the value as per XML schema definition.
    Regards
    Srikanth KV

  • Abap proxy client  and https webservice

    Hi, I have a problem with an abap proxy client.
    This proxy works perfectyl when I call the test webservice (via HTTP protocol) but it does not work if I try to call the productive webservice (via HTTPS protocol).  Of course I have configured LPCONFIG in order to let the proxy point to the correct web site.
    I'm pretty sure that problkem is caused by different protocols HTTP vs HTTPS.
    I thought the problem could be the web site certificate, so I added it into the PSE (transaction STRUST) but nothing happnes.
    Your help is really appreciated.
    Edited by: robcom69 on Feb 22, 2010 3:34 PM
    Edited by: robcom69 on Feb 22, 2010 3:35 PM
    Edited by: robcom69 on Feb 22, 2010 3:49 PM

    I have loaded the certificate in the TRUST transaction.
    Anyway, in our system we do not have the SAPCRIPTOLIB libraries and I do not underastand if they are necessary or not.
    I mean, I need these libraries only if I expose an HTTPS server from SAP or even if SAP is the client and it need to access an external https webservice ?
    Please help.

  • Need information about WebServices available in SAP

    Hi
    I have a .Net application and SAP R/3 ECC 5.0.. I want to communicate between SAP R/3 and .NET using webservices. For example if i create a sales order in .Net application it has to store in SAP R/3 ECC5..0 using webServices. Are there any webServices provided by SAP. If yes please tell me those webservices provided by SAP
    Please help me how to do this
    Best Regards
    Ravi Shankar B

    Hi
    I hope you may get some useful information from this link.
    http://www.microsoft-sap.com/default.aspx
    regards
    Srinivas

  • Webservice Integration with SAP using SAP XI

    On a periodic basis, say end-of-shift, My product(Web service) sends to the SAP system the total production for that period, for example, Hot Metal produced. The data packet contains all theinformation required to uniquely identify the production period (plant name, location, furnace number, shift
    number, date & time).
    SAP receives the data packet, stores the data in appropriate tables and acknowledges the status to My Product. The acknowledgement contains total revenue generated based on the production (computed based on the unit cost of Hot Metal). If the data is incorrect, SAP sends a fault message. The revenue value received as response is stored in an appropriate tag in the My Product model.
    I want to use SAP XI as the connector between my webservice application and SAP. Please suggest me what scenario should I implement in this case. Do I need to use BPM here ?
    Also please suggest what are relevant IDocs and BAPIs for this scenario.

    Got it...

Maybe you are looking for

  • Error in Adobe form based in a xml interface when changing data element

    The adobe form is called from a web dynpro. The adobe form contain a page and subforms (positioned y flowered). The form worked out perfectally. Then edited a descriptive text in a data element, from se11.  The form continues worked out correctelly.

  • Windows Update and MSE will not update

    The Windows Update and MSE on my wife's netbook will not run. I've tried making sure the BITS and WU are running in the Services. BITS is running but Update won't run. When I try to get it to run I get an error 1067. When I try to run update I get th

  • My iphone does not automatically switch off the display light when locked. How do I fix this?

    I have an iPhone 5 with iOS 8.2 software. My iPhone does not automatically switch off the display light when it is locked. Therefore, if I get an e-mail/text message/pop-up from other application, the light just stays on, which obviously drains my ba

  • Looking for MBA 13 case with strap to handhold open

    Where can I find an MBA 13" case that has a strap along the back that will allow me to hold it securely while open, so that I can walk and type with one hand?

  • Graph not rendering at refresh

    Hi everyone, I have a problem with a graph (a pie graph) I created with datacontrols: When I load a page, I'm able to see it, but when I change of page and come back, it doesn't appear. The usual message "Fetching data..." appears like always, but th