Create webservice using different Business Objects

Hi Experts
Is it possible to create a webservice using different business Objects i.e "BOL Intergration for cases" and "Business Partner"?
This is a scenario:
I created webservice and on Business Object field I chose "BOL Intergration for cases" reason being that I want to see all attributes related to  root object  "case" and at the same time I also want to view attributes related to business object Busines Partner  root  object "Account" Is it possible to do that?
Thanks for your help
Regards
Maria

Hi,
>>>I created webservice and on Business Object field I chose "BOL Intergration for cases" reason being that I want to see all attributes related to root object "case" and at the same time I also want to view attributes related to business object Busines Partner root object "Account" Is it possible to do that?
sure it is - you can even create two WS for each of those and the third on that will be using both previous
Regards,
Michal Krawczyk

Similar Messages

  • Need Ideas for creating and using Custom Business Object

    Hello Guys,
    I am developing an application which uses a Request->Approve->Create approach for creating Purchase documents.
    Now I am a little puzzled about how to make use of the Business Object BUS2014.
    The application I am developing has its own unique 'Request Number'  (say REQID)  which will point to the Request for Creation of a purchase order.
    Whenever a Request is created (from a Z-Tcode) a workflow needs to be initiated and it has to be sent to the approver.
    The Purchase Document will be created once the approver approves.
    Now my confusion here is, if I use BUS2014, the object will be instantiated only during the final step of the workflow. But I need an instance during the beginning of the Requestor ->Approver negotiations as I am playing with events. These events needs an Object_key.
    How should I proceed here?
    Should I create a new logical Business Object like ZPOREQ where I have the above mentioned REQID as the key?
    And should I have an attribute of type BUS2014 inside the custom BO?
    How will I make use of the methods like BUS2014.Create etc which I may need to create the purchase document?
    Any small direction will be a huge help for me to get used to this wilderness.

    Hi,
    You should continue with the ABAP class idea. The business objects are kind of "obsolete" already, and if there is a need to create a new "object", ABAP classes are the way to go. Business objects are still useful, but I normally use them only when an existing standard business object fulfills the requirements (possibly with slight additions) which is almost never. 
    From my point of view you can use the existing class. Depending on the circumstances I normally have just one class that I use for both workflow and the possible other functionality that is required, but you have to understand that I have this goal in my mind already when starting the development process. As your class most probably has many useful features already (such as you have the header and item data as attributes etc. (if I understood correctly?), these are also useful in in workflow (class attributes will be available in WF container etc.). 
    If you are hesitant to use the same class directly in your workflow, you could also create a new class ZCL_REQUEST_FOR_WF (with the workflow interface), and then simply add your existing class ZCL_WF_REQUEST as an attribute to this new class. Then this new workflow class could include the pure workflow stuff, and your existing class the non-workflow stuff. But this most probably will not make much sense - just implement the if_workflow interface in your existing class (this is just one possibility that you might consider.)
    Regards,
    Karri

  • Weservice using different busines objects

    Hi Experts
    Is it possible to create a webservice using different business Objects i.e "BOL Intergration for cases" and "Business Partner"?
    This is a scenario:
    I created webservice and on Business Object field I chose "BOL Intergration for cases" reason being that I want to see all attributes related to root object "case" and at the same time I also want to view attributes related to business object Busines Partner root object "Account" Is it possible to do that?If yes please post steps by step solution.
    Thanks for your help
    Regards
    Maria

    No cross posting
    Wrong forum
    Read the "Rules of Engagament"
    Regards
    Juan

  • Mapping in interconnect between different Business Objects

    I want to know how to do transformation and mapping between different business objects in interconnects.
    Always,We have a very complex SQL,when We do intergration
    with Oracle interconnect ,We use DB Adapter or Jdbc Adapter,but the complex SQL have to be excuted in the resource DB or the destination DB which may be a big pressure to them ,I think can We use different Business Objects, and do the Mappings in interconnect,so the big pressure will be on the interconnect server just like the ETL tools, But I just find that Interconnect can do tranformation and mapping in one Business Object ,how can I do? Is anyone meet this problem like me ?thanks for discussion.

    For me, Business Objects are logical groupings of business processes. For example, we have a Business Object called "Maintain_Employees". Under this we have 1 Procedure (Create_Employee) and 2 Events (Update_Employee and Delete_Employee).
    We have 1 Oracle system interfacing with 23 other legacy systems. Some of these legacy systems will be using this "Maintain_Employees" Business Object (Common View), and our main transformations will be between the Common View and the legacy Application Views.
    We are using a number of techniques to assist in "validating" data in the InterConnect. The main ones are using 'Cross Reference Tables (XREF)' and 'DatabaseOperation' transformations. By using 'Content Based Routing' we are able to send the right message to the right legacy system, and therefore do the right transformation/validation on the message payload. However, this is only a small part of a complex puzzle.
    I also have the "problem" of having "very complex SQL" on our Oracle system too. This is not unusual when using the InterConnect.
    To my mind, the InterConnect does 2 main operations. Firstly, it performs some message transformation (mapping), and secondly, it acts as a transportation engine (routing) using the adapters.
    The remainder of the effort required to create or consume the message resides with the Applications themselves. Whether it is parsing an XML CLOB payload, inserting data into staging tables, writing to log files, pre-processing data, calling API's or something else, your Application side programming and processing overhead can get large.
    The trade off it to ask the question, do I want to be able to track and manage messages from start to finish in high detail? Or can I trust that all message payload data will be consumed with no additional processing on the Application side?
    My experience has shown that the bottleneck is always at the Application side, and almost never in the InterConnect.
    The short answer to your first question is "You are right. Mappings can take place only between Application Views and Common Views only - not between Business Objects.".
    To answer your second question "Probably everyone reading this forum has this problem. The intelligence that is able to really interpret message data, validate it and process it is only found in the Application, not the InterConnect. You could, however, use the Workflow engine within OAI in order to provide additional pre-validation, human interaction and logic, but this too could be complex."
    At my current client, we are architecting an Application OAI Message handling schema. This will contain staging tables, pre-processing tables, "OAI" wrapper PL/SQL scripts, "APPS" wrapper PL/SQL scripts and Message Logging and Exception tables. Ours will be a complex set of PL/SQL processes too.
    I hope this helps, just in letting you know that you are not alone with this problem.
    I wonder if anyone else would like to share how they have architected their InterConnect and Application side mapping and transformation solutions.

  • Hi How do we create Methods inside the Business objects of Z

    Hi Abapers,
                        How do we create Methods inside the Business objects (z objects) and how *** an import parameter or export parameter  to be defined for the new Methods.
    Regards
    Bhaskar Rao.M

    Hi Bhaskar,
    that ´s not difficult.
    Open your Bus.Obj. in SWO1 with CHANGE/EDIT
    Click on the "Methods" header line and then use the button for "Create".
    If you want to add the method on basis of a function module, choose next in the next pop up. Then the system will offer you the ex/import parameter from the function module. So this is a really simple way.
    If you don´t have a FM, it is a little bit more difficult.
    Choose No on the quetion about a FM, fill in the next pop up  methode name (no blanks allowed).
    Dialogue is for user related method (call screen...) synchronous for methods which have to give back a result directly in to the workflow.
    After completing the screen the method will be displayed as new method at the end of method list. Now add parameters (first click on the method name, then choose parameter button, same functionality to add program to the method).
    Programm:
    Code snip:
    BEGIN_METHOD ZWFCHECKMIRO CHANGING CONTAINER.
    DATA:
          ZBELNR TYPE RBKP-BELNR,
          ZGJAHR TYPE RBKP-GJAHR,
          RESULT TYPE HRP1001-ISTAT,
          BELNR TYPE BKPF-BELNR,
          GJAHR TYPE BKPF-GJAHR,
          BUKRS TYPE BKPF-BUKRS.
    to import parameter
      SWC_GET_ELEMENT CONTAINER 'Zbelnr' ZBELNR.
      SWC_GET_ELEMENT CONTAINER 'Zgjahr' ZGJAHR.
    *(or SWC_GET_TABLE)
    here add the functionality of your method!
    to export parameter
    SWC_SET_ELEMENT CONTAINER 'Result' RESULT.
      SWC_SET_ELEMENT CONTAINER 'Belnr' BELNR.
    *(or SWC_SET_TABLE)
    !!! Important: naming convention!!! Use same writing of parameter names in
    PARAM area (button PARAMETER) and here in code.
    To use your method, change it to implemented after adding your code.
    -> Edit -> Change release status -> object type component -> into implemented
    (Sorry , have a german screen here, possibly terms are a little bit different.
    Hope this helps a little bit.!
    regards
    Dirk

  • How to create a universe in Business Object from BW

    Dear Memebers
    I need your help, I'm trying to create a report in business object using a cube as datasource, but when execute it does not appears the text, for example costumer 1000, his name is coca-cola.
    Does anyone help me?, maybe i does not set something
    Thanks a lot
    Ariel

    Hi Ariel,
    Not sure what BW is? If this is not related to using a SDK you may want to post your question in the Business Objects enterprise or Crystal Report Designer Forum.
    Thank you
    Don

  • OSS note 1480794 for  the "Steps to Create endpoints using a "Business Conf

    Hi All, 
    I am nearly complete with the Duet Setup Wizzard but I do still have a few red lights on my check tool.
    My main problem is:
    When I follow the instructions in OSS note 1480794 for  the "Steps to Create endpoints using a "Business Configuration Scenario" XML:"
    When I press activate I get the below errors:
    Unknown webservice definition with name CustomerERPBasicDataByIDQueryResponse_In_V2 / http://sap.com/xi/APPL/SE/Global
    Unknown webservice definition with name CustomerERPRelationshipContactPersonByIDAndContactPersonInternalIDQueryResponse_In / http://sap.com/xi/APPL/SE/Global
    Unknown webservice definition with name CustomerERPBasicDataUpdateRequestConfirmation_In / http://sap.com/xi/APPL/Global2
    Unknown webservice definition with name CustomerERPRelationshipContactPersonCancelRequestConfirmation_In / http://sap.com/xi/APPL/Global2
    Unknown webservice definition with name CustomerERPRelationshipContactPersonCreateRequestConfirmation_In / http://sap.com/xi/APPL/Global2
    Unknown webservice definition with name CustomerERPByIDQueryResponse_In / http://sap.com/xi/APPL/SE/Global
    Unknown webservice definition with name CustomerERPRelationshipContactPersonUpdateRequestConfirmation_In_V1 / http://sap.com/xi/APPL/Global2
    Unknown webservice definition with name MaterialBasicDataByIDQueryResponse_In / http://sap.com/xi/EA-APPL/SE/Global
    Unknown webservice definition with name ProductionBillOfMaterialVariantItemByVariantIdentifyingElementsQueryResponse_In / http://sap.com/xi/EA-APPL/SE/Global
    Unknown webservice definition with name ProductionBillOfMaterialVariantBasicDataByMaterialAndPlantQueryResponse_In / http://sap.com/xi/EA-APPL/SE/Global
    I have restarted the Wizzard a few times to check my setup and I cant find any steps that I have missed that would cause these error's.
    Hope you can advise.
    Many Thanks
    Mike

    Hi Sameh,
    do you want to go live with the full scope of Starter Service , or do you just needs part of it?
    With the steps outlined in the blog everything is 100% supported (this is not a hack, but just another way to configure Starter Services).
    However, not all the functionality of the Starter Services will work (e.g. like the Updating / Creation of a new contact). But if you do not need that you are perfectly fine.
    I remember that with EhP4 you need to be on SP06 of ECC-SE. Maybe this is also the reason in your case why the service is not available.
    Regards,
    Holger.

  • Uses of Business Objects

    Hi Gurus,
    What are the uses of Business Objects created in SWO1 Tcode.
    Thanks,
    KNV.

    Hi Ratnakar,
    Check these links about BO's..
    http://help.sap.com/saphelp_46c/helpdata/en/59/ae4484488f11d189490000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/59/ae449e488f11d189490000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a5/3ec8534ac011d1894e0000e829fbbd/content.htm
    http://www.erpgenie.com/abap/bor.htm
    Business Objects are used basically to trigger other objects with the respective events like
    1) To Trigger Workflows
    2) To Trigger Events
    3) Used to communicate with NON SAP Systems using BAPI's
    4) To Trigger user define Business object we need to define the super type and need to delegate it with respect to the supertype so as to trigger custom business object which in turn triggers it event linkage objects whether it may be workflow or Event etc.
    Hope this would help you.
    Regards
    Narin Nandivada

  • Unable to create WebService using Wizard

    XML experts,
    I am following the 'How to...Send XML Data to BW' guide.  In Step 26, for BW 3.5, I start to create WebService using SE37 and use the Wizard.  I go thru all the steps as follows:
    Virtual Inteface:  Myservice
    Short Description:  Myservice
    Endpoint Type:  Function Module
    Check  Name Mapping box
    Function Module:  /BI0/QI6ASENDXMLDATATOBW_RFC
    Name:  Myservice
    Short Description:  Myservice
    Profile:  Basic Authorization: SOAP Pro
    If you select Complete, the following objects are created in the Object Navigator:
    The virtual interface Mydemo
    The Web service Mydemo
    The address of the Web service is default_host/sap/bc/srt/rfc/sap/Mydemo
    In addition, the Web service definition is released for the SOAP runtime.
    To find the address of the Web service, use the transaction WSCONFIG, which supports you when you publish a Web service in the UDDI.
    WHEN I PRESS COMPLETE, I get a message 'Object can only be created in SAP Package'.  I SELECT OK and get the CREATE OBJECT DIRECTORY ENTRY popup for entering package info for transport.
    <b>Question:  Is this normal?  I tried local object ($tmp) and ZBIW, but it does not take it.  Says, test object cannot be created in foreign namespaces.  What do I need to do to bypass this?</b>
    Thanks a lot!!

    Hi
    <a href="/people/baris.buyuktanir2/blog/2007/02/12/how-to-create-dynamic-configurable-web-services-easily-with-netweaver-development-components-part-i 1</a>
    <a href="/people/baris.buyuktanir2/blog/2007/02/12/how-to-create-dynamic-configurable-web-services-easily-with-netweaver-development-components-part-ii 2</a>
    Regards
    Abhijith Ys

  • I have error while testing the system created from a sap business objects template in SAP portal

    I have error while testing the system created from a sap business objects template in SAP portal. Error text:
    com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: A nested exception occurred. Could not initialize physical connection. Connection Failed: A nested exception occurred. Could not initialize physical connection. Connection Failed: A nested exception occurred. Could not create JCO connection. 'mshost' missing
    I configure integration SAP portal and SAP BW system. All system requirements are complied.
    Environment
    SAP Business Objects 4.0
    SAP BW 7.31
    1.     I configure SSSO between SAP BW and SAP Business Objects Enterprise 4.0
    2.     Next I setting integration SAP PORTAL with SAP BW system
    3.     I download certificate from portal. Select Certificates and key (http://sapserver:port/nwa) – See scren_
    4.     In next window selected Ticketkeystore and Saplogonticketpair-cert( near part window form)
    5. Select Export entry button and binary format file certificate for download. Press download.
    6.     Save certificate file in local PC folder
    In next step need export certificate file to SAP system. Sequence of step:
    1.       Run STRUSTSS02 transaction .
    2.       Chose certificate ->import.
    3.       Select downloaded certificate file
    4.       Select Add to certificate list button and Add to ACL button
    5.       Inter System ID and Client(000)
    6.       In next I download iview sap business objects template into sap portal: System administration->transport->Import. And select and download sap business Objects iview template in .epa format into sap portal.
    7.       Result – downloaded iview.
    8.       In next step I create system from template. System administration->system landscape.
    9. In next step I input parameters for my system in Connector category, Sap business objects and user management categories: See screen _2
    10.   When I created the system and test the connection error occurred: See screen_3
    This issue is important enough. I would be grateful for opinions and ideas. Thanks in advance.

    Did you find a solution?

  • Create URL to specific Business Object for a CRM using Portal integration

    Hello CRM Community,
    we're using the CRM Portal integration. To update our business users with tasks we use the standard functionality to send Alerts using the function module SALRT_CREATE_API. It allows to specify a URL that is added to the E-Mail created in the alert using the Table parameter IT_ACTIVITIES. This URL should be filled with a direct link to the business object that must be changed. For the stand-alone CRM there is the static Method CREATE_URL of the class CL_CRM_WEB_UTILITY to build such an URL. But I was not able to find a similar class/method/function module when the CRM is used integrated in the portal. Has anyone a simmilar requirement and was able to solve it?
    Best regards
    Gregor

    Hell0
      Gregor Wolf 
    Yes   i have also same doubt regarding   class this integration , Please share this stuff  with me !!   Nice Question !!
    Thanks  & regards
    Asish

  • Options to create BIAR file in Business objects 4.1

    What are the options to create .biar file in 4.1. Business objects used to have Import Wizard in 3.1, now its being eliminated. Any alternatives now?

    Hi,
    You can create a .BIAR file on BI 4.1, i do it all the time, using .bat and .properties files.
    .bat file :
    %DRIVELETTER%
    cd "%BOPATH%\win32_x86\jre\bin"
    java -jar "%BOPATH%\java\lib\biarengine.jar" "%BACKUPPATH%\Sauvegardes.properties"
    .properties file for juste save public file and dependencies (for exemple) :
    exportBiarLocation=%BACKUPPATH%/Sauvegardes.biar
    action=exportXML
    userName=Administrator
    password=XXXXXXXXXXXX
    CMS=localhost:6400
    authentication=secEnterprise
    exportDependencies=true
    exportQuery=select * from ci_infoobjects where SI_ancestor = 23
    exportQueriesTotal=1
    But you can used other query, and more than 1.
    Hope it help you.
    regards
    Mickaël

  • BAPIs or Function Modules for Links between different Business Objects

    Hi experts,
    I am accessing an SAP CRM 5.0 system from outside via remote function calls.
    I have the GUID of a business partner and would like to find other business objects
    that are related to this business partner.
    For example:
    - Which activities are relevant for this business partner?
    - Which orders were placed by this business partner?
    - Which leads or opportunities are linked to this business partner?
    - Which products did this business partner order?
    Is it possible to get this information by calling BAPIs or other RFC function modules?
    Regards,
    Karsten

    After studying lots of documentation and trying to understand the BOL and GenIL concepts,
    I finally found a function module which meets my demands. With function module
    CRM_GENIL_GET_QUERY_RESULT you can execute a Search Object of the GenIL,
    and it is remote-enabled.
    By checking transaction GENIL_MODEL_BROWSER and choosing component set "ALL"
    you get a list of all defined Search Objects. The Search Object that finds all orders of a
    business partner is "BTQuery1O".
    DATA gt_parameter_list TYPE crmt_name_value_pair_tab.
    DATA gs_parameter_list TYPE crmt_name_value_pair.
    DATA gt_data_hdr       TYPE TABLE OF crmt_genil_rfc_data_hdr.
    DATA gt_data_attr      TYPE TABLE OF crmt_genil_rfc_data_attr.
    DATA gt_data_rels      TYPE TABLE OF crmt_genil_rfc_data_rel.
    DATA gt_data_rel_obj   TYPE TABLE OF crmt_genil_rfc_data_rel_obj.
    gs_parameter_list-name  = 'BP_NUMBER'.
    gs_parameter_list-value = '4000000011'.
    APPEND gs_parameter_list TO gt_parameter_list.
    CALL FUNCTION 'CRM_GENIL_GET_QUERY_RESULT'
      EXPORTING
        iv_query_name                = 'BTQuery1O'
        it_parameter_list            = gt_parameter_list
      TABLES
        et_data_hdr                  = gt_data_hdr
        et_data_attr                 = gt_data_attr
        et_data_rels                 = gt_data_rels
        et_data_rel_obj              = gt_data_rel_obj
      EXCEPTIONS
        error_occured                = 1
        OTHERS                       = 2.
    Before you can use the function module, you have to call function module CRM_GENIL_INIT
    to initialize the GenIL.
    Regards,
    Karsten

  • Getting error while testing "create" operation of a business object!

    Hi Experts,
       I have created a composition application. This contains only one business object called Reservation.
       It has a structure containing following fields:
      <UL>
       <LI> Key      -- Key field
       <LI>Reservation_No   -- Key field
       <LI>Create_Date
       <LI>Create_Time
       <LI> Status
       <LI>Source
       <LI>createdAt
       <LI>createdBy
       <LI>modifiedAt
       <LI>modifiedBy
       </UL>
       Here following fields are created by system.
    <UL>
       <LI>Key   
       <LI>createdAt
       <LI>createdBy
       <LI>modifiedAt
       <LI>modifiedBy
    </UL>
       The system also created many operations on the business object. Some on them are mentioned below.
    <UL>
      <LI>create
      <LI>delete
      <LI>findAll
    </UL>
    <UL> <LI>I built and deployed the business object. When I test the service and create a new entry in the business object I got the error below:
    </LI>
    </UL>
    <UL> <LI>
    <I>Failed to save BusinessObjectNode element: User XXX has no create authorization for object ID </I>
    </LI>
    </UL>
    <UL> <LI>
    How do i resolve this?
    </LI>
    </UL>
    Thanks
    Gopal
    Edited by: gopalkrishna baliga on Aug 12, 2010 1:13 PM
    Edited by: gopalkrishna baliga on Aug 12, 2010 1:21 PM

    Hi,
    Has this issue of yours been resolved?
    If yes, Kindly guide us how it was resolved, since we too are facing a similar issue.
    Thanks
    Rajeev Parmar

  • Creating webservice using webdynpro java calling bapi from r/3

    hi all,
    as i am new to this area can anyone provide me a guide to create a simple webservice using webdynpro java to call bapi's from r/3?
    i want to consume the created webservice on a .net client.
    Thanks in advance,
    Raghunandan

    You can use the SAP .NET Connector to do it.
    Download from [http://service.sap.com/connectors|http://service.sap.com/connectors].

Maybe you are looking for

  • Quicktime movie rendering for time lapse does not work in CS4

    Hey guys, I m trying to render a time lapse video on PS CS4 and the process works well up until the export window. When i go there the first option under file options, quick time export, is unavailable( grayed out). The only available option is Image

  • Ipod shuffle wont restore to factory settings

    trying to sync ipod shuffle with itunes to load music. i get a message saying it is in recovery mode and factory settings need to be restored. i click the button that says restore factory settings and it just keeps giving me the same message.  Any th

  • Epson All-in-One can no longer scan.

    I own two different Epson All-in-One printers that worked perfectly fine for Wi-Fi scanning.  Now, they do not appear anywhere as a scanner.  I have ensured all software and drivers are current.

  • Trying to get proper sound

    Hi, I have very low sound in my laptop with alsa so I wanted to try pulseaudio and oss. In ubuntu sound works great which has pulse by default. I tried setting up pulse in Arch with KDE but it doesn't seem to work. I tried oss and it doesn't work eit

  • Using spdif coax, my receiver only gets one digital sig

    My receiver is detecting the digital signal from the spdif out to the rca coax input. I am getting 5.surround sound, but it is being deri'ved from just a single signal using the Pro Logic. Is there a way to get the other digital signals for the rear