Passing data through webservices.

Hi All,
I have two doubts.
1. Can we call a webservice without calling creating an ABAP Proxy?
2. If yes how can i pass my internal table through webservice.
any code snippet or wiki link regarding this will be very helpful.
TIA
Vikash Singh

Hi Vikash,
Go through the below link, it has a simple example which will help you,
just search for "Calling a web service in ABAP that validates an email id" and click on the link of saptechnicaldotcom
or try this
http://help.sap.com/saphelp_nw70ehp2/helpdata/EN/1f/93163f9959a808e10000000a114084/content.htm
Also, for transforming your internal table into XML, you can use the below piece of code
CALL TRANSFORMATION ID  
   SOURCE root = ITAB
   RESULT XML xml_string.
And you can pass the XML_STRING as input to the "CREATE_BY_URL_METHOD".
But the XML_STRING will need to be in the format that the service can understand, you might have to modify it accordingly.
Regards,
Chen
Edited by: Chen K V on Apr 26, 2011 1:04 PM
Edited by: Chen K V on Apr 26, 2011 1:07 PM

Similar Messages

  • "secured by passing data through LWAPP tunnels."

    Hi,
    The WLC v4.1 Config Guide says,
    "all Layer 2 wired communications between
    controllers and lightweight access points are secured by passing data through LWAPP tunnels."
    Is it correct that this is only true for the LWAPP Control channel which is encrypted - the LWAPP Data channel is in clear text which WireShark has no problem parsing, right?
    Regards, MH

    Only LWAPP control message payloads are encrypted. As you've stated however LWAPP data payaloads are not encrypted as the wired network is assumed to be relatively secure (compared to wireless).
    Additional Reference Appendix B in this document:
    http://www.cisco.com/en/US/netsol/ns340/ns394/ns348/networking_solutions_white_paper0900aecd805e0862.shtml

  • Passing data through address bar

    hi all,
    I am implementing a forum application on the java studio creator, and Iam having a problem in getting data from the address from page to page.
    The problem is that i have a table containes records of table "data IDs" when you click on the data Id it will take you to another page and show you the data complete. Iam passing Data Id in the address bar, how could i get it in the other page.
    Best Regards.

    Hi,
    Please go through the tutorial named "Sharing Data Between Two Pages". This is available at:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/index.jsp
    Hope this helps
    Cheers
    Giri

  • Passing data through TCP/IP

    Hello ! My challenge is this: I have a vi that i have to use as a server and a vi as a client. In the server vi, i want to modify multiple parameters of one graph and these modifications should reflect on the client vi. How can i transmit, through TCP/IP, the modified graph to the client vi/application ? I would appreciate very much a link or a example vi that can show me exactly how such an opperation can be achieved. Thank you!

    You can make the string you pass include any data.  Here is a simple example using an XML string.
    <Graph>
    <Value>1,2,3,4,5,6</Value>
    <Visible>True<\Visible>
    </Graph>
    Send this string on the server side taking a reference to a graph and build a simple vi to generate a string containing  the data you want to send.
    At the client side you parse this string an a loop as set the appropriate property node as the tag dictates.
    I cant think of a precanned solution for this but my morning coffee has not kicked in yet.
    Paul 
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Problem in passing date through hyperlink reports in Linux version(CRS2008)

    Hi,
    How to pass value of a date paramater through hyperlink(open doc) from main report to target report(clicking on hyperlink )
    thanks in ADVANCE

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Passing data through parameters or return?

    Here are too samples:
    void doStuff (String s)
    void String doStuff()
    }they both pass a String to the caller, but I found they are totally different. Can anyone give me some idea about it?

    Let me take a whack at this. I think the original poster got hamstrung because his example data type was
    immutable (String). Consider the simple mutable type java.awt.Rectangle which has public int fields x, y,
    width and height. Now consider two or three way to write a method that supplies the caller with rectangle
    data:
    public Rectangle getBounds1() {
        int x = calculation...
        int y = calculation...
        int w = calculation...
        int h = calculation...
        return new Rectangle(x, y, w, h);
    public void getBounds2(Rectangle r) {
        int x = calculation...
        int y = calculation...
        int w = calculation...
        int h = calculation...
        r.setBounds(x, y, w, h);
    public Rectangle getBounds3(Rectangle r) {
        int x = calculation...
        int y = calculation...
        int w = calculation...
        int h = calculation...
        if (r == null)
            r = new Rectangle(x, y, w, h);
        else   
            r.setBounds(x, y, w, h);
        return r;
    }There are examples of these variations in the API, for example java.awt.Component has getBounds
    methods that are version 1 and 3 here. My rule of thumb is to keep it simple: go with getBounds1. The
    other two allow you to avoid constructing temporary rectangles, but construction is cheap these days.

  • Passing data through connect().

    Hi, I found this example of a lobby in my flash media server book. But there's a little issue...
              var nc:NetConnection;
              var rtmpNow:String;
              var userName:String;
              var users_so:SharedObject;
              var connectName:DataProvider;
              nc=new NetConnection();
              rtmpNow="rtmp://localhost/userlist/roomlist";
              nc.addEventListener (NetStatusEvent.NET_STATUS,checkConnect);
              button.addEventListener (MouseEvent.CLICK,addName);
              connectName=new DataProvider();
              function addName (e:MouseEvent)
                   nc.connect (rtmpNow,textInput.text);
              function listPlace (e:SyncEvent)
                   list.dataProvider=connectName;
                   list.removeAll ();
                   for (var uName:String in users_so.data)
                   {//no uName found.
                         if (users_so.data[uName] != null)
                              connectName.addItem ({label:users_so.data[uName]});
              private function checkConnect (e:NetStatusEvent)
                   if (e.info.code == "NetConnection.Connect.Success")
                         button.label="Connected";
                         users_so=SharedObject.getRemote("users_so",nc.uri,false);
                         users_so.addEventListener (SyncEvent.SYNC,listPlace);
                         users_so.connect (nc);
    When I press "connect", the name in textInput.text normally will be passed and added to the list under the button. But the list stays empty and textInput.text isn't passed. Does anyone know a solution?
    Really thanks,
    Thomas

    Hi,
    The list is displayed empty because, you are populating the list with the value of the shared object's properties. Since you have not set any property in the code its displaying empty.
    Regards,
    Manish.

  • Error when passing data through Business connector

    Dear all,
    we are getting below exception in BC trace while connecting to the remote url through SAP BC. Please guide us how to solve this problem.
    java.lang.RuntimeException: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by TrustDecider
         at com.wm.pkg.sap.rfc.ListenerCallHandler.handleRequest(ListenerCallHandler.java:516)
         at com.sap.conn.idoc.jco.DefaultJCoIDocServerWorker$IDocDispatcher.handleRequest(DefaultJCoIDocServerWorker.java:72)
         at com.sap.conn.jco.rt.DefaultServerWorker.dispatchRequest(DefaultServerWorker.java:141)
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(MiddlewareJavaRfc.java:2621)
         at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:1919)
         at com.sap.conn.jco.rt.DefaultServerWorker.dispatch(DefaultServerWorker.java:258)
         at com.sap.conn.jco.rt.DefaultServerWorker.loop(DefaultServerWorker.java:320)
         at com.sap.conn.jco.rt.DefaultServerWorker.run(DefaultServerWorker.java:219)
         at com.wm.util.TimeWrappingProvider$TimeMesuredTask.run(TimeWrappingProvider.java:40)
         at com.wm.pkg.sap.rfc.ListenerThread.run(ListenerThread.java:70)
    Caused by: iaik.security.ssl.SSLCertificateException: iaik.security.ssl.SSLCertificateException: Peer certificate rejected by TrustDecider
         at com.wm.app.b2b.client.Context.invoke(Context.java:1290)
         at com.wm.app.b2b.client.Context.invoke(Context.java:1106)
         at com.wm.app.b2b.client.Context.connect(Context.java:764)
         at com.wm.app.b2b.client.Context.connect(Context.java:706)
         at wm.server.remote.checkConnection(remote.java:888)
         at wm.server.remote.checkConnection(remote.java:861)
         at wm.server.remote.invoke(remote.java:397)
         at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:310)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:699)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:468)
         at com.wm.app.b2b.server.Service.doInvoke(Service.java:574)
            at com.wm.app.b2b.server.Service.doInvoke(Service.java:499)
         at pub.JSBC_remote.invoke(JSBC_remote.java:34)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:310)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:699)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:147)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:279)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:556)
         at com.wm.lang.flow.FlowState.step(FlowState.java:427)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:397)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:972)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:699)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:481)
         at com.wm.app.b2b.server.Service.doInvoke(Service.java:590)
         at com.wm.pkg.sap.rfc.ListenerCallHandler.handleRequest(ListenerCallHandler.java:454)
         ... 9 more
    Thanks and Regards,

    Dear sandeep,
    Thank you very much for your fast response.
    We have alredy downloaded certificate given by the other party and configured in BC.We are able to get the response from a from third party from url separtely from internet explorer.while executing by using service we are getting the above exception.
    Please give us some inputs on this issue.
    Thanks and  Regards,
    Edited by: chandra madapati on Dec 30, 2008 1:28 PM

  • WRE54G V2 connects with network, appears to work, but won't allow devices to pass data through

    This is the number one problem I've had with the WRE since I got it several months ago.....
    I originally set it up exactly in line with the instructions.....I turned off my WEP to prevent security issues at the start....
    My WRE starts up, red lights, then blue lights, then solid blue lights....All appears perfect....
    That is, until I attempt to use my PDA (HP 27XX) running Windows Mobile 5.....It just won't connect via the WRE......I have to unplug the WRE, then the PDA will connect, no problem, although with a weak signal......
    My laptop running a DLink wireless card will connect via the WRE, so I know it works!.....
    I have 3 PDA's....all HP, a 24XX, and 2 27XX models....all 3 won't connect through the WRE.....
    My Zune also won't connect via the WRE.....not sure why?....
    Any ideas?.....

    O.k.....I set it up as instructed.....No Go.....not even the Laptop would connect through it this time around.....
    The WRE appears in the "site survey", but nothing will connect to it or through it.....it acts like a VERY EFFECTIVE jammer!.....
    I'm surprised the "underground" hasn't discovered just how easy it is to use this as a network jammer.....
    Since I've owned mine, I'm guessing it's only worked 10 to 15% of the entire time....and NEVER with a PDA or ZUNE.......
    Please don't give up on me though, I really do appreciate and need tips and advice getting this thing to work......

  • How to pass data from one  UIBB to anothere UIBB in OIF/GAF - FPM

    Dear all,
    as of now i am using FPM only for displaying data  from different components.
    now i would like to pass the data from one UIBB to another by calling second UIBB on action of a button. (instead of using standard path in GAF scenario)
    how could i achieve this.  is there any difference mechanism's for UIBB's of single component and UIBB's from different different components.
    it would be great if some one can explain or help me reg this issue on both OIF and GAF FPM's.
    Thanks in Advance.
    Best Regards,
    Kranthi kumar Palle.

    I've actually combined these two approaches to data sharing - I've passed a class reference in the shared data component. This is nice (in my opinion) because it is very obvious where the data is coming from and who it is shared with. It also means that there is not a huge overhead in passing data through the shared context, because you are just replicating a reference to a class instance.
    And -  you don't have to deal with singleton classes :-). So if you want/need to extend your implementation at a later date (for example embedding multiple instances of the same "app" in the one window - or suspending and resuming to another instance of the same app you can then do this. (NB - suspend resume to launch another FPM app does not work because of this (amongst other things)).
    NB a shared data component need not be faceless! I certainly have "shared data" UIBBs that also have UI components - possibly not best practice - but it certainly can be done.
    Cheers,
    Chris

  • How can i send Comments field data through IDOC HRMD_A06-E1P0035?

    Dear all,
    We need to post the legacy system data for infotype IT0035 using IDOC - HRMD_A06-E1P0035 to the SAP R/3 system.In this segment (E1P0035) there no field for the 'comments' to send the data. Pls let us know, is there any way to pass data through E1P0035 segment for the 'comments' field of IT0035?
    Thanks in advance.
    Ram Rayapudi

    Hi Ram,
    Comment fields in infotypes are not stored in the infotype-tables itself, but in PCL1-Cluster TX.
    In Standard-SAP there is no way to pass this via ALE. Even the infotype-table-field ITXEX, which say that there is any textfield present, is clear in ALE.
    If you really need to transfer this data, you have to do ALE-amplifications.
    Regards,
    Herbert

  • Passing XML through a webservice

    I want to pass a string that in turn contains XML data, through a webservice.But unfortunately in the o/p of the webservice the '>' and '<'
    tags of the string are being displayed as '&lt' and '&gt'.I want to display' >' and '<' not ' &lt' and '&gt' in the webservice output.
    Please help me.
    Edited by: user11110762 on Jan 13, 2010 4:21 AM
    Edited by: user11110762 on Jan 13, 2010 4:22 AM

    If you are trying to embed XML within an XML document, you need to wrap the inner XML in a CDATA tag. One example is here, http://www.w3schools.com/xmL/xml_cdata.asp but you can search on CDATA and find plenty of info.

  • How to pass delivery date through BAPI while creating a sale order

    Dear frndz,
         I am using 'BAPI_SALESORDER_CREATEFROMDAT1'
    to create a sale order .
        I don't have any problem..
        But I have to pass schedule line delivery date through this bapi .
       I used REQ_DATE in structure BAPISCHDL.
       But I can' t get it.
       Through which parameter can i meet this..
       The sale order should be created line item wise along with my delivery date..
      Any suggestions...
    regards.
    siva

    Dear frnd,
        Danq for your response..I can't use DLV_DATE for this requirement..
        But I used REQ_DATE in the structure BAPISCHEDULE .
       I came to know that the problem i faced previously  was only
    internal data conversion.
        Now am able to pass my delivery date..
        so I am closing the thread..
    Regards.
    siva

  • Passing data to multiple screens through SAP webgui;

    Hello, I'm working on building an application that requires me to pass data to multiple screens of a SAP transaction (IW31) through SAP webgui.  The requirement is to enter the required information in the initial screen, "Header data" screen and in the "Object Data" screen. I'm using the below URL to launch the webgui:
    http://myserver:8001/sap/bc/gui/sap/its/webgui/!?sap-client=800&sap-user=xxx&sap-password=yyy&sap-language=EN&transaction=iw31%20CAUFVD-EQUNR=20006001&AUFPAR-PM_AUFART=PM01&CAUFVD-GSBER=0001&OKCODE=/00&CAUFVD-ILART=103&~OKCODE==IOLU
    This is failing with the following error message:
    *Flow control: Entry SAPLCOIH, IOLU, A0, *   , *   , * is missing in T185*
    I also noticed that if I stop at the point where I enter information in the initial screen and enter into the header data page using the below URL, it is working fine. The URL used is
    http://myserver:8001/sap/bc/gui/sap/its/webgui/!?sap-client=800&sap-user=xxx&sap-password=yyy&sap-language=EN&transaction=iw31%20CAUFVD-EQUNR=20006001&AUFPAR-PM_AUFART=PM01&CAUFVD-GSBER=0001&OKCODE=/00
    Can anyone please explain what is incorrect in the URL I'm passing?
    Thanks in advance

    Hi Vijay,
    Thank you for your prompt response but I do not understand your answer or perhaps I am not makig myself clear.
    Let me explain the current process:
    1) Z program collects data and exports to Memory ID 'TEST01'.
    2) Z program calls SAP program
    3) SAP program calls User Exit '001' and data is read from Memory ID 'TEST01'.
    4) SAP program collects some of the data and then executes SAP FM to continue processing.
    5) SAP FM Executes User Exit for FM and data is read from Memory ID 'TEST01'.
    6) SAP FM returns completed data back to SAP main program.
    7) Z Program collects results from SAP program.
    New process:
    1) Z program collects data and exports to Memory ID 'TEST01'. Data now includes filter for CC.
    2) Z program calls SAP program
    3) SAP program calls User Exit '001' and data is read from Memory ID 'TEST01'.
    4) SAP program collects some of the data and then executes SAP FM IN PARALLEL PROCESSING to continue processing.
    5) SAP FM Executes User Exit for FM and an attempt to read data is read from Memory ID 'TEST01' fails.
    6) SAP FM returns completed data back to SAP main program.
    7) Z Program collects results from SAP program.
    The dilemma is how to capture the proper CC filter in the FM exit when SAP is unable to read the data from memory ID 'TEST01'. I guess I can understand this since the tasks are executed in separate sessions and servers from the one that started the program since we are using a server group.
    Perhaps I am missing something with respect to exporting to memory IDs?
    Thanks.

  • Problem in passing Modified date through Go url

    Hi All
    I am trying to pass parameters through url to report.
    Its working fine and passing row id of the record but when i try to pass modified date also, it takes me to no result view where i can see that value has been passed to report but the results are not filtered, instead no result view.
    While passing date in url as parameter do we have extra consideration?
    Anybody has faced smilar kind of scenario.

    I am getting the following error when trying to pass modified date for oppty.
    Error getting drill information: SELECT Opportunity.Name saw_0, Opportunity."Opportunity ID" saw_1, Opportunity."Sales Type" saw_2, Opportunity.Priority saw_3, Opportunity."Last Modified" saw_4 FROM "Opportunity Lists" WHERE (Opportunity."Opportunity ID" = 'AAPA-6EEC9X') AND (Opportunity."Last Modified" = timestamp '0000-00-00 00:00:00')
    Error Details
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46048] Datetime Month value 0 from 0000-00-01 is out of range. (HY000)
    SQL Issued: {call NQSGetLevelDrillability('SELECT Opportunity.Name saw_0, Opportunity."Opportunity ID" saw_1, Opportunity."Sales Type" saw_2, Opportunity.Priority saw_3, Opportunity."Last Modified" saw_4 FROM "Opportunity Lists" WHERE (Opportunity."Opportunity ID" = ''AAPA-6EEC9X'') AND (Opportunity."Last Modified" = timestamp ''0000-00-00 00:00:00'')')                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for