Use of webservices in place Jco to communicate with SAP

I want to use Web servives instead of using Jco or some other approches to communicate with SAP back end...
And the version we are using is ecc 6.0
pls give me some web service example
i want to test with simple BAPI. BAPI_COMPANY_GETLIST.
regards,
rahul

Hi,
Start process in se37
Select the package in which you create service for testing you can create web ervice as local object, but in real time you need to create in an actually assigned package.
http://help.sap.com/saphelp_nw04/helpdata/en/e9/ae1b9a5d2cef4ea4b579f19d902871/content.htm
Look at link above.
Choose your function module which is specified by you.
Utilities ->More Utilities >Create Web Service > From the Function Module do this.
Refer below again for creating a virtual interface for your function module.
http://help.sap.com/saphelp_nw04/helpdata/en/76/249f02f5235b44b4dc6abbce35f44a/content.htm
Then create a web service definition.
http://help.sap.com/saphelp_nw04/helpdata/en/a0/da0710b6560a4e80fb94f3f712dfc0/content.htm
Then release web service definition.
http://help.sap.com/saphelp_nw04/helpdata/en/13/bcd0f61583be4a9cd835918e5673e1/content.htm
With this you have created web service.
Now you need to follow link below to puclish and test web service
Right now you dont need to publish it in uddi.
you can call the web service as below
http://help.sap.com/saphelp_nw04/helpdata/en/38/1b893f17493c17e10000000a114084/content.htm
Regards,
Harish

