Set Unit-item in Cube

Hi
I take unit-item for other object table.
and I want to set unit-item in cube.
but I don't understand where input.
Please tell me where input part in cube.
sorry  a little englishskill...

Hi,
If you are on Apex 3.x or higher , try
function getTheCurrentRow(triggerItem){  
alert( triggerItem.slice(6));
$s("P4_SELECT", triggerItem.slice(6));   
/* Alert hidden item value you did set */
alert($v("P4_SELECT"));
</script>Here is link to Apex JavaScript API document where you can find functions $s and $v I did use
http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/javascript_api.htm#CDEEIGFH
Regards,
Jari

Similar Messages

  • HOW CAN I SET AN ITEM LENGHT IN CODE !!!

    hi
    i want to set an item lenght by code!!!! and not by using " property palette". i want to use it in the pre-insert/update trigger . i tried to use "set_item_property" but i didnt find any parameter that can solve my problem.
    Please help me it is very important .
    thanks .

    i will try to explin myself i want to let the user to enter only 40 characters despite the fact that the text item can get up to 70 char ( the text item is based on DB column that is varchar2(70)) and i want to limit the user to 40 char because i take the item he updated or insered from the oracle DB and load it to another DB there the same column is in type varchar2(40) and i want to limit the user insted of substructing the string he is inserting.

  • Setting an item value before print report in BI Publisher

    Hi,
    I am having an issue with setting a page item's value once a button (that prints a BI Publisher report) is pressed. The session state for the item is set, however because the page does not re-load no value appears in the item on the page.
    I am using a button as a page Item and using a Page Branch with the Branch Point set as On Submit: After Processing(After Computation, Validation, and Processing) with the Page set to 0 and the Request set to PRINT_REPORT=REPORT
    Is there any way to set the item value on the page before branching to the report?
    Your help is greatly appreciated.
    -Marsha

    Marsha,
    You can do that as follows:
    1- create a hidden text item (P20_date_hidden) with default value set to sysdate.
    2- for your button >> edit >> Buttom display attributes >> attributes >> type in : onFocus= "set_date();" (( note: am using onFocus because it takes places before onClick ))
    3- In your page >> edit >> HTML header >> type in :
    <script language="JavaScript" type="text/javascript">
    function set_date()
    v_date = $x('P20_DATE_HIDDEN').value;
    $x('P20_DATE_LETTER_SENT').value = v_date;
    </script>
    Hope this helps,
    Sam
    Please reward good answers by marking them correct or useful!

  • Delivery completed" indicator cannot be set for item 00001

    Hi all,
    I have done a inter company stock transfer order , with respect to that Order I made  Outbound delivery and posted GR with respect to outbound delivery. I have done  MIRO for  PO  for all the Item ,
    Now  I  need to  return some  material  to supplying plant for  some reason,  I tried  to  make GR (MIGO)  against the same  outbound delivery with movement type 122. the document is posted  but  when I tried to  make complete  delivery indicator  it does not allow me to do so .
    it says me
    Delivery completed" indicator cannot be set for item 00001
       Message no. 06 848
    Diagnosis
       You have set the "delivery completed" indicator for a stock transfer  item.
    system Response
       You can only set the "delivery completed" indicator in stock transfer  items if
       o   the sum of the goods issue quantities in the supplying plant equal  the sum of the goods receipt    quantities in the receiving plant.
       o   the sum of the delivery note quantities is equal to the sum of the goods receipt quantities.
    Regards,
    Dhilipan.

    I dont think you need to set "delivery completed" indicatory while returning from one plant to another.
    For example : You ordered 100 qty. and you are receving only 80 Qty. and you don't expect any receipts anymore. in this case you want to close the open purchase order with delivery completed indicator.
    But while returning to vendor or to another plant you are not referring the P.O directly and hence you dont need "delivery completed indicator'

  • Update the set of item category in IMG

    Hi All,
    When I am trying to update the set of item category, here is the path that I'm using in the IMG:
    Sales and Distribution/Basic Functions/Account Assignment-Costing/Revenue Recognition/Set Revenue Recognition For Item Categories.  When I go to the detail to update the item category, even in the change mode, the fields are not available for updates.
    Please help me, is this any configuration issue?
    Its not even a authorization issue because user has the sap_all and sap_new.
    Thanks.

    Check the links below:
    http://help.sap.com/bp_bblibrary/500/Documentation/G69_BB_ConfigGuide_EN_US.doc
    http://sapbasisnotes.blogspot.com/2007/11/consignment-sales-process-in-sap.html
    http://www.redbooks.ibm.com/redbooks/pdfs/sg246916.pdf
    Regards.

  • HOW TO SET A ITEM DEFAULT VALUE  to today

    I have a item using select list and I like to set this item default value as
    today's date , such as "select to_char(sysdate,'YYYY-MM-DD') from dual"
    HTMLDB failed recongnize the default value, or throw error Error ERR-9132 Error in PLSQL expression for item default code, ...". I have tried each of 3 avaialable Default Value Types
    Per http://forums.oracle.com/forums/thread.jspa?messageID=443287, it is used to be doable, but the default value type (sql) is no longer avaialble in HTMLDB 2.0
    I would appreaciate it very much if anyone has successfully done this before, either set to today or current month

    Ching - Did you try a PL/SQL Expression using to_char(sysdate,'YYYY-MM-DD')?
    There have been no changes to the item default types available in HTML DB. The thread you referenced is for Oracle Portal, a separate and unrelated product.
    Scott

  • Parent Child Value Sets for Item Categories

    I've tried to set up parent-child value sets, not independent-dependent sets for Item Categories but in vain. So, if Item Category has 2 segments - Category & Sub-Category; Sub-Category only shows valid values for a category. For example, if Category is 19 (Tools), the LOV for 2nd segment would only show 28 (Large Tools), 29 (Heavy Tools) etc.
    Creating an independent-dependent combination displays all values for the independent & dependent sets.
    Just looking for help here.
    Thanks,
    Sanjib

    Karthik, Sandeep and Hugh
    Thanks for your responses. We greatly appreciate you taking the time to reply to this thread. My e-mail is [email protected], that is if you'd like to send any documents.
    Basically, this is what we were looking for -
    The category structure is
    Equipment 1 - Spare 1,
    Equipment 1 - Spare 2,
    Equipment 2 - Spare 1,
    Tools - Large,
    Tools - Small,
    etc.
    When selecting Codes for this structure, if I choose 'Equipment 1' for 1st segment, LOV for 2nd segment would only show 'Spare 1', 'Spare 2'. Similarly, If I choose 'Tools', I only see 'Large', 'Small' for Segment 2.
    Thanks,
    Sanjib

  • How to change content type from Document set to Item

    While creating content type I've selected Item as a parent but after created I can see its showing Document Set as a parent content type. Now can anyone please suggest if possible I can change the parent content type from Document Set to Item.

    Hi,
    From your description, I know you want to change content type’s parent after creating it.
    There is no OOB method to change content type’s parent after you create it. If current content type has not been used, you could delete it and recreate it with your desired base type. Here are similar cases:
    http://sharepoint.stackexchange.com/questions/16131/change-base-content-type-of-content-type
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/b976f17e-99b5-42bb-bc82-8d4123a625cf/change-the-parent-of-a-content-type.
    This article may help you understand the relationship of Content type inheritance:
    https://support.office.com/en-au/article/Create-and-edit-content-types-3d5d45af-608d-4183-8d51-073095fe0312#__toc239159103.
    Best Regards
    Vincent Han
    TechNet Community Support

  • How i can set dropDown item to 6th item from java code ?

    Hi
    Thank you for reading my post.
    how i can set dropDown item to 6th item from java code ?
    i have the value field of database and i can use it to set selected item of DropDown.
    so : can i use value field to set the selected item ?
    Thank u.

    Hi,
    Please go through the following thread which discusses about setting teh selected item for a dropdown:
    http://swforum.sun.com/jive/thread.jspa?forumID=123&threadID=50697
    Hope it helps
    Cheers
    Giri

  • [svn:fx-trunk] 11933: Addressing an edge case for TileList where at times the listItems array doesn 't accurately reflect a fully realized set of item renderers.

    Revision: 11933
    Revision: 11933
    Author:   [email protected]
    Date:     2009-11-18 06:55:18 -0800 (Wed, 18 Nov 2009)
    Log Message:
    Addressing an edge case for TileList where at times the listItems array doesn't accurately reflect a fully realized set of item renderers.  This can occur when the TileList row/col creation routine bails out early when it believes it has no further need to create renderers due to current height of the list itself.
    QE notes:  None
    Doc notes: None
    Bugs: SDK-24169
    Reviewer: Alex
    Tests run: List, TileList, HorizontalList, DataGrid
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24169
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as

    Due to a copy/paste glitch, some necessary spaces have inadvertently been removed.  If I could fix this, I would.

  • Set unit preferences (Javascript)

    I can't find a way to set the unit preferences for Illustrator CS6/CC using JavaScript.
    I found that this works (setting units for stroke):
    var units = 2; // 0-inches, 1-milllimeters, 2-points
    app.preferences.setIntegerPreference("strokeUnits", units)
    But I want to set the ruler units ("General" in the interface), and this does not work:
    app.preferences.setIntegerPreference("rulerUnits", units)
    Any help?
    Peter

    Ten,
    Yes, this works, finally! Thank you very much with this simple but poorly documented feature.
    I noticed that the unit mapping is:  0: inches, 1: mm, 2: points, 3: pica, 4: cm, 5: custom, 6: pixels
    Regards,
    Peter

  • Set hidden item in Javascript

    Hi,
    I am having a hidden page item P4_SELECT in my page. I am trying to set this page item with a value in javascript function.
    function getTheCurrentRow(triggerItem){  
        alert( triggerItem.slice(6));
       document.getelementbyid(P4_SELECT).value=triggerItem.slice(6);   
    // $x(P4_SELECT).value=triggerItem.slice(6);
    </script>Eventhough i am getting value in the alert getting javascript error "P4_SELECT Undefined" .
    When i checked the "view Source" of the page it is having this line in it
    <input type="hidden" name="p_t04" value="" id="P4_SELECT"  />I tried
    $x(P4_SELECT).value=triggerItem.slice(6);But getting same result only. Can't we set hidden item values in Javascript.
    Regards,
    Jyothi

    Hi,
    If you are on Apex 3.x or higher , try
    function getTheCurrentRow(triggerItem){  
    alert( triggerItem.slice(6));
    $s("P4_SELECT", triggerItem.slice(6));   
    /* Alert hidden item value you did set */
    alert($v("P4_SELECT"));
    </script>Here is link to Apex JavaScript API document where you can find functions $s and $v I did use
    http://download.oracle.com/docs/cd/E14373_01/apirefs.32/e13369/javascript_api.htm#CDEEIGFH
    Regards,
    Jari

  • Strange Case..!! How 2 set an item as a master block to it's db items block

    Hello All,
    i have a question pls.
    ================
    How 2 set an item as a master block to it's related db items in the same data block; as follows:
    ============
    1-i have to enter the item's value ('LAB_TEMP' ) once then;
    2-the other related items in the same data block r changed record each time i navigate to the next record but this item is never changed in this case only if i re-entered another value as (master-detailed rel.). i tried to copy the value of this item to a display item called 'Temp' but it is changing according to the records frequency by default
    ===========================================================
    I tried the following code on when-new-record-instance & on post-changed Triggers as follows:
    ============================================================
    IF :LAB_TEMP IS NOT NULL THEN
    SET_ITEM_PROPERTY ('LAB_TEMP',ENABLED,PROPERTY_FALSE);
    SET_ITEM_PROPERTY ('LAB_TEMP',NAVIGABLE,PROPERTY_FALSE);
    SET_ITEM_PROPERTY ('TEMP',VISIBLE,PROPERTY_TRUE);
    SET_ITEM_PROPERTY ('LAB_TEMP',VISIBLE,PROPERTY_FALSE);
    :TEMP := :LAB_TEMP;
    ELSE
    SET_ITEM_PROPERTY ('LAB_TEMP',ENABLED,PROPERTY_TRUE);
    SET_ITEM_PROPERTY ('LAB_TEMP',NAVIGABLE,PROPERTY_TRUE);
    SET_ITEM_PROPERTY ('TEMP',VISIBLE,PROPERTY_FALSE);
    SET_ITEM_PROPERTY ('LAB_TEMP',VISIBLE,PROPERTY_TRUE);
    :TEMP := :LAB_TEMP;
    END IF;
    ============================================================
    even this generates unable to set enable property or visible prop. error
    ====================================================
    Someone help me with this pls.??
    ========================
    Thanks in advance,
    Regards,
    Abdetu..

    Hello everyone,
    This issue was solved as:
    ==================
    1-i created a separate db block
    2-created a text item called 'TEMP' with db=NO
    3-In the db block that i want to deal with it as:Master item to it's other related detailed items to that item which is called 'LAB_TEMP' ;
    * Copy value from property: TEMP.
    By this way i could entered a value i the ndb item called TEMP once & consequently this value is entered copyed 4 each new record i entered.
    This is an intial solution works fine at least 4 now, a Fried helped me with this i would like 2 share this info 2 others may be a new idea would help...
    Thanks always,
    Abdetu..

  • Setting up item level security access

    Hello,
    I am new to Oracle Instant Portal and I'm trying to figure out how to set up item level security on a particular tab page. Can anyone give step by step instructions on how to make it work?
    So, say that I have a tab page called HR. On that HR page, I have 3 items. For item1 and item2, I want user1 to have view access to these only, and for user2 they could have view access to item3 only.
    I checked the option in the HR page's Page Access settings to Enable Item Level Security, saved the changes, and even cleared the cache, but it doesn't seem to give me any new functionality where I could specify that for item1 and item2, only user1 should have access to it, and for item3, only user2 should access it.
    Can someone please help?
    Thanks!

    Please disregard--I figured out how to do this:
    1. When you are editing the page, you must click on the "Edit Item" icon next to the item.
    2. Then click on the Access tab in the upper right.
    3. Select Define Item Level Access Privileges and click Apply.
    4. In the Grant Access section that now appears just below, select the user id you want to grant access to the item and then click Add.

  • Shopping Cart - Default Setting for Items

    Since the default setting for items requires user to enter the default values on each shopping cart creation. We would like to use the BADI BBP_DOC_CHANGE_BADI to set a default value, so that user would not have to entry it over and over.
    After I check the BADI, where I cannot find any export parameters associate to these default fields.
    Regards

    Hi Vadim,
    I also have a similar requirement where our customer wants to change or prepolulate the PO type in the Default settings for items.I wanted to knwo if this is user based and if there is any waye we can keep updating them based on some action on the portal.Ideally in our case we have to do it from teh portal.So if there is any RFC that can update or fill these details we can use webdynpro applications to trigger them at runtime and then update them.Any ideas ?
    Thanks,
    Best Regards,
    Muinul

Maybe you are looking for