Advice needed on CTMS_DDB_SELECT_OBJECTS - Retrieving objects by characteri

Can anyone help ?
We are trying to select all materials of a certain characteristic using function CTMS_DDB_SELECT_OBJECTS.
The input parameter for this is IMP_REL_CHARACTERISTICS which is defined as SAP table API_CHAR.
Returned should be a list of the objects that match the characteristics sent and the associated characteristic values.
How should this file be initialised ?
Is there any pre-processing required , for example to set CLDAR ?
Has anyone got an example using this function?
Any help would be greatly appreciated.
Regards
Michael
Edited by: Michael Dunn on Apr 22, 2009 10:25 AM
Edited by: Michael Dunn on Apr 22, 2009 11:04 AM

Great howto Steve! This further increased my understanding of the MVC patterns used by BC4J.
Some remarks:
[*]Select New Business Components...
This should be 'New Business Components Package', or you won't be able to add business components.
ename as "Name",
sal as "Salary"
from emp
where empno = ?That should be deptno.
[*]Select the EditEmpsInDepartment view objectThat should be EmpsInDepartment.
Greetings,
Ivo

Similar Messages

  • Unable to retrieve Object.  Failed to load database information

    I am getting the following error when trying to run my reports from Crystal XI with SQL Server 2005.
    CrystalReportViewer
    Error in File 180+DAYREP.EWARP: Failed to load database information.
    Unable to retrieve Object.
    Error in File 180+DAYREP.EWARP: Failed to load database information.
    I have done some research on this but no luck on resolving the issue.
    Any suggestions are welcome thanks.

    First thought is that the application cannot access the DSN or database driver that the report was designed on, this could be permissions.
    I tried to ping my database and was unable to find the host.  I was under the assumption it was using TNSNames which is able to resolve. 
    How can I validate the permissions?
    As I said I'm a little lost here.  Apologies if I ask stupid questions.

  • CrystalReportViewer Failed to Open the connection Unable to retrieve Object

    I am getting the following Error on trying to view a report in the CMC and the Infoview.
    CrystalReportViewer
    Failed to Open the connection. ReportName
    Unable to retrieve Object.
    Failed to open the connection. ReportName
    I have recently re-installed Crystal Reports Server XI  on a server after a disk failure. I had a backup of my CMS database. I reinstalled the Crystal Servwer without atttaching this database, however crystal did not create a new db so I attached my old one.
    I have deleted all my old ODBC connections and recreated them with new names and then reconnected my reports in Crystal Reports XI using the "Set Datasource Location" option and the report works fine.But as soon as I try to view it after uploading it as an object onto the server, I get the above error.
    Any help would be appreciated.

    I am tagging into this unanswered question as well because I think I have a similar issue.  In my case I have a report which runs correctly in Crystal Reports designer but when I move it to the scheduler it fails on a "Failed to connect" to the report.  In have used "Set data location" to no avail.  When I go to Admin Tools and look at the complete list of datasources for all my reports this particular datasource is listed twice.  The group of reports under one of the datasources works correctly.  The reports listed under the second datasource all fail.  The two datsources are spelled exactly the same and when I sompare the database details for a successfull and a failing report using this datasource they are the same (in the console and in infoview).
    I have also checked the ODBC connections on the Crystalserver and there is only one occureence.
    Any ideas?
    Thanks!

  • Help needed in Identifying dependent objects

    Hi all,
    Basically I need to identify the object related to Integration which is not there in one of our software product under development as compare to other(existing) already developed so that we can apply them in the product being developed.
    I need to find these below from few of the packages given to me
         dependent packages/functions to read and update data
    1)     Tables
    2)     Packages
    3)     Triggers
    4)     Views
    5) Jobs
    I would request you to help me in carrying out this faster, I have plsql Developer tool, how to start with so that i m not mess up with and complete it faster.
    Regards,
    Asif.

    Thankx Pierre Forstmann.
    Dear All,
    Can any one help me in identifying all dependent objects for one object.
    Will this works for me I found from the above link provided,
    as for the time being I do not have the dba priviliges...
    If I am able to get the dba prviliges will this code works for me to get the
    required information....
    Regards,
    AAK.
    SQL>
    create or replace type myScalarType as object
    ( lvl number,
    rname varchar2(30),
    rowner varchar2(30),
    rtype varchar2(30)
    Type created.
    SQL> create or replace type myTableType as table of
    myScalarType
    Type created.
    SQL>
    SQL> create or replace
    function depends( p_name in varchar2,
    p_type in varchar2,
    p_owner in varchar2 default USER,
    p_lvl in number default 1 ) return myTableType
    AUTHID CURRENT_USER
    as
    l_data myTableType := myTableType();
    procedure recurse( p_name in varchar2,
    p_type in varchar2,
    p_owner in varchar2,
    p_lvl in number )
    is
    begin
    if ( l_data.count > 1000 )
    then
    raise_application_error( -20001, 'probable connect by loop,
    aborting' );
    end if;
    for x in ( select /*+ first_rows */ referenced_name,
    referenced_owner,
    referenced_type
    from dba_dependencies
    where owner = p_owner
    and type = p_type
    and name = p_name )
    loop
    l_data.extend;
    l_data(l_data.count) :=
    myScalarType( p_lvl, x.referenced_name,
    x.referenced_owner, x.referenced_type );
    recurse( x.referenced_name, x.referenced_type,
    x.referenced_owner, p_lvl+1);
    end loop;
    end;
    begin
    l_data.extend;
    l_data(l_data.count) := myScalarType( 1, p_name, p_owner, p_type );
    recurse( p_name, p_type, p_owner, 2 );
    return l_data;
    end;
    Function created.
    SQL>
    SQL> set timing on
    SQL>
    SQL> select * from table(
    cast(depends('DBA_VIEWS','VIEW','SYS') as myTableType ) );
    ---select * from table(cast('USER_VIEWS') as myTableType ) );
    LVL     RNAME          ROWNER          RTYPE
    1     DBA_VIEWS     SYS               VIEW
    2     TYPED_VIEW$ SYS               TABLE
    2     USER$          SYS               TABLE
    2     VIEW$          SYS               TABLE
    2     OBJ$          SYS               TABLE
    2     SUPEROBJ$ SYS               TABLE
    2     STANDARD SYS               PACKAGE
    7 rows selected.
    Elapsed: 00:00:00.42
    SQL>
    SQL>
    SQL> drop table t;
    Table dropped.
    Elapsed: 00:00:00.13
    SQL> create table t ( x int );
    Table created.
    Elapsed: 00:00:00.03
    SQL> create or replace view v1 as select * from t;
    View created.
    Elapsed: 00:00:00.06
    SQL> create or replace view v2 as select t.x xx, v1.x yy from
    v1, t;
    View created.
    Elapsed: 00:00:00.06
    SQL> create or replace view v3 as select v2.*, t.x xxx, v1.x
    yyy from v2, v1, t;
    View created.
    Elapsed: 00:00:00.07
    SQL>
    SQL>
    SQL> select lpad(' ',lvl*2,' ') || rowner || '.' || rname ||
    '(' || rtype || ')' hierarchy
    2 from table( cast(depends('V3','VIEW') as myTableType ) );
    HIERARCHY
    OPS$TKYTE.V3(VIEW)
    OPS$TKYTE.T(TABLE)
    OPS$TKYTE.V1(VIEW)
    OPS$TKYTE.T(TABLE)
    OPS$TKYTE.V2(VIEW)
    OPS$TKYTE.T(TABLE)
    OPS$TKYTE.V1(VIEW)
    OPS$TKYTE.T(TABLE)
    8 rows selected.
    Message was edited by:
    460425

  • I have tried everything I know to retrieve the iPhoto Library app.  I detest this new Photo app, which obviously wasn't designed with photographers in mind.  I desperately need help in retrieving the old app and have not been able to do it so far.

    I have tried everything I know to retrieve the iPhoto Library app.  I detest this new Photo app, which obviously wasn't designed with photographers in mind.  I desperately need help in retrieving the old app and have not been able to do it so far.  I have gone to my app folder and tried to update my iPhoto Library.  I have gone to my trash and brought it over to my desktop and still cannot use it.  Please help!

    Try this fix discovered by User photosb189:
    From Finder, hold down the option key on your keyboard and click on the Go menu at the top of the screen
    Select Library from the drop down menu
    Then navigate to Application Support > iLifeAssetManagement > assets
    Right click on the 'sub' folder and choose Compress
    Drag the resulting zip file to your Desktop (as a backup)
    Go to your System Preferences and choose iCloud
    Turn OFF the iCloud Photos option
    Go back to Library > Application Support and DELETE the iLifeAssetManagement folder
    Now, in System Preferences, turn the iCloud Photos option ON
    iPhoto should now be able to launch. Give it enough time to re-download your Photo Stream content. if you are missing any of your My Photo Stream photos (more than 30 days old), unzip the sub folder on your desktop and drag that into iPhoto.

  • Object is invalid on object.parentStory.characters.item(i+1).fontStyle;

    Hey guys,
    I have an array where I save the contents of a textFrame, where "object" is the textFrame.
    textContent = object.contents;
    Then I have a for loop to loop  through all items. With
    if(i > 0)
    object.parentStory.characters.item(i-1).fontStyle.toString().toLowerCase();
    object.parentStory.characters.item(i).fontStyle.toString().toLowerCase();
    if(i < textContent.length-1)
    object.parentStory.characters.item(i+1).fontStyle.toString().toLowerCase();
    I am getting the previous, current and next styles. It's for xml purposes and with this I can add a "<b>" , "<i>", etc. tag for my objects. The problem occuring now is that on some point, object.parentStory.characters.item(i+1).fontStyle; returns "object is invalid".
    That being said, item(i+1) is valid. If I alert this, it says "object [character]". I tried to use if(object.parentStory.characters.item(i+1).hasOwnProperty('fontStyle')), but it didn't work. I don't know why it throws this error and I couldn't find any solution to this problem on the web.
    Has anybody experienced this?  Here is the complete code(without italic and bold italic):
    function spliceSlice(str, index, count, add) {
      return str.slice(0, index) + (add || "") + str.slice(index + count);
    function checkFontStyle(object){
        textContent = object.contents;
        for(i = 0; i < textContent.length; i++){
            style = object.parentStory.characters.item(i).fontStyle.toString().toLowerCase();
            if(i > 0)
                prevStyle = object.parentStory.characters.item(i-1).fontStyle.toString().toLowerCase();
            if(i < textContent.length - 1){
                nextStyle = object.parentStory.characters.item(i+1).fontStyle.toString().toLowerCase();
            if(style.indexOf('bold') > -1){
                if(prevStyle.indexOf('bold') > -1){
                else if(nextStyle.indexOf('bold') < -1){
                    textContent.spliceSlice(textContent, i, 0, '[/b]');
                else{
                    textContent = spliceSlice(textContent, i, 0, '[b]');
        return textContent;
    The desired behaviour would be, that if the current object has no "fontStyle" it should just skip this iteration.

    be carefull with var totalPages = parseInt(app.activeWindow.activePage.name);
    the pagename can be (for ex.) "MXIV", if you use roman numbering.
    use .documentOffset to be on the safe side.

  • Need help for finding objects impacted by size change for an infoobject

    hi all,
    need help for finding objects impacted by size change
    for xxx infoobject, due to some requirements, the size to be changed from
    char(4) to char(10), in the source database tables as well as adjustment
    to be done in BI side.
    this infoobject xxx is nav attribute of YYY as well as for WWW
    infoobjects. and xxx is loaded from infopkg for www infoobject load.
    now that i have to prepare an impact analysis doc for BI side.
    pls help me with what all could be impacted and what to be done as a
    solution to implement the size change.
    FYI:
    where used list for xxx infoobject - relveals these object types :
    infocubes,
    infosources,
    tranfer rules,
    DSO.
    attribute of characteristic,
    nav attribute,
    ref infoobject,
    in queries,
    in variables

    Hi Swetha,
    You will have to manually make the table adjustments in all the systems using SE14 trans since the changes done using SE14 cannot be collected in any TR.
    How to adjust tables :
    Enter the table name in SE14. For ex for any Z master data(Say ZABCD), master data table name would be /BIC/PZABCD, text table would be /BIC/TZABCD. Similarly any DSO(say ZXYZ) table name would be /BIC/AZXYZ00 etc.
    Just enter the table name in SE14 trans --> Edit --> Select the radio button "Save Data" --> Click on Activate & adjust database table.
    NOTE : Be very careful in using SE14 trans since there is possibility that the backend table could be deleted.
    How to collect the changes in TR:
    You can collect only the changes made to the IO --> When you activate, it will ask you for the TR --> Enter the correct package name & create a new TR. If it doesn't prompt you for TR, just goto Extras --> Write transport request from the IO properties Menu screen. Once these IO changes are moved successfully, then the above proceduce can be followed using SE14 trans.
    Hope it helps!
    Regards,
    Pavan

  • Concatination of 2 linked list objects of characters

    Pleas help me to solve the following problem by using Java.
    Problem: Write a program that concatenates two linked list objects of characters. The program should include method concatenate, which takes references to both list objects as arguments and concatenates the second list to the first list.
    Thanking u,
    Ripon

    This assumes that your class is 'ListConcatenate' and that you have set up your two link-lists.
         public void concatenate( ListConcatenate l1, ListConcatenate l2)
              if ( l1.isEmpty1() || l2.isEmpty2() )
                   System.out.printf( "Empty %s or Empty %s\n", name1,name2 );
                   return;
              System.out.printf( "%s concatenated with %s is: ", name1,name2 );
              NodeOne current1 = l1.firstNode1;
              NodeTwo current2 = l2.firstNode2;
              while (current1 != null )
                   System.out.printf( "%s ", current1.data1.toString() + current2.data2.toString() );
                   current1 = current1.nextNode1;
                   current2 = current2.nextNode2;
              }

  • Need documents of ABAP Object Oriented concepts

    Hi,
    I  need materials on ABAP Object Oriented Concepts to learn.
    If you have any good documents which covers all the topics of ABAP OO then please send me to [email protected]
    Thanks in advance.
    Regards,
    Chandru

    Chandra,
    Very good sites with docs.
    http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    Pls. reward if useful...

  • Unable to retrieve Object.Error in File: Unknown Database Connector Error

    Hi,
    I have deployed two report on BO XI server. Both the reports are designed in Crystal Report designer XI.
    I got all database credentilas, saved in CMC by my administrator so that these reports should not prompt me for any database login parameters when I am trying to run them from BOXI test server.
    When I am running one of my report, the report is working fine. But this is not the case with other report.
    This second report is working well with some inputs.
    Case 1 - It is having to input date parameter(Date1 and Date2), when I am entering one input date parameter (Date1) and other (Date2) is set to NULL, it is displaying correct result. But when I am giving any date for Date2 it is throwing me an error -
    "Error in File Manager_Agent_Report.rpt: Unknown Database Connector Error
    Unable to retrieve Object.
    Error in File Manager_Agent_Report.rpt: Unknown Database Connector Error "
    Case 2 - Similiarly it is having an other input field which I am using in filetering the records in Report.
    If I am setting it to NULL or If I am not giving this field, while entering the input. I am getting an output.
    But incase I am giving this particular field then again it is promptig me the  above mentioned error.
    The report are working fine if I am executing them from crystal report designer.
    Please help me to find a solution for the same.
    Thanks
    Deepak

    Deepak, firstly are you trying to connect to one database or two in these reports? I would check the ODBC connections both in server and client machine (testing server or whatever you testing it on). Make sure both connection settings are exactly the same.
    Secondly I will check the parameters values under Objects under the CMC and see if there is anything changed there.
    Report back if you have checked both and it still giving errors
    Regards
    Jehanzeb

  • Why do we need a disabled AD object prior to migrating user from one domain to another.

    Say i am migrating a user 'Mr.A' mailbox from abc.com to xyz.com in exchange 2010 environemnt, why do i need a disabled AD object for Mr. A in xyz.com prior to migrating  ? please suggest.
    Aditya Mediratta

    Hi ,
    To be frank i am not aware of quest but i can suggest you in ADMT and also in exchange cross forest migration.
    I hope you are doing the cross forest migration from exchange forest to exchange forest , so on such case by using the prepare-moverequest.ps1  we can have
    only have the disabled MEU on the target exchange forest until the remaining attributes of the user object was migrated from ADMT.
    While running the prepare-moverequest.ps1  it will not completely move all the active directory user attributes from the source forest to the target forest
    but it will move all the exchange attributes to the target forest and finally it will make the MEU object in the disabled state. Since
    all the exchange attributes are already migrated to the target forest ,so prior to use ADMT user account migration we need to exclude the exchange attributes
    by running the script on the ADMT server .After doing so exchange attributes will not be migrated but the required user attributes will be migrated to make the MEU to the enabled state.
    Reference Link for types of exchange migration between the forest :
    http://blogs.technet.com/b/exchange/archive/2010/08/10/3410619.aspx
    Thanks & Regards S.Nithyanandham

  • Need help filling this object please!!!

    I need to fill shape 1 with a solid color. Shape 2 is what the object looks like when selected. Shape 3 is what happens when I try to fill it with color. I need it to stay within the boundaries shown on shape 1. Please help, I'm relatively new to Illustrator and cannot seem to find out what it is that is happening. I'm working in Illustrator CC.

    jbizzle,
    However I needed to redraw the object, and instead of lines I had to use rounded rectangles to create it.
    Can you reuse the outer shape that looks like part of an ellipse?
    If you can, you can start by recreating the top one as follows (Smart Guides are your friends):
    1) Select and copy the upper/outer elliptic shape to the front (Ctrl+C+F), then lock the original full shape;
    2) With the Line Segment Tool ClickDrag between the end Anchor Points of 1) (Smart Guides say anchor when you are there), then drag over the H value in the Transform palette and Ctrl+C to copy it;
    3) Click with the Ellipse Tool on the Artboard and insert the value divided by 2 for W and H, then cut it at the top and bottom Anchor Point, then delete the right half;
    4) Move the half circle on top of the lower left half circle shape as closely as possible, then select both the half circle and the outer ellipse, click the outer ellipse again and in the Align palette click Vertical Align Bottom;
    4) Create a copy of the half circle and move it up by its height, then ShiftDrag it to fit the upper right half circle shape as closely as possible;
    Now you should have the curved parts in place, and you only need the straight parts;
    5) With the Direct Selection Tool Click each pair of Anchor Points to be connected by straight segments and Ctrl+J to join them;
    Now you should have one clean path to fill. After that, you can rotate and move a copy.

  • If i need 2 send an Object that allready exist like Image .....

    Hi Folks ,
    i need an Advise to my problems.
    My problems is like that
    I need 2 send an Object a lot of times throw the Soket
    for this i need packing my Objects and send them 1 after 1
    i will try say more clearly i need 2 send a lot of Frames (Image Capture)
    Like a Movie but not Movie ;P
    This Images Captures of my screen(like printscreen)
    is an Object of BufferImage bi
    i have a lot Objects of BufferImage bcuz alws my screen changing every move i do with mouse and enter 2 new folder i get new printscreen
    i capture it so that i need Send throw the soket a lot of Objects
    from BufferImage and as u know Guys
    BufferImage is Java Class
    import java.awt.image.BufferedImage;
    so my questionsis :
    1) What is the best way 2 send a lot of BufferImage Objects ?
    2) i need use Serialization for that ( this is the short way and remember i want send Objects not Files)?
    3) Shold i i save every imageCapture 2 File and send the file?
    Then i will need 2 send a lot of Files or 1 File that alws i will change and he will contin the Newest Screen Capture?
    4) from all my qestions what is the Best way?( Best way i guss is the faster way to send the CaptureImage)
    5) how can i send BufferImage Object with Serialization?
    humm i guss i write 2 much question will be nice if some 1 will give any Advise or somthing that can Help .
    tnx

    BufferedImage is not serializable so you cant serialize it directly.
    But however you can make it serializable by creatigna sub class of it which implements Serializable interface and you should also implement a custom serialization logic for that new class.
    But also remember sending image as represented in java will be quite expensive since it is a uncompressed bitmap. Best approach will be using image IO to send images in JPEG (or PNG for loss less compression) format. You can construct image objects at the other end.
    You dont have to store images in to files you can store them in to variables (byte arrays) before sending.
    Some time I did something similer and there I also implemented something like this. Before sending the captured image date through the wire I compaired it with the previously send image (Using CRC) and I send the latest image only if it has a different checksum from the last sent. That way I avoided sending multiple images when the screen is not changing.

  • Advice needed on buying iphone as gift

    I went to apple store, they do not want to sell iphone to me unless I sign AT&T 2 years plan. I thought AT&T has locked the phone and users must subscribe in order to use it. Why Apple store still not allow me to buy?
    Please advice, if I want to buy online iphone for my brother, do I or my brother have obligation to sign out AT&T plan?
    One more advice needed, I found the shipment takes weeks, do I have option to arrange for self-collection?
    My brother birthday is coming soon, I need above advice urgently.
    Thank you very much

    Tamara wrote:
    I'm guessing English is not your first language. It's possible that you misunderstood them. Apple Store employees won't refuse to sell you an iPhone and you don't have to sign up for service in the store.
    Well that's not entirely true.
    Apple Stores have been instructed not to sell you an iPhone if any of the following is true:
    • You state that you will not be signing up with AT&T.
    • You do not have an ID from a US state, also indicating you will not be activating with AT&T
    • You do not have a credit card
    For example, I've seen US Apple Store managers refuse to sell iPhones to European residents because of the AT&T lock-in.

  • Am I need to Eliminate the object after used??

    Am I need to Eliminate the object after used to release the resource ? Which like C code: free(Dynamic variable). And why and how they works in java??
    Thank alot !!!

    You may want to read about garbage collection in java. Basic intro in [url http://java.sun.com/docs/books/tutorial/java/data/garbagecollection.html]tutorial, after that search around the site for garbage collection and related topics
    Mike

Maybe you are looking for