Examples for RAS/BOE/Viewer SDK for Business Objects XI 3.1 (12.0)

Hi, I am a newbie in Business Objects.
I am trying to find some examples on how to view reports on separate Application server (JBoss) and retrieve reports from Business Objects server. Us I understood from forums/guides I need to use Viewer SDK or (BOE/RAS SDK).
However I cannot find any examples for above mentioned SDKs to start from something.
OIne of the places I came across is here: http://devlibrary.businessobjects.com/businessobjectsxi/en/en/Viewers_SDK/default.htm indeed it is only for v11, as well as others places I came across.
Can anyone guide me with this?
Thank you!

Hello.
Java samples can be found at the following location:
http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications
Specifically, Business Objects Enterprise (including the Viewers SDK) samples can be found at the following location:
http://wiki.sdn.sap.com/wiki/display/BOBJ/JavaBusinessObjectsEnterpriseSDKSamples
RAS SDK samples can be found at the following location:
http://wiki.sdn.sap.com/wiki/display/BOBJ/JavaRASSDK+Samples
Hope this helps.
Regards.
- Robert

Similar Messages

  • How good is the java Ras Sdk in Business objects XI?

    I have programmed some  reports from scratch by using the java ras sdk.
    Somehow I have the feeling that new features of XI like dynamic image location, or
    running totals aren't so well supported as for example through the Crystal report Designer.
    Do others also think that  Business objects is being a bit negligent on this Api?
    Maybe they do not consider the Api as important anymore because most people will be using there web based out of the box jsp components?

    Normally you should run your CR reports in the INfoView. You can start a report either by double clicking on it or by selecting View in the context menu. Still in order to fetch data you have to press the Refresh button in the CR viewer window (in the InfoView).
    In the CMC I assume that you are using the Run now option in the context menu. Please note that this will just schedule your report immediatelly. hen the report is scheduled a new instance is created hich is available in the History of the report. In order to see a report in the CMC select again View in the context menu and you can again fetch data by pressing the Refresh button.
    Regards,
    Stratos

  • Table for seeing the Views maintained for a material in material master

    i have maintained CLASSIFICATION view for certain materials, but when i go to table MARC and check the maintenance status, i cannot see the letter "C" which stands for classification.
    I need to sort out the materials for which classifiction view has been maintained.
    Is there any other way to do it?
    Pls help
    Thanks
    Neeraj

    Hi
    U Can check the status of Veiws maintained in  MSTA
    The views are
    A Work scheduling
    B Accounting
    C Classification
    D MRP
    E Purchasing
    F Production resources/tools
    G Costing
    K Basic data
    L Storage
    P Forecasting
    Q Quality management
    S Warehouse management
    V Sales
    X Plant stocks
    Z Storage location stocks
    thanks

  • Why Sub Folder for Hyper linked reports in SAP Business Objects

    Dear Experts,
    We are using SAP Business Objects 3.1, in my organization we already have reports builded for different requirements. Every report has hyperlink with another report. Developer had created separate folder for all these hyperlinked reports.Now, my question is, why he might have created separate folder for these hyperlink reports.
    Ex:
    Folder1
    subfolder
    { report4
    report5
    report6}
    report1
    report2
    report3
    report4
    report5
    report6
    report7
    report8
    Can you please help me to understand why he had created sub folder for the existing reports.
    Thanks,
    Kote

    Kota,
         It all depends on how your security model is set-up and the number of users/groups within your CMS and if any 3rd party security is also used like AD Auth.
    The sort answer is, if security is defined properly at a Folder level and NOT at object level then it should NOT have any effect.
    Regards,
    Ajay

  • I am looking for a lab view schematic for hooking up a high-power motor driver to a linear actuator with feedback

    I need some help coding in labview 2012. I am hooking up a Pololu High-Power Motor Driver 18v25 CS to a Concentric LACT12P-12V-5 Linear Actuator with Feedback: 12" Stroke, 12V, 1.7"/s.  Thanks!

    Hi James,
    How are you planning to hook up your motor driver with PC? Do you have some DAQ device or hardware target to send TTL/PWM signals to driver?
    Regards.

  • Latest supported version of the Java SDK for XI R3.1

    Hi all,
                Does anyone have any ideas or views on the latest supported version of the Java SDK for 3.1 on windows ?
    We are using Tomcat which ships with SDK version 1.5.0_12, I know that updating this to a later version can result in a considerable performance boost for Infoview and its supported applications especially webintelligence.

    Hi Bashir, That's interesting  you're using a relatively up to date version of the java SDK. Business Objects documentation states that versions up to 1.5.0_xx are supported. Did you notice any improvements in performance of the system by using the later version 1.6.0_17 ?. There are generally very significant improvements in successive updates of the SDK in term of memory management, reliability and other general bug fixes, so it's something that we will take into consideration.
          Thanks

  • How to download SDK for UPK 11.1.0 ?

    Hi All,
    Can anybody please guide me for how to download SDK for UPK 11.1.0 ?
    I tried to search this. I could able to search "In-Application Support SDK".
    But couldn't search SDK for developer.
    Also if available, which IDE can be used for coding purpose? Can we use Eclipse or NetBeans?
    Thank you in advance.
    Regards,
    Shital.

    In order to clarify any details regarding your licenses please contact the local Oracle Partner Business Center at one of the following contacts
    Email     [email protected]    
    Phone 1.800.323.7355    
    Hours of Operation: 6:30 am (PST) - 6:00: pm (PST) Monday to Friday excluding public holidays.
    More details are also available in the note:
    Who to Contact for Sales and New License Inquiries or Purchase New Product Inquiries (Doc ID 1226624.1)

  • Is there any way to find out the dependency information for column of view?

    Does Oracle provide some view / table / pl/sql pkgs to find out the dependency information for column of view ?
    For example, there are two table mytable1 (col1 varchar2(10), col2 date) & mytable2 (col1 varchar2(10), qty int), and there is one view myView as
    select mytable1.col1, col2, qty from mytable1 inner join mytable2 on mytable1.col1 = mytable2.col
    Can I get some information such as myView.col1 is come from mytable1.col, myView.col2 is come from mytable1.col2, myView.qty is come from mytable2.qty
    ?

    I can get the information about the columns list in table/view from ALL_TAB_COLUMNS table, but I wish to know the column in the view is come from which original table's column.
    Is there any way to find it out from Oracle meta data / through any PL/SQL packages ?

  • Business objects for releasing the amount to vendor...

    Hi experts
    i used VBWF09 and VBWF15 too which is only for display and ve to chesk the existency of the amount release. but i want to release the amount to corresponding verdor with the help of parking document....
    thanks...
    velmurugan...

    Velu,
    Go to transaction code SWO3 and search for vendor, you will find many business object.
    Activate the event trace(using SWELS)  and check which business object is getting triggered(using SWEL), If concerned one is there then you are good else you gotta trigger custom event for that business object
    Cheers
    Jai

  • Merge modules for Business Objects XI service pack 4

    I am in the process of developing a deployment package in Installshield 2009 - Basic MSI Project.  I tried adding the merge modules I downloaded earlier from the web page, http://support.businessobjects.com/downloads/runtime.asp
    Currently I do not see this web page.  It would be nice if you could tell me whether do we have a merge module for Crystal Reports XI service pack 4.  If we have where from i can download them.  Thank you

    Thanks a lot for the immediate response.  However, I am not using the crystal reports Version, R2 release.
    I had actually installed Business Object XI and applied service pack 4 on it.  I checked the version in Help->About. It is 11.0.0.  
    Also my environment is XP Sp2, Visual studio 2003 and Visual studio 6.0.  I understand that R2 release is needed if the environment is Visual Studio 2005.
    I would like to give a clear picture of the issue I work through.    
    After deploying the software in the client machine, I came to know that  when client tried to print the embedded crystal report (.dsr file) from CrViewer, 
    1. Page set-up dialog bog gets displayed.
    2. After clicking 'OK' button in the page set-up dialog box, nothing happens.  It is suppose to bring print dialog.
    I simulated this in my development machine (confirmed that Print dialog is is not getting displayed when 'OK' button is clicked from 'Page setup' dialog)
    I researched and found out from some web page that if Business Objects XI is updated to Service pack 4, this issue gets resolved
    So i applied service pack 4 in my dev. machine and tested the functionality by clicking 'OK' button.  This issue is no more.
    Next logical step is to propagate the sp4 changes to the installer.  I searched for the merge modules corresponding to Business Objects XI - service pack 4.  I could not locate it now.
    I searched my backup folder,  I located some previously downloaded merge modules downloaded from  the web page, http://support.businessobjects.com/downloads/runtime.asp
    I tried to include these merge modules and received an error message "Internal build error" .  My research revealed that inclusion of the merge module,  CrystalReports11_RDC_Reportengine.msm  (43,306 Kb, 7/4/2007) throws "Internal build error"  during compilation of MSI project in Installshield 2009.
    Any idea, tips and help to resolve the issue would be appreciated.  Thank you.

  • JAVA SDK FOR OPENVMS

    I'm searching for JAVA 1.4 SDK for OPENVMS. Can anyone please help me with that endeavor?
    Thanks
    Ken Martin
    [email protected]

    Not supported by Sun:
    http://java.sun.com/j2se/1.4.2/system-configurations.html
    But this might be interesting for you:
    http://h18012.www1.hp.com/java/download/
    - bjorn
    http://www.bie.no

  • Why we have separate azure java SDK for linux and windows

    I saw different links for downloading azure java SDK for linux and windows.
    What difference does it actually have when java is platform independent? Or both are same jars?

    Hi,
    Thank you for your post.
    It contains the same jar files.
    Regards,
    Mekh.

  • Changing the Data source in Business Objects XI

    Hi,
      Is it possible to change the data source(not universe) in runtime to generate business objects reports. I am using BOXI 3.1.
    Below is the code I am using to change the universe in runtime. I would like to change this so that i can change the data source instead of changing the universe. My intention is to generate report from multipple database using same universe. Right now I am using multipple universes connected to multiple datasources to achieve this. I am using Report Engine SDK(Java).
               if("Webi".equals(mDocKind))
                   // Added for multiple database support
                   DataProviders dataProvs = documentInstance.getDataProviders();
                try{
                    //To support multiple queries in BO reports
                 for(int count=0;count<dataProvs.getCount(); count++){
                   DataProvider dp=dataProvs.getItem(count);
                   DataSource ds= dp.getDataSource();
                   infoUniverseObjects = getUniverseObject(infoStore,NewUniverseName);
                   infoUniverseObject = (IInfoObject)infoUniverseObjects.get(0);
                   String newDsCuid = infoUniverseObject.getCUID();
                   dataProvs.changeDataSource(ds.getID(), "UnivCUID=" + newDsCuid, true);
                   if(dataProvs.mustFillChangeDataSourceMapping())
                        // Re-map data source to target Universe objects
                        ChangeDataSourceMapping mapping = dataProvs.getChangeDataSourceMapping();
                        ChangeDataSourceObjectMapping[] maps = mapping.getAllMappings();
                        dataProvs.setChangeDataSourceMapping();
                    }//for dataProvs.getCount()
                }catch(Exception e)
                      mLogger.info("BOReportObject","createReport","Inside multiple data providers loop"+e.getMessage());
    Thanks in advance
    Shameer
    Edited by: Shameertaj on May 20, 2009 3:08 AM

    Hi Shameer,
    I think this is only possible with the Universe Designer SDK (which is only available in COM).
    Please kindly refer to the API reference for the Universe Designer SDK for more details:
    http://help.sap.com/businessobject/product_guides/boexir31/en/bodessdk.chm
    Also, please note that changing the universe connection when viewing a document on-demand is not recommended because this could lead to possible issues.
    For example:
    Two users trying to view documents that uses the same universe at approximately the same time.
    But user A wants to use connection X and user B wants to use connection Y.
    This could lead to an error while openning the document or while refreshing/retrieving the the data.
    Hope this helps.
    Regards,
    Dan

  • Bug with Business Objects 3.1 Client installation. Very annoying indeed.

    I have faced a few issues while developing with the Client installation (which includes the Client Development SDK) of business objects 3.1.
    Some of the code just don't work with the client installation. They give Invalid cast exceptions. The same code will work fine with the server installation.
    For a simple example, consider the following straightforward code to set the destination-
    String query = "Select SI_DEST_SCHEDULEOPTIONS, SI_PROGID "
              + " From CI_SYSTEMOBJECTS Where SI_PARENTID=29 and "
              + " SI_NAME='CrystalEnterprise.DiskUnmanaged'";
            InfoObjects destinationInfoObjects = infostore.Query(query);
            InfoObject infoObject = destinationInfoObjects[1];
            //Set the options for the disk unmanaged destination
            DestinationPlugin destinationPlugin = (DestinationPlugin)infoObject;
            DiskUnmanaged diskUnmanaged = (DiskUnmanaged)destinationPlugin;
            DestinationOptions destinationOptions = diskUnmanaged.ScheduleOptions;
            DiskUnmanagedOptions diskUnmanagedOptions = new DiskUnmanagedOptions(destinationOptions);
            diskUnmanagedOptions.DestinationFiles.Add("C:\\");
            diskUnmanagedOptions.UserName = "your_username";  //Change these according to your logon settings.
            diskUnmanagedOptions.Password = "your_password";
            schedulingInfo = publication.SchedulingInfo;
            schedulingInfo.Destination.SetFromPlugin(diskUnmanaged);
    This code will give an invalid cast exception as follows-
    System.InvalidCastException: Unable to cast object of type 'CrystalDecisions.Enterprise.InfoObject' to type 'CrystalDecisions.Enterprise.DestinationPlugin'.
    This happens at the line -
    DestinationPlugin destinationPlugin = (DestinationPlugin)infoObject;
    Now, this code works fine on a box where the server is installed.
    I have noticed this with a few other areas as well where the code fails with client installation but works on the server. This is really annoying because all the deveopers now have to install the server on their boxes.
    It is actually worse if just the Client Developer SDK is installed (and not the whole client). You would expect that just the SDK installation would be enough for one to do the coding. But doesn't work at all.
    Have others not faced this issue?

    Hi Dan,
    Thanks for your response. However, what I meant by client installation is exactly as what you have said below.
    I start the BusinessObjects Enterprise XI 3.1 Setup, go to custom install, which shows up the following options-
    Client Components
    Web Tier Components
    Server Components
    Database Access
    etc. etc.
    Initially I unselected all, drilled down Client Components and just installed the Developer Components. But the code used to fail with an InvalidCast exception when we used to cast an InfoObject to a Report as following-
    Report report = (Report)infoObjects[1];
    This code used to work fine with earlier installations of business objects.
    This happened with all 3 of us who installed just the Dev components. To get over this we installed the whole Client Components and the above problem got resolved.
    And now we realize that even the whole Client Comp is not enough because it gives the casting problem while doing the destination stuff.

  • Business Object Repository ( B O R )

    Can some one please send me some data or links from where I can get data on Business object repository .

    Hi,
         SAP's Business Object Repository gives you an improved way to integrate business processes with external partners -- an increasingly necessary ability in the burgeoning e-marketplace economy.
    The age of e has had a profound effect on the IT industry. Not only has it changed our way of life, but it has also forced systems such as SAP to embrace a new era of openness. Marketplace demands for flexible automation of inter-business workflow and intelligent data exchange have forced formerly very proprietary ERP systems to begin helping customers integrate with other companies and with e-marketplaces data formats. For the first time, companies must expose their business processes to the outside world.
    In order to achieve this openness, SAP provides a technical infrastructure for the R/3 product, the Business Object Repository (BOR), which provides a simple yet powerful mechanism for external systems to trigger core business processes (such as placing an order) without concern for the underlying data structure. This level of abstraction is beneficial because it decouples R/3 from the external system. Either system is therefore free to change its internal business processes without affecting the other. SAP provides this technical infrastructure using a component-based view of its system. Each component or object provides a view of the data and the business processes that interact with that data. External systems can access this data via BAPI methods, which in turn access the underlying data structures of the system. It is the responsibility of the object and the BAPI to ensure the integrity of the data. This encapsulation of the data not only lends itself to external interfaces, but by using objects from within SAP, you can greatly reduce implementation, testing, and maintenance effort via the promotion of code reuse.
    Business Objects
    A business object is a problem-domain entity that you model in the SAP system, such as SalesOrder, BillingDocument, and Employee. The BOR stores all the objects in the R/3 system. The repository is a group of all the objects in the R/3 system. If the focus of objects is to model atomic business processes then it can be said that the BOR provides an enterprisewide view of business processes. By designing your ABAP code to fit your business processes you increase the ability of that code to flex when those processes are altered or integrated with external systems. This had made the object-oriented approach, which the BOR provides, essential to developing inter-business or e-business functionality.
    Attributes
    A business object is primarily represented by its attributes. You perform actions, such as create, update, or delete on the attributes by calling the methods of the object.
    Attribute NetValue of Object BUS2032 (SalesOrder).
    The majority of attributes are data-dictionary fields (for example, the NetValue attribute is defined by VBAK-NETWR). When you access an attribute of an object, you execute a SQL statement that retrieves the corresponding field in the database.
    Definition of attribute NetValue.
    You can also define attributes that do not exist in the data dictionary. These attributes are called virtual attributes. For example, a business partner has an attribute called BirthDate that is stored in the data dictionary. You can add a virtual attribute to the BusinessPartner object called Age. The age of a business partner is not stored in the database, but you can calculate it using the current date and the birth date of the business partner. If you implement the ABAP code that calculates Age, every time you access the Age attribute, the code executes and returns the business partners age.
    Definition of virtual attribute Age.
    This is an excellent example of one of the tools that a component-based approach provides. The external system does not need to concern itself with how to gather the data that it requires. The calling program needs only to access the attribute for the data to be returned. This is how business objects decouple the calling program (whether it be in R/3 or external to R/3) from the internals of R/3.
    The BOR lets you define multi-line attributes. These attributes define one-to-many relationships between an object and other fields. These objects can be defined in the data dictionary or can also be virtual attributes.
    An attribute that uniquely defines an object in the system is called a key attribute. In the case of a SalesOrder, the key attribute is VBAK-VBELN (the TableName and FieldName). It is not uncommon for an object to have several key fields. An example of this is object is the SalesArea (BUS000603) object type which has SalesOrganization (TVTA-VKORG), DistributionChannel (TVTA-VTWEG) and Division (TVTA-SPARTE) as key fields.
    Methods
    As mentioned earlier, the methods of an object represent the actions you take with objects attributes. An action in this example would include retrieving the status of one or more sales orders based on specific criteria. Methods are analogous to function modules in that they have importing and exporting parameters as well as exceptions, which you view by selecting a method and clicking on the toolbar button. This allows external systems (or internal developments) to pass and accept parameters from these methods just as if they were using function modules -- allowing external systems to call methods.
    In Figure 4, the methods shown with the green LED are BAPIs that are called specifically from external systems. They can, however, be called from within the system itself. The method shown with the stop sign is obsolete, but retained for backward compatibility, and should not be used in new developments.
    Methods of SalesOrder.
    Delegation and Subtyping
    One of the most complex concepts in object-oriented development is that of inheritance. This concept lets you extend core functionality by creating a child of the parent object that inherits all of its attributes and methods. For example, a Manager object is a subtype (child) of the Employee object. The Manager object has all the attributes of an Employee object (such as EmployeeID or Name) but also has some extra attributes (such as CompanyCar or ParkingSpace). SAP has not implemented inheritance in the BOR. However, it has provided subtyping and delegation, which offer an alternative way to extend R/3 functionality.
    Subtyping
    A subtype of an object is another object whose creation is based upon a parent object (see the preceding manager/employee example). The subtype maintains references to all the attributes and methods of its parent object. This means that any methods and attributes defined on the parent can be executed and accessed on the child object. I have often heard less-experienced developers refer to subtyping as copying the parent object. Although the effects can be similar, in order to achieve an understanding of some of the more advanced concepts, such as interface inheritance, it is important to realize that this is not accurate.
    If a subtype object were merely a copy of its parent, then all the code contained within the parent would be physically copied to the child. This is not the case. The subtype simply maintains references to its parents methods and attributes. The real difference is that the subtype lets you redefine these methods and attributes. You can easily add your own business rules to the parent methods by redefining the subtypes method. In the following example, I will show why this distinction is so important.
    Subtyping Case Study
    As an ABAP developer at Acme Tyres Pty. Ltd., you have been given the task of implementing some security measures for the companys online store. The requirement is simple: The password must be at least six characters long.
    Modifying SAP code leads to costly and complicated upgrades due to the modified code being overwritten by the newly delivered SAP code. Therefore, The challenge is finding a way of implementing the business logic without modifying SAP code.
    After some investigation, you realize that the method CHANGEPASSWORD (in BAPI) on the object KNA1 (Customer) is called when customers change their passwords. All you need to do is create a subtype of KNA1 and then redefine the CHANGEPASSWORD method adding the ABAP code to ensure that the password is a minimum of six characters long. It is of course not wise to change SAP code even assuming you have the passwords, which can be provided only be SAP. After the method is redefined, you just need to implement the business rules in ABAP.
    FIGURE 5 Redefinition of ChangePassword method.
    It is imperative that once you redefine the method it still behaves in a similar manner. You are allowed to add extra business logic, but the method must still change the password rather than do something unexpected, like delete a customer. This is particularly important when SAP is being accessed from external systems. The external system will expect a method to provide certain functionality. The developer should take care to ensure that this expectation is met.
    Delegation
    Now that you have implemented a new CHANGEPASSWORD method, you need to tell the SAP system to use the redefined version of CHANGEPASSWORD and not the version that was delivered on the KNA1 object. This is similar to object-oriented inheritance but the two concepts do have fundamental differences.
    Delegation for objects.
    By making an entry in the delegation table, you tell R/3 that before executing a method on KNA1, it should first check if that method has been redefined on the subtype. If it has, then the system executes the redefined method . If it hasn't, then the system executes the original method. Figure 7 illustrates this process.
    Execution flow for methods with delegation.
    This delegation is powerful because it lets you implement your own business logic without modifying any SAP code. As long as the objects are properly delegated, your method will be executed.
    Responsibility
    So far I have shown you two major components of an object, its attributes and methods. The difficulty in SAP is that it has traditionally been a data-driven, procedural-development approach. The BOR is not well understood by developers and managers and thus it is shunned by those that stand to gain the most from it. If managers and developers alike would take a formalized approach to development using business objects, significant savings in the development, testing, and maintenance phases would be achieved. This is due to the high level of re-use that business objects encourage.
    Having said this, when a powerful tool is put into the hands of an inexperienced person, chaos can (and usually does) ensue. If object-oriented design principals are not adhered to, then the resulting code has poor reusability and maintainability. Although an in-depth discussion of design issues is beyond the scope of this article, I will introduce in the following section one of the more fundamental design aspects of BOR programming: Responsibility.
    When you are given the task of creating a method or attribute on an object, one of the most important questions you should ask is, Does this attribute or method belong on this object? This question is fundamental to an object-oriented design and the answer can make a world of difference. Answering this question incorrectly has detrimental effects on the development effort resulting in methods and attributes strewn across myriad objects, with no coherent structure. If the methods and attributes were strewn across several objects, it would be more difficult to provide a uniform interface to external systems. If an external system wants to execute a particular business process in R/3, it may need to access several business objects, thus increasing coupling and reducing the layer of abstraction between R/3 and the external system.
    Lets take, for example, the requirement to be able to update a sales order. This is a common requirement and one that SAP usually implements for you. For the sake of the example, lets assume that SAP has not implemented this method. You will need to implement your own UPDATE method on one of the business objects. The question here is: Which object? This question is what I term as defining responsibility. Which object is responsible for having the UPDATE method on it? As shown in Figure 4, the answer in this cases is BUS2032 (SalesOrder). If you put it on any other object then you run the risk of no one else knowing of its existence. Next time there is a requirement to update a sales order, the developer will develop an additional method. You would then have two separate pieces of code that implement the same functionality. This duplication doubles development, testing, and maintenance requirements. On large projects, this can become a real problem and a maintenance and testing nightmare.
    SAP recognizes the challenges facing developers in the e-business era. It is aware that if it wants to take R/3 to the next phase, it needs to continue evolving the ABAP language and ensure that powerful development tools are available to SAP developers.
    Rising to the challenge, SAP has begun developing extensions to the ABAP language called ABAP objects (see "Introducing ABAP Objects," in the IntelligentERP feature archive for an excellent introductory article to ABAP objects by Jürgen Heymann and Horst Keller). These extensions will provide ABAP developers with a full range of object-oriented tools. Eventually, these new extensions will make BOR obsolete. However, the use of object-oriented development is sure to be an integral part of future SAP developments, regardless of where the world of e takes us.
    Reward points
    Regards

Maybe you are looking for