Is there a way to create "temporary" tables in SAP database?

Hello,
Is there a way to create temporary tables in ABAP?
Here is our scenario:
1. Invoke a custom RFC that creates a temporary table and returns the name of the table.
2. Invoke another custom RFC and pass this table name as parameter. This RFC internally does some INNER JOIN with the temporary table.
3. Invoke the third RFC to delete the temporary table.
Note that the name of the table cannot be static. We have many users using our application simultaneously and connecting to the SAP server.
I would appreciate it if you could point me in the right direction.
Thank you in advance for your help.
Peter

I just ran into a similar issue.  While only calling the select statement 2 times, each time had so many entries in the 'for all entries' list, that the compiler converted this into about 700 calls to the select.  Now since the select joined three real tables on the database, the trace shows this one select as being the slowest item in this application.
I think that happened because 'for all entries' gets converted to an 'IN' clause, and then the total number of characters in any SQL statement has an upper limit.   So the compiler must make the select statement over and over until it covers all entries in the 'for all entries' list.  Is that correct?
Since every database I ever saw has the concept of db temporary tables, I have used db temp tables many times for this sort of thing.
The ABAP compiler could determine that more than one IN statement will be need, then use an alternate: write all the FOR ALL ENTRIES to a db temp table, then join on the db temp table, then drop db temp table.  Since the compiler does this sort of thing, no application code needs change to get the speed boost.

Similar Messages

  • Is there a way to create a table of contents listing the order of tabs(sheets) in a Numbers document?

    I am planning my wedding and I have this huge Numbers document with 20+ tabs and I have plans to add many more tabs. Is there a way to create a table that has two columns: column 1= order that a tab appears, column 2=tab name? For example, my first three tabs are called Venues, Must Haves, and To Do List (in this order. I'd want this table of contents to be in the first sheet of the document, so it would be like sheet 1. Then I 'd want like the cells of column 1 to be like 2, 3, 4 (2nd, 3rd, 4th sheet in the document), and then the cells of column 2 to say Venues, Must Haves, and To Do List. I can make a tiny table of one cell in each sheet that I copied the name of the sheet and then do like a cell reference for column 2, but I'm having trouble w column 1.

    There is no referential value for the order of the sheets, just the sheet name. Only two things I can think of to suggest:
    Do the same thing for the first column that you do with the second (i.e. put a referential column in the same table as the Name and point to that).
    Seriously consider using a word processor program. Numbers is probably the wrong tool.

  • Alternative way to create temporary table with better performace?

    Hi guys,
    Do you happen to a better alternative way for creating a global temporary table with better performance?
    I am creating a table and then using it in a big query but is taking a lot of time.
    Thanks for any help you can provide.

    I am not very familiar with explains plans, but I believe it is ok.
    The first query I had was repeating part of it in every subquery that is why I decided to create the temporary table. I have also tried using the WITH but it seems to take the same amount of time. I also thought of creating indexed but was told that it would work in this case.
    I have another discussion named "SQL Query Having performance issues" in this discussion I have included the query just in case you want to look at it.
    Thanks

  • Is there a way to create a table then apply it to other sheets and have it mirror changes across all the sheets? Like a sync'ed table that will be the same on multiple sheets

    I have a budget spreadsheet with a couple recurring tables. As months go by, I sometimes make changes to these tables and would like those changes to be synced across the different sheets in the spreadsheet. Is there a way to sync content across multiple pages, essentially having one true table that appears on multiple sheets?

    Abdur,
    In the sheet :: table :: cell that is going to receive the data, type an equals sign, then click on the cell that the data will come from and press Return.
    This will require that you navigate to the origin cell by choosing the proper sheet.
    Jerry

  • Is there a way to create a table in powerpoint and allow the users to fill in answers?

    My beekeeping group wants a table layout question with dates, and the user would have to fill in the numbers after each day.
    Date
    Answer
    June 1
    insert drone fram
    June 5
    Check drone frame for mites
    June 9f
    Pull frame and freeze it to kill mites

    You'll have to create it in Captivate, importing ppt-slides just turns them into movie slides.

  • Is there a way to create ADF Table using a bean

    Hi,
    I am using JDev 11g 11.1.1.2.0.
    I am reading an excel sheet and want to generate an ADF table using the same. I already have hold on excel data.
    But when I go through the RichTable API, I find that there is no method to add Columns and Rows. Most or all the methods work on the table UI Looks attribute.
    Any suggestion? Am I missing a method OR 2 here?
    Pls note: The excel (CSV file) using which I am populating my table, will vary for different user. i.e.
    say user 1 will upload a CSV file with 7cols and 100 rows while
    user 2 will upload the CSV file that has 2 cols and 100 rows.
    Hope this makes it clear of my requirements and why I want to populate the table from a bean.
    Thanks in advance.
    Edited by: user8925296 on Feb 24, 2010 7:09 PM

    Thanks a lot Joseba, I am now atleast getting column headings. I have questions on the soln given but first here is the code that I use
    PS NOTE: on my .jpsx file I have dragged dropped an ADF table, removed its default columns and have bounded it with my bean attrib '_dynaTbl' that is used below.
    // ---- Few imports that I use
    import oracle.adf.model.adapter.dataformat.csv.CSVParser;
    import oracle.adf.view.rich.component.rich.data.RichColumn;
    import oracle.adf.view.rich.component.rich.data.RichTable;
    import oracle.adf.view.rich.component.rich.data.RichTableUtils;
    import oracle.adf.view.rich.component.rich.output.RichOutputText;
         public String getFileData() {
    try {
    FacesContext fc = FacesContext.getCurrentInstance();
    ExpressionFactory elFactory = fc.getApplication().getExpressionFactory();
    ELContext elCtx = fc.getELContext();
    CSVParser pfile = new CSVParser(getFile().getInputStream());
    ArrayList colData = new ArrayList();
    ArrayList colHdr = new ArrayList();
    pfile.nextLine();
    String colArr[] = pfile.getLineValues();
    int colLth = colArr.length;
    int rows =0;
    /* _dynaTbl.setVar("row");    */
    for(int hdr=0 ; hdr < colLth; hdr++){
    RichColumn colNm = new RichColumn();
    colNm.setHeaderText(colArr[hdr]);
    colNm.setRowHeader(true);
    colNm.setRendered(true);
    colHdr.add(hdr, colNm);
    colNm.setVisible(true);
    while (pfile.nextLine()){
    String arr[] = pfile.getLineValues();
    int u=0;
    while(u < colLth) {
    // CoreColumn colNm = (CoreColumn)app.createComponent(CoreColumn.COMPONENT_TYPE);
    //colNm.setId(colArr[   u   ] ) ;
                             //CoreOutputText rdata = (CoreOutputText)app.createComponent(CoreOutputText.COMPONENT_TYPE);
                             RichOutputText rdata = new RichOutputText();
                             rdata.setValue(arr[   u     ]) ;
                             rdata.setVisible(true);
                             rdata.setRendered(true);
                             rdata.setId((String)colArr[    u   ] + u) ;
    // System.out.print("\t\t" + rdata.getValue());
    /* ValueExpression value = elFactory.createValueExpression(elCtx, "#{row.attrName}", Object.class);
    rdata.setValueExpression("value", value);
                             ((RichColumn)colHdr.get(u)).getChildren().add(rdata);
                             //colNm.getChildren().add(rdata);
                        // _dynaTbl.setHeader(rcol);
                        // _dynaTbl.setVisible(true);
                        // _dynaTbl.setValue(arr[   u   ]) ;
                   // _dynaTbl.getChildren().add(colNm);
    u++; rows++;
    //break;
    _dynaTbl.setRows(rows);
                   for(int hdr=0 ; hdr < colLth; hdr++){
    _dynaTbl.getChildren().add((RichColumn)colHdr.get(hdr));
    _dynaTbl.setFetchSize(10);
    _dynaTbl.setVerticalGridVisible(true);
    System.out.print("\n\t child count" + _dynaTbl.getChildCount());
    _dynaTbl.setAllDetailsEnabled(true);
    _dynaTbl.setShowAll(true);
    _dynaTbl.setRowBandingInterval(1);
    _dynaTbl.setRendered(true);
    for(int i =0; i< _dynaTbl.getChildCount() ; i++) {
    System.out.print("\n\t count within child:" i " is :" +
    ((RichColumn)(_dynaTbl.getChildren()).get(i)).getChildCount());
    System.out.println(" isAllDetailsEnabled:"+ _dynaTbl.isAllDetailsEnabled());
    System.out.println(" isRowAvailable:"+ _dynaTbl.isRowAvailable());
    System.out.println(" isRowAvailable i:"+ _dynaTbl.isRowAvailable(i));
    System.out.println(" isShowAll i:"+ _dynaTbl.isShowAll());
    }catch (Exception exp){
    exp.printStackTrace();
    return "Done";
    Here is the problem. I am able to view only column headings but data is not visible.
    1. I get below out put for as many columns that I use
    a.
    count within child:4 is :24 isAllDetailsEnabled:true
    isRowAvailable:false
    isRowAvailable i:false
    isShowAll i:true
    b. Why is table data missing. What more do I need to do?
    Kindly guide.
    Thanks a lot in advance.

  • Is there a way to create a template table, somewhat akin to an OO class?

    Hi everyone,
    Here is my novice question of the day.
    Say I would like to create a table which will describe the attributes of a set of tables. Each table in the set will have exactly the same field names, datatypes, etc..., but each table will represent a completely distinct data set. Is there a way to designate a table as a 'template' and then create tables which are instances of the table?
    I know I could do something inelegant like TableA_Version1, TableA_Version2. But that just seems very clunky for the 21st century. I also do not wish to inter-mingle the data from TableA_Version1 and TableA_Version2 by putting a field in TableA called version.
    Say, for example, my database contains information on different financial models. TableA would be the template or parent describing the characteristics which all of the models have. But each model would need to have its own 'version' of TableA.
    Time may also logically separate the tables into different 'snapshots'. Again, TableA_DateStamp1, TableA_DateStamp2, seems unwieldy. What would be your suggestions here?
    Thank you again for helping me with my beginner questions! I very much appreciate your time!
    Holly (I was set up with the wrong name... Oracle is fixing that...I hope!)

    The object stuff was pretty poor in Oracle8/8i. It's gotten a lot better in 9i but it still isn't as rich as (say) Java or Python.
    OO vs relational is the type of topic that starts holy wars. How one feels about it is often a matter of where one started out from. What I will say is this: relational data modelling has a firm logical basis in mathematics, particularly set theory. Everything in an RDBMS is mathematically provable. OO has no similar mathematical underpinning.
    I think OO has many advantages as a tool for building front-end applications but I wouldn't really want to trust my data to it.
    Where does that leave Oracle's object implementation? Well, PL/SQL objects can be quite useful for building complex user-defined datatypes. It is at least a partial way of implementing the DOMAIN functionality that RDBMS ought to have and Oracle lacks. The problem is that it is difficult to normalise an object-based data structure, so they tend to have lots of duplicate data, with all the maintenance issues that follow.
    Let's take a concrete example from the Oracle documents:
    http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96624/13_elems32.htm#35076
    <QUOTE>
    The following example shows that you can nest object types:
    CREATE TYPE Address AS OBJECT (
       street_address VARCHAR2(35),
       city           VARCHAR2(15),
       state          CHAR(2),
       zip_code       INTEGER
    CREATE TYPE Person AS OBJECT (
       first_name   VARCHAR2(15),
       last_name    VARCHAR2(15),
       birthday     DATE,
       home_address Address,  -- nested object type
       phone_number VARCHAR2(15),
       ss_number    INTEGER,
    );</QUOTE>
    Now what happens if you have two instances of PERSON living at the same home_address? You have two instances of ADDRESS. If you get the zip code wrong you have to change it twice. If they both move house (they're married) then you have to give them both a new ADDRESS. Furthermore, because you have two instances of ADDRESS you have no way of telling that these two people live at the same address, except by scanning all the instances of ADDRESS in all the instances of PERSON.
    The relational implementation is a lot simpler and cleaner. Two records in the PERSONS table each with a foreign key to a single record in the ADDRESSES table. It doesn't always happen, of course, but in this instance the relational implementation maps much more closely to the real world than the O-O implementation (two people, one house) . If you get the zip code wrong you only have to alter the ADDRESSES record, you don't touch the PERSONS table. If they move you create a new ADDRESES record and change the foreign key in PERSONS. Finding multiple occupancies is as easy as
    SELECT add_id, count(person_id)
    FROM   persons
    GROUP BY add_id
    HAVING count(person_id) > 1What could be simpler?
    But then I would say that, I started out from the relational world. People from the O-O world look at things differently.
    Cheers, APC

  • Is there any way  to create table  of more than 30 char length name

    hi all,
    Please tell me is there any way to create table of more than 30 char length name in oracle 10g
    Regards

    Hi,
    If you want table name to be more than 30 Char.
    I am sure,your naming convention is not upto the mark.
    Its not possible in 10g as well as in 11g.
    Thanks
    Yogesh Nagle
    India

  • Cannot create temporary table having identity column

    Hi experts,
    I saw the above error msg while running the following statement:
           create local temporary column table #tmp_table (c1 int GENERATED by default AS IDENTITY (start with 1 increment by 1), c2 int)
         Could not execute 'create local temporary column table #tmp_table(c1 int GENERATED by default AS IDENTITY (start with ...'
         SAP DBTech JDBC: [7]: feature not supported: cannot create temporary table having identity column: C1: line 1 col 48 (at pos 47)
    I understand we can support normal column table creation with identity column, but don't know why cannot support temporary column tables with identity column. Is there any configuration that can enable it for temporary column table? Or what can I do to support it indirectly, like writing a trigger to support it or something else?
    If not, then is there any future plan for this feature?
    Regards,
    Hubery

    Hi Hubery,
    I've heard this trail of arguments before...
    Customer has a solution... they want it on HANA... but they don't want to change the solution.
    Well, fair call, I'd say.
    The problem here is: there's a mix-up of solution and implementation here.
    It should be clear now, that changing DBMS systems (in any direction) will require some effort in changing the implementation. Every DBMS works a bit different than the others, given "standard" SQL or not.
    So I don't agree with the notion of "we cannot change the implementation".
    In fact, you will have to change the implementation anyhow.
    Rather than imitating the existing solution implementation on ASE, implement it on SAP HANA.
    Filling up tons of temporary tables is not a great idea in SAP HANA - you would rather try to create calculation views that present the data ad hoc in the desired way.
    That's my 2 cts on that.
    - Lars

  • Is there a way to exclude temporary people picker fields from a query when receiving the "List View Lookup Threshold" error.

    Hi All,
    My users require the ability to select a sharepoint group from a drop down list and then be able to select a user from a people picker based on the drop down selection.    The best solution I was able to up with, was create a people picker
    for each drop down selection and set the Sharepoint group field to the selected group.  All people picker filed are hidden except the one that matches the drop down selection.  When creating an entry from the sharepoint list this method
    works perfectly.
    However, when I add the list onto a site page using an "Listview webpart", then add an infopath web part and then finally connect the two parts, I get a "List View Lookup Threshold" error when selecting an entry from the list.  I
    understand from the error and reading that this error is related to the number of People pickers in the list.   Is there a way to exclude temporary people picker fields from a site page query, as they are only temporary fields to allow the users
    to select a person and then assign the name to another field.
    Dwayne

    Hi Dwayne,
    In SharePoint 2013, we could manually create a list for all users. Here are the reference:
    Go to Site Settings >  People and Groups > SiteMembers
    Modify url
    http://sitename/_layouts/15/people.aspx?MembershipGroupId=8 to
    http://sp/sites/tutu/_layouts/15/people.aspx?MembershipGroupId=0 , now you will see All people in this site.
    Change the view to List view, and copy the listview id in the url
    http://sitename/_layouts/15/people.aspx?MembershipGroupId=0&View={viewID}
    Go to Settings > List settings, copy the list id in the url
    http://sitename/_layouts/15/listedit.aspx?List=listeid&Source=....
    Now type the address in IE:
    http://sitename/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=[LISTID]&View=[VIEWID]&CacheControl , such as
    http://sp/sites/tutu/_vti_bin/owssvr.dll?CS=109&Using=_layouts/query.iqy&List=f3958d27-9c2f-4f8d-b221-89466e816667&View=696BFDC5-0C6E-4E27-818F-0E6292A18407&CacheControl=1
    Save the owssvr.jqy from SharePoint site
    Now you could see the file in your desktop with all users, save it as allusers in Excel.
    Then import it to your SharePoint site, add an app > find an app > import spreadsheet
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Is there a way to create Timecard Templates from backend?

    Hello Folks
    Is there a way to create Timecard Templates from backend? I tried to create one with the following steps, but did not work. Throws a HXC_HXT_DEP_VAL_ORAERR
    The Oracle error is: &ERROR
    1. Create TIMECARD_TEMPLATE scope BB using hxc_timestore_deposit.create_bb
    2. Create Template_Name Attribute on the above BB
    3. Create DAY BB
    4. Create DETAIL BB for DAY BB
    5. Create Attribute BB for Hours Worked element on the DETAIL BB above
    6. Call hxc_timestore_deposit.execute_deposit_process(p_validate => FALSE
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_messages => l_tbl_messages
    ,p_mode => 'SAVE'
    ,p_deposit_process => l_deposit_process
    --p_retrieval_process   => 'BEE Retrieval Process'
    , p_template => hxc_timecard.c_yes
    ,p_timecard_id => l_new_timecard_id
    ,p_timecard_ovn => l_new_timecard_ovn
    Any help would be greatly appreciated.
    Thanks
    Srinivasa

    Tim
    Application Release is 12.0.4, those notes do not help. Here is the complete script.
    declare
    l_tbl_timecard_info hxc_self_service_time_deposit.timecard_info;
    l_tbl_attributes_info hxc_self_service_time_deposit.app_attributes_info;
    l_tbl_messages hxc_self_service_time_deposit.message_table;
    --l_token_table                  hxc_deposit_wrapper_utilities.t_simple_table;
    l_blocks hxc_self_service_time_deposit.timecard_info;
    l_attributes hxc_self_service_time_deposit.app_attributes_info;
    l_tc_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_day_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_detail_bb_id hxc_time_building_blocks.time_building_block_id%TYPE;
    l_existing_tc_id hxc_timecard_summary.timecard_id%TYPE:= NULL;
    l_deposit_process hxc_deposit_processes.NAME%TYPE:= 'OTL Deposit Process';
    l_count_building_block PLS_INTEGER;
    i PLS_INTEGER;
    l_message fnd_new_messages.message_text%TYPE;
    l_approval_style_id NUMBER;
    l_new_timecard_id NUMBER;
    l_tc_days_counter NUMBER;
    l_new_timecard_ovn NUMBER;
    l_resp_id NUMBER := 50597; -- Responsibility US Employee Services
    l_application_id NUMBER := 809; -- Application HXC
    l_user_id NUMBER := 118189; -- FLORESR
    begin
    -- 1. Set Apps Context
    fnd_global.apps_initialize (l_user_id, l_resp_id, l_application_id);
    -- 2. Get Approval Style ID
    l_approval_style_id := TO_NUMBER(hxc_preference_evaluation.resource_preferences(411669,'TS_PER_APPROVAL_STYLE',1,SYSDATE));
    dbms_output.put_line('l_approval_style_id = '||l_approval_style_id);
    -- 3. Create TIMECARD_TEMPLATE BB similar to the logic in hxc_timestore_deposit.create_timecard_bb passing the scope as TIMECARD_TEMPLATE instead of TIMECARD
    -- We are starting with a new timecard so clear the global tables
    -- hxc_self_service_time_deposit.initialize_globals;
    -- Also clear the local PL/SQL table
    -- hxc_timestore_deposit_util.clear_building_block_table(p_app_blocks => l_tbl_timecard_info);
    l_count_building_block := l_tbl_timecard_info.LAST;
    -- PROCEDURE clear_building_block_table (
    -- p_app_blocks IN OUT NOCOPY hxc_block_table_type
    -- 'generate' a TBB ID
    IF (l_count_building_block IS NULL)
    THEN
    l_tc_bb_id := -2;
    -- never start at -1 because that has a special meaning in the deposit
    ELSE
    l_tc_bb_id := - (l_count_building_block) - 2;
    END IF;
    dbms_output.put_line('Creating Timecard');
    hxc_timestore_deposit.create_timecard_bb (p_start_time => fnd_date.canonical_to_date ('2011/09/26 00:00:00')
    ,p_stop_time => fnd_date.canonical_to_date ('2011/10/09 23:59:59')
    ,p_resource_id => 411669
    ,p_resource_type => hxc_timecard.c_person_resource
    ,p_approval_style_id => l_approval_style_id
    ,p_comment_text => 'Come on start working'
    ,p_app_blocks => l_tbl_timecard_info
    ,p_time_building_block_id => l_tc_bb_id
    hxc_timestore_deposit.create_bb (p_time_building_block_id => l_tc_bb_id
    ,p_type => hxc_timecard.c_range_type
    -- p_measure => DEFAULTS TO NULL
    ,p_unit_of_measure => NULL
    ,p_start_time => fnd_date.canonical_to_date ('2011/09/12 00:00:00')
    ,p_stop_time => fnd_date.canonical_to_date ('2011/09/25 23:59:59')
    ,p_parent_building_block_id => NULL
    -- Timecard Template does not have a parent -- May need to check on this parameter
    ,p_parent_is_new => NULL
    ,p_scope => hxc_timecard.c_template_scope -- Template Scope
    -- p_object_version_number => DEFAULTS TO 1
    -- p_approval_status=> p_approval_status
    ,p_resource_id => 411669
    ,p_resource_type => 'PERSON'
    ,p_approval_style_id => l_approval_style_id
    -- p_date_from => DEFAULTS TO SYSDATE
    -- p_date_to => DEFAULTS TO hr_general.end_of_time
    ,p_comment_text => 'Template Trials'
    -- p_parent_building_block_ovn => DEFAULTS TO NULL
    -- new => DEFAULTS TO 'Y'
    -- changed => DEFAULTS TO 'N'
    ,p_app_blocks => l_tbl_timecard_info
    dbms_output.put_line('After creating Timecard l_tc_bb_id = '||l_tc_bb_id);
    -- 4. Create PRIVATE TEMPLATES Attribute Category and Template Name passed from UI
    dbms_output.put_line('Creating Template_Name Attribute');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_tc_bb_id
    ,p_attribute_name => 'Template_Name'
    ,p_attribute_value => 'Trial Template from Code'
    ,p_deposit_process => l_deposit_process
    ,p_app_attributes => l_tbl_attributes_info
    dbms_output.put_line('Creating Template_Type Attribute');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_tc_bb_id
    ,p_attribute_name => 'Template_Type'
    ,p_attribute_value => 'PRIVATE'
    ,p_deposit_process => l_deposit_process
    ,p_app_attributes => l_tbl_attributes_info
    -- Below will be in a loop later
    -- 5. Create the DAY BB
    dbms_output.put_line('Creating DAY BB');
    hxc_timestore_deposit.create_day_bb(p_day => fnd_date.canonical_to_date('2011/09/26')
    ,p_parent_building_block_id => l_tc_bb_id -- returned by create_timecard_bb
    ,p_app_blocks => l_tbl_timecard_info
    ,p_time_building_block_id => l_day_bb_id
    dbms_output.put_line('After Creating DAY BB l_day_bb_id = '||l_day_bb_id);
    -- 6. Create DETAIL BB for first shift, lunch and second shift
    dbms_output.put_line('Create DETAIL BB for first shift, lunch and second shift');
    hxc_timestore_deposit.create_detail_bb(p_type => 'RANGE'
    -- ,p_measure => NULL -- Pass Null as its a template
    ,p_start_time => to_date('2011/09/26 06:00:00','YYYY/MM/DD HH24:MI:SS')
    ,p_stop_time => to_date('2011/09/26 11:00:00','YYYY/MM/DD HH24:MI:SS')
    ,p_parent_building_block_id => l_day_bb_id
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_time_building_block_id => l_detail_bb_id
    dbms_output.put_line('After Creating DETAIL BB l_detail_bb_id = '||l_detail_bb_id);
    dbms_output.put_line('Creating Attribute 64869');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_id
    ,p_attribute_name => 'Dummy Element Context'
    ,p_attribute_value => 'ELEMENT - '||'64869' -- 01 Hours Worked
    ,p_app_attributes => l_tbl_attributes_info
    dbms_output.put_line('Creating Detail BB');
    hxc_timestore_deposit.create_detail_bb(p_type => 'RANGE'
    -- ,p_measure => NULL -- Pass Null as its a template
    ,p_start_time => to_date('2011/09/26 11:00:00','YYYY/MM/DD HH24:MI:SS')
    ,p_stop_time => to_date('2011/09/26 11:30:00','YYYY/MM/DD HH24:MI:SS')
    ,p_parent_building_block_id => l_day_bb_id
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_time_building_block_id => l_detail_bb_id
    dbms_output.put_line('After Creating DETAIL BB l_detail_bb_id = '||l_detail_bb_id);
    dbms_output.put_line('Creating Attribute 65172');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_id
    ,p_attribute_name => 'Dummy Element Context'
    ,p_attribute_value => 'ELEMENT - '||'65172' -- 02 Unpaid Lunch
    ,p_app_attributes => l_tbl_attributes_info
    dbms_output.put_line('Creating Detail BB');
    hxc_timestore_deposit.create_detail_bb(p_type => 'RANGE'
    -- ,p_measure => NULL -- Pass Null as its a template
    ,p_start_time => to_date('2011/09/26 11:30:00','YYYY/MM/DD HH24:MI:SS')
    ,p_stop_time => to_date('2011/09/26 14:30:00','YYYY/MM/DD HH24:MI:SS')
    ,p_parent_building_block_id => l_day_bb_id
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_time_building_block_id => l_detail_bb_id
    dbms_output.put_line('After Creating DETAIL BB l_detail_bb_id = '||l_detail_bb_id);
    dbms_output.put_line('Creating Attribute 64869');
    hxc_timestore_deposit.create_attribute(p_building_block_id => l_detail_bb_id
    ,p_attribute_name => 'Dummy Element Context'
    ,p_attribute_value => 'ELEMENT - '||'64869' -- 01 Hours Worked
    ,p_app_attributes => l_tbl_attributes_info
    -- 7. Deposit the Template
    dbms_output.put_line('Deposit the Template ');
    hxc_timestore_deposit.execute_deposit_process(p_validate => FALSE
    ,p_app_blocks => l_tbl_timecard_info
    ,p_app_attributes => l_tbl_attributes_info
    ,p_messages => l_tbl_messages
    ,p_mode => 'SAVE'
    ,p_deposit_process => l_deposit_process
    -- ,p_retrieval_process => 'BEE Retrieval Process'
    , p_template => 'Y'
    ,p_timecard_id => l_new_timecard_id
    ,p_timecard_ovn => l_new_timecard_ovn
    COMMIT;
    dbms_output.put_line('l_new_timecard_id = '||l_new_timecard_id);
    IF (l_tbl_messages.COUNT <> 0) THEN
    i := l_tbl_messages.FIRST;
    LOOP
    EXIT WHEN (NOT l_tbl_messages.EXISTS (i));
    l_message := fnd_message.get_string (appin => l_tbl_messages (i).application_short_name,
    namein => l_tbl_messages (i).message_name);
    DBMS_OUTPUT.put_line (l_tbl_messages (i).message_name);
    DBMS_OUTPUT.put_line (l_message);
    i := l_tbl_messages.NEXT (i);
    END LOOP;
    END IF;
    end;

  • Is there a way to create a thumbnail for QuickTime videos on a PC?  All the videos currently have the same QuickTime logo as there thumbnail.

    Is there a way to create a thumbnail for QuickTime videos on a PC?  (Windows XP)  All the the videos currently have the same QuickTime logo as their thumbnail.

    Abdur,
    In the sheet :: table :: cell that is going to receive the data, type an equals sign, then click on the cell that the data will come from and press Return.
    This will require that you navigate to the origin cell by choosing the proper sheet.
    Jerry

  • Is there a way to create a rotating slide show that changes once every 24 hours?

    Is there a way to create a rotating slide show that changes once every 24 hours?

    Make a temporary, backup copy (if you don't already have a backup copy) of the library and apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Select the options identified in the screenshot. 
    Then try deleting the library again.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • Is there a way to create a function that concatenates

    Hello,
    I constantly find myself needing to create a forumla tha concatenates employee's ID, last name, and first name.  Is there a way to create a function in Crystal that will allow me to create a function that already has this concatenation in place?  I am using Crystal XiR2.
    Thanks,
    Z

    Hi Zack,
    Custom function is a function that can be used in any report and it doesn't depend on database. We have to provide the values in order to claculate what we want and basing on the values provided it calculates accordingly. We cannot use global variables in custom functions and also evaluation time functions (like whileprintingrecords,whilereadingrecords). So I think it is not possible to get the strings concatenated without passing the values.
    Alternatively you can go for a query using Add Command like this
    select IDFirstNameLastName as value from table
    Regards,
    Raghavendra

  • Is there a way to create consignment stock without using a Purchase Order

    Hi Gurus,
    Is there a way tp created unrestricted consignment stock for a material without first creating a Purchase Order and then using MIGO. Is there a way to create directly into inventory?
    Thanks for your help!

    Hi Charlie/All,
    Still having the same issue.
    I checked t-code OMEV to make sure Consignment Info Record is activated
    I checked the EINE table to verify the Infor Record was created for consignment
    In MIGO I use the following:
    Goods receipt - other - movement type 501K
    material, vendor, qty entered
    error msg: purchase info record not founf in purchasing organization??
    not sure why..thank for all your help so far...

Maybe you are looking for

  • Binding a Check Box with a User Defined Field

    Hi everyone, i v created a user defined field (U_CheckPro)in the system table "OITM" with two values: Y for Yes and N for No. In relation to that i v also created a check box on the form "150" and would like to know how can i bind my checkbox with  m

  • Late 2011 macbook pro 13" battery life not good

    I can leave my laptop plugged in all night turned off, and in the morning it only has 99% battery. It seems to quickly discharge. After about an hour an a half, I am down to 50%. I bought this computer in October. I has intel core i7 with 4GB 1333 MH

  • Scroll bar question

    I am starting out with Dreamweaver (in fact website work in general). I have created a template for the site's pages and within the table, one of the cells I've left editable for text. This cell is set inside several other surrounding cells, each cel

  • SDK VB Examples: JSOFindWordVB can't run properly

    Hi, I installed Adobe Acrobat pro 9, SDK705 and Adobe reader in a new computer, then I downloaded the SDK705, but when I try to run the JSOFindWordVB, it dumps. By debugging the codes, the code below causes the problem: gApp = CreateObject("AcroExch.

  • Is there an update for ipod touches with a messenger?

    I heard that there was a new update for ipod touches(4th generation) that comes with a messenger that uses your e-mail, is this true? Thanks