Creating webservices for CRM transactions

Hi ,
I have a requirement wherein certain CRM functionalities have to be done from outside the SAP system and as a result need to expose certain functionalities as web services.
For e.g. i have a requirement to
1) view activity details ,
2) update date and time of activities ,
3) status of activities ,
4) create activities etc .
Kindly let me know how to proceed to achieve the same.
Regards,
Madhu.

Hi,
If you want to create a web service definition then below are the steps,
1. Create a RFC enabled function module with your functionality
2. Then in menu bar go to Utilities->More Utilities->Create Web Service->From the Function module.
3. This will open a wizard, Just follow the wizard. This will create your web service.
4. You can see the web service in SE80. Enter the package in which the webservice was created. Then select Enterprise Services and select your web service.
5. To test the web service, go to transaction SOAMANAGER
6. In the web interface select Application and Secario communication tab, then select Service Administration
7. In the web service administration page you can search for your web service and test it.
You can refer this Wiki,
http://wiki.sdn.sap.com/wiki/display/CRM/CreatingWebServiceinSAP+CRM
Also, search whether there are any standard web services available for your requirement. Go to tcode SOAMANAGER, follow the steps i have mentioned and in the web service adminstration page enter your search pattern and search.
Regards,
Arun Kumar

Similar Messages

  • How to create  webservice  for  abap  RFC

    how to create  webservice  for  abap  RFC.......................
    plz any could tel me

    I'll answer my own question...
    In SE80 you create the Function Group and something called a Virtual End Point.  These are the only items that transport forward to you QA and eventually your production system.  Everything else has to be created in SOAMANAGER on the target systems. 
    In Development in SE80, when you create the Virtual End Point, this creates a corresponding entry visible in transaction SICF.  When you are done in SOAMANAGER, it creates three more entries in SICF.  The process of transporting the Virtual End Point does NOT create any entries in SICF in QA.  Don't let this be confusing.  In QA, SOAMANAGER will create all four SICF entries.
    Also, if you try to secure the web services using the S_SERVICE object, you must actually test the web service before you can add it to any roles.  This is because the USOBHASH table is not populated for the web service until you actually run the web service for the first time.

  • How to created exit for CS02 transaction to maintain bom details of a mater

    hi ,
         plz explain how to created exit for CS02 transaction to maintain BOM details of a material. what is the BOM component . give me sample example.

    Hi,
    these are the user-exits for CS02
    Transaction Code - CS02                     Change Material BOM
    Exit Name           Description
    PCSD0001            Applications development R/3 BOMS
    PCSD0002            BOMs: Customer fields in item
    PCSD0003            BOMs: Customer fields in header
    PCSD0004            BOM comparison
    PCSD0005            BOMs: component check for material items
    PCSD0006            Mass changes user exit
    PCSD0007            Check changes in STKO
    PCSD0008            WBS BOM: Customer-specific explosion for creating
    PCSD0009            Order/WBS BOM, determine URL page
    PCSD0010            Order/WBS BOM, determine explosion date
    PCSD0011            Knowledge-based order BOM, parallel update
    PCSD0012            Customer - Mat. number/mat. number during material exchange
    PCSD0013            Customer-specific processing of an explosion for BOM browser
    Regards
    Nilesh

  • How to create a webservice for sap transaction?

    Hello All,
                  I developed a custom program and created a transaction for that? Is it possible to create a webservice for this custom transaction  ? If yes,how should we ?  I have seen many documents which all describing to creartion of webservice for an RFC only.
    Please help in this regard...
    Thanks ,
    Ravi

    Hello,
    You cannot create a Web Service for an ABAP program/transaction directly. You have to move the logic into an RFC. Only RFC, BAPI & Business Object can be converted to Web Service using the Wizard.
    Thanks,
    Venu

  • Error while creating WebService for BAPI

    Hi,
    I am trying to create a webservice for BAPI, i created Virtual interface and Webserice and activated.
    In transaction code WSCONFIG i checked webservice has been released. When i test webservice i am getting following error in browser.
    - <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    - <soap-env:Body>
    - <soap-env:Fault>
      <faultcode>soap-env:Server</faultcode>
      <faultstring xml:lang="en">SOAP processing failure, error id = 112</faultstring>
      </soap-env:Fault>
      </soap-env:Body>
      </soap-env:Envelope>
    Could u please tell me whats wrong on this?
    thanks for ur time.
    Murali.

    Does tht mean i need to add the following code
    Line item number.
    item-itm_number = '000010'.
    itemx-itm_number = 'X'.
    Material
    item-material = p_matnr.
    itemx-material = 'X'.
    Plant
    item-plant    = p_plant.
    itemx-plant   = 'X'.
    Quantity
    item-target_qty = p_menge.
    itemx-target_qty = 'X'.
    APPEND item.
    APPEND itemx.
    For second item.
    Line item number.
    item-itm_number = '000020'.
    itemx-itm_number = 'X'.
    Material
    item-material = '600020001'.
    itemx-material = 'X'.
    Plant
    item-plant    = p_plant.
    itemx-plant   = 'X'.
    Quantity
    item-target_qty = p_menge.
    itemx-target_qty = 'X'.
    APPEND item.
    APPEND itemx.
      Fill schedule lines
    lt_schedules_in-itm_number = '000010'.
    lt_schedules_in-sched_line = '0001'.
    lt_schedules_in-req_qty    = p_menge.
    APPEND lt_schedules_in.
      Fill schedule lines
    lt_schedules_in-itm_number = '000020'.
    lt_schedules_in-sched_line = '0002'.
    lt_schedules_in-req_qty    = p_menge.
    APPEND lt_schedules_in.
      Fill schedule line flags
    lt_schedules_inx-itm_number  = '000010'.
    lt_schedules_inx-sched_line  = '0001'.
    lt_schedules_inx-updateflag  = 'X'.
    lt_schedules_inx-req_qty     = 'X'.
    APPEND lt_schedules_inx.
      Fill schedule line flags
    lt_schedules_inx-itm_number  = '000020'.
    lt_schedules_inx-sched_line  = '0002'.
    lt_schedules_inx-updateflag  = 'X'.
    lt_schedules_inx-req_qty     = 'X'.
    APPEND lt_schedules_inx.
    But i guess it is overwritting my frst material..
    Also i m gettin a error 
    For object rv_beleg, number  range interval doesnot exist
    Pls suggest

  • Creating Authorisation for a Transaction

    Dear all,
    I am developing a 3 screens and a Tcode for these screen.
    I have been asked to set authorisation on these screens for certain users.
    how should I go about it. I need instructions on creating Profile and setting the profiles to those users.
    Please help!!
    Regards,
    Vj

    Hi,
    A simple way is to control the authorization for the 3 tcodes by using the S_TCODE authorization object for each user types.
    This way only those users who have access to S_TCODE for the transaction can access those transactions.
    Cheers
    VJ

  • How to create LSMW for a transaction having scroll bar

    Hi all,
    I am trying to create an LSMW for MP)! transaction for Uploading AMPL (Approved Manufacturer Parts list data) data.
    For this LSMW is not working fine when i need to upload more number of records. Suggest me some way to solve it out,Also provide me some code samples and process if it can be handled with BDC.
    Thanks,
    Pavan.

    you can solve it with bdc:
    e.g. a table control contains only 10 entries , you've to program the dynpro-change ( in german "Bildwechsel")
    with sth like this:
    ERG = BUZEI MOD 10 .
      IF ERG = 1.
    Dynpro darf nur alle 10 Zeilen prozessiert werden -
        PERFORM BDC_DYNPRO USING 'SAPMF10B' '0150'.             "ins
      ENDIF.
    add 1 to buzei.
    A.

  • Using exit/BADI  to create settlement for the Transaction COR1

    Hi Experts,
    My Requirement is when we are creating Process Order in the Transaction COR1, Settlement Rule will be automatically created by using some User Exit or BADI to assign the cost centre, account assignment category, and settlement percentage for the setup to the Settlement Rule.
    I have tried with the User Exit: EXIT_SAPLKOBS_001 Enhancement COOM0003 and also tried with EXIT_SAPLCOI1_027 enh. IWO10027.
    The Problem is above mentioned User Exit are not triggering though I have activated project.
    What is wrong with my exit or please let us know correct User Exit or BADI?
    I appreciate every help.
    Thank you.
    Nimai

    Try with below Exits related to COR1 transaction.
    Exit Name      Description
    CCOWB001     Customer exit for modifying menu entries
    COIB0001     Customer Exit for As-Built Assignment Tool
    COZF0001     Change purchase req. for externally processed operation
    COZF0002     Change purchase req. for externally procured component
    PPCO0001     Application development: PP orders
    PPCO0002     Check exit for setting delete mark / deletion indicator
    PPCO0003     Check exit for order changes from sales order
    PPCO0004     Sort and processing exit: Mass processing orders
    PPCO0005     Storage location/backflushing when order is created
    PPCO0006     Enhancement to specify defaults for fields in order header
    PPCO0007     Exit when saving production order
    PPCO0008     Enhancement in the adding and changing of components
    PPCO0009     Enhancement in goods movements for prod. process order
    PPCO0010     Enhancement in make-to-order production - Unit of measure
    PPCO0012     Production Order: Display/Change Order Header Data
    PPCO0013     Change priorities of selection crit. for batch determination
    PPCO0015     Additional check for document links from BOMs
    PPCO0016     Additional check for document links from master data
    PPCO0017     Additional check for online processing of document links
    PPCO0018     Check for changes to production order header
    PPCO0019     Checks for changes to order operations
    PPCO0021     Release Control for Automatic Batch Determination
    PPCO0022     Determination of Production Memo
    PPCO0023     Checks Changes to Order Components
    STATTEXT     Modification exit for formatting status text lines
    Regards,
    Saurabh

  • Error using WebServicesAssembler to create webservice for PL/SQL-Example

    Hello all,
    I tried to create a webservice based upon the pl/sql package emptax (Oracle Example: Boolean). The package just contains:
    PACKAGE EMPTAX as
    FUNCTION getTax(employeeid number, ismarried boolean) RETURN number ;
    END Emptax;
    JAVA_HOME, ORACLE_HOME and CLASSPATH are all set according to the manual. Now I start the WebServiceAssembler.jar with:
    java      -jar C:\oracle11\product\11.1.0\db_1\oc4j\webservices\lib\WebServicesAssembler.jar
         -config C:\Daten\tmp\webservice_boolean\Boolean\config\config.xml
    The config.xml looks like this:
    <web-service>
         <destination-path>./EmpTax.ear</destination-path>
         <temporary-directory>./tmp</temporary-directory>
         <context>/webservices</context>
         <stateless-stored-procedure-java-service>
              <uri>/EmpTax</uri>
              <jar-generation>
                   <schema>scott/tiger</schema>
                   <db-url>jdbc:oracle:thin:@10.10.10.10:1521:prod11</db-url>
                   <db-pkg-name>EmpTax</db-pkg-name>
                   <prefix>EmpTax</prefix>
              </jar-generation>
              <database-JNDI-name>jdbc/prod11</database-JNDI-name>
         </stateless-stored-procedure-java-service>
    </web-service>
    The EmpTax.jar is created, containing:
    - EmpTax.java
    - EmpTaxBase.java
    - EmpTaxBase.sqlj
    - EmpTaxUser.java
    - EmpTaxUser.sqlj
    At the end, there appears the error:
         java.lang.Win32Process.create
         java.lang.Runtime.execInternal
         java.lang.Runtime.exec
         oracle.j2ee.ws.tools.WsAssemblerConfig
         => NullPointerException: class EmpTax.EmpTaxUser not found
    The EmpTax.ear-File is not generated. I'm really stuck now. Does anybody has a hint?
    Thanks in advance
    Christoph

    Ignore the last one. I did the example here over lunch and it works fine.
    http://www.oracle.com/technology/sample_code/tech/java/jsp/samples/boolean/boolean.html
    Try the -debug and see what happens.
    When I run these tests, I always make sure that my PATH, and CLASSPATH are the absolute minimum. That is:
    SET PATH=C:\j2sdk1.4.2_10\bin
    SET CLASSPATH=.\
    SET OC4J_HOME=C:\OC4J_101202
    SET J2EE_HOME=%oracle_home%\j2ee\home
    It may just be that the classpath that you see when you run it in debug mode is missing some of the required jars for the jpub/sqlj stuff. Verify that they are all ok.
    Eric

  • Is it possible to create Webservice for Classes and BOL Objects?

    hi all ,
    i am new to  sap crm please help me out.
    thanks and regards,
    Ahmad

    Hi Narayana,
    Use BDC's for better maintainance of relationship. which worked fine for me.
    thanks,
    vasu.

  • Creating webservice for pl/sql API without using BPEL

    Hi All,
    Using BPEL, We have created partner links using DB Adapter for accessing our pl/sql API's.
    Is there any way to create a web service for a pl/sql API having complex datatype parameters like (Record, table of records etc) using DB Adapter or any other tool without using BPEL?
    Thanks,
    Uma.

    We introduced the use of JPublisher to automate the generation of wrappers for PL/SQL procedures that use types such as boolean, record and table. The wizard will invoke JPub and generate artifacts that the partnerlink will use to invoke the wrapper instead of the original API. Boolean is replaced by INT, record is replaced by an object type and table is replaced by a nested table. The wrapper will invoke the original API. JPub also takes care of converting between the different types (i.e. record <-> object).

  • Create  of (demo for)OVAI (transaction for create entries for each vendor)

    hi all,
    can anyone plz tell me how 2 create (demo for)OVAI (transaction for create entries for each vendor)
    thans & regards,
    srinivas reddy.

    hiii
    yes you can call transaction like that..take tcode in that parameter then you can use it in your program with statement like
    call transaction (variable)..in background process.
    regards
    twinkal

  • Unable to create webservice system!!!

    Hi Friends,
    I am using SAP NetWeaver 2004s Visual Composer SP 08.
    My problem is, No matter whatever WSDL url i give to create the WebService System in the VC its throwing me the error '<i>Invalid Web Service URL: http://ws.invesbot.com/stockquotes.asmx?WSDL</i>'
    I have given as below:
    New System name : <i>invesbot</i>
    New System alias: <i>invesbot</i>
    Web Service URL: <i>http://ws.invesbot.com/stockquotes.asmx?WSDL</i>
    I am really clueless to know whats wrong in the WSDL URL. When i give the above WSDL url on the browser it shows the XML details.
    Is there anything else i should do for the Web Service URL?????
    Thanks,
    Raghavendra P

    Hi Raghavendra,
    I tried to create webservice using the URL you've given and it worked on my system (fyi: I am using sneak preview)
    Just for counter checking, can u able to try creating webservice for the following URL?. This is an example provided in the VC help docs.
    http://www.webservicex.net/CurrencyConvertor.asmx?WSDL
    Name the system CurrencyConverter and give it the alias Converter
    Thanks
    Sathish

  • Webservices for soap adapter

    Hi,
    how to Create Webservices for XI message interfaces?
    Please help me out.
    Thanks.

    hi
    For more information check this links
    /people/shabarish.vijayakumar/blog/2007/11/07/walkthrough--soap-xi-rfcbapi
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7ccd3e4e-0501-0010-95ae-afa58cb46b75
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    /people/community.user/blog/2006/10/24/exposing-bapi-as-web-services-through-sap-xi
    http://www.riyaz.net/blog/index.php/2007/12/10/xipi-consuming-xi-web-services-using-web-dynpro-part-i/
    http://www.riyaz.net/blog/index.php/2007/12/11/xipi-consuming-xi-web-services-using-web-dynpro-part-ii/

  • Finding Userexit or BADI for vl10batch transaction

    Hi All,
    We are using the VL10BATCH transation for creation of delivery note which can create one Delivery document for multiple line items.
    VL10BATCH transaction which inturn creates variants for VL10 transactions based on material, partner, Salesorder details and batch job will be scheduled once the variant is saved.
    I have a requirement to change the VL10BATCH transaction, that it should create 1 Delivery document per 1 line item. Is there any BADI or any userexit available which is called before Delivery document creation, so that I can enhance the userexit or BADI and can restict it to only 1 Delivery for 1 line item.
    Any inputs on this will be a valuable help for me.
    Thanks and Regards,
    Reddem.

    Hi Reddem!
    Try one of them userexits
    LV50R_VIEWG01 - LV50R_VIEWG17
    Otherwise you can make a lot of settings in VL10 on the User Role tab. E.g. Dlv creation profile, you can find some user-exits with F1-Help and F4-Help on input fields.
    br
    Kalman

Maybe you are looking for

  • Amount of data has exceeded maximum limit - Infopath form

    Hello, I am having a problem on O365 concerning an Infopath form. The warning goes like this : " The amount of data that was returned by a data connection has exceeded the maximum limit that was configured by the server administrator"  Solutions exis

  • Cannot send report to desired email address

    Hi, When an user tries to schedule a webi report in InfoView and send the report (as an attachment) to an manually entered email address, the report is always send to the default email address (of the adaptive Jobserver defaults). The user schedules

  • Find certain areas of text from a text file

    Hello all java Gurus! I need your help on something I am trying to do in order to learn java. I am very newbie and please show mercy if I don't understand every answer you probably give me. Here is my problem. I have text file with certain areas I ne

  • Link width and heigth ?????

    someone tell me what is it please explain Link and width ???

  • Compressor Error- No Such File Or Directory         Help!

    I was trying to export something from final cut pro in compressor when compressor gave me the following error- Failed: HOST [Avi-Zephyras-iMac.local] error reading source file /Users/Avi/Movies/Final Cut Events/2012 Event/Original Media/Photo125: No