Custom Web Service For BAPI_INQUIRY_CREATEFROMDATA2

Hello all,
            I want to create a web service for the bapi manually (without using wizard)
Can anyone of you please mention me the required steps in good amount of details?

hi
please go through the link
http://www.erpgenie.com/sap/abap/bapi/example.htm
hope this will help u
regards
Prashant

Similar Messages

  • Customizing Web Service for VC 7.10

    Hi guys!
    I need a big help for the topic "web services and VC".
    I read the Scott's blog (The specified item was not found.) and it's great, web services working fine!
    But if I would create custom web service (for example to insert google maps on vc model) what can I do?
    I know, it's hard to explane all the web services technology and implementation (Java, C#, XML etc.) but if someone know some tutorial or web guides..
    Thanks a lot guys!
    Edited by: Andrea Davoli on Oct 21, 2008 3:39 PM

    Hi Andrea,
    I assume that you refer to VC 7.0... otherwise the question should be moved to the VC 7.1 forum...
    The following blog contain also a video that show you the process in detail:
    How to consume Web Services with Visual Composer 7.0
    Also important SAP Notes regarding limitations, structure and pre-requisites are mentioned there.
    In the SAP Help Portal you can find information about Web Services created within NetWeaver:
    http://help.sap.com/saphelp_erp2005/helpdata/en/db/99c04ba22fe64f96a8651df68eab92/content.htm
    Hope this helps,
    Best Regards,
    Luis

  • Parameter passing for custom web service reports

    <p>Hi,</p><p>I created a report file and published it as a .Net web service. I was able to set the web service to a report viewer in my windows application. I am using Crystal Reports Version 11 R2 and Visual Studio 2005 for my development.</p><font size="2" color="#008080">ReportWebService</font><font size="2"> service = </font><font size="2" color="#0000ff">new</font><font size="2"> </font><font size="2" color="#008080">ReportWebService</font><font size="2">(); </font><font size="2"><p>crystalReportViewer1.ReportSource = service;</p></font><p>Now, my question is how do I pass a parameter from the windows application to the custom report web service. It does not seem to accept any paramters through constructors or other custom web methods.</p><p>If I need to change my design or approach, I am welcome to that as long as I am able to host the report file on a central location. The .rpt file (exposed by the web service) does not have any parameters but the data population logic inside the web service might be based on some conditions which I need to pass as parameter.</p><p>Thanks in advance.Regards, Gulzar</p>

    <p>When using a Report Web Service, you must use the Viewer&#39;s SDK to interact with the report. So in your case, if you want to pass parameters to the report, the viewer exposes a ParameterFieldInfo property that you can set. You can download samples on how to do this or check out the <a href="http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm" target="_blank">DevLibrary</a> for more details.</p><p>However, one of your last statements you said your report does not have any parameters but your web service does.....could you elaborate on that?  Did you modify the .asmx that is autogenerated to add/modify the web service methods?  If so, then you will not be able to pass parameters to the new/modified web service.  The autogenerated web service for the report cannot be modified in this way since the viewer is designed to use the web services methods as-is.   In other words, the viewer is the only client/consumer of the Report Web Service so any interaction you want with the report must be done through the viewer, if the viewer exposes the functionality.  </p><p>In general, because the viewer is the only supported consumer of the Report Web Service, there are many limitations to interacting with the report.  Depending on how much control you want over the report at runtime, you may not want to use Report Web Services.  If you want to centralize reports for a Windows application, your best option is to load the reports from a network share using a UNC path when loading the report.  Of course, this assumes your application is running from some kind of internal network.  Any other kind of solution to centralized reports would require a web-based solution.</p><p>If you must use a Windows application, then you could host a IE control on your form that accesses a web page that displays reports but then you would have to develop and support a web application in addition to your windows application.  It&#39;s not the best solution but it&#39;s an option!  :-)</p><p>-MJ</p>

  • SharePoint Apps and custom web services as remote services

    Hello,
    After reading documentation about Apps for SharePoint compared with SharePoint solutions I did not find any information about "You
    can develop your custom web services as remote services.".
    Could you please give me links or advise, where I can get information - "How to develop custom web services as remote services" using SharePoint 2013 Apps?

    Hi,
    I would suggest you to use WCF service instead of Web Service,
    also, SharePoint 2013 introduces a Representational State Transfer (REST) service that is comparable to the existing SharePoint client object models.
    Get started with the SharePoint 2013 REST service
    About develop custom web services as remote services,see Demo here:
    SharePoint 2013: Custom REST service provides data to an app for SharePoint
    Best Regards
    Guangchao chen
    TechNet Community Support

  • Standard Web Service and Customized Web Services with or without PI?

    Hi All,
    I want to know how I can use Standard Web Service available in SAP  and customized Web Services
    without PI Interface?
    And what is the best practice to expose services ,via PI Interface or directly?
    Thanks in advance!!
    Pushkar

    This is purely based on your requirement. If you use PI middleware to expose web services, you get standard functionalities such as certificate authentication, logging, message reprocessing for the failed messages etc.  If your requirement is so simple, then you might not need PI. In this case you can develop simple webdynpro for abap program to create webservice and expose the webservice in ECC webservice runtime. You can let anyone to consume within your network. other ways like exposing BAPI/RFC as webservice.  I would recommend going with PI.

  • Custom web service in SharePoint 2010

    Hi,
    I have developed one custom web service and deployed in inside 14 hive Layout folder. I have to consume this custom web service in WCF REST services. This WCF REST service will be consumed in to HTML 5 and javascript application (Presentation Layer). Here
    is the code for Custom web service :
    [WebMethod]
    public string[] GetSponsorList()
    string url = "https://ptmdev.bpiper.com/";
    //string strUserName = "ravikant";
    string sponsorTitle = string.Empty;
    string[] arrTitle;
    string[] myArray;
    DataTable dtSponsor = new DataTable();
    string error = string.Empty;
    ArrayList myArrayList = new ArrayList();
    try
    dtSponsor.Columns.Add(new DataColumn("sValue", typeof(string)));
    dtSponsor.Columns.Add(new DataColumn("sText", typeof(string)));
    using (SPSite site = new SPSite(url))
    using (SPWeb web = site.OpenWeb())
    //SPUserToken userToken = web.AllUsers[strUserName].UserToken;
    SPWebApplication webApplication = SPContext.GetContext(web).Site.WebApplication;
    SPSiteCollection siteCollections = webApplication.Sites;
    int i = 0;
    if(web.CurrentUser!=null)
    myArrayList.Add("User:"+web.CurrentUser.LoginName);
    else
    myArrayList.Add("Null User..");
    foreach (SPSite siteCollection in siteCollections)
    if (siteCollection.RootWeb.DoesUserHavePermissions(SPBasePermissions.ViewPages))
    if (siteCollection.Url.ToString().ToLower().Contains("/sponsor/"))
    sponsorTitle = siteCollection.RootWeb.Title;
    if (string.IsNullOrEmpty(sponsorTitle))
    arrTitle = siteCollection.Url.Split('/');
    sponsorTitle = arrTitle[arrTitle.Length - 1];
    dtSponsor.Rows.Add(new object[] { siteCollection.Url, sponsorTitle });
    i = i + 1;
    siteCollection.Close();
    catch (Exception ex)
    error = ex.Message;
    myArrayList.Add(error);
    if (dtSponsor.Rows.Count == 0)
    myArrayList.Add("No Data available 101");
    myArrayList.Add("No Data available 102");
    myArrayList.Add("No Data available 103");
    for (int i = 0; i <= dtSponsor.Rows.Count - 1; i++)
    for (int j = 0; j <= dtSponsor.Columns.Count - 1; j++)
    myArrayList.Add(dtSponsor.Rows[i][j].ToString());
    myArray = (string[])myArrayList.ToArray(typeof(string));
    return myArray;
    Above code will return a string array of SiteCollection URLs and Title. Th issue is siteCollection.RootWeb.DoesUserHavePermissions(SPBasePermissions.ViewPages)
    logic is failed and due to this string array does not return desired result.
    web object is not containing users information due to that DoesUserHavePermissions logic is
    failing.
    Urgent help is needed.
    Thanks,
    Ravi

    Hi,
    According to your post, my understanding is that you have issue about siteCollection.RootWeb.DoesUserHavePermissions(SPBasePermissions.ViewPages) logic when you custom web service.
    You can use siteCollection.RootWeb.DoesUserHavePermissions( SPContext.Current.Web.CurrentUser, SPBasePermissions.ViewPages)
     to check whether it works.
    In addition, you can use a RunWithElevatedPrivileges delegate.
    For more information, you can refer to:
    “Attempted to perform an unauthorized operation” and SPWeb.DoesUseHavePermissions
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • SAP Cloud Application Studio Create Custom Web Service From Custom Business Object and Consume in External System

    Hi Experts,
    I have requirement to create custom business object and create Web Service for that and use in external system (SAP ECC / SAP CRM / Third Party).
    1) Is it possible to create custom object web service and used in external system ?
    2) When we create the Web service from custom business object what the necessary steps(action : Create , Read , Update) require?
    3) Sample Scenario :
    My Custom Business Object
    businessobject Custom_Integration {
      element EP_VAL1 : LANGUAGEINDEPENDENT_MEDIUM_Text;
      element EP_VAL2 : LANGUAGEINDEPENDENT_MEDIUM_Text;
      element IP_RES : LANGUAGEINDEPENDENT_MEDIUM_Text;
    I have created the Web Service using this custom business object.
    3) How i can use this web service in external system? what are the prerequisite steps in external system to consume this service in it?
    Please anyone have idea about this how to do this and how to achieve this using SDK and custom business object.
    Many Thanks
    Mithun

    Hello Mithun,
    Does this section in the documentation help you:
    SAP Cloud Applications Studio Help -> Developers Desktop -> Web Services
    The entry "Task -> Create a Web Service" describes how to create a Web Service on your own BO
    The entry "Task -> Test a Web Service" helps you how you can use it in a foreign tool / application.
    HTH,
       Horst

  • Creating and Setting up web services for both inbound and outbound comms

    Hi
    I would like to know the process of setting up inbound and outbound web services using Siebel - is there a tech note /bookshelf article that can guide me through to setting up a 'new/custom' web service.
    I have read up on bookshelf that both business services and workflows can be setup/exposed as web services. Now i would like to find out how to do this.
    Any help appreciated.
    Regards,
    TS

    As you begin to experiment with web services you should take a look at SoapUI. It is a freeware program that makes it a breeze to test both inbound an outbound web service calls. The bonus is that it can also be used to trace what HTTP is going back and forth along with giving you the ability to chain calls together. That is particularly useful for example if you are learning how to do web service calls within the context of a session. http://www.soapui.com/

  • Custom Web Service in GRC

    Wanted to know if a stage can be defined that invokes a custom web service that returns an approval  indicator. All the web services I've seen in GRC are at predetermined points or prebuilt integration sections. We need the ability for a custom web service to be invoked when this stage is encountered in the request workflow. If the web service return true, then the stage would be deemed approved and move onto the next state. thanks in advance.

    Hi Brian,
    You may want to post this question in the GRC forum.  I'm not sure how many GRC experts will see it here.
    forum:  Governance, Risk and Compliance (SAP GRC)
    The University Alliances program is exploring GRC for use w/in our program however we're not experts in this topic area today.
    Best Regards,
    Heather
    Edited by: Heather Czech on Dec 4, 2009 6:12 AM

  • Custom web service in opensso/AM

    Hello,
    What is the best way to extent opensso/AM with my custom web service? The functionality of the service is similar to Liberty IdentityManagement services, but not the same: I need to create several accounts/identities in one atomic operation, for instance. The same with delete and modify.
    Is there any standard mechanism to accomplish this? Any help or pointers to resources would be great.
    Thanks, Denis.

    You should probably use IDM and SPML to provision user accounts. Creating multiple accounts in one atomic action will be difficult to do if you use LDAP as a backend user store because most LDAP servers do not support the transaction control extension.

  • Issue in setting custom identity service for soa 11.1.1.4

    Hello,
    I am facing issue in setting custom identity service for soa 11.1.1.4
    It is not picking up the implemented UserManager (in custom IDM) implemented via ServiceProvider and IdentityStoreService.
    This is configured in jps-config.xml
    The same setup was working in soa 11.1.1.2
    I believe there is a change done in JpsProvider in bpm-service.jar to authenticate via default login context from oracle.security.jps.internal.jaas.module.authentication.JpsUserAuthenticationLoginModule
    If my uderstanding is correct,
    Please guide me in implementing custom identity store and services for bpm services for soa 11.1.1.4
    Tried various work arounds but no luck.
    Thanks
    Bala

    Hi...
    Can u tell me how did u set up custom identity service for 11.1.1.2 ?
    Thanks

  • How to create web service for a Java class in SAP NetWeaver Studio

    hi all,
    i am using SAP Netweaver Developer Studio.have created a normal java project and i want to create web service for one of the classes in this project. i used the  Web Service Creation Wizard to create a web service for this class. but it says there's no methods available for VI. all my methods in this class are public, what should i do?

    Hi,
    I guess there are other ways. But this is an easy way, if you find the right wizards.
    Besides this it is good practise to define interface methods so that session bean implement these interface methods, and thus seperate the interface from the implementation.
    In this approach you will need 3 projects:
    An enterprise application project (will contain EJB Module)
    An EJB Module project (will contain session bean)
    A Java project (contains code that implements the session bean methods)
    In my previous post I suggested to use a J2EE web mudule project. This was a mistake, it should be EJB module.
    But it should be possible to do it in another way. It is up to you.
    Good luck, Roelof

  • Test web service for a function module

    Hello,
    I have created web service for a functiona module. I can see the same service in SE80 in Enterprise Services.
    How do I test this service?
    I can see the URL in WSDL tab but when I try to execute it give me following error,
    What has happened?
    URL http://emhbssap15.domain.local:8027/sap/bc/srt/wsdl/sdef_service_name/wsdl11/ws_policy/document call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system BDV with error code 403 and for the reason Forbidden.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:EMHBSSAP15_BDV_27-v:0-s:403-r:Forbidden
    HTTP 403 - Forbidden
    Your SAP Internet Communication Framework Team
    The URL I am trying is
    http://emhbssap15.domainname:8027/sap/bc/srt/wsdl/sdef_servicename/wsdl11/ws_policy/document?sap-client=400
    Can anyone help me?
    Regards,,,
    Sunil Joyous
    Edited by: Sunil Joyous on Dec 2, 2009 1:52 PM

    Thanks Venu for your input.
    Unfortunetly we do not have Java stack on our development system. You said we can test it by SOAP UI tool. Where do I see the WSDL file for the service?
    I used WSDL from SE80 --> Service --> WSDL tab, but SOAP UI does not accept this format ?
    What are the other ways I can test this web service? I think about SAP PI, importing RFC & creating web service or creating ABAP proxies... Which is the best way to go forward in case you do not have Java stck.
    Regards,,,
    Sunil Joyous

  • Standard web services for Goods receipt and purchase order

    Hi,
    Can you please tell me the std web services for creating the Purchase order and Goods receipt?
    Is there a link where i can get the information on this implementation?
    Thanks
    Srini

    Hi,
    Please reffer ES workplace.
    [Order to Cash|http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DE0426DD9B0249F19515001A64D3F462&id=9B0DDD8CCC484FA79EBBBA7F78B57DA7]
    Thanks
    Farooq

  • Issue in creating web service for a ABAP Function Module

    Hi,
    now i'm learning how to create web service for a ABAP Function Module. I used the following steps.
    1. select the Function Module, named "zws_test".
    2. in the context menu, select "create->proxy object". so we enter into wizard.
    3. in the wizard, press the radio button "Service Provider".
    4. in the next page, press the radio button "Existing ABAP Objects(Inside Out)".
    5. In the next page, Enter the "zws_test_prvider" as Service Definition and select "Function Module" as Endpoint Type.
    6. in the next page, enter "zws_test" as Function Module and mark the "Mapping der Namen" button
    7. in the next page,select "PRF_DT_IF_SEC_LOW" as Profile and mark "Deploy Service".
    8. Save in the local package.
    9. then it will pop up a window with title "WSDL Source". i selected "URL/HTTP Destination" and press "OK".
    10.in the next page, i enter the URL as "http://hostname:portnumber/", and press "OK".
    11. then it will pop up a window with title "Display logs". A record with error message "HTTP error(return code 404, message "Not found")" appears.
    12. i press "ok" and a service provider with name "zws_test_prvider" appears in my local package.
    13. i use "zws_test_prvider"'s URL to create a service consumer "ZCO_WS_TEST_CONSUMER" and logic portal "LP1".
    14. But when i test my service consumer "ZCO_WS_TEST_CONSUMER", it will throw an exception "cx_ai_system_fault" with errortext "SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/".
    15. I use t-code SM59 to test connection  and get the following info.
          Status HTTP Response     200
          Status Text                      OK
          Duration Test Call             328 ms.
    who can give me the reasons about item 11 and 14, and explain me how to create service provider and service consumer for a Function Module.
    Thanks in advance
    Johnney

    have you seen this weblog
    /people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices

Maybe you are looking for

  • How many times can you watch a rented movie in iTunes?

    Title describes the question. I'm thinking about either buying or renting a movie in iTunes, so question is how many times can you watch a rented movie? Just once? X times within a given timeframe? Thanks,

  • Can't get HDMI to work on laptop

    dv5-1017nr laptop, 64 bit, vista sp1, Intel P8400, GeForce 9200M GS.  I can't get any output on the HDMI port.  I've tried different cables and different tv's.  First tried booting up with cable hooked up and tv on.  Tried the FN+F4 to toggle display

  • Distributed Document Capture and UCM commit issue: 302 Moved Temporarily

    I am installing and configuring Oracle Document Capture and Oracle Distributed Document Capture to commit documents to Oracle UCM. I am unable to commit documents to UCM because of the following error: "302 Moved Temporarily". What can be wrong with

  • Error=I-001 Error Message

    When I try and install the bundled software that came with my Sound Blaster X-Fi Go!. It says "Error=I-00". I read the official support article for this issue. In my Insall.log it says: [Sound Blaster X-Fi Go!] GUID={AA5BF20-3E6C-49C5-B7D2-BF623C6EF4

  • Perplexed about outlook connector and caldav compatibility

    I have read that the only way to use Outlook against the calendar server is to use the old 6.3 calserver. wcap. I cant find anywhere if there is a way for outlook to use caldav or not? I would like to only use calendar server 7 and not have to instal