How to extract List of Objects and Classes in BO
Hi
I need to get a list of all Classes and Objects in a universe.
Is there a way to extract this list in an excel.
I dont need the PDF file which can be saved from a universe with all the universe information.
I just need a plain excel file with the classes, objects under it, object definitions etc.
Is there a VBA code to do so?
I know there is one to extract the user info from CMS.
Please help.
Thanks in advance.
Option Explicit
Dim DesignerApp As Designer.Application
Dim Univ As Designer.Universe
Dim Wksht As Excel.Worksheet
Sub GetInfo()
Set DesignerApp = New Designer.Application
DesignerApp.Visible = True
Call DesignerApp.LoginAs
Set Univ = DesignerApp.Universes.Open
'DesignerApp.Visible = False
Set Wksht = ThisWorkbook.Worksheets("Objects")
Wksht.Unprotect
Wksht.Columns().ClearContents
Wksht.Cells(1, 1) = "Class"
Wksht.Cells(1, 2) = "Objects"
Wksht.Cells(1, 3) = "Table Reference"
Wksht.Cells(1, 4) = "Object Description"
Wksht.Cells(1, 5) = "Object Type"
Wksht.Cells(1, 6) = "Qualification"
Call GetObjectInfo(Univ.Classes, 1)
Wksht.Protect
DesignerApp.Quit
Set DesignerApp = Nothing
End Sub
Private Sub GetObjectInfo(Clss, RowNum As Long)
Dim Cls As Designer.Class
Dim Obj As Designer.Object
For Each Cls In Clss
For Each Obj In Cls.Objects
RowNum = RowNum + 1
Wksht.Cells(RowNum, 1) = Cls.Name
Wksht.Cells(RowNum, 2) = Obj.Name
Wksht.Cells(RowNum, 3) = Obj.Select
Wksht.Cells(RowNum, 4) = Obj.Description
If Obj.Type = 2 Then
Wksht.Cells(RowNum, 5) = "Character"
ElseIf Obj.Type = 3 Then
Wksht.Cells(RowNum, 5) = "Date"
ElseIf Obj.Type = 1 Then
Wksht.Cells(RowNum, 5) = "Number"
Else
Wksht.Cells(RowNum, 5) = "Long Text"
End If
If Obj.Qualification = dsDimensionObject Then Wksht.Cells(RowNum, 6) = "Dimension"
If Obj.Qualification = dsDetailObject Then Wksht.Cells(RowNum, 6) = "Detail"
If Obj.Qualification = dsMeasureObject Then Wksht.Cells(RowNum, 6) = "Measure"
Next Obj
If Cls.Classes.Count > 0 Then
Call GetObjectInfo(Cls.Classes, RowNum)
End If
Next Cls
End Sub
Above is the macro to document BO universes (Classes, Objects, TableName.FieldName, Object description, Object Type and Object Qualification ).
You need to open the excel sheet->Go to TOOLS> MACRO --->VB EDITOR (Alt+F11) and paste this code in MODULE1
To run the macro, You need to press Alt+F8 key and Click RUN button. Then designer window pops out, enter user id and password and select the required universe.
Enjoy Macro
Similar Messages
-
How to extract list of object and formula used in variables as Excel for a particular Webi Report
Hi,
Is it possible to get the list of variables and objects, and variable formula used in a webi report extracted in excel or PDF in BO XI R3.1?
Thanks In Advance,
ShenbuHi Shenbaga,
You can try to get this information using the report engine sdks of BusinessObjects which is specific to webi reports.
Please refer to the link to download the dev guide and api referrence for XI 3.1
SAP BusinessObjects BI 3.x and Lower - Developer SDK Library
Refer to the Report Engine Java SDK dev guide and api referrence.
Go through the dev guide in detail and you would be able to use the report engine sdks as per your needs.
Additional Note: There have been changes in report engine sdks from XI 3.1 to BI 4.0 and you would not be able to get all the features available in XI 3.1 report engine sdks in BI 4.0.
Hope this helps.
Regards,
Chandrahas -
How to add list of objects of class to the cookie in java
Hi all ,
I have arraylist of the object of clases like
List<CLASSNAME> sampleList = new arrayList<CLASSNAME>;where CLASSNAME contains getter,setters of fields
How can I add this sampleList to the cookies because cookie only contain cookie name and cookie value which is string only.
public void createNewCookie(String cookieName, String cookieValue, int cookieMaxAge){
HttpServletResponse httpServletResponse = (HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse();
Cookie cookie = new Cookie(cookieName, cookieValue);
cookie.setMaxAge(cookieMaxAge);
httpServletResponse.addCookie(cookie);
public String getCookie(String cookieName){
FacesContext vFacesContext = FacesContext.getCurrentInstance();
ExternalContext vExternalContext = vFacesContext.getExternalContext();
Map vRequestCookieMap = vExternalContext.getRequestCookieMap();
Cookie vMyCookie = (Cookie)vRequestCookieMap.get(cookieName);
if(vMyCookie != null)
return vMyCookie.getValue();
else
return null;
Hi Timo,
My requirement is as follow.
When anonymous user visit the website he can add the list of items he checked to buy .Add these items to list.
When any user logged in assign this list to the that logged in user.When user logged out clear this list.
So i think I have to put this list in the SessionScope it will be the best.
But what about anonymous users . When many anonymous users visit the websites can they have different list according to the anonymous user in session scope -
How to find objects and classes
hi
any notes or path on objects and classes on crm?Hi Kumara
I beleive your talking about the Classification system.
To get to this go here: SPRO->IMG->Cross-Application Components - -> Classification System - -> Classes - -> Maintain Object Keys
This will give a list of Tables which are currently set with Object Keys, you may need to add a new table and configure.
Next
To get to this go here: SPRO->IMG->Cross-Application Components - -> Classification System - -> Classes - -> Maintain Object Types and Class Types
Here you assign a Class Type to Link your Table from the previous step, this class new Class Type will be used with a New Class to created in the following steps.
Goto Transaction CT04 - Create Characteristics
Here you create effectively attributes of a Class (Fields)
Goto Transaction CL01 - Create New Class
or CL02 - Maintain Class
Create a new class linked to your Class Type from previous steps
On the Char.. Tab you can add the new Characteristics created in the previous step to your new Class.
Based on the Object Key from the first step, these new attributes shoulds all now link together. If the key is of type 'RAW' (Binary) it may not be possible to link correctly, therefore some ABAP maybe required to create the link, depending on your application.
Hope this helps.
<b>Reward with points if useful.</b>
Regards
Arden -
How to Extract the URLs,Tittles and Snippets only
Hi,
My HTML file looks like the fallowing.
[ URL = "http://www.apple.com/" Title = "Apple" Snippet = "Official site of Apple Computer, Inc." Directory Category = {SE="", FVN=""} Directory Title = "" Summary = "" Cached Size = "33k" Related information present = true Host Name = "www.apple.com" ],
[ URL = "http://www.apple.com/quicktime/" Title = "Apple - QuickTime" Snippet = "Apple's free media player supporting innumerable audio and video formats. The proversion includes an abundance of media authoring capabilities." Directory Category = {SE="", FVN=""} Directory Title = "" Summary = "" Cached Size = "7k" Related information present = true Host Name = "www.apple.com" ],
thus it contains set of URL's,tittles and Snippets.Now my task is how to extract only URL,title and snippet part only.Can you please suggest me suitable method.
thanking you inadvance.Regex is an option, here's a small start:import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class Main {
public static void main(String[] args) {
String htmlText = "[ URL = \"http://www.apple.com/\" Title = \"Apple\" Snippet = "+
"\"Official site of Apple Computer, Inc.\" Directory Category = "+
"{SE=\"\", FVN=\"\"} Directory Title = \"\" Summary = \"\" Cached "+
"Size = \"33k\" Related information present = true Host Name = "+
"\"www.apple.com\" ], [ URL = \"http://www.apple.com/quicktime/\" "+
"Title = \"Apple - QuickTime\" Snippet = \"Apple's free media player "+
"supporting innumerable audio and video formats. The proversion "+
"includes an abundance of media authoring capabilities.\" Directory "+
"Category = {SE=\"\", FVN=\"\"} Directory Title = \"\" Summary = \"\" "+
"Cached Size = \"7k\" Related information present = true Host Name = "+
"\"www.apple.com\" ],";
String regex = "[a-zA-Z]+.*?\\s+=\\s+\"(.*?)\"";
Pattern pattern = Pattern.compile(regex);
Matcher matcher = pattern.matcher(htmlText);
while(matcher.find()) {
String s = matcher.group();
System.out.println(s);
}Details: http://java.sun.com/docs/books/tutorial/essential/regex/ -
How to extract data via webservices and configure webservices in BI 7
Hi to all,
Can any body tell me How to extract data via webservices and configure webservices in BI 7.
i have created a remote functionmodule which extract data from R/3 , now i want to upload data to BI 7 using that remote function module.
i have use webservice (push) as adapter mode, as i want to connect function module with SOAP , via web services.
please can any body tell how to do that.
also how to configure the webserive , what is it .
I SHALL BE THANKFULL TO YOU FOR THAT
Regards
Pavneet ranaHi,
1. Using the function library (transaction SE37), call the Web service creation wizard.
To do this, select the desired function module in the function library and choose Utilities ®Generate Web Service ® From the Function Module.
2. Go through the following steps, shown in the wizard:
a. Create a virtual interface.
The virtual interface represents the interface between the Web Service and the outside.
b. Choose the end point.
The name of the function module that is to be offered as Web service is already entered here.
c. Create the Web service definition.
The Web service definition helps with assigning the Web service features, such as how security can be guaranteed in data transfer.
d. Release the Web service.
The wizard generates the object virtual interface and Web service definition in the object navigator.
The function group that was generated when the XML DataSource was created is not transportable and is thus assigned to a local package. To prevent errors due to transports, make sure that the objects that were generated in the Web service creation wizard are assigned to a local non-transportable package.
The Web service is released for the SOAP runtime.
3. In the virtual interface for the import parameter DATASOURCE, define the name of the XML DataSource as the fixed value.
A separate function group is generated for each XML DataSource. It makes sense to pre-assign the parameter DATASOURCE with the name of the XML DataSource in the virtual interface of the Web service for which the function group was generated.
If you do not pre-assign the parameter, it will be necessary to transfer the data sent with the appropriate filled DataSource element, for example, by setting the value in the application that implements the Web service.
a. In the object navigator, choose the name of the package in which the Web service was created and choose Enterprise Services ® Web Service Library ® Virtual Interfaces.
b. Choose Change in the context menu for the virtual interface.
c. For the virtual interface, remove the flags exposed and initial and enter the name of the XML DataSource in apostrophes, for example u20196ADATASOURCENAMEu2019.
d. Activate the virtual interface.
Regards,
Marasa. -
How can I list all users and their DEFAULT tablespace?
How can I list all users and their DEFAULT tablespace?
PeterPeter, the following short article that lists the most heavily used Oracle rdbms dictionay views might be of interest based on your question:
How do I find information about a database object: table, index, constraint, view, etc… in Oracle ? http://www.jlcomp.demon.co.uk/faq/object_info.html
HTH -- Mark D Powell -- -
Difference Between Business Object And Class Object
Hi all,
Can any one tel me the difference between business object and class Object....
Thanks...
..AshishHello Ashish
A business object is a sematic term whereas a class (object) is a technical term.
Business objects are all important objects within R/3 e.g. sales order, customer, invoice, etc.
The business objects are defined in the BOR (transaction SWO1). The have so-called "methods" like
BusinessObject.Create
BusinessObject.GetDetail
BusinessObject.Change
which are implemented (usually) by BAPIs, e.g.:
Business Object = User
User.Create => BAPI_USER_CREATE1
User.GetDetail => BAPI_USER_GET_DETAIL
CONCLUSION: Business Object >< Class (Object)
Regards
Uwe -
How to create authority check object and assign to ztcode which is of modu
Dear ,
how to create authority check object and assign to ztcode which is of custom module pool program.its urgent kindly help points rewarded.Manoj,
You can check with your Basis team to create authorisation object and assigining tcodes to the user profiles.
K.Kiran. -
Plz tell me how to create authority check objects and how to usein prg
dear sir,
plz tell me how to create authority check objects and how to usein prghttp://help.sap.com/saphelp_46c/helpdata/en/5c/deaa74d3d411d3970a0000e82de14a/content.htm
http://help.sap.com/saphelp_nw70/helpdata/en/52/6716a6439b11d1896f0000e8322d00/content.ht
Create custom authorization Customer specific object
If you have requirements that cannot be met using the P_ORGIN and P_ORGXX authorization objects (for example, because you want to build your authorization checks on additional fields of the Organizational Assignment infotype (0001) that are customer-specific), you can include an authorization object in the authorization checks yourself.
Create the authorization object using transaction SU21. Make sure you keep to the customer name range (Z/Y). To be able to use the new authorization object you have created in the master data authorization check, the object must contain the INFTY, SUBTY, and AUTHC fields. You can use any of the fields of the Organizational Assignment infotype (0001) for the other fields. You can also use customer-specific additional fields provided they are CHAR or NUMC type fields.
After you have created the object, you must start the RPUACG00 report. This report overwrites the MPPAUTZZ standard include with the code that is needed to evaluate the authorization object you created. Note: Technically speaking, this involves a modification. However, SAP fully supports this procedure. And you should not have more maintenance work as a result of this modification.
Note: that if you use customer-specific authorization objects, you must maintain these objects in transaction SU24 (Maintain Assignment of Authorization Objects to Transactions) in the same way as you maintain the authorization objects P_ORGIN, P_ORGXX, and P_PERNR
AUTHORITY CHECK OBJECT Object_name
ID fieldname1 FIELD fieldvalue1
ID fieldname2 FIELD fieldvalue2
ID fieldname3 FIELD fieldvalue3.
If sy-subrc eq 0. "Authorization exists
Endif.
http://articles.techrepublic.com.com/5100-6329_11-5110893.html
Edited by: JackandJay on Jan 16, 2008 10:21 AM -
EEWB : how to determine the business object and the extension type ?
Hi,
I ask myself how to determine the business object and the extension type to use to add new fields in a new tab of a specific transaction ? what means each business object, does that correspond to a specific transaction ?
I need to add a new tab in the BaMI business activity in transaction CRMD_ORDER just after the tab 'Actions' at header level.
Could you help me please to determine which business object and extension type I have to select during creation of the project and which business object category I have to select during creation of the extension (wizard) ?
Thanks for your help,
MarieMarie,
In order to determine what type of transaction you are extending, you will need to look at the customizing for the transaction.
In the IMG:
Goto:
Customer Relationship Management->Transactions->Basic Settings->Define Transaction Types.
You will then choose the transaction defined that you want to extend. If you display the details of the transaction you will find an attribute called:
"Leading Transaction Category". This tells you the general context in which the transaction is used. The other item to view is the assignment of business transaction categories found in the maintenance screen.
This information general corresponds to one of the options that the EEWB will give you on the transaction type.
As far as extensions go, my recommendation is the following:
- Use CUSTOMER_H Customer Header Extensions for any new fields at the header level.
- Use CUSTOMER_I Customer Item Extensions for any new fields at the item level.
Unless you have a specific requirement to extend a segment of the transaction, I recommend placing all new fields in these segments. The CUSTOMER_H & CUSTOMER_I segments are considered "standard" segments, that are already built into all the necessary API structures.
Let me know if you have any further questions.
Good luck,
Stephen -
Hi All
I am new to ABAP Objects and i feel lil difficult to under the concept and classes..can any one please give me with small example to easily understand about the tole of objects and classes..
Thanks and Regards,
Arun josephHi arun,
These are very simple concepts.There is no need to worry about it.
Object is an instance of a class.Class is an abstract description of an object. Class is a set of instructions that is used to build an object. Class represents properties of an object.
eg: Vehical, Car,Bird,Box,Student
Object represents a properties of real time entity like
engine, color,marks, legs,height,width etc.
The following links provide more information with examples.
Link:[http://help.sap.com/saphelp_nw70/helpdata/EN/c3/225b5c54f411d194a60000e8353423/frameset.htm]
Link:[http://help.sap.com/saphelp_nw70/helpdata/EN/c3/225b5c54f411d194a60000e8353423/frameset.htm]
if any more doubts, come to me with your doubts.
if it useful, reward points.
Thank you,
Prasad G.V.K -
How to extract keyframe from AVI and MPG
Hi guy,
I'm Marco and I'm using JMF; I need for an help because I don't know how to extract keyframes from AVI and MPG files.
I'm using the code posted in this forum for extracting all frame in a video with the adding of an if expression that in the accessFrame method that I report below:
void accessFrame(Buffer frame) {
BufferToImage stopBuffer = new BufferToImage((VideoFormat) frame.getFormat());
Image stopImage = stopBuffer.createImage(frame);
try {
BufferedImage outImage = new BufferedImage(size.width, size.height, BufferedImage.TYPE_INT_RGB);
Graphics og = outImage.getGraphics();
og.drawImage(stopImage, 0, 0, size.width, size.height, null);
Iterator writers = ImageIO.getImageWritersByFormatName("jpg");
ImageWriter writer = (ImageWriter) writers.next();
File f = new File(frame.getSequenceNumber() + ".jpg");
{color:#ff0000}
if ((frame.getFlags() & Buffer.FLAG_KEY_FRAME) != 0){{color}
{color:#ff9900}
ImageOutputStream ios = ImageIO.createImageOutputStream(f);
writer.setOutput(ios);
{color}
{color:#ff9900}
writer.write(outImage);
ios.close();}
} catch (IOException e) {{color}
System.out.println("Error :" + e);
So, I'm able to extract some keyframe, but i'm not sure it is the correct way and my dubt grows out of the fact that without the if expression highlighted in red, it seems that I have more keyframes (those ones with flag ==1040). Another problem is that it works only with AVI because MPG instead of 1040, they have alternate sequence of 32 and 1056.
Cheers and thank u
Marcomy email-id is [email protected].. anyone plz send me the codings for extracting all the frames from a video..
-
How to find a autorization object and roles for paricuu00F6llar documetytpe(DMS
Hello,
I have a question,Its urgent ..#
For a particular document type (for example PPN)..
How to find a authorization object and roles...Please let me know.
In the DIS which autority object and roles they use it for this.
<b><REMOVED BY MODERATOR></b>
Regards
preethi
Message was edited by:
Alvaro Tejada GalindoThis issue seems to be resolved since jDeveloper/ADF 11.1.1.3.
Am I true? -
How to find a autorization object and roles for paricuöllar documetytpe(DMS
Hello,
I have a question,Its urgent ..#
For a particular document type (for example PPN)..
How to find a authorization object and roles...Please let me know.
In the DIS which autority object and roles they use it for this.
Reward with full points
Regards
preethiThis issue seems to be resolved since jDeveloper/ADF 11.1.1.3.
Am I true?
Maybe you are looking for
-
Lost old computer how can I sync with new?
The computer I used to sync my iPhone has stopped working and I really would like to sync my phone so is there any way to sync my phone to another computer without losing everything?
-
Availability of Zen Micro 4 GB en 6 GB editions in Holla
Hey everyone I'm interested in buying one of those Zen Micro mp3 players, but in Holland there's still only the 5 GB edition available. I know that in the US they are about to launch a 4 GB and 6 GB edition too. Does anyone know if these types are al
-
Gapless playback information...? waht?
Okay. Every single time I open iTunes, I get thing thing at the top saying that iTunes is "Determining Gapless Playback Information" for 4 songs that are not in my library. I know this for certain. How on Earth to do I stop this. It is quite annoying
-
History for a person more than three months
Hi Any body can reply how can I found a history of a certain person for more than three months.
-
Query on bpel.config.OneWayDelivery Property
Hello, I have a query on bpel.config.OneWayDelivery Property. Scenario : In case of any error in BpelProcess A , it will call BpelProcess B .So BpelProcessB will be called in the catchAll branch of Process A. After calling Process B, i am throwing a