Publish ABAP utility implemented on PI system as Web service via PI itself.

Hello Experts,
We have a requirement where we might need to publish a feature related to user management from ABAP stack of PI as a web service via PI itself.
So scenario might look like
SOAP Client -> PI -> PI (ABAP functionality)
I have seen some blogs on SDN which suggest publishing FM directly using menu options in SE37 (Utilities (M) u2192 More Utilities u2192 Create Web Service u2192 From the Function Module). But then this interface will not be under PI and will be exception to general architecture of having all web services published via PI.
May be its a very simple scenario and I am thinking of solution in complex ways. Any quick inputs from experts on what would be the best way to implement this , will be a great help for me to start quickly.
Can we implement a normal SOAP to Proxy(ABAP) scenario for PI as we do while exposing services on ECC or any other ABAP system as a SOAP service?
Or is there any smart way of handling this scenario?
Kind Regards,
Abhijeet.

Thanks Raja & Greg for quick suggestions & your valuable time.
Appropriate points rewarded.
Greg, thanks for suggesting names of standard BAPI, it will save us from reinventing the wheel by using custom codes.
I will work out on SOAP to RFC scenario & close the thread when scenario works.
Just to Share: Yesterday, just out of curiosity I tried to use proxy scenario where PI system itself was Receiver in our sandbox, the message goes in a kind of infinite loop and keeps processing the message again and again till it turns out to error.
I  tried it using the existing Business system for PI where it is configured as Integration Server & I have also tried to create a new business system for a different client on PI system with role as "Application System", but still the result was same.
Kind Regards,
Abhijeet.

Similar Messages

  • ABAP source code to connect to third party systems using web service calls?

    Hi all,
              can any one provide an example ABAP source code to connect to third party systems using web service calls? The base system is CRM.

    Do you want to call a web service in a remote system, or do you want to provide a web service?
    If you want to call a web service you should create a proxy object via SE80. Open your development package, right click on the tree entry and choose: Create -> Enterprise Service / Web Service -> Proxy Object and provide the needed information (including the WSDL description file). You may then use the proxy object to call the web service (if the connection and everything else works right).
    See [http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm|http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm]

  • Wrong data when consuming web service via ABAP

    Dear all,
    we tried to consume a web service via ABAP and used one of the various existing how-to papers from the internet in order to develop everything.
    The development was not that difficult, but when we now execute our ABAP, we noticed that
    - the first 100 returned rows from the webservice are completely correct
    - then we receive 10-15 completely incorrect rows (empty fields, redundant lines, etc.)
    - the rest of the data (60 records) is correct again
    As we nearly all objects have been generated automatically via SE80, I do not really know where this problem might come from. We double checked the original data and there everything is correct.
    Any ideas?
    Thanks for your feedback,
    Andreas

    Marcelo  Almeida wrote:
    > You can use Logial port for it in LPCONFIG ( Transaction). See this examplo Below:
    >
    > TRY.
    >
    > CREATE OBJECT my_proxy
    > EXPORTING
    > logical_port_name = 'LP01'.
    > CATCH cx_ai_system_fault.
    > ENDTRY.
    >
    > TRY.
    > input-airline_id = p_carrid.
    > input-connection_id = p_connid.
    > input-flight_date = p_fldate.
    >
    > CALL METHOD my_proxy->flight_get_detail
    > EXPORTING
    > input = input
    > IMPORTING
    > output = output.
    > CATCH cx_ai_system_fault.
    > CATCH cx_ai_application_fault.
    > ENTRY.
    >
    > Its necessary create a connection in SM59 (type H) and setting in the call parameters logical port (LPCONFIG).
    Hi,
    thanks for your answer. It´s working!
    Cheers,
    Andy

  • Consuming stateful web service via ABAP proxy

    Hi all,
    I´ve got the following scenario. I´ve a ABAP proxy generated based on a WSDL file. The provider is a WebService provided by a tomcat server. (no PI etc. as middleware). The problem i´ve now is that the webservice is stateful so I need a stateful communication between my ABAP report (client) and the Web Service.
    I´ve already found the possibiliy to switch on the feature "Session-Oriented Communication" on "Preconfiguration Tab" of the ABAP Proxy Screen. But unfortunately it´s not working.
    Anybody knows whether general system settings has to be changed for this. Or anybody has other tips.
    I´m currentliy working on the SAP Discovery System v3 which is a Netweaver 7.0.
    Many thanks in advance for your answers,
    Andy

    Marcelo  Almeida wrote:
    > You can use Logial port for it in LPCONFIG ( Transaction). See this examplo Below:
    >
    > TRY.
    >
    > CREATE OBJECT my_proxy
    > EXPORTING
    > logical_port_name = 'LP01'.
    > CATCH cx_ai_system_fault.
    > ENDTRY.
    >
    > TRY.
    > input-airline_id = p_carrid.
    > input-connection_id = p_connid.
    > input-flight_date = p_fldate.
    >
    > CALL METHOD my_proxy->flight_get_detail
    > EXPORTING
    > input = input
    > IMPORTING
    > output = output.
    > CATCH cx_ai_system_fault.
    > CATCH cx_ai_application_fault.
    > ENTRY.
    >
    > Its necessary create a connection in SM59 (type H) and setting in the call parameters logical port (LPCONFIG).
    Hi,
    thanks for your answer. It´s working!
    Cheers,
    Andy

  • Implementing Multiple operations in a web service in JCAPS 5.1.3

    Hi,
    I am using JCAPS 5.1.3 and have a requirement where in I have to implement multiple operations and expose them as a webservice.
    The complexity of operations is medium, they have to log the input message into database.
    In order to achieve this I have come up with two models:
    Model-1:1.Create a Business process in eInsight and use event based decisons and implement various operations.
    2.Create jcd operations in order to log messages into database.
    3.Expose the business process as a webservice
    Model-2:1.Create a jcd for each operation and make it Callable as an External SOAP web service.
    2.Expose each jcd as a webservice
    I would like to know which of these models gives better performance for the webservice .I see eInsight in earlier versions was low in performance.
    Please let me know if you have any ideas on this.
    Thanks in advance.
    Regards,
    Nag
    Edited by: Nag4.5.3 on Jun 10, 2008 12:02 PM

    I'd try the idea #1 first. EInsight performances could be an issue only for very CPU-intensive operations, but as you need to interact with a database usually this I/O is going to be the real bottleneck. Instead, you should avoid eInsight not mainly because of hypothetical performance issues but when you foresee the need to write very complex logic, which is much easier to code and maintain in Java within JCDs than in BPEL. However remember that JCDs exposed as WS need the latest ESR Rollup to work properly, if I well recall they were single-threaded in plain JCAPS 5.1.3.
    By the way, if your WSDL describes multiple operations you could probably implement them one by one by distinct eInsight BPs if you need to distribute them differently, you are not forced to use a single BP with event-based decisions, it is a matter of your taste and requirements. In my experience however in the past I had some annoying issues with WSDL exposing multiple operations and eInsight, hopefully those are gone with the latest Rollup but do some quick test yourself before betting all your money on it.

  • ABAP code and konfiguration for consuming secure web services

    I need some help/links on how to create an abap program (on 4.6 or WAS 620, or 640 if not possible in older releases) to consume a web service with authentication using certificates based on WS security  (<a href="http://www.oasis-open.org/committees/wss">http://www.oasis-open.org/committees/wss</a>) or client certificates. The request must include attachment in DIME or base64 format (preferably DIME).
    On 4.6 I have used the FM HTTP_POST with the if_ixml interface to consume web services, but I don't know if it can handle https authentication and attachements.
    Message was edited by: Robert

    check out this weblog.
    <a href="/people/thomas.jung3/blog/2005/05/13/calling-webservices-from-abap-via-https">Calling WebServices from ABAP via HTTPS</a>
    Regards
    Raja

  • Offline Integration of Adobe Forms with CRM System using Web Service

    Hi Experts,
    I have a business requirement in which the end user us given an Application Form.
    The user can save the form locally and fill the data.
    Now the requirement is that when the end user clicks on Submit Button on the form, a web service is called and the entire data in the form is sent to CRM System.
    I want to know is it possible to capture the entire data filled in the form in a web service???
    Also the other major requirement is that i need to send the application form also to the CRM system.
    I need to store the form as attachement for a Business Partner Record.
    Is it possible to capture the data in the adobe form and still attach the form as attachement in an Offline Scenario????
    Is it possible that a Web Service can be called on click of button in the form and still be able to attach the form itself as attachment???
    Thanks and Regards
    Gaurav Kumar Raghav

    I have collected some links for WebServices for you:
    https://cw.sdn.sap.com/cw/servlet/JiveServlet/download/38-51084/saptech_webservice.pdf
    Re: Adobe forms with Web Service - nothing happens when clicking button.
    /people/rudy.clement2/blog/2010/03/10/how-to-use-the-postexecute-event-in-sap-interactive-forms-to-retrieve-a-table-from-a-webservice
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/148ec26e-0c01-0010-e488-decaafae3b26
    Usage of webservice in offline adobe scenarios
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0d0a250-ccd1-2c10-9e9f-b9d5cf259a6d?quicklink=index&overridelayout=true
    cheers Otto

  • Comsume Web Service via ABAP SAP 4.7

    Hello Experts
    We wanted use an ABAP program to call a web service.  We were only given the target WSDL file.  Not sure what to do with this and what information can we get from this. 
    As I checked, the format is different from the conventional web service I found in the blogs.  Usually the WSDL URL is format below.
    http://www.webservicex.net/airport.asmx?wsdl
    and you can see and test the services from this URL http://www.webservicex.net/airport.asmx
    But in our case, this the WSDL URL is below.
    http://<host>/dd10/services/shipRSS?wsdl
    and we cannot see and test service from http://<host>/dd10/services/shipRSS this is what we are getting.
    "shipRSS
    Hi there, this is an AXIS service!
    Perhaps there will be a form for invoking the service here..."
    Having this kind of WSDL, can we still create an ABAP program that can consume this?  Is there difference in the programming and parameters.  Currently we are using the program template from this blog /people/durairaj.athavanraja/blog/2004/09/20/consuming-web-service-from-abap as we are only running on SAP 4.7 but it seems not to be working.  Any thoughts?
    Thank you very much!
    Tony

    Hi Andrei,
    We did the changes in the program and we seem to have made some progress here.  Here are the test results now.  
    Test Soap
    >> Starting...
    >>
    >> TEST: SOAP call to method STFC_CONNECTION
    >>
    >> Result of SOAP call
       echotext =
       resptext =
    << ...Done
    Here is an excerpt of the program of which parameters are inputted.  We are suppose to send an XML string.  We have not made much changes in the sample program except the one you highlighted to us before.  But if there are any concerns it will on the part where to construct soap request document which is shown below.  If it is not too much to ask, would you help us check the parameters if they are correct.  Thank you very much.  You've been very helpful.
    1 construct soap request document
      CREATE OBJECT osoap.
      IF osoap IS INITIAL.
        WRITE: / '> cannot create soap document, exiting...'. EXIT.
      ENDIF.
      TRY.
    ** OLD VALUE:
    **    CALL METHOD osoap->set_method
    **      EXPORTING
    **        nsprefix   = 'saprfc'
    **        nsvalue    = CSoapConstants=>sc_rfc_function_ns
    **       attributes =
    **        name       = 'STFC_CONNECTION'.
    NEW VALUE
      CALL METHOD osoap->set_method
      EXPORTING
        nsvalue ='http://webservice.<namespace>'
        name = 'exec' .
        "-- parameter: REQUTEXT
        GET REFERENCE OF p_requtext INTO dref.
        CALL METHOD osoap->add_parameter
          EXPORTING
          nsprefix   =
          nsvalue    =
          attributes =
            direction  = CSoapConstants=>ic_param_in
            name       = 'REQUTEXT'
            value      = dref.
        "-- parameter: ECHOTEXT
        GET REFERENCE OF p_echotext INTO dref.
        CALL METHOD osoap->add_parameter
          EXPORTING
          nsprefix   =
          nsvalue    =
          attributes =
            direction  = CSoapConstants=>ic_param_out
            name       = 'ECHOTEXT'
            value      = dref.
        "-- parameter: RESPTEXT
        GET REFERENCE OF p_resptext INTO dref.
        CALL METHOD osoap->add_parameter
          EXPORTING
          nsprefix   =
          nsvalue    =
          attributes =
            direction  = CSoapConstants=>ic_param_out
            name       = 'RESPTEXT'
            value      = dref.
        "-- use ABAP tag names
        CALL METHOD osoap->set_tag_name_format
          EXPORTING format = CSoapConstants=>ic_tagfmt_default.
      CATCH CSoapExceptionUsage INTO usgEx.
        WRITE: / ' > exception occurred'.
        exTxt = usgEx->get_text( ).
        WRITE: / ' > text: ', exTxt.
        EXIT.
      ENDTRY.
      isoap = osoap.

  • Publish Web Service via UDDI Client

    Hi everyone
    I have an outbound interface wich I´ve created and exported the .wsdl file into a folder that I created in the Visual Administrator, so it can be accesed via http://server:port/folder.
    When I try to publish the WSDL via UDDI Client it requests me for user and password, but i don´t know which user to use.
    I read that I have to create a user for that folder in Visual Administrator, but did not found how to do this.
    Can someone give me some light please??
    Thanks in advanced.
    Karla

    Hi,
    Try using the udditest.sap.com   it is the Test Registry provided.
    Configuring the UDDI Client and UDDI Server    ::::
    To use the UDDI client for publishing, updating, or discovering business services and tModels, first you have to administer the UDDI client as well as the UDDI server using the J2EE Engine Visual Administrator.
    Procedure
           1.      Select Web Services Container ® Runtime ® UDDI Client.
           2.      From the Available Registries list, select a UDDI registry.
                                a.      To enter a different Inquiry URL and Publish URL, choose Edit Registry and enter new locations.
    Make sure that the URLs contain a  value. If they do not, then add the port value manually (for example, localhost:50000).
                                b.      To add a registry to the Available Registries list, choose New Registry.
                                c.      To remove a registry from the list, choose Remove Registry.
           3.      On the UDDI Server tab page, choose New User and enter the corresponding data. For more information, see Managing the UDDI Server in the Administration Manual.
    Using the Visual Administrator, you can create users for а local test registry only.
    Create the User here for the test registry used.
    regards
    Ganga
    Edited by: gangaprasad chintala on Dec 26, 2008 8:04 PM

  • Publishing Web Services via APEX on the horizon? WSRP? SOD?

    Hi,
    Are there any plans for APEX being able to "natively" publish Web Services? Maybe support for WSRP so you could publish an APEX based portlet on Oracle Portal or WebCenter?
    Any news of when an updated statement of direction will be published?
    Regards Pete
    Message was edited by:
    Peter Lorenzen

    There is some talk of native database web services in the next version of Oracle:
    http://padrenc.blogspot.com/2006/10/xquery-and-xml-db-hands-on-lab.html
    It didn't quite make it into 10g:
    Re: plsql web services without appserv

  • Expose C based system as Web Service

    hi,
    I have a C based MES which is storing data in non-relational file based DB from Stratus.
    I need to integrate this system with SOA.
    Not sure how do I expose this system as a web service.
    Any thoughts, any links are most welcomed.
    Thanks in advance.
    Regards,

    No, it is not yet possible.
    You can only create a web service for an RFC Function Module, Function Group or Business Object.
    You may create a RFC FM as a wrapper to your Class methods and create a web service on the RFC FM.
    Regards,
    Naimesh Patel

  • Utilizing a java stored procedure for web services

    Hello,
    I am a newbie in web services and I want to learn web services by utilizing a simple procedure and making use as a web service.
    I have a java stored procedure deployed in Oracle 8i database, which I am using for sending emails. I am invoking the java stored procedure in my JSP and Java classes by making a database connection and calling the procedure.
    I am planning to make this a web service so that I could call this from any of my application.
    Could someone give an insight how to make this a web service, albeit the utility is not very complex and my knowledge about web services is limited, I thought I could start by doing a simple program.
    Any help is highly appreciated.
    Thanks
    Ponic

    Hi Tanna.
    Thanks for your reply^^
    I create webservice that access my stored procedure.
    But not supported.
    http://dmp.humaxdigital.com/HumaxCmdwService/Service1.asmx?wsdl
    There are two service. (Hello World - Test, prcrelease_test - Stored Procedure )
    'Hello World' is supported but prcrelease_test is not supported. I can't drag to storyboard.
    Our company's DB is MSSQL2005.
    please help me^^

  • Check SAP CRM System status - Web service

    is there a way to check a SAP CRM system status - is it available? just simple check to see it SAP CRM system is up and running? Is web service available?
    Jawahar

    Hello
    This u can check in SICF transaction.
    Also u can check in CCMS monitoring

  • Implementation oF messageQ in java web services

    Hi All,
    Can any one tell me how one can implement MSMQ in java for handling web service request and response.
    Thanks in Advance
    Harshal

    I am really thankful, for your response.
    Ans
    1) Web services are implementted in java using apache cxf 2.2.3 framework and It is running on weblogic werver 10.3 and 10.3.4.
    2) No, I know your according to call back service concept but instead of this we are having WSDL URL where we need to send response back.
    3) Yes, currently we are processing in thread based processing (i.e. for each request we are creating one thread which will process it completely), Which may causes database dead lock, so to remove this we are willing to process requests sequentially.(using MessageQ)
    For my knowledge, I am having little confusion that Is MessageQ and JMS are same?
    Thanks,
    Harshal

  • Problem in calling BLT from external system as Web Service

    Hi All,
    I have written a BLT, which basically does some functionality with certain input and gives out some output. Stored the transaction and taken the WSDL from ../WSDLGen/..../TransactionName
    Then using that WSDL in external application (3rd party tool basically does web services call) calling the BLT with the required input.
    BLT also called and sends out the output as expected to external application.
    But the weird happening here, some times it calls some time it not.
    Alternatively calls some times. Goes in to fault.
    Its not working for sequential calls.why is it? Do i need to clear any thing?
    while calling I ahve to close Business Logic Editor? I have done all the things still works occasionally.
    Thanks in advance,
    Murugappan.

    Murugappan,
    Now the version should be 11.5.3 which is available on the  <a href="http://service.sap.com">SAP Service Marketplace</a>.  The URL call should be: http://<ServerName>/Lighthammer/WSDLGen/<Path To Transaction>/<TransactionName>.  The output transaction property has to be of type String, but the string can be XML data.  Please post what the results of your efforts are.
    -Sam

Maybe you are looking for

  • Getting values from screen to search help exit

    Hi Experts, I have created a search help in which I am not using selection method but search help exit. Dialog type is 'Dialog with value restriction'. My requirement is to get the values entered in restriction screen into search help exit. Please su

  • Nvidia module does not exist in /proc/modules

    Hi! I compiled kernel with grsecurity from AUR. everything goes fine, and my system boot with a new kernel. Only thing i have a problem with, is nvidia module. I'm tried to makepkg nvidia with ABS way, but i get errors: ERROR: Module nvidia does not

  • After upgrading to ios 5 Open In doesn't work with large files

    With ios 4 I used to be able to download large video files >1 gb (avi, wmv, etc) using Downloads app and then Open In AV Player app. Now it doesn't work. What's the deal Apple?

  • My Iphone no longer syncs with iTunes

    when I connect my iPhone, iTunes does not open, and it is not recognized not sync! However, it is well recognized as storage device like a USB key. I also tried to connect my I phone with I tunes of another computer .. Not recognized neither.. I trie

  • SQL join clauses in JSP

    We want to make an edit in which users will be able to write SQL queries and show them the result in a table. The problem is that, when doing joins, the fields with the same name in both database tables are misinterpreted, for example: if we have x.n