Object type, how to search in OWB

Hi,
We have got a list of object types, which will be affected from a license-change.
e.g.: XML Files as a target, Operators for pluggable mapping....
So how do I search for such object-types, to see, if we have such in our OWB-World ?
thx for any hint.
kancom

Try this line instead
query_type.Value ="*='Account'*";
instead of
query_type.Value ="Account";
Means make it like a search criteria like in SQL,ie., equals followed by single quoted sometext *='sometext'*
Let me know if that worked....
Regards,
Deepak H Andeli

Similar Messages

  • Given a business object type, how to find out the underlying table name ?

    Hi,
    Given a business object type (e.g. BUSxxx), is there any Function Module that can be used to get the table name for that object ?
    Have been through the SWO* FM's but did not get anything yet.
    Pls let me know how this can be done.
    Regards,
    -Kev.

    >
    Kelevenwise wrote:
    > Thanks Christine for the response..
    > Let me add a few more details to clarify my requirement
    >
    > I need to read the data of business objects (not a specific one, but the application should be able to read data of any business object). Given a table name, I am able to figure out the column information and read that data. But all I have is the business object type, so would need to figure out all the tables (as you helpfully pointed out, there could be more than 1 for a business object) and then read from those tables.
    >
    > The reason I feel I cannot use the business objects methods directly is because I would not know which method to call to get me the relevant data - this is an external application, not called from within the system.
    >
    > Is there another way to achieve this requirement ?
    >
    > Regards,
    > - Kev.
    So, assuming for the moment we are just dealing with the PO BUS2012 business object, your external application will be passing you a BO type and also (presumably- otherwise you could be sending back an awful lot of data) a BO key,  and you then want to send back all the detail for PO - exactly what the GetDetail method that is present on most objects does - is that right?
    Since most BOs have a GetDetail method, can't you just use that? 
    Though I really can't see why your external application would be interested in all SAP BOs - most applications are a bit more specific than that.

  • SRM 7.0 Advanced Search Object Type

    Dear All,
    We use SRM 7.0, I want to remove some object types from Advanced Search options in Portal. For example, in standard advanced search, you can select shopping card, confirmation, purchase order, contract... etc. And i dont want some emplyees to see all purchase order or contracts.
    How am i going to delete for example purchase order option from advanced search ?
    Best regards,

    Hi
    Advanced search drop down menu is based on SPRO configuration
    SRM server -- Cross application basic settings -- POWL and Adv search
    Here Standard object types will be defined as SAP entries under define objects types for advanced search.
    Also, default application will be assigned for each object types.
    If you deleted any of these standard object types, then that object type will not be available in advanced search for any SRM roles. However, that is not advisable to deleted standard objects.
    Alternatively, if you want restrict certain group of users to access the some object types, you can control through the configuration powl_queryR which is query visibility at role level.
    You can control the the same at user level if you want through powl_queryU
    Regards,
    Krish

  • Has anyone used Object types in developer

    If Oracle tables are based on Object types, how does Oracle developer recognise them. Can those tables be used ? I mean if I created a type like :
    CREATE TYPE address_typ AS OBJECT (
    street VARCHAR2(15),
    city VARCHAR2(15),
    state CHAR(2),
    zip VARCHAR2(5)
    and another type :
    CREATE TYPE person_typ AS OBJECT (
    id NUMBER,
    first_name VARCHAR2(10),
    last_name VARCHAR2(10),
    dob DATE,
    phone VARCHAR2(12),
    address address_typ);
    and then create a table object_customers :
    CREATE TABLE object_customers OF person_typ;
    Can i use this table in Oracle developer forms ? If anyhow ?

    Yes I added the same 1GB Corsair back in May 2006 to the stock 512MB. Replace the 512MB with the 1GB then put the 512MB in the other slot. Slide them in untill you feel then stop, then give them a hard shove to seat them into there slots. After you have seated both modules close the ejector clips and replace the cover.
    http://docs.info.apple.com/article.html?artnum=303084
    That extra 1GB will make a big difference, you'll love it.
    Dennis
    17" iMac Intel Core Duo 1.5GB Ram   Mac OS X (10.4.8)   Maxtor 300GB FireWire 2G Nano

  • ORA-39112: Dependent object type

    hi,
    i had exported in one database.Based on the export file i have imported another dataabse.i got the below error,
    ORA-39112: Dependent object type
    how to solve this issues?.
    By
    siva

    Hello kn,
    Please refer to the following link [ORA-39112: Dependent object type |http://ora-39112.ora-code.com/|Click]
    *009*
    Edited by: 009 on Dec 16, 2009 10:22 PM

  • Need help :: how to search in nested table/varray data type

    I have the following structure...
    CREATE TYPE lang_con AS VARRAY(15) OF VARCHAR2(50);
    CREATE TYPE rel_con AS VARRAY(15) OF VARCHAR2(50);
    CREATE TABLE Country_n(
    "NAME" VARCHAR2(40 BYTE) CONSTRAINT "COUNTRY_NAME_NOTNULL_N" NOT NULL ENABLE,
    "CODE" CHAR(2 BYTE),
    "CAPITAL" VARCHAR2(40 BYTE),
    "PROVINCE" VARCHAR2(40 BYTE),
    "POPULATION" NUMBER,
    "AREA" NUMBER,
    "LANGUAGES" lang_con,
    "RELIGIONS" rel_con
    after inserting data from 3 different table (country, language, religion) the table looks like this....
    Cyprus cy Nicosia Government controlled area 775927 9250 VARCHAR(English,Greek,Turkish) VARCHAR(Greek Orthodox,Muslim)
    Czech Republic cz Prague Prague 10246178 78866 VARCHAR(Czech) VARCHAR(Orthodox,Protestant,Roman Catholic)
    Germany de Berlin Berlin 82424609 357021 VARCHAR(German) VARCHAR(Muslim,Protestant,Roman Catholic)
    Djibouti dj Jibuti Jibuti 466900 23000 VARCHAR(Afar,Arabic,French,Somali) VARCHAR(Christian,Muslim)
    Denmark dk Copenhagen Frederiksberg Kommune 5413392 43094 VARCHAR(Danish,Faroese,German,Greenlandic) VARCHAR(Evangelical Lutheran,Muslim)
    now I want to get the countries in which german language is being spoken. Actually I need to know how to search in this custom data type of mine....I also need to perform other operation further so really need to know how can I search in this custom data type...
    when I execute the following query....
    select * from country_n cn where cn.languages like '%German%' order by name
    I got the following error....
    Error starting at line 1 in command:
    select * from country_n cn where cn.languages like '%German%' order by name
    Error at Command Line:1 Column:33
    Error report:
    SQL Error: ORA-00932: inconsistent datatypes: expected NUMBER got AHMADM.LANG_CON
    00932. 00000 - "inconsistent datatypes: expected %s got %s"
    *Cause:   
    *Action:
    let me know please...looking forward to your replies....
    Thanks,

    Hi,
    Try this:
    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    SQL>
    SQL> SELECT t1.*
      2    FROM country_n t1,
      3         TABLE(t1.languages) t2
      4   WHERE column_value LIKE '%German%';
    NAME                                     CODE CAPITAL                                  PROVINCE                                 POPULATION       AREA LANGUAGES RELIGIONS
    Germany                                  de   Berlin                                   Berlin                                     82424609     357021 <Object>  <Object>
    SQL> Regards,

  • Customizing Search Results - Relevance, object type

    Hello,
    We would like to customize our search so that it will always return pages first, then Global Links, then Documents. Each of these should then be sorted by relevance.
    Can anyone suggest what might be the best way to accomplish this?
    Thanks!
    ~Kevin.

    Hi Kevin
    Even I am working on similar UI customization of the search view, so that each object type result is grouped in a different table.
    Kindly let me know how to achieve this

  • How to sort a Vector that stores a particular object type, by an attribute?

    Hi guys,
    i need help on this problem that i'm having. i have a vector that stores a particular object type, and i would like to sort the elements in that vector alphabetically, by comparing the attribute contained in that element. here's the code:
    Class that creates the object
    public class Patient {
    private String patientName, nameOfParent, phoneNumber;
    private GregorianCalendar dateOfBirth;
    private char sex;
    private MedicalHistory medHistory;
    public Patient (String patientName, String nameOfParent, String phoneNumber, GregorianCalendar dateOfBirth, char sex) {
    this.patientName = patientName;
    this.nameOfParent = nameOfParent;
    this.phoneNumber = phoneNumber;
    this.dateOfBirth = dateOfBirth;
    this.sex = sex;
    this.medHistory = new MedicalHistory();
    Class that creates the Vector.
    public class PatientDatabase {
    private Vector <Patient> patientDB = new Vector <Patient> ();
    private DateFunction date = new DateFunction();
    public PatientDatabase () throws IOException{
    String textLine;
    BufferedReader console = new BufferedReader(new FileReader("patient.txt"));
    while ((textLine = console.readLine()) != null) {
    StringTokenizer inReader = new StringTokenizer(textLine,"\t");
    if(inReader.countTokens() != 7)
    throw new IOException("Invalid Input Format");
    else {
    String patientName = inReader.nextToken();
    String nameOfParent = inReader.nextToken();
    String phoneNum = inReader.nextToken();
    int birthYear = Integer.parseInt(inReader.nextToken());
    int birthMonth = Integer.parseInt(inReader.nextToken());
    int birthDay = Integer.parseInt(inReader.nextToken());
    char sex = inReader.nextToken().charAt(0);
    GregorianCalendar dateOfBirth = new GregorianCalendar(birthYear, birthMonth, birthDay);
    Patient newPatient = new Patient(patientName, nameOfParent, phoneNum, dateOfBirth, sex);
    patientDB.addElement(newPatient);
    console.close();
    *note that the constructor actually reads a file and tokenizes each element to an attribute, and each attribute is passed through the constructor of the Patient class to instantiate the object.  it then stores the object into the vector as an element.
    based on this, i would like to sort the vector according to the object's patientName attribute, alphabetically. can anyone out there help me on this?
    i have read most of the threads posted on this forum regarding similar issues, but i don't really understand on how the concept works and how would the Comparable be used to compare the patientName attributes.
    Thanks for your help, guys!

    Are you sure that you will always sort for the patient's name throughout the application? If not, you should consider using Comparators rather than implement Comparable. For the latter, one usually should ensure that the compare() method is consistent with equals(). As for health applications it is likely that there are patients having the same name, reducing compare to the patient's name is hazardous.
    Both, Comparator and Comparable are explained in Sun's Tutorial.

  • How to return Values from Oracle Object Type to Java Class Object

    Hello,
    i have created an Oracle Object Types in the Database. Then i created Java classes with "jpub" of these types. Here is an example of the type.
    CREATE OR REPLACE TYPE person_type AS OBJECT
    ID NUMBER,
    vorname VARCHAR2(30),
    nachname VARCHAR2(30),
    geburtstag DATE,
    CONSTRUCTOR FUNCTION person_type RETURN SELF AS RESULT,
    CONSTRUCTOR FUNCTION person_type(p_id NUMBER) RETURN SELF AS RESULT,
    CONSTRUCTOR FUNCTION person_type(p_vorname VARCHAR2,
    p_nachname VARCHAR2,
    p_geburtstag DATE) RETURN SELF AS RESULT,
    MEMBER FUNCTION object_exists(p_id NUMBER) RETURN BOOLEAN,
    MEMBER PROCEDURE load_object(p_id NUMBER),
    MEMBER PROCEDURE save_object,
    MEMBER PROCEDURE insert_object,
    MEMBER PROCEDURE update_object,
    MEMBER PROCEDURE delete_object
    MEMBER PROCEDURE load_object(p_id NUMBER) IS
    BEGIN
    SELECT p.id, p.vorname, p.nachname, p.geburtstag
    INTO SELF.ID, SELF.vorname, self.nachname, SELF.geburtstag
    FROM person p
    WHERE p.id = p_id;
    END;
    My problem is, that if i use the member function "load_object" from my java app it doesnt return the selected values to the java class and i dont know why. I use the java class like this:
    PersonObjectType p = new PersonObjectType();
    p.load_object(4);
    There is a reocrd in the database with id = 4 and the function will execute successful. But if i try to use "p.getVorname()" i always get "NULL". Can someone tell me how to do that?
    Thanks a lot.
    Edited by: NTbc on 13.07.2010 15:36
    Edited by: NTbc on 13.07.2010 15:36

    CallableStatement =
    "DECLARE
    a person_type;
    BEGIN
    a.load_object(4);
    ? := a;
    END;"
    And register as an out parameter.
    Edited by: michael76 on 14.07.2010 05:01

  • I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show up.  How do I prevent this?

    I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show and open up.  How do I prevent this?

    Log in to your account, and move all your files to your home folder. No other users should be able to access them there and they won't show up with a Spotlight search.
    Make sure your kids' account(s) do not have admin privileges.

  • How to pass an IN argument of object type from VB

    I need to call a PL/SQL function in Oracle 8.1.6 from VB. One of the IN arguments is an object type (TYPE). How would I instantiate the variable of Oracle object type on VB side so that it can be passed to the Oracle?
    Thank you

    Hi,
    Per the ODP docs,
    ODP.NET supports binding parameters of PL/SQL Associative Arrays which contain the following data types.
    +■ BINARY_DOUBLE+
    +■ BINARY_FLOAT+
    +■ CHAR+
    +■ DATE+
    +■ NCHAR+
    +■ NUMBER+
    +■ NVARCHAR2+
    +■ RAW+
    +■ ROWID+
    +■ UROWID+
    +■ VARCHAR2+
    It should work if you create a UDT to hold a varray of mdsys.sdo_geometry, for example.
    Hope it helps,
    Greg

  • How To Declare an Exception As a Field Inside an Object Type

    Hi All;
    How can i declare(define as a property) an exception in a object type?
    Best Regards...
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    Connected as hr
    SQL>
    SQL> CREATE TYPE ex_t AS OBJECT
      2  (
      3    i NUMBER,
      4    e EXCEPTION,
      5    MEMBER FUNCTION get_i RETURN number
      6  )
      7  ;
      8  /
    Warning: Type created with compilation errors
    SQL> show err
    Errors for TYPE HR.EX_T:
    LINE/COL ERROR
    PLS-00103: Encountered the symbol "EXCEPTION" when expecting one of the following:      
    <an identifier> <a double-quoted delimited-identifier> LONG_     double ref char time timestamp interval date binary national
    character nchar  The symbol "<an identifier> was inserted before "EXCEPTION" to continue. 
    SQL>

    > 2- You could create a different class just to handle exceptions and call it from this one (again you would build a varchar2 attribute to pass the message).
    Like this one perhaps. (I've not looked at it in a couple of years though.)
    EXCEPTION is not a SQL datatype. Valid datatypes are listed here.

  • How to trigger a form based on object type and process type

    Hi all,
    I am new into SRM.. I have been asked to develop a form by cloning an existing standard form..
    Using bbp_output_change_sf badi you can trigger the form by passing the object type but the scenario is such that depending on the object type and process type the new form should be triggered.
    The parameter iv_object_type passes the object type but how could i pass the process type ?
    In the badi I noticed an import parameter is_event that has a field called transction_type that carries the process type but this field never got populated when i checked using debugger.
    Please help as to how i can trigger the form based on the object_type and the process_type.
    Thanx in advance.

    Thanx again Jay Yang.. Well is there any possibility that you could get the items that were confirmed..
    Let me eleborate..
    Suppose in the PO u order an item for 10 nos and 5 gets confirmed and u return 2..
    Well in my case it is that i need to fill up a field Qty returned / Qty confirmed..
    I was able to get the number of items from the PO by passing the the passing the parameter to the FM "bbp_pd_conf_getdetaill"
    but i dont know how to get the number of items been confirmed..
    The quantity field in the line item structure gives me the number of items returned..
    Can u tell me how to get the number of items been confirmed....

  • How to include the ordinary program in the BOR object type program

    Hi Guys, while i am trying to include a program in the BOR object type program. It is showing the following error:
    "Statement 'INCLUDE Z_ERC_SEARCH_VALOFACT_MACRO .' is not permitted in BOR".
    then, i tried to add  "<" and ">" to enclose it, but it wants the access key to create it.   anyone knows how to add the ordinary program in the BOR object type program.

    It's correct that we CAN'T insert our INCLUDES in BOR program. We CAN only use TYPE-POOLS there. So you can create Type Group with TYPES, CONSTANTS and DEFINE statements, and then use them in BOR programs.
    Using DEFINE you can construct MACROs with parameters and call your code there. It's limited, and not the easiest way, but some things can be achieved this way. Also forget about using Code Patterns while editing Type Group.
    Note: Use TYPE-POOLS statement after INCLUDE statement in BOR program .
    Best regards,
    Tomas.

  • Dynamically built query on execution How to save the data in Object Type

    Hi,
    In pl/sql I am building and executing a query dynamically. How can I stored the output of the query in object type. I have defined the following object type and need to store the
    output of the query in it. Here is the Object Type I have
    CREATE OR REPLACE TYPE DEMO.FIRST_RECORDTYPE AS OBJECT(
    pkid NUMBER,
    pkname VARCHAR2(100);
    pkcity VARCHAR2(100);
    pkcounty VARCHAR2(100)
    CREATE OR REPLACE TYPE DEMO.FIRST_RECORDTYPETAB AS TABLE OF FIRST_RECORDTYPE;Here is the query generated at runtime and is inside a LOOP
    --I initialize my Object Type*
    data := new FIRST_RECORDTYPETAB();
    FOR some_cursor IN c_get_ids (username)
    LOOP
    x_context_count := x_context_count + 1;
    -- here I build the query dynamically and the same query generated is
    sql_query := 'SELECT pkid as pid ,pkname as pname,pkcity as pcity, pkcounty as pcounty FROM cities WHERE passed = <this value changes on every iteration of the cursor>'
    -- and now I need to execute the above query but need to store the output
    EXECUTE IMMEDIATE sql_query
    INTO *<I need to save the out put in the Type I defined>*
    END LOOP;
    How can I save the output of the dynamically built query in the Object Type. As I am looping so the type can have several records.
    Any help is appreciated.
    Thanks

    hai ,
    solution for Dynamically built query on execution How to save the data in Object Type.
    Step 1:(Object creation)
    SQL> ED
    Wrote file afiedt.buf
    1 Create Or Replace Type contract_details As Object(
    2 contract_number Varchar2(15),
    3 contrcat_branch Varchar2(15)
    4* );
    SQL> /
    Type created.
    Step 2:(table creation with object)
    SQL> Create Table contract_dtls(Id Number,contract contract_details)
    2 /
    Table created.
    Step 3:(execution Of procedure to insert the dynamic ouput into object types):
    Declare
    LV_V_SQL_QUERY Varchar2(4000);
    LV_N_CURSOR Integer;
    LV_N_EXECUTE_CURSOR Integer;
    LV_V_CONTRACT_BR Varchar2(15) := 'TNW'; -- change the branch name by making this as input parameter for a procedure or function
    OV_V_CONTRACT_NUMBER Varchar2(15);
    LV_V_CONTRACT_BRANCH Varchar2(15);
    Begin
    LV_V_SQL_QUERY := 'SELECT CONTRACT_NUMBER,CONTRACT_BRANCH FROM CC_CONTRACT_MASTER WHERE CONTRACT_BRANCH = '''||LV_V_CONTRACT_BR||'''';
    LV_N_CURSOR := Dbms_Sql.open_Cursor;
    Dbms_Sql.parse(LV_N_CURSOR,LV_V_SQL_QUERY,2);
    Dbms_Sql.define_Column(LV_N_CURSOR,1,OV_V_CONTRACT_NUMBER,15);
    Dbms_Sql.define_Column(LV_N_CURSOR,2,LV_V_CONTRACT_BRANCH,15);
    LV_N_EXECUTE_CURSOR := Dbms_Sql.Execute(LV_N_CURSOR);
    Loop
    Exit When Dbms_Sql.fetch_Rows (LV_N_CURSOR)= 0;
    Dbms_Sql.column_Value(LV_N_CURSOR,1,OV_V_CONTRACT_NUMBER);
    Dbms_Sql.column_Value(LV_N_CURSOR,2,LV_V_CONTRACT_BRANCH);
    Dbms_Output.put_Line('CONTRACT_BRANCH--'||LV_V_CONTRACT_BRANCH);
    Dbms_Output.put_Line('CONTRACT_NUMBER--'||OV_V_CONTRACT_NUMBER);
    INSERT INTO contract_dtls VALUES(1,CONTRACT_DETAILS(OV_V_CONTRACT_NUMBER,LV_V_CONTRACT_BRANCH));
    End Loop;
    Dbms_Sql.close_Cursor (LV_N_CURSOR);
    COMMIT;
    Exception
    When Others Then
    Dbms_Output.put_Line('SQLERRM--'||Sqlerrm);
    Dbms_Output.put_Line('SQLERRM--'||Sqlcode);
    End;
    step 4:check the values are inseted in the object included table
    SELECT * FROM contract_dtls;
    Regards
    C.karukkuvel

Maybe you are looking for

  • How can i reset my passcode if I forgot it?

    I've forgotten my passcode for the restrictions on my ipad (first generation). I tried numerous options, and was hoping that I would receive a link in an e-mail to reset it, but this isn't the case. I am now frustrated beyond belief, and am ready to

  • How do I get all Finder windows to open in spatial view?

    How do I get all Finder windows without special view options set to open in the 'spatial' mode (without the toobar or sidebar)? The ones I specifically change stay that way, but I want all new and old folders to be like that too.

  • DATABASE ITEM VALUE AS WINDOW TITLE

    Hai Everyone, I want my Window title to display customer ID and customer name ,how can i do it.........???????????. I tried with SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,TITLE,'ORDER.CUSTOMER_ID'); in WHEN-NEW-FORM-INSTANCE.It didn't work. Kindly help.

  • Vendor return incase of Import Procurement

    In my case comapny procuring material of 10 kg from germany and out of that 2 kg are damaged comletely.Since we are not sending material back to vendor due to may be frieght cost. Plz suggest me how can i go for availing credit of excise duties where

  • Temp tablespace issue

    Hi, We are facing continuous problem of slow performance in some applications...i found that temp tablespace is becoming full frequently...so after that reports are getting delayed..is there any permanent fix for this problem.. We have recreated the