Similar Messages

  • What port is used by Groupware connector to communicate with SAP CRM?

    Hi!
    I've been trying to find what port is used by groupware connector when it is communicating with SAP CRM, but all I've found is that is uses SOAP over HTTP.
    Our security team only wants to open the relevant port and I haven't found the port....
    Does anybody know what port is used?
    Thanks!
    rollo

    What gives you an impression that a seperate program is called to write file at OS level.....it could be the program running behind the F110.....try checking the same...and look for GUI_DOWNLOAD in the program.

  • How to use Microsoft SSIS to communicate with SAP Extractors? Is XI a way?

    Hello Extraction Experts!
    here is a challange for you:
    Our customer wants to pull GL Data from ECC6 as well as other various R3 Special Ledgers into a database (Not SAP BW at this point in time!), which can then provide the data to a 3rd party tax calculation tool.
    Until we are able to move to SAP BW we would like to use the delta enabled General Ledger extractors to pull the data into SQL Server by using MS SSIS (Event Handler). The reason for this is that the standard extractors are
    a) delta enabled and
    b) provide data enhancements which otherwise we would have to rebuild. (like currency transformations or calculation of the cumulated balance)
    So the big question is now how can Microsoft SQL Server with SSIS  be configured in such a way that it can communicate with the standard extractors? All settings which are in the Infopackage need to be configurable (Data selection, update mode settings for full vs. delta request, schedule and so on).
    The extractors use Services API, iDocs, RFC.
    What exaclty needs to be rebuild and how? Is XI an option here? If we dont extract the data in the wway SAP does it it will be very difficult to move to SAP lateron.
    Thanks for all your comments and help.
    kind regards,
    Marko

    Interesting
    Of course the easiest way to do it is to install a GL DSO on BW extract the data into there and then extract the data out of BW
    However to do this you will need hardware and an additional license to extract from the BW system (it does cost quite a bit for the license - but it should be discountable)
    The idea of using the delta extractors is fine - but to be quite honest the logic in the FI extractors can easily be built into a ABAP to dump the data out to a flat file
    That will be cheapest option without any doubt - not the most fancy but definately cheaper
    So I would approach it as - take the GL4 extractor code, hack it and write the output to a flat file.
    The GL4 extractor does basically this..
    read bwom_timestamp t get the last timestamp selected up to
    read bwom_settings to get the safety mechanisms (ie how the timestamps should be manipulated)
    loop around a datapackage size
       select * from bkpf where cpudat between two datetimestamps (from above)
         select from bseg for those records
         read into an itab and manipulate the data
         send package to BW
    endloop
    loop around a datapackage size
       select from bwfi_aedat where change time between datetimestamps
         select from bkpf/bseg for those records
         read into an itab and manipulate the data
         send package to BW
    endloop
    update the timestamp table with the timestamps used
    Now you will need to have some sort of table in your source application which will resolve the duplicates - as GL transactions can be modified and FI does not provide a before and after image - ie you only get the after image

  • Using XI WebService in CAF as external service with Logical Destination?

    Hello,
    I created a scenario WebService -> XI -> WebService in a PI7.1 system. I used the Web Service Wizard in order to generate a WSDL. If I test it for example in XMLSpy it works fine.
    We then imported this WSDL into CAF as external service. That also works.
    Now we have to map the CAF Service to a logical Destination. This has to be maintained in NWA. But here we need a URL to the WSDL. I cannot use the local WSDL Filed which I from that WebService Wizard.
    Is there any generic URL were I can get the WSDL for the WebService which calls the XI Interface?
    Thanks and Best Regards
    Katharina
    Edited by: Katharina Seiz on Oct 6, 2008 6:19 PM

    Good Idea. I tried that. I added the WSDL to a Web Module and deployed it with the CAF ear module. It is now available via: http://vmw2469.wdf.sap.corp:50000/testxi/GLAccountPostingSync_Out_PI71.wsdl
    If I test it directly in WSNavigator it works fine,  but if I map my CAF Service to the logical Destination which is also using that URL, I get the following error:
    com.sap.engine.services.webservices.espbase.query.exceptions.TechnicalException: Deserializing WSDL stream http://vmw2469.wdf.sap.corp:50000/testxi/GLAccountPostingSync_Out_PI71.wsdl failed
    If I try to find the service via the function "Search by Logical Destination" I get the following error:
    Invalid content type while requesting http://vmw2469.wdf.sap.corp:50000/testxi/GLAccountPostingSync_Out_PI71.wsdl. Expected Content-type: text/xml, received Content-type: content/unknown, used user to connect: most
    Has someone any idea what the problem could be?
    Thanks and Best Regards
    Katharina
    Edited by: Katharina Seiz on Oct 6, 2008 6:32 PM

  • How mobile device ( rfid/barcode reader) communicates with SAP transaction.

    Dear Friends !
    Good morning, How are you ?
    I want to understand that in ITSmobile How Mobile device ( RFID Reader ot Barcode scanner/reader) to fetch the data and supply the ITS screen.
    I believe every mobile device has some .dll file or something in that we have some methods if we call it say in .net or java application we can read the rfid or barcode and from the returning paramter of the .dll method we can get information what we want ( if i m not wrong).
    now the question is if I have some barcode /rfid number which is assigned to sap material number. if on mobile device I run mm02 transaction code n trigger the gun can I get the material number in material number field . ( assume I have program which can fetch the material number from barcode/rfid number.) ? but to pass rfid number / barcode what should I do. I can write javascript and call that method but dont know weather I can use javascript or not in that.
    to be simple:
    How can I get barcode / rfid number to my sap transaction. if possible
    please give me any suggestion. document link... help.... whatever may help me to understand this. I will greatly appreciate your reply
    Thanking you
    Regards
    Naeem

    Hi Ajay,
    Please refer to note 1057759 for the delivered Drivers for Peripherals in SAP DOE. This lists all the supported barcode scanners for SAP Netweaver Mobile. Those derivers are certified after testing to work only with that device and OS configuration.
    The Javadoc to get an idea about how to use those PIOS API for barcode scanner
    http://help.sap.com/javadocs/nwmobile/SP3/laptops/com/sap/ip/me/api/pios/scanner/ScannerConnection.html
    As input from Barcode scan have to be taken in Wedge Mode, there is no need to do any developments in MI JSP Application. To enable barcode scan one can download barcode scan tools available from Handheld Vendor sites
    Regards,
    Amith

  • Using  javascript  in windows host scripting to communicate with java class

    Hi,
    I have to use a legacy system that works on a windows platform.
    the system uses javascript to perform the logic.
    I wouild very much like to remove the javascript from the equation but cannot !
    however I presume that the javascript could delegate the logic to an underlying java object (this is not a web application mind you so the java script is not document based and I cannot use applets).
    I know that Rhino and Ojs have this abilitiy but as the legacy system uses the WHS that is what I need to use too.
    In other words, how do I invoke java methods belonging to pure java objects from within a javascript file using the windows scripting host interpreter ?
    thanks very much in advance.

    Hi,
    I have to use a legacy system that works on a windows
    platform.
    the system uses javascript to perform the logic.
    shudder
    [snip]
    In other words, how do I invoke java methods
    belonging to pure java objects from within a
    javascript file using the windows scripting host
    interpreter ?
    shudder
    as the previous poster said, you likely need to wrap your Java classes in some COM object. But why are you wanting to introduce this additional complexity into your system?

  • Communicate with SAP by email

    Sure, the title is strange,
    but my customer want to do the following process : an collaborator who receives an email in HTML format may accept or reject a request, the response must arrive in SAP to continue the process (workflow). Of course the collaborator shall not authenticate to the SAP system. Have you ever had this type of application and how to cope ?
    In SCRM I think it's standard, but in ECC6 no, I'm wrong ?
    I had the idea that CAS should be able to receive an email from there I can parse a header encrypted. But at the level of security is it admissible?
    Thanks for your help.

    Have you done any research yourself?
    It should be feasible to trigger a workflow in SAP from an incoming email. Not sure about the authentication. Related SDN post:
    Workflow to meet business scenario.

  • Execute BAPI Using Current User ID, Not JCo Connection User ID (v7.0)

    Currently when I call a BAPI, it executes under the username of the JCo Connection. User management is done via ECC, and not portal, so the User IDu2019s are identical.
    Is it possible to call a BAPI from Web Dynpro using the current portal user User ID?

    Hi,
        Select the model which is created for the Bapi (in the webdynpro content Administrator),  edit the JCO connection(modeldata) and select user method - Ticket, for the metadata you ca use a common communication userid.
    By this the BAPI is executed with the current logged in portal userid.
    Note:  For using this your portal as to be configured with SAP ECC with SSO.
    Hope this solves your issue.
    Regards,
    Manjunath

  • How can I have each pass through a for loop communicate with a new indicator?

    Hello,
    I am using 16 color boxes to indicate how 16 channels are behaving.  If a color box is blue, its respective channel is running correctly, red means it has failed etc.  I am continuously checking each channel using a loop, and I wanted to update the channel colors every loop.  I have made an array of 16 numbers corresponding to the color I wish to have (which are blue = running, red = failed, green = completed, black = not in use).  However, I cannot find a way to pull these 16 numbers out of the array and to the color boxes short of 16 index arrays connected to the color boxes. 
    I understand how to convert each individual number to a color, I just don't know how to use a 16 times for loop to communicate with a different color box each pass through.  Is there any way to do this or should I just go for brute force?
    Thank you.
    Solved!
    Go to Solution.

    Sorry I keep making new posts.  Attached is an example i wrote up.  There are three cases in the disabled structure, each has a different implementation of what i belive your specs are.
    Tim Elsey
    LabVIEW 2010, 2012
    Certified LabVIEW Architect
    Attachments:
    update color box.vi ‏24 KB

  • Ways to Configure Which UNIX Server a PC Client Application Communicates With

    We have several different MS VC++ "fat client" applications that we want to run
    on the same NT 4.0 PC.
    Each application uses the Tuxedo 7.1 client to communicate with Tuxedo services
    located on a UNIX server.
    Each application needs to communicate with a different UNIX server (e.g., application
    A1 needs Tuxedo
    service T1 located on UNIX server S1, application A2 needs Tuxedo service T2 located
    on UNIX server
    S2). We'd like to load the Tuxedo 7.1 client software in such a way that each
    individual application
    controls which server it uses. One way to do that is through registry entries
    specific to each application.
    We are looking for some documentation or tips on other/better ways to configure
    which server the PC
    application communicates with. We are also looking for some documentation or
    tips on how to best
    configure an application that needs to subscribe to services from several different
    servers (e.g.,
    application A needs Tuxedo service T1 on server S1 and Tuxedo service T2 on server
    S2). Thanks.

    Matt,
    This sounds quite unusual, and I am not sure why you want to do things this way.
    Generally, I would expect that the services would be distributed on the server side over
    different boxes as you describe, but the location would be transparent to a client app.
    which would tpinit once, and Tuxedo would route the requests appropriately. Maybe that's
    not how you want to do things because the apps are all logically independent? I'm not
    sure about that though, since you describe needing services on different servers in
    individual clients... Can you do the integration at the back end?
    To do what you describe, however, you need to control the value of the WSNADDR
    environment variable before you call tpinit() - it is the network address in this
    variable that tells the client libraries which server to connect to. Simply set the
    value (from a command line parameter, the registry, an ini file or wherever) with the
    tuxputenv() API before you call tpinit()
    In Tuxedo 7.1 and higher, it is also possible to connect to multiple different servers
    simultaneousy by calling tpinit multiple times and having multiple contexts in the
    client.
    I hope that helps.
    Regards,
    Peter.
    Got a Question? Ask BEA at http://askbea.bea.com
    The views expressed in this posting are solely those of the author, and BEA
    Systems, Inc. does not endorse any of these views.
    BEA Systems, Inc. is not responsible for the accuracy or completeness of the
    information provided
    and assumes no duty to correct, expand upon, delete or update any of the
    information contained in this posting.
    Matt wrote:
    We have several different MS VC++ "fat client" applications that we want to run
    on the same NT 4.0 PC.
    Each application uses the Tuxedo 7.1 client to communicate with Tuxedo services
    located on a UNIX server.
    Each application needs to communicate with a different UNIX server (e.g., application
    A1 needs Tuxedo
    service T1 located on UNIX server S1, application A2 needs Tuxedo service T2 located
    on UNIX server
    S2). We'd like to load the Tuxedo 7.1 client software in such a way that each
    individual application
    controls which server it uses. One way to do that is through registry entries
    specific to each application.
    We are looking for some documentation or tips on other/better ways to configure
    which server the PC
    application communicates with. We are also looking for some documentation or
    tips on how to best
    configure an application that needs to subscribe to services from several different
    servers (e.g.,
    application A needs Tuxedo service T1 on server S1 and Tuxedo service T2 on server
    S2). Thanks.

  • How can a LabView process communicate with a Visual c++ process

    How can a single Labview process communicate with another Visual c++ Process?
    Both Application are running separately. The LabView  Application must have the Possibility to send command to the C++ Application and receive Data from this process.
    Thanks.

    Thank y for your answer.
    The c++ application has already been written but don´t have an external interface.
    The LabView application can have an activeX  interface other dlls.
    Do you have some LabView example code using activeX interface other another Method to communicate with a c++ application?
    I have no practical experience with the interprocess communication.
    Any example in LabView will help me.
    Thanks

  • Call a external application without using a webservice

    Hi all,
    How can we make a call to external application without using webservice from BPEL or OSB.Please share any links to refer.
    Thanks,
    Kiran

    Hi.
    Probably the options:
    1. Adapters. BPEL PM offers a different set of adapters that allows the process to communicate with external apps
    2. PRobably a basic HTTP POST could be an option
    3. Writing some code inside a Java Embedded activity
    Which application are u trying to communicate with?
    thx
    best

  • Use of webservices

    Hi,
       what is the exact use of webservices.. and  in which scenario we can go for webservices... and is there any types are there  under web services ?
    any PDF  is there plz send it to my mail id : [email protected]
    plz clarrify  this ..
    thanks
    babu

    Hi Babu,
    adding more...
    <b>whenever Xi communicate with Webservice ..only SOAP adapter is use...</b>
    check here why....
    -> Some remote clients or Web services providers are only able to communicate by means of SOAP messages
    ->SOAP adapter enables you to exchange SOAP message between remote clients and Web Service Servers and the Integration Server.
    -> The SOAP Adapter provides a runtime environment that includes various SOAP components for the processing of SOAP message.
    -> You use the SOAP adapter to connect such systems to the Integration Server directly
    -> The SOAP adapter uses a helper class to instantiate and control these SOAP components
    ->The SOAP adapter receives a msg from the remote client or Web service provider, converts the SOAP protocol into XI msg protocol and then sends the msg to the Integration Server to be processed further.
    Hope now you might be knowing why we have to use SOAP adapter
    A SOAP adapter is used in order to post messages to a webservice or provide a web service for receiving messages.
    How To…Use the XI 3.0 SOAP Adapter
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    We have outbound as well as inbound interface. If you want to expose a websevice then we have to chose outbound interface and expose it as webservice to the outside world, so anyone can call your webservice. Please follow stefan's weblog
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    The next one someone has given you their webservice so that you can send your request and get response from them. You can visit www.x-methods.net to see lot of webservice that you can call using receiver adapter.
    SOAP , we will use for Webservices.. for sender and receiver side..also
    one example from Webbrowser to XI to receiver ...system
    another example is we can send it to end point URL..
    alos see the below examples
    Webservice
    http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/frameset.htm
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi - Invoke Webservices using SAPXI
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2131 [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9
    idoc to web services scenario
    /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
    How to use webservices in XI
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - refer that blog and use the SOAP adapter and the WS instead of the RFC part.
    see this blog from Robert Chu, but it might give you a good start to creating web services:
    /people/sap.user72/blog/2005/12/29/service-enable-your-sap-application-component
    File to Webservices
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09b775e-e56e-2910-1187-d8eba09c7a4a
    Yes please look at following weblogs
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
    How to Develop a Webservice Using NWDS and SAP XI.30
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    How to Set Up a Web Service-Related Scenario with SAP XI
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/befdeb90-0201-0010-059b-f222711d10c0
    Exposing BAPI as Web Services through SAP XI
    /people/community.user/blog/2006/10/24/exposing-bapi-as-web-services-through-sap-xi
    Testing XI exposed Web-Services
    /people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
    How XML Encryption can be done using web services security in SAP NetWeaver XI
    /people/aparna.chaganti2/blog/2007/01/23/how-xml-encryption-can-be-done-using-web-services-security-in-sap-netweaver-xi
    Consuming XI Web Services using Web Dynpro – Part I
    /people/riyaz.sayyad/blog/2006/05/07/consuming-xi-web-services-using-web-dynpro-150-part-i
    Consuming XI Web Services using Web Dynpro – Part II
    /people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
    Regards
    biplab

  • How to use DG Gryphon Toolkit to communicate with the vehicle using ISO 9141-2 protocol

    Hi All,
    I am trying to use the Dearborn Group's Gryphon Toolkit to communicate with the vehicle & read some parameters. I have downloaded the toolkit from here. I have got the DG's S3 device. This device supports different protocols. But I could not proceed with the protocol selection using the Gryphon LabVIEW Toolkit. It would be nice to get some guidance here. Is there anyone who had worked with the toolkit? Any help would be greatly appreciated.
    Thanks,
    Priyadarsini S

    Is there anybody who had had exposure to this toolkit? How do we use the toolkit, for eg. to read Engine Coolant temp? I do not see a place where I can specify the PID number. Also is it really important to know a protocol completely by which Gryphon toolkit will communicate with a vehicle - Or just the knowledge of the Gryphon Communication protocol enough? It would be great to have the answers as soon as possible.
    Thanks in advance,
    Priyadarsini S

  • Communicate with Modbus device using OPCLabVIEW.

    Hi all,
    I am using LabVIEW 6i with DSC. I want to connect Modbus device. At some other place I saw that this is very easy with OPCLookout server but we don't have this opc server toolset. So I want to communicate Modbus device using LabVIEW DSC only. Did any one had done it please help me out.
    Thanking you.
    Vishal

    Hi thanks for the reply.
    In first para you are talking about some server. Is it OPCLookout / OPCLabVIEW server or anything else please let me know.
    As far as the OPCLookout server is concern, we got it. But our excate requirement is as follows.
    >>>>> We want to connect our modbus device with FP.
    We have flow controller working with modbus protocol. this controller store some parameters. At particular time(daily) we want to get this readings in FP and then pass it to some other PC or main controller. But I am not aware how the lookoutopc server would work with FP. I think that if we could connect modbus with LabviewDscOPC server than DSC will take care for the communication ( Not sure & not know how, if u know please guide me). Due to this only I am ve
    ry strict for the LabviewDsc.
    In third pare u told about to make driver for modbus. Please guide me how could i do this. I tried to communicate with modbusdemobox (ni one) using serialport vis. but not able to communicate.
    Please guide me.
    Thanking you.
    Regards,
    Vishal

Maybe you are looking for

  • Copy of notifications (mails) not received in business workplace

    Hi, The users stopped receiving a copy of the notifications in their business workplaces sent via mail step in a workflow. The WF is using the SAP username to send the mails in the mail step of the workflow (we are not using the e-mail address, just

  • Change pointer in IDOC message-type ARTMAS, for field MARA-LVORM

    Hi, When changing the description of a material in MM02 I am able to sent an idoc using BD21. As this relevant for a change pointer. But when field MARA-LVORM (deletion flag at client level) is chosen, I can not sent an idoc with bd21. How can I make

  • Stacked bar combination

    Hi All, I have built a stacked vertical bar chart in one of my applications and now am trying to have a line on these stacked bars. Is there any chart type available for the stacked bar combination. Please advice. Thanks, Prasanthi.

  • Cant change password or email

    So I've been to the password change page and while I can enter my old password, it physically will not let me click the input boxes for the new password (enter and confirming). I don't know why this is, i tried it on different web browsers (safari an

  • Camera flash stays on and crashes the device

    I have the camera flash set to automatic.  Whenever it flashes, it doesn't just flash--it stays on and crashes the entire device (except for the light).  A battery pull resets the device (including the light).  Something about the flash function is c