BO Designer SDK
Hi,
We have an old piece of software, written in Visual Basic 6, which uses the BO Designer SDK (COM API) in order to build big universes from scratch.
We've been asked to develop another sofware providing the same features. It will have to work with BO XIR2 and XI 3.
Questions :
1°) Is the Designer COM SDK still supported ? Should it be used ? A SAP Employee said the Designer SDK was retired in BO XI 3 (here : ).
2°) If the BO Designer COM SDK can still be used, what languages can call such an API ? Dotnet ? Java ?
3°) If this SDK isn't maintained anymore, do you see any other way to add/modify lots of classes and objects in an universe, based on the dynamic content of a database ?
Thanks
The BusinessObjects Enterprise COM SDK has been deprecated and is no longer available for XI 3.x
The BusinessObjects Designer SDK is still available - it's called the Desktop Intelligence Designer SDK. Still COM based.
However, unlike version 6.5 and previous, the XI version isn't entirely Automation safe - so VBScript won't work.
VBA is still the language of choice - the SDK itself isn't tested via .NET COM-Interop, so if you go .NET, you're on untested ground.
But if you're moving to XI 3.x, I'd recommend looking at other reporting technologies, such as Web Intelligence.
Sincerely,
Ted Ueda
Similar Messages
-
How does one add tables to an existing universe using COM designer SDK.
Morning All
How does one add tables to an existing universe using COM designer SDK. I have tried:
objUniverse.Tables.Add (strTable_Name)
but get "Cannot create Table" error.
Any ideas?
Thanks in advance.
AnitaHi Anita,
-Use the Add method to add classes and objects to an existing universe using a VB 6 application.
Adding a Class
Definition: Function Add(Name As String) As Class
Syntax: NameOfClassesVariable.Add
Adding an Object Instance
Definition: Function Add(Name As String, [ClassName As String]) As Object
Syntax: NameOfObjectsVariable.Add(name, [class])
- name is the name of the object.
- class is the name of the class containing the object. This parameter should be used in cases where more than one objects exist with the same name.
Sample Visual Basic 6 Code
Dim DesApp As Designer.Application
'MODIFY AND EXPORT CLASSES AND OBJECTS OF AN EXISTING UNIVERSE
Sub modify_and_export_universe()
Dim DesUnv As Designer.Universe
Dim DesCls As Designer.Class
Dim DesObj As Designer.Object
Dim DesDBCol As Designer.DBColumn
Dim DBColName As String
Set DesApp = New Designer.Application
'Login to designer
Call DesApp.LogonDialog
'Make sure to log on with your administrator profile
'e.g : "hostname","username", "password","Enterprise"
'Make Designer application visible
DesApp.Visible = True
'This line disable warning messages from Designer
DesApp.Interactive = False
'to Open locally the universe you want to modify
'Set DesUnv = DesApp.Universes.Open("club_uni")
'Use OpenFromEnterprise method (Universes Class) to import a universe from the repository and opens it
Set DesUnv = DesApp.Universes.OpenFromEnterprise("Universes", "club_uni", False)
'Add a valid connection which already exists
DesUnv.Connection = "club"
'open the universe
'Call DesApp.Universes.Open("club_universe")
'Add the table Account and refresh the view in the main window
Set DesTab = DesUnv.DBTables.Item("Customer").Insert
DesUnv.ArrangeTables
'Add a class
Set DesCls = DesUnv.Classes.Add("Class MyCustomer")
'Looping through all the fields of the DB Table Account
For Each DesDBCol In DesUnv.DBTables.Item("Customer").DBColumns
'Store name of the column
DBColName = DesDBCol.Name
'Add an object to the class
Set DesObj = DesCls.Objects.Add("Obj " & DBColName)
'Affect a field to the object
DesObj.Select = "Customer" & "." & DBColName
Next
'Save the existing universe with the same name club_uni or you can change
DesUnv.SaveAs "club_uni"
MsgBox "Universe created and saved Class MyCustomer has been added!!"
'Close the universe
UnvFullName = DesUnv.FullName
MsgBox "The UniverseFilePath is " & UnvFullName
'Close the universe
DesUnv.Close
'This line disable warning messages from Designer
DesApp.Interactive = False
'Export the universe to the CMS DB (to the last universe folder)
'Make sure you save the universe before exporting it
Call DesApp.Universes.Export("Universes", UnvFullName)
MsgBox "This document has been exported successfully !!"
'Close designer
DesApp.Quit
Set DesApp = Nothing
End Sub
Hope this helps.
Regards,
Deepti Bajpai -
Where's the Designer SDK developer guide?
I'm doing some testing to see how hard it would be to programmatically build a universe based on our existing meta data. I'm able to open existing universes, but I'm having trouble exporting. When I call Universes.Export(), I get an exception that simply states, "Unable to export universe."
Why is the Designer SDK the only SDK without a developer guide?
Can anybody provide me with some sample code that builds a new universe and exports it (preferably in C#).
Thanks,
-- TreyHello Deepti,
Thank you for your response. However, that page doesn't have a link to the Designer SDK Developer Guide. I've found this page: https://boc.sdn.sap.com/developer/library
Notice that the only SDK without a developer guide is the Designer SDK. I'm really starting to wonder how much it is actually used.
Like I mentioned in my previous post, I can open existing universes, but I'm having trouble exporting. I just get an ambiguous error message stating that it "cannot export universe". The documentation is not up to date with the API I'm using. I'm seeing that the method signatures have changed on a few of the methods. Plus, it appears that some of the methods need to be called in a specific order for them to succeed. Without the source or good documentation, the task is pretty frustrating.
I'm trying to create a universe programmatically and then export it. Anybody have a code example?
-- Trey -
Universe will be overwritten-designer sdk
Hi there,
I have a wierd problem:
I am writting a program (using excel 2007 vba-designer 3.1) that basically copies universe elements (such as objects) from one universe to another.
It is quite simple, but because of an unknown reason after using the universes.open method the universe looses it`s ID and therefore when exporting it to the repository I get the following message:
"if you continue the existing universe will be overwritten"
I did the following:
1. import universe A from the repository
2. manually erase all objects
3. runing the script that copies objects\joins\contextes from universe b
4.export universe A and get "if you continue the existing universe will be overwritten"
Please note that I do not copy any of the universe properites , I just copy objects\joins\contexts
Somehow the SDK erases the universe ID
Any thoughts?
CheersI'm trying to understand how you came across that the Universe was losing its ID.
From your description, you import a universe, and when exporting it back it is warning you that you are going to overwrite an existing universe, which to me, makes sense as it would be overwriting the original universe that you imported. -
Using a CWM format XML as datastore; COM SDK to read the file and create Universe
Hello everyone
We are in the process of migrating from a metadata store to BusinessObjects Universe and the plan is to use Java/COM SDK to accomplish that. We have run into limitations with both the SDKs. Java SDK doesn't provide that facility and using COM SDK we are trying to read from a XML file (metadata in CWM format) and create the universe but so far haven't been successful. If the (Universe)Designer can read a CWM format xml file (say created from BODS) we are wondering why can't a customer made COM program do the same.
Has anyone attempted this and been successful. Please acknowledge.
ThanksI have written C#.NET code to build universes on the fly using the Designer SDK with no problems. However, I wasn't using CWM formatted data to do this.
I have two suggestions for you:
1. Since not all of the functionality in the Designer tool seems to be available through the SDK, can you parse the CWM xml file in your code and build the universe based on the data instead of trying have Designer build it?
2. Since you're using Java, you may get better answers by posting this question in the Java SDK Application Development space here: http://scn.sap.com/community/bi-platform/java-sdk
-Dell -
Has anyone successfully built a Universe against a Baan database? We are looking at the possibility either using a Baan driver for Universe Designer (if this exists) or connecting to the Oracle system underneath.
Any help is much appreciated!
Thx
JamesNo idea but some things to check:
- Are you running some other application which might be using the Designer SDK on your machine?
- If you launch Designer and leave it there for 5 minutes without doing anything does the error comes up
--> some background agent might be interfering? Or is it triggered only if you actually work with Designer?
- What is the title of the popup window (Designer.exe or is it a Window system message error?)
Regards
PPaolo -
SDK development for SAP BusinessObjects Explorer Accelerated version
Hi all,
in one of our project we need to use the engine of Explorer Accelerated an SDK application.
Is it possible or does exists sdk libraries for using only the search component of Explorer?
What we need is something that give to Explorer box our search request and give back to us a result that could be a table/webi report/xml file without using the webinterface itself of Explorer.
Thanks!
AndreaFrom the header of this forum suspect you posted to an incorrect place:
Forum: Other SAP BusinessObjects Development
This forum is dedicated to all other development-related questions which
are not directly addressed by other forums. This includes Business Objects SDKs,
products, or technologies which do not fall under BusinessObjects Enterprise,
BusinessObjects Edge, Crystal Reports Server, or Crystal Reports (for example
Desktop Intelligence SDK, Universe Designer SDK, Portal Integration Kits, Java User
Function Libraries, and other third party technologies or development languages).
I believe the forum upi want is [Business Explorer (BEx)|SAP Business Explorer (SAP BEx);.
Please do not forget to close this thread.
- Ludek -
Create access restriction in designer using script
Hello,
I am looking for a way to automate the creation of access restriction within universe.
I looked in the API universe reference and it seems that there is no entries for such an object
For information I use Business Objects XIR2 with SP3
Thanks for any help or answerCreation/Modification of Universe Access Restrictions is not part of the Universe Designer SDK, but part of the BusinessObjects Enterprise SDK.
It requires sending requests to the CMS using the SDK to get User and UserGroup information.
For the COM-based version of the Enterprise SDK, the object is known as Overload, and described here:
[http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/BOE_SDK/boesdk_com_doc/doc/boesdk_com_doc/CrystalEnterpriseOverloadPluginLibrary.html#1351377]
Sincerely,
Ted Ueda -
RFC SDK, connect with japanese username to a unicode SAP system
Hello everybody,
I try to connect with a japanese username to a unicode SAP system. I use VC++ and make the call like this:
BYTE utf8_byteArray[10] = {0xE3, 0x81, 0x8A, 0xE3, 0x81, 0x99, 0xE3, 0x81, 0x99, 0x00 };
CString sJapUser(utf8_byteArray);
sConnectParam.Format( cU("CLIENT=%s USER=%s PASSWD=%s LANG=%s SYSNR=%d ASHOST=%s PCS=2"),
"800",
sJapUser,
"password",
"EN",
1,
"9.22.104.145");
hRfc = ::RfcOpenEx( (char*)(LPCTSTR)sConnectParam, &error_info);
I tried it with different codepages and PCS settings (1/2) too but i always get the error:
"Name or password is incorrect (repeat logon)"
When I connect to a non unicode japanese system in locale encoding it works.
Another thing i saw is that the utf8 string is truncated after 12 bytes (12 character/bytes is the limit of user name length). When I use a japanese username with 6 japanese symbols (18 bytes in utf8) I see the following in the RFC trace:
rfcOpenHooked
destination <unknown>
mode 3
conopt 3 hostname 9.22.104.145
conopt 3 sysnr 1
conopt 3 use_l_bal 0
conopt 3 use_sapgui 0
client 800
user おすすめ (here the username misses 2 japanese characters)
language E
trace 0
L-GetCodePage (DEFAULT-CP) rc = 0: 1100
Here the username is correct:
>>> RfcOpenEx ...
Got following connect_param string:
CLIENT=800 USER=おすすめダウ PASSWD=******* LANG=EN SYSNR=1 ASHOST=9.22.104.145 CODEPAGE=4110 PCS=2
Send RFCHEADER: 01/LIT/IEEE/SPACE/4110
Send UNICODE-RFCHEADER: cp:4110/ce:IGNORE/et:5/cs:1/rc:0x00000023
In the RFC trace the username is truncated (only 12 bytes(4 characters) instead of 18 bytes (6 characters))
000160 | 44657369 676E0130 0111000C E3818AE3 |Design.0........|
000170 | 8199E381 99E38281 01110117 000C905F |..............._|
000180 | E417BBAC 1DDD543E CE540117 01140003 |......T>.T......|
To connect with japanese usernames using the SAP-GUI works fine but the rfc traces show that the connection is established in another way.
Can anyone help me with this or is it just impossible to use japanese usernames for logon with RFC.
Thank you in advance.Please note the header of this forum: "This forum is dedicated to all other development-related questions which are not directly addressed by other forums. This includes Business Objects SDKs, products, or technologies which do not fall under BusinessObjects Enterprise, BusinessObjects Edge, Crystal Reports Server, or Crystal Reports (for example Desktop Intelligence SDK, Universe Designer SDK, Portal Integration Kits, Java User Function Libraries, and other third party technologies or development languages). "
I do not think you are using any of the products described above. Please post to the correct forum.
Ludek -
RFC SDK connect call fails for NW2004s SPS13 if password in lowercase
Hi all,
I am running a sample rfc program on solaris m/c.
SAP server details
2004s SPS13
I am using a communication user to connect to server using RFC SDK.
If i connect to the server with password in smaller case it gives aerror message
"Name or password is incorrect"
But if i give the password in capital case,it works fine.
BAsically i have to create a user with acapital password to work fine on SPS13
ON SPS12 it worked fine for lower case password.
Best Regards
ManojPlease note the header of this forum: "This forum is dedicated to all other development-related questions which are not directly addressed by other forums. This includes Business Objects SDKs, products, or technologies which do not fall under BusinessObjects Enterprise, BusinessObjects Edge, Crystal Reports Server, or Crystal Reports (for example Desktop Intelligence SDK, Universe Designer SDK, Portal Integration Kits, Java User Function Libraries, and other third party technologies or development languages). "
I do not think you are using any of the products described above. Please post to the correct forum.
Ludek -
Hi Gurus,
I have requirement like , Non SAP System ( VB.Net ) need to call the SAP sytem through a particular DLL and get the result from the SAP. I have Downloaded the SAP NW SDK 7.1
1) Now should i unzip this SDK on the SAP side or the Non SAP side.
2) Now where should I code the C++ Programs, should i use any external compilers.
I am totally confused, please get me the right direction to achieve this requirement.
Regards
VikranthSounds to me like you are in a completely wrong forum. Note that the header of this forum says;
This forum is dedicated to all other development-related questions which are not directly addressed by other forums. This includes Business Objects SDKs, products, or technologies which do not fall under BusinessObjects Enterprise, BusinessObjects Edge, Crystal Reports Server, or Crystal Reports (for example Desktop Intelligence SDK, Universe Designer SDK, Portal Integration Kits, Java User Function Libraries, and other third party technologies or development languages).
I believe you will have to find the appropriate SAP product forum and ask there.
Ludek -
RFC SDK extraction error: RFC_12-20001774.SAR
I have downloaded this file twice, but am unable to extract the contents. I get the error "format error in header".
The command used and results are shown below.
sapcar.exe -xvf RFC_12-20001774.SAR
processing archive RFC_12-20001774...
format error in header
I have downloaded other SDK files and extracted their contents without problems.
Any input you can provide is greatly appreciated.
Regards, DanPlease note the header of this forum: "This forum is dedicated to all other development-related questions which are not directly addressed by other forums. This includes Business Objects SDKs, products, or technologies which do not fall under BusinessObjects Enterprise, BusinessObjects Edge, Crystal Reports Server, or Crystal Reports (for example Desktop Intelligence SDK, Universe Designer SDK, Portal Integration Kits, Java User Function Libraries, and other third party technologies or development languages). "
I do not think you are using any of the products described above. Please post to the correct forum.
Ludek -
I own a Blackmagic Intensity Pro, Windows 8 (64-bit) and wanted to use it as an input device for FLME 3.2. However whenever I select the Blackmagic WDM Capture device, I get an error that the "Device may already be in Use".
So of course the FAQ says:
http://helpx.adobe.com/legacy/kb/flash-media-live-encoder-error.html
But it's not in use! Sources say the drivers are flakey. Sources also say that Adobe has not incorporated BlackMagic Design SDK properly.
Adobe says they are partners with them. http://www.adobe.com/ca/solutions/broadcasting/partners.html
Can someone see what the problem is? Or is it an Adobe issue? If so when is estimated time of fix?Hi Aldoescu
You can download the SDK from http://developer.apple.com
All that is required is that you sign up for the free Apple Developer Connection account. It is around 2.1gb to download. If you follow the coding headstarts and guidelines you shouldn't have too much trouble with learning how to make the apps work.
J.C
Message was edited by: J.C -
Web Services SDK (Java API)
Hi,
By using Web Services SDK (Java API) can I extract the Table,Join information related to a Universe?
If so, then can you please give me some guidelines?
Thanks
NirabhraHi Nirabhra,
I don't think this is possible with the Web Services SDK.
This can only be done through 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]
Hope this helps.
Regards,
Dan -
Unable to get delta observation,
i am trying get delta records from ztable based on time stamp with 900sec lower timestamp,,,,,,,,,,
please correct my code,
Example: DataSource for table SFLIGHT
TABLES: zsales_order1.
Auxiliary Selection criteria structure
DATA: l_s_select TYPE srsc_s_select.
Maximum number of lines for DB table
STATICS: s_s_if TYPE srsc_s_if_simple,
counter
s_counter_datapakid LIKE sy-tabix,
cursor
s_cursor TYPE cursor.
Select ranges
RANGES: l_r_zvbeln FOR zsales_order1-zvbeln,
l_r_zerdat FOR zsales_order1-zerdat,
l_r_zerzet FOR zsales_order1-zerzet,
l_r_ztimestamp FOR zsales_order1-ztimestamp.
DATA : startdate TYPE sy-datum,
starttime TYPE sy-uzeit,
enddate TYPE sy-datum,
endtime TYPE sy-uzeit,
timestamp TYPE tzonref-tstamps.
Initialization mode (first call by SAPI) or data transfer mode
(following calls) ?
IF i_initflag = sbiwa_c_flag_on.
Initialization: check input parameters
buffer input parameters
prepare data selection
Check DataSource validity
CASE i_dsource.
WHEN 'ZSALES_ORDER_FUN1'.
WHEN OTHERS.
IF 1 = 2.
MESSAGE e009(r3).
ENDIF.
this is a typical log call. Please write every error message like this
log_write 'E' "message type
'R3' "message class
'009' "message number
i_dsource "message variable 1
' '. "message variable 2
RAISE error_passed_to_mess_handler.
ENDCASE.
APPEND LINES OF i_t_select TO s_s_if-t_select.
Fill parameter buffer for data extraction calls
s_s_if-requnr = i_requnr.
s_s_if-dsource = i_dsource.
s_s_if-maxsize = i_maxsize.
Fill field list table for an optimized select statement
(in case that there is no 1:1 relation between InfoSource fields
and database table fields this may be far from beeing trivial)
APPEND LINES OF i_t_fields TO s_s_if-t_fields.
ELSE. "Initialization mode or data extraction ?
Data transfer: First Call OPEN CURSOR + FETCH
Following Calls FETCH only
First data package -> OPEN CURSOR
IF s_counter_datapakid = 0.
Fill range tables BW will only pass down simple selection criteria
of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'ZVBELN'.
MOVE-CORRESPONDING l_s_select TO l_r_zvbeln.
APPEND l_r_zvbeln.
LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'ZERDAT'.
MOVE-CORRESPONDING l_s_select TO l_r_zerdat.
APPEND l_r_zerdat.
LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'ZERZET'.
MOVE-CORRESPONDING l_s_select TO l_r_zerzet.
APPEND l_r_zerzet.
LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'ZTIMESTAMP'.
timestamp = l_s_select-low.
CONVERT TIME STAMP timestamp
TIME ZONE sy-zonlo INTO DATE startdate TIME starttime.
timestamp = l_s_select-high.
CONVERT TIME STAMP timestamp
TIME ZONE sy-zonlo INTO DATE enddate TIME endtime.
l_r_zerdat-low = startdate.
l_r_zerdat-sign = l_s_select-sign.
l_r_zerdat-option = l_s_select-option.
l_r_zerdat-high = enddate.
APPEND l_r_zerdat.
l_r_zerzet-low = starttime.
l_r_zerzet-sign = l_s_select-sign.
l_r_zerzet-option = l_s_select-option.
l_r_zerzet-high = endtime.
APPEND l_r_zerzet.
ENDLOOP.
ENDLOOP.
ENDLOOP.
ENDLOOP.
Determine number of database records to be read per FETCH statement
from input parameter I_MAXSIZE. If there is a one to one relation
between DataSource table lines and database entries, this is trivial.
In other cases, it may be impossible and some estimated value has to
be determined.
OPEN CURSOR WITH HOLD s_cursor FOR
SELECT zvbeln
zerdat
zerzet
zland1
zkunnr
zlgort
zposnv
zmatnr
znetpr
waerk
zkpein
zkmein
zarktx
zstadat
zaedat
zaezet
ztimestamp FROM zsales_order1 WHERE zvbeln IN l_r_zvbeln
AND zerdat IN l_r_zerdat
AND zerzet IN l_r_zerzet
AND (
( zerdat >= startdate AND ( zerzet >= starttime OR
( zerdat <= enddate AND zerzet <= endtime ) ) ) OR
( zaedat >= startdate AND ( zaezet >= starttime OR
( zaedat <= enddate AND zaezet <= endtime ) ) )
ENDIF. "First data package ?
Fetch records into interface table.
named E_T_'Name of extract structure'.
FETCH NEXT CURSOR s_cursor
APPENDING CORRESPONDING FIELDS
OF TABLE e_t_data
PACKAGE SIZE s_s_if-maxsize.
IF sy-subrc <> 0.
CLOSE CURSOR s_cursor.
RAISE no_more_data.
ENDIF.
s_counter_datapakid = s_counter_datapakid + 1.
ENDIF. "Initialization mode or data extraction ?
ENDFUNCTION.
thanks in advanceAs per the description of this forum at the top of the page I do not think this is posted correctly:
This forum is dedicated to all other development-related questions which are not directly addressed by other forums. This includes Business Objects SDKs, products, or technologies which do not fall under BusinessObjects Enterprise, BusinessObjects Edge, Crystal Reports Server, or Crystal Reports (for example Desktop Intelligence SDK, Universe Designer SDK, Portal Integration Kits, Java User Function Libraries, and other third party technologies or development languages).
- Ludek
Maybe you are looking for
-
Ipod Touch 2nd Gen not syncing photos
One of my ipod touch's albums to sync is iPhoto's "last import" album. It always updates the album every time I import new photos into iPhoto. However, it has stopped doing that. I have old photos in my album now instead of the most recent import. In
-
Itunes wont download on y windows 8 laptop, it says itunes need suport downloaded?
For some reason i can't download the new version of itunes. i need help! I have a HP windows 8 laptop it's barely 10 months old. and has never had this probem before. it says that the files are wrong and that i have to downlaod something else to down
-
Satellite C55-A-1RG (PSCJGE) does not boot anything?
I've just bought this model today and it came win no OS installed and now I'm trying to install something on it so I can use it. The issue is that it doesn't want to boot anything. I've tried Win7, Windows8 from DVD and USB and also downloaded Ubuntu
-
System Information Application
Under System Information I click on extensions and it gives me the error "There was an error while gathering this information." Any ideas?
-
hi there, i got iphone 4G, both buttons are not working ,upper one doesnt work