Changing the value of the dropdownListBox as per the selection of the previ

Hi all,
    there are three dropdownListBox in my application.
if i select the listitem from first dropdownlistbox accordingly the listitems of the second dropdownlistbox should be updated.
for eg: if i select vegetables in my first dropdownlistbox then accordingly the second dropdownlistbox should get the vegetable names from the vegetable table in the database and display....and so on...
if i select fruits in my first dropdownlistbox then accordingly the second dropdownlistbox should get the fruits names from the fruits table in the database and replace the vegetable list before and display......
kindly help me in this regard.
regards,
Joshua

From what I understood you need to know how to update those dropdownListBoxes, isn't it?
If these is your question, here's what you have to do:
If you create the dropdownListBoxes in jsp, the htmlb tag dropdownListBox has an atribute <b>onSelect</b>. If you create the dropdownListBoxes in java there is a method in DropdownListBox class named  <b>setOnSelect</b>.
The value has to be the name of a function where you will define the action that will be processed when the user clicks on the enabled dropdownListbox. If for example the name you have chosen is <i>selectFirstList</i>, in the class that extends JSPDynPage you will need to have
public void selectFirstList(Event event) throws PageException
or
public void onSelectFirstList(Event event) throws PageException
In this function you will have to acces the database, obtain the result and pass it to the dropDownListBox. You will also need to create a model for the dropdownListBox.
My suggestion is to consult the java development content. There you will find some examples.
For the htmlb tags check this site: http://www.sapdesignguild.org/resources/htmlb_guidance/index.html
Hope I made my self understood and Good Luck.

Similar Messages

  • I  have just brought a preowned iPad mini which had the prev persons apple Id details still in,  I have my own I'd from my iPad I want to use. how do I change the prev persons details to enable me to use my details

    I  have just brought a preowned iPad mini which had the prev persons apple Id details still in,  I have my own I'd from my iPad I want to use. how do I change the prev persons details to enable me to use my details

    You should configure the ipad to factory settings and set up as 'new'
    settings/general/reset/erase all content and settings

  • All default routing value has to be changed, while changed the work center in production order

    Dear friends,
    our client they want to change the work center in production order.according to production version work center also they are changed.so while change the WC,all the default value has be changed as per routing what we maintained in routing.At present we have to enter the manually change the W.C as well as set up time and operation time enter manually.Any other option to do the automatically capture value from routing while change in Work center in production order.pl help me on this.
    Thanks&Regards
    Sabhapathy R

    Hi Rahul,
    Thanks for reply. I am maintained in diff value  maintained routing , Ex :First routing i have  work center 'X' value maintained as a setup time in 15 Min's and operation time 10 Min's
    second work center 'Y' I have maintained as set up time 10 Min's and operation time 30 Min's,
    Now I want to change the work center in production order as a 'Y' so whatever value maintained in routing , it has to be changed automatically (10 min's and 30 Min's), but system will not change only old value only picked (15Min's AND 10 Min's).
    Now I think you get to know what the client requirement, kindly do the need full.
    Regards,
    Sabhapathy R

  • Changing the automatic Distribution Rule from Per to Full

    Hello SAPians,
    I have a scenario where the Customer is maintaining the Moving Average Price (I know this is not SAP suggested, I am in the process of convincing to move from moving avg to Std) for the Semi-finished goods and finished goods.
    It is Product Cost by Order scenario where Process Orders are using and the settlement rule to the Material and distribution rule is "Per" (Periodic). The main reason Customer had this Per was they would not be able to settle the Order once they settle it in full.
    But due to increased issues in month end atctivities due to thie 'Per' settlement (settlement of Process Orders not settling properly in the last month due to the failure of Batch jobs and other reasons). I want to suggest them to use Distribution Rule 'Full' instead of 'Per' because of the following advantages considering the above scenario.
    1. The 'Full' settlement can be settled if the Order is not in Teco or closed status any number of times as long as there is the Variance sitting on the Order.
    2. The 'Full' Distribution rule will not create issue if the variance is sitting on the Order in the closed period because when you do the settlement in the next period, system will allocate the variances from the last period to the Material Receiver in the current Period(I have not yet tested this scenario) and has not been. (Yeah I know there will be issue if the Material has been moved out of inventory before the settlement happens, they have another set up to update the Material prices manually by keeping the track of cost of Material).
    3. So the config change will be the Product cost by Order -> Manufacturing Order-> Define Cost-Accounting-Relevant Default Values for Order Typ --> change the Default rule from PP1 to PP2 'Process orders (periodic settlement)'
    Please let me know if what I am thinking is wrong based on this sceanrio and also please give me some more insight if I am missing any points.
    Thank you very much for your time!
    -Harter.

    Hi Balaji/Ajay,
    Could you please help me in understanding the effect of Variances if I change the Order type to FULL in this scenario (Moving Average price for Finished good Material)?
    I checked the configuration and the Variance is only Total Variance that is settling to FI and COPA.
    Also client is more concentrated on Variance accumulated per year and not per month.
    Let's say I have Order in Period 9 where the actual debits on the Order are $1000 and actual credits are $1200 where balance (variance) is $200 and suppose I missed the Period 9 settlement and I want to settle this Order in Period 10 where I had $100 variance in that Period 10
    Period         Variance on Order                Status
    9              $200                   missed
    10              $100                   not yet
    So now when I settle the Order in period 10 (with FULL as settlement type), it settles $300 instead of $100 variance. So if this is the case, if I look at the Variance data, yes the variance data is wrong but if I look at yearly perspective, it looks right but I think I am missing something here, right?
    Also what happens if the Order is open more than one year and the same scenario happens, the Variance will be posted to new year which is again issue, right?
    Am I in the right direction?
    Please advice.
    Thank you,
    -Harter.

  • How can I change the initial value of the field approve_or_reject?

    Hello Workflow Gurus
    We are using SRM 5.00(SRM SERVER 550) and as per the requirement, I have to make the Reject radio button as default checked on the Approver's screen.
    We are using the SAP Standard Workflow WS14500015.
    I found out the Standard task TS14508044 (SC approval per Item)which has one field in its container i.e. approve_or_reject ,based on the Initial value of this field , the radio button is behaving...
    approve_or_reject EQ 0 i.e. Approve
    approve_or_reject EQ 1 i.e. Reject
    Now my requirement is to change the initial value of this field from 0 to 1 so that Reject radio button comes as checked by default into this standard SAP workflow task TS 14508044...
    Kindly help me and let me know the procedure to change this.
    PLEASE LET ME KNOW THAT IS IT WISE TO MAKE THE CHANGES INTO STANDARD SAP WORKFLOW ???
    Thanks and regards
    Ankur Goyal
    09823448654

    Well Iam not much sure about how you are trying to approve the shopping cart workitem b ut last week i faced a similar issue while apporving the workitems I was able to update the contianer element Apporve_or_reject element by using the FM BBP_PDH_WFL_WI_APPROVE and BBP_PDH_WFL_WI_REJECT ... These two fm will take the responsibility of updating the element with respective value as, if you approve the it will be populated with 0 and if you reject the the element will be updated with 1....
    Please check the thread where I updated the thread in [SRM Workflows|Problem while approving SC from Blackberry !;
    PLEASE LET ME KNOW THAT IS IT WISE TO MAKE THE
    CHANGES INTO STANDARD SAP WORKFLOW ???
    Modifying the standard workflow is not recommended.....

  • How to change the values in custom profiles based on security group ??

    Hi,
    i am facing problem for my requirement, can anybody help me for below scenario...
    i have custom check in profiles , there are content types and sub types. sub type nothing but a categories on for particular content type. For example i have News content type , same in the below subtypes drop down list are press release, events, articles etc.
    what i want to do is, when i open custom checkin profile, subtype values need to be changed( some values in subtype should hide) based on security group changes .
    In the Sub type listed values, some values need to hide only when i choose different security groups.. sub types values should display based on the particular security group only. when ever i change the security group, drop down Values in subtypes needs to change.
    hope understand my requirement.
    How to achieve this task. Any help would be greatly appreciated.
    Thanks,
    yt

    Hi,
    Thanks alot. its working fine
    Can we configure DCL Relation two times in one information filed ??? i should not create not more than fields to this requirement.
    Type -> subtype = DCL already existed
    Now, i want to Create DCL to
    Subtype ---> Security group
    As per my requirement, if i change the security group in checkin form, values should be change in the SubType drop down list.
    Created checkin profile there was DCL relation to " Type and "Sub Type" . now i want to map Relation ( DCL ) for subtype to security group.
    i was trying do for DCL for subtype and security group. but there was already existing DCL created for subtype information field (Relation configuration done for content type). even though i was trying to do for DCL in Security group information field. but, i could not find security group information field in configuration manager.
    Now what should i do ?? how to create DCL to subtype and security group ??
    Help would be appreciated.
    yt

  • Need to change the Sort field(kna1-sortl) value

    Hi All,
    We have the requirement to fill the Search Term   (kna1-sortl) based the accounting group and 'kunnr' value.
    I.e as per the legacy system number range in brazil we need fill the sortl field based on accoung goup by concating the kunnr value to it.
    for Ex: 2GXXXXX0 this number need to filled in sortl field.
    where 'X' is repplaced by kunnr value.'2' and '0' are the constant values.Based on accounting group after value '2' we need to add either 'g' or  'S'.
    We find one user exit 'EXIT_SAPMF02D_001' but which does not contain the kna1 as the change perameter.
    kindly help me on it .if there is any other badi

    Hi,
    There is no std user-exit for this (at least we haven't found it as well).
    We have created implicit enhancement point implementation athe the end of form AUFRUF_USER_EXIT in include MF02DFEX.
    The code should be similiar to following:
    ENHANCEMENT 1  YEDSD_EO_ADD_DOC_PREFIX.    "active version
        DATA:
          ltp_doc_prefix TYPE y_dt_docpref.
    *--only in creation and change mode
        IF T020-AKTYP = 'H' OR
           T020-AKTYP = 'V'.
          CONCATENATE kna1-ktgrd kna1-kunnr INTO ltp_doc_prefix.
          kna1-yydocpre = ltp_doc_prefix.
        ENDIF.
    ENDENHANCEMENT.
    Regards,
    Marcin

  • How to change the value of project data in the BPM instance?

    Hi Everybody,
    I have a situation that after the bpm instance was created. We found that one of the project data/variable contains the incorrection information. Is it a way we can change the value of that project data/variable? I checked the BPM workspace, as administrator, there are not function for it and we can't stop/withdraw the instance. Can we change the MDS database for it? Please advise. It is so important for us that will stop us to move on of our project.
    Thanks

    As per my knowledge we can not change the value of BPM project variables from outside BPM. If you look at PAPI API also you will find methods to get values from BPM but not to set to BPM.
    If this is daily issue for your application then change your design to add a Edit Data Activity (Screen) and then use Grab functionality to get the control to this Edit Data Activity to change the required data.
    Else if it is an issue with the only one instance then it is better to Abort this instance and re-create the instance with correct data. Changing value in the MDS database is not encouraged.
    Hope this helps.

  • Change the ITEM PER SALES UNIT

    Hi experts.
    I try to change the value in Items per sales unit, but the system give me an error 'CAN NOT BE CHANGED TO AN ITEM WITH TRANSACTION.
    Now we plan for the next month to change the package for abaout 2500 products that we produced.
    Someone can explain me why i can not change this value?
    Serching in the forum i try a link to note n. 1059753 with the workaround.. But is not a good way form me.
    There is another solution??
    My system is SAP B1 2007 SAP01 PL10
    Thamk's in advance.

    Hi,
    The functionality has changed in 8.8.
    Kind regards
    Carin

  • Procedure to change the standard value key of a work center

    Hi Gurus,
    What is the procedure to change the standard value key of a work center.
    Thanks in advance,
    Regards,
    PPQMUSER

    Hi,
    Just go to CR02 and change std value key, system will give you an information massage 'Standard value key : parameter XXXX after changed' as per the parameters used in new std value key.
    If you want to change the customization for allready used STD value key, then you need dealocate that key from workcenter, and then change the customization.
    Tara
    Edited by: tara  bhapkar on Feb 29, 2012 7:39 AM

  • How to change the value of "DenyOnNotProtected " in OAM 11g

    Hi,
    I just wanted to know how we can change the value of the parameter "DenyOnNotProtected " in OAM 11g. In the documentation it is mentioned that we can't change the value. When I tried from console, I am not able to. Is there any other way to do this?
    Thanks,
    Srikanth

    Hi Colin,
    Thanks for the update. What you said is correct. Even though I change the attribute its updating in console (check box). But behavior is not changing. Even setting Antonymous authentication also seems to be of no use. Here I am integrating WebCenter with OAM. I have done all the configurations as per Oracle documentation. But when I try to access a protected URL (say https://oimtest.example.com/webcenter/adfAuthentication with a valid user creds, I am getting the error: Access to the URL /webcenter/oracle/webcenter/webcenterapp/view/templates/publichtml/LandingGateway.jsp has been denied for the user. I have made /webcenter/.../* as public with Anonymous authentication. Still getting access denied error. What could be the issue?
    Thanks,
    Srikanth

  • Change the asset acq value (can be + or -)

    Hi All,
    My client wants to reverse deri. and change the asset acq value (can be + or -) and then recalculate deri.
    I got this but not sure, pls suggest
    I can use
    ABSO
    ABCO
    AR29N
    F-90
    Note: All assets are old we want impact in current year only as BS is closed for last year.
    Thanks,
    Vishal

    OK - let me summerise my activities
    1. ABSO - post with tran type 140 for all assets
    entry posted per assets
    Assets - 70 (DR)
    Assets ACQ clearinf account Balance sheet account 50(CR)
    2. Check in AW01N value update
    3. change derisiation method - system will post adjestments for current open year in next deri run AFAB
    I have no idea about AR29N why we use it. Can we use same T code insted of ABSO. AR29N we need to create new deri area which will keep it seprate.
    Thanks,
    Vishal

  • Who has changed the Custom Field value?

    Dears,
    Need to know the information regarding how to fetch that who has changed the Custom field value from PWA/MPP.
    Example:
    There is a PDP (say ProjectInfo):
    There is a Custom Field added to that PDP (say Project Status = In Progress).
    Now for ProjectA, someone has checked out and changed the Custom Field "Project Status" from "In Progress" to "Closed".
    I need to fetch the information regarding who has changed that Custom field.
    In which direction should I move: Event Handlers, PSI???? Any other stuff?
    Thanks & Regards,
    Shravan

    Hi Shravan,
    I'm not a developer but I do know that you can use an event handler pushing the resource name and date in custom fields.
    Another way is to use a 3rd-party tool like
    FluentPro Audit Tool.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • SPEL? make REASON field required if user has changed the value in SALARY

    I have a requirement to make REASON field required if user has changed the value in SALARY field. Is it possible using spel? what are my options?

    Karan,
    You can change the Rendered Property through personalization.
    But in your requirement you need to attach the Spell through personalization & extend the existing CO to set the value of the SPELL based upon the condition.
    Note - Refer this thread http://forums.oracle.com/forums/thread.jspa?threadID=2176729&tstart=0. If you have worked on SSHRParams kindly help the user.
    Regards,
    Gyan

  • Changing the value of a control in a subvi

    I think the answer is out there somewhere but I've read through many threads found with searches similar to this topic so sorry to repost...
    I would like to change the value of a top-level VI control from a sub-vi.  The data is being used as a parameter, I was thinking about using a local/global but I've seen this discouraged.  Is there a way I can do it with references, property, or invoke nodes (or some other suggested method) ?
    I am guessing that if I am not using globals I will need to wire into the sub-vi?
    Dave

    I'd like to clarify what I am trying to do a bit more...
    The sub-vi has a control of the same type as the top-level vi.  The inital control value is being passed into the sub-vi from the top-level vi.  The sub-vi uses the control value in several places through local variables (reading and writing to it)
    I would like to modify the vi so the top-level vi control value changes whenever the sub-vi changes the control value that is passed to it.
    My last attempt was to make a refnum control in the sub-vi (by dragging from top-level block diagram to sub front panel) and then creating a property node from that refnum control.  Using the property node "value" did not give me the value of the control from the top-level vi as I had hoped.  Wiring it to a terminal that was expecting the same type of control (a cluster of two numerics) caused a wiring conflict.
    I noticed elsewhere in the code that the programmer used a text file to save options (unfortunately the control I am working on was not originially included in the options).  There is a vi that, when called, either reads or writes to the text file.  From a C/C++ programming perspective it seems quite odd to me not to just keep all this data in memory and pass it around.  Is using a file to store variables a typical practice in LV programming (even when they are retrieved multiple times during program execution) ?

  • I cannot change the value in about:newtab from "newtab" to "blank." The dialog is displayed but when I click Ok, the value is not changed.

    I cannot change the value in about:newtab from "newtab" to "blank." The dialog is displayed but when I click Ok, the value is not changed.
    ===Answer===
    Comment on usual method and solution, by a forum Moderator.
    As long as there are no confounding factors, such as certain extensions, or a user.jsfile the procedure is as follows
    # Open a new tab and type "about:config" in the address bar.
    # In the Search bar type: "newtab"
    # Locate and double click "browser.newtab.url"
    # In the "Enter String Value" box change "'''about:newtab'''" to "'''about:blank'''" and click OK.
    # Verify that the value has changed and now all new tabs will be blank.
    See post under by ''pirate048'' [/questions/976589?page=2#answer-509482] ~J99

    Have to say that I rather agree with Mark..all we want is a simple, unadorned clean page that doe not track and show usage!! WHY NOT!! Is it too simple for developers..we aren't all (nor do we want to be!) software experts! Come on Mozilla..tidy up and clean up..it might be a quicker programme too!!

Maybe you are looking for