2 questions about Dropdown Box Item

Hi all,
I just started using Design Studio and I have two questions about the Dropodown Box Item (well actually it's more about scripting...):
- in the startup script of the application I want to populate one dropdown box with master data values of the infoobject 0FISCPER, how can I realize that? (if I use "DS_1.getMemberList...." I get only the values of 0FISCPER for which there is transaction data)
- as a datasource I use a query with 2 variables:
     - Is it possible to populate these 2 variables with default values and skip the initial Variabile Initialization Screen?
     - I use 2 dropdown box items to set the values of these 2 variables. For one variable everything it's ok (I select the value in the dropdown and the      script populate the variable with that value and the data in the crosstable changes accordingly) but for the other variable associated to the 0FISCPER      infoobject when I select the value in the dropdown it's seem that nothing happens since the Variabile Initialization Screen pop-up and an error says that      I have to select a value for the variable. I did the same simple scripts for the these 2 variables, why does it work for one variable and not for the other?
Thanks,
Michele

I answer myself about one question:
"Is it possible to populate these 2 variables with default values and skip the initial Variabile Initialization Screen?"
Yes, it's possible to create a script in order to populate the variables in the event "On Variable Initialization" of the Application and set false to the property "Force Prompts on Startup".

Similar Messages

  • A simple question about combo box

    Dear All,
    Just got a simple question about combo box: I have one of these selectors with labels based on filtered rows from a table.
    Is it possible to have one more label that would select all options?
    Like:
    Product A
    Product B
    Product C
    All Product
    Many thanks for your help!
    Gilles

    Hi Gilles,
    The purpose of ComboBox itself to select single option out of many.
    For your purpose, you may have to use "List Builder" which can accomodate 1 or more  to select.
    Please revert for more clarification if you need.
    With best wishes
    BaaRaa.

  • Short questions about the focused item

    Hi,
    Short questions about the focused item:
    - How can I check if a specific item has the focus?
    - How can I check in my code which arbitrary item on my form has the focus?
    I need to know this because I have a checkbox and when it become unchecked, I disable an item on my form. But when this item has the focus, disabling this item will fail. Does anyone knows a solution for this problem?
    Greetz
    Eddy

    Hi Eddy!
    I suppose you should make an "event trigger" for the event "et_GOT_FOCUS" in your ItemEvent-handler and store there the item, which initiate that event. It can be like following:
    SBOApp_ItemEvent(FormUID, pVal, BubbleEvent)
    if (pVal.EventType == SAPbouiCOM.BoEventTypes.et_GOT_FOCUS)
       strCurrItemInFocus = pVal.ItemUID;
    do someth..
    if (strCurrItemInFocus == "chbxMyCheckbox1")
       // disabling this item will fail
    else
       // disable an item on my form
    I hope it helps..

  • Question about Measure folders Items (dimensions & measures)

    Hi All,
    I have tow question about measure folder
    1-     How can I make measure folder contain both dimensions & measures?
         Like this image http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/r10122/images/d1t10202.gif
    2-     When I create measure folder and add some measures in it, when I query cube these measures still displayed out of folders how can I make all measures and dimensions displayed only on folders like the above image ?
    Regards,
    Gado

    Hi Andy,
    There should be no difference in functionality for these two kinds of folders. You can perform all the operations on these two kinds of folders without any difference, for example, delivery messages, create view settings/rules and etc.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Question about using library items in forms

    After a long time I am again returning to this perpetual fountain of Dreamweaver knowledge.
    I am converting a site from AGL to DW. In AGL I used a separate template for the forms (there are over 10) and used "components" to create the different forms. Each form shared features with other forms but were not identical, all together 5 components. When I converted over to DW the 5 compnents were made into 5 "library items" but neither the form template or the library items work, by that I mean they do not update if I make a change.
    Hence I want to make 5 new library items to use in the forms my question is this: when I choose an item to put in the form like a text field or radio button I always get this window.
    Though I read the documentation I am still not really clear about the "style" option so I just choose "no label tag." What is this used for? Any examples of how it is used?
    Regarding "position" before or after the item, what is this all about? I have been choosing "after form item" but I don't really know what the difference is and what advantages or disadvantages acrue from these choices.
    Regarding "Access key" and "Tab index" I sort of have the idea of what it is about but an example of how they work in action would clear up any nebulosity.
    But my real puzzle is with the following which pops up at the end when I am inserting a form items.
    Since the library items are not separate forms in themselves I have NOT added the form tag because my reasoning is that when I make the new form templates it will have the requisite form tags. Am I correct in this line of thinking? Or do I have to add form tags every time I add form elements to a form? I really don't want to have to do the whole thing over again if I get it wrong. So if one of you kind souls could guide me in doing it right the first time I would really appreciate it.
    I am using a MBP, OS X 10.6.8, DW CS6
    BvL

    To declare constants create a Package-Specification in a pll and deifne all your constants there, something like:
    PACKAGE PK_CONSTANTS IS
      RC_SUCCESS CONSTANT PLS_INTEGER := 1;
      RC_FAILURE CONSTANT PLS_INTEGER := 0;
      RC_YEAR_DATA_NOT_FOUND := 50;
    END;Then attach that pll to all your forms-modules, and use it like
    IF rc = PK_CONSTANTS.RC_YEAR_DATA_NOT_FOUND THEN
    END IF;A word about exceptions or errors: In my eyes its clearer (and in case of exceptions even better) to raise an exception than to hide it behind return-codes.

  • Question about customer line item clearing

    Hello everyone,
    There is one question here. Since from the result of FBL5N in SAP, the total amount of AR is zero, but the cleared /Open symbol still show these items are open. Itu2019s very strange because these should be shown as cleared items as the total amount is zero.
    Do we have to clear them manually? or does it take time to show effect in the system?
    Plz explain.
    Thanks
    Leena...

    Hi Leena,
    While pulling the customer report for open item by giving today's date if you are still finding open items being there total to zero, you need to manually clear them. Transaction Code-F-32
    Warm regards,
    Murukan Arunachalam
    Edited by: Murukan_A on Jan 5, 2012 10:21 AM

  • The question about max line item in material document

    Dear  sir:
    I want to excute CO27 for an FP . It will create material documents. The max line item is 100 in each material document. But I want to record 400 lines in a material document.  Is it possbile to change the number of max line in material document?   How could I do to change that ?   Thanks !!

    I know about 333 in case of physical inventory because the finacial document has a technical limitation of 3 digits for Fi document item number, which means the FI document cannot take more than 999 lines.
    In case of physical inventory a material document item can create up to 3 FI item lines. So the limit for physical inventory became 333.
    I dont know from where you have the 100 as limitation, but take the above said into consideration before you change anything.

  • Question about returning online items...

    Just to confirm, the 15-day timeframe begins when the item is delivered to the residence, correct? Not when the order is initially placed?

    Hi jbtb07,
    Thank you for taking the time to connect with us on the forum.
    It looks like CrystalWoW was able to answer your questions; however, let me see if there is anything else I can help add.  As CrystalWow mentioned, a "special order" product will be ordered directly from the manufacturer.  A majority of our special order products will tend to be appliances and should be marked accordingly on BestBuy.com.  If you ordered an item from one of our online Marketplace retailers, then you would want to contact them directly regarding a return or exchange. 
    I hope you have a wonderful day, and let us know if you have any other questions!
    Derek|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Question about sorting of items...

    ...when their perspective is published as a portlet. We have a perspective published as a portlet, and the items are seemingly sorted in some random order. How are these items sorted? Thanks for the help.

    I assume you're using Portal 3.0. There's not much you can do to control the sorting in the category or perspective portlets. In Portal Release 2, the custom search portlet replaces the category/perspective portlets and gives you additional control, including control over the sort order if you don't have Oracle Text enabled.
    As a workaround, you could write a custom report or dynamic page using the content area views to display content anyway you want.
    Regards,
    Jerry
    Portal PM

  • Question about creation dimension items

    It is possible to load items from a dimension in the logical layer?
    Like this : I have a dimension of Vehicles and have this items:
    Cars
    Motorbikes
    Trucks
    Is possible to create in logical layer a new member of dimension like Cars/Motorbikes?
    In presentation layer I would see if I click on this dimension:
    Cars
    Motorbikes
    Trucks
    Cars/Motorbikes
    Thank you!!

    I assume you're using Portal 3.0. There's not much you can do to control the sorting in the category or perspective portlets. In Portal Release 2, the custom search portlet replaces the category/perspective portlets and gives you additional control, including control over the sort order if you don't have Oracle Text enabled.
    As a workaround, you could write a custom report or dynamic page using the content area views to display content anyway you want.
    Regards,
    Jerry
    Portal PM

  • Question about Authentication on item-level

    If you set authentication for a page item, am I correct in assuming that it does get processed (i.e. the value in the item can be used for example in the where-clause in a query), but it just does not get displayed?

    i mean a normal item on a page. For example a selectlist, or textfield.
    In the app I'm currently developing, I have a few user levels. Normal users should only see their own records in a report, admins should be able to see all records.
    So what I have for the admins, is a select-list with the usernames, so they can choose whose records they can see. A normal user can't see the select-list.
    When a user logs in, I set the value of the select-list to their user-id (and the select-list displays the corresponding name, based on a LOV). The query which displays the report looks at the select-list to see for which user it must show records. So, when an admin selects a different username, it will show the records for that user. When a normal user logs in, he/she won't see the select-list, but the query does use the value of that select-list in the query.
    Now what I want to know for sure, is that the select-list is always processed upon loading, and not that it's just a coincidence in this case that it's working.
    I'm asking because if you check the help for the Authorization-option in the item, it says "Optionally select an authorization scheme which must evaluate to TRUE in order for this component to be rendered or otherwise processed."
    From this I would think that it won't contain a value if the authorization is false (which would be in the case of a normal user).
    I'm using HTML DB 1.6, by the way.

  • 4 questions about the the top boxes - SD box and Home media DVR

    Hello. I am going to be getting Fios soon and I have some questions about the boxes. I will be getting the Home Media DVR and 4 SD boxes.
    1) Do these boxes have timers on them to set so the box can turn off at a certain time?
    2) Do these boxes have parental control and if so is it good enough to block things that I do not want my child to see?
    3) How many people can access the home media dvr at the same time to watch already recorded programs
    4) If the Home Media DVR is in the family room can a record be started from the bedroom over the SD set top box (even an hd show)?
    Thanks for any help.

    I have been using two Standard Set Top Boxes for about a year. I have Parental Controls on and all channels locked. When I want to watch a channel, I tune to that channel, note the LOCKED message, which tells me to press the OK button to enter ther Parental Controls PIN and unlock the channel for viewing.
    This has worked flawlessliy for the last year -- ON THE Standard STB's.
    I just ordered the Home Media DVR STB to replace one of my Standardt STB..
    On the Home Media DVR:
    I can set the Parentals Control PIN and lock the channels, in the exact same way I did o nthe Standard STB's. However, when  tuen to ANY channel, I still ge the LOCKED message and instructions to press OK to unlock the channel -- BUT no matter how I press the OK button, the Enter your Parental Conlrols PIN dialog box willl NOT open. Nothing happens -- you CAN NOT view any channel.
    Again, it is the EXACT setup as for the Standard STB, but the OK button will NOT unlock any of the channels.
    If you unlock all channels and LOCK the Ratings, the same problem recurs: OK buitton will never open the "enter your PIN" dialog box.
    I have received two replacement boxes and have spent hours on the phone with some very capable and helpful Techs -- no luck.
    Has anyone else had the same problem? Here's how to test your Home Media DVR:
    1. Menu-Settings-Parental Controls.
    2. You will be prompted to CREATE youre Parental Controls PIN
    3. Enter you PIN twice.
    4. Use the > button to scroll to Enable On/Off and set it on.
    5. scroll down to Control Channels
    6. Press > button to See Locked Channels
    7. Scroll down to Add/Remove Channels
    8. Scroll right to choose LOCK ALL
    9. Press OK and then scroll to YES to lock all channels
    10. Press EXIT to get out of settings.
    11. All channels are now locked.
    12. Go to any channel
    13. A black screen will appear with a lock silhouette with the word LOCKED below, followed by instructions to Press OK to enter PIN and unlock this channel. (plus how to change locks...).
    14.Press the OK button and, if it is working, you will see a dialog box at the bottom of the screen that is titled: UNLOCK, with the channel listed and the instructions to "Enter your PIN using your numeric pad on remote to naje this channel availabe for all users." THere's a PIN box, which shows asterisks for each number entered, with "Press Exit to Cancel" below.
    15. On the Standard STB, it works exactly as described in steps 1 thru 14. On the Media Center DVR, it works up to step `13, but in 14, no matter how you press the OK button, the UNLOCK dialog box never pops us. The Remote STB light flashes on the remove and the REMOTE yellow light flashes on the DVR,  but nothng happens.
    If you have a Home Media DVR, can you please try this and see if it works?
    Thanks,
    John

  • Information about DSO: Order Items (0SD_O01)

    Hello Experts!
    I have a little question about DSO Order Items (0SD_O01)
    and Info cube  Service Level: Order Items (0SD_C12).
    The DSO is provided from 2LIS_11_VAITM (Customer order)  and 2LIS_11_V_SSL (Delivery).
    My question now, how will the delivery data and the customer order data joined?
    Maybe someone can explain me the data flow up to info cube 0SD_C12.
    Thanks for your help!
    Best regards
    Florian

    For Deliveries in DSO 0SD_O01 a lot of Objects are not filled (like Material Customer...), that is ok because in data source deliveries are not such detailed information as in customer orders.
    But if I have a look in the Cube 0SD_C12 I all Info Objects are filled.
    So my Question, will the data joined together in the basis of Document number?
    Maybe you can explain a little bit.
    Thank you for your help!
    Best regards
    Florian
    Edited by: Florian Trütschel on May 20, 2009 6:13 PM

  • Get values based on Dropdown box selection-Important

    Hi All,
    In first table, i have an two textfields one is for "item no" and other is "item desc" and in the second table I have an "dropdown box" and "item desc".
    Whatever is entered in the "item no" its populating in the "dropdown box", when an dropdown is selected any item that item desc should be displayed.
    For example: In first table
    Item no  Item Desc
    item 1   abc
    item 2   def
    item 3   ghi
    and in the second table
    Dropdown box   Item desc
    item 2   def
    item 3   ghi
    When am selecting item2 in dropdown box the related text is not getting dispalyed. And moreover the using instindex and the value is populating 0, below is the script
    var Instindex = xfa.resolveNode("Page1.Subform1.Table1.Row2.Calculation").rawValue;
    app.alert(Instindex);
    var my_concatcomm = xfa.resolveNode("Page1.Itemtable.Table2.Row2[" + Instindex + "].EnterItemDescription").rawValue
    var my_concatcomm = "Page1.Itemtable.Table2.Row2["+ 3 +"].EnterItemDescription"
    app.alert("Index value::"+ xfa.resolveNode(my_concatcomm).rawValue);
    Can anybody please help me on this.
    Thank you for your help in advacne

    Yes one more thing, i do not want any buttons or anyother webitem to be clicked to get this. this should be set with some commands if avilalbe or some other guess ?

  • ADD ITEMS TO DROPDOWN BOX FROM A TEXT FIELD(USER ENTERS THE ITEM) AND BOUND VALUE ALSO

    I WANT TO ADD ITEMS  THE DROPDOWN BOX FROM THE TEXT FIELD(ITEM NAME) WHERE USER ENTER'S THE ITEM DESCRIPTION
    AND BOUND VALUE ALSO SHOULD BE ADDED TO THE SAME ITEM.
    SAME WAY REMOVE ITEMS FROM DROPDOWN BOX
    PLEASE GIVE SAMPLE FORM OR JAVASCRIPT FOR THE ABOVE SCENARIO.....
    INDEED HELPFUL FOR MY PROJECT PLEASE SEND ATTACHED PDF FORM

    Hi Praveen,
    Your form is not shared so I have not been able to access it.  But I have updated mine.  There are now two approaches, one that follows on from the above method and updates each drop down list in each row.  The second updates a separate dataset that the drop down list is bound to.  This second approach requires the remerge() method which can cause problems if your code has updates some form properties like a borders color as these will be reset, but the code is simplier and you will only have one list to maintain.  The add button click code is;
    var particulars = xfa.datasets.resolveNode("particulars");
    if (particulars === null)
        particulars = xfa.datasets.createNode("dataGroup","particulars");
        xfa.datasets.nodes.append(particulars);    
    var particular = xfa.datasets.createNode("dataValue","particular");
    particular.value = ItemName.rawValue;
    var boundValue = xfa.datasets.createNode("dataValue","id");
    boundValue.value = BoundValue.rawValue;
    particular.nodes.append(boundValue);
    boundValue.contains = "metaData";
    // find sorted position to insert
    for (var i = 0; i < particulars.nodes.length; i++)
        p = particulars.nodes.item(i);
        if (p.value > particular.value)
          particulars.nodes.insert(particular, p);       
                 break;
    // add to end if greater than all existing items
    if (particular.parent === null)
        particulars.nodes.append(particular);
    // clear source fields
    ItemName.rawValue = null;
    BoundValue.rawValue = null;
    // remerge form data to pick up new item
    xfa.form.remerge();
    And the binding looks like;
    I have updated my sample to include both methods, https://workspaces.acrobat.com/?d=OwysfJa-Q3HhPtFlgRb62g
    Regards
    Bruce

Maybe you are looking for

  • "The operation could not be completed" when doing Save for web

    Hi I have just installed Photoshop CS5.1 on my new iMac with Mac OS 10.7 (Lion). Everytime I try to do a 'Save for web' I get this error message "The operation could not be completed". After that Photoshop also hangs. I've tried many solutions offere

  • Price Procedure configuration

    Dear SAP Pantars, Kindly help me to know the complete configuration steps (i.e both from IMG and from SAP Menu) for the following price calculation in PO, for the particular vendor when we select particular tax code. Example: Basic price: price * qua

  • Reading text file, Replace string, Write to new file....

    I'm kind a lost of on this problem. Using the BufferedReader class and BufferedWriter class, develop an application that reads lines of text from a file. Replace any occurrence of the word *?the?* with *?JAVAJAVA?* and change all characters to upper

  • Maxl Import - Export L0 data crashes

    Hi to all,We have an automation Maxl script, for a mission critical application where we export 6 times a day all L0 data, then import them back again, .It has been running for sometime smoothly, but suddenly it startet to crash, meaning it doesnt ex

  • Please Help.  How can you monitor a directory using jndi connection to a ldap server?

    How can you monitor a directory using jndi connection to a ldap server? I want the ldap server to monitor the content change in a file system directory on another computer on the network. Can someone please help. Thanks Fred