How to create a event to display records depend on selection ofdropdownlist

BSP
how to create a event to display records depend on selection of dropdownlist box,
Using BHTML,
thank you,
regards,
jagrut bharatkumar shukla

1) Copy this script to the code
<script type="text/javascript">
function displayVacationDates() {   
    for (var i=0; i < document.forms[0].Status.length; i++) {
        if (document.forms[0].Status[i].checked && document.forms[0].Status[i].value=='Vacation'){
          document.getElementById('startDateRow').style.visibility='visible';
          document.getElementById('endDateRow').style.visibility='visible';
         if (document.forms[0].Status[i].checked && !(document.forms[0].Status[i].value=='Vacation')){
         document.getElementById('startDateRow').style.visibility='hidden';
          document.getElementById('endDateRow').style.visibility='hidden';
</script>
2) Set initial style to 'hidden'
<tr id="startDateRow" style="visibility:hidden">
<td align="left"><blockquote>
  <p><span class="style16 style8"><strong>Start date:
  </strong></span></p>
</blockquote>                 </td>
<td align="left"><script>DateInput('VacStart', true, 'DD-MON-YYYY')</script></td>
</tr>
<tr id="endDateRow" style="visibility:hidden">
<td align="left"><blockquote>
  <p><span class="style16 style8"><strong>End date:
  </strong></span></p>
</blockquote>                      </td>
<td align="left"><script>DateInput('VacEnd', true, 'DD-MON-YYYY')</script></td>
</tr>
3) Call the display script
<input name="Status" type="radio" value="In the Field" onclick="displayVacationDates()">
<input name="Status" type="radio" value="Vacation" onclick="displayVacationDates()">
<input name="Status" type="radio" value="Sick day" onclick="displayVacationDates()">
<input name="Status" type="radio" value="Admin Day" onclick="displayVacationDates()">
<input name="Status" type="radio" value="DSR Ride Along" onclick="displayVacationDates()">
<input name="Status" type="radio" value="ServiceCall" onclick="displayVacationDates()">

Similar Messages

  • How to create an Event & schedule a rpt based on results of that Event..

    Help,
    I need to schedule a report, that will run after an event is done. I only want the rpt to run if the event produces more than 1 record.
    I dont know how to create an event? I am assuming I can use a SQL qry as an event. I would like to use:
    select count(*) as RegCounts from [reg contact log] 
    where [due date] = date() +1 and [response due]=Yes
    Erin

    Help,
    I need to schedule a report, that will run after an event is done. I only want the rpt to run if the event produces more than 1 record.
    I dont know how to create an event? I am assuming I can use a SQL qry as an event. I would like to use:
    select count(*) as RegCounts from [reg contact log] 
    where [due date] = date() +1 and [response due]=Yes
    Erin

  • How to create the event in the report for jobs scheduling.

    Hi Experts,
    i have a requirement like as follows:
    The following triggers for Batch Jobs in the SCM system will be created.i.     
    Background Processing Event = u201CAPO Background Processing Eventu201D. After sending the Event, write a Log Report line u201CEvent u201CAPO Background Processing Eventu201D sentu201D.
    Could you please suggest me how we create the Event or which transaction ?
    Please give me a steps for creating events so that based on these events we use
    CALL METHOD cl_batch_event=>raise
        EXPORTING
          i_eventid                      = p_bpeve
          i_server                       = p_server
          i_ignore_incorrect_server      = p_ignore
        EXCEPTIONS
          excpt_raise_failed             = 1
          excpt_server_accepts_no_events = 2
          excpt_raise_forbidden          = 3
          excpt_unknown_event            = 4
          excpt_no_authority             = 5
          OTHERS                         = 6.
    Right now i received message "APO Background Processing Event" is doesn't exists.
    Thanks in Advance.
    Puneet.

    Hi Puneet,
    Goto transaction SM62 and in there to BckProcEvents tab. There you can create the events.
    You just need to specify the name and Description of an event.
    Hope this serves your purpose.
    Thanks

  • How to create a partner and header record using CRM_ORDER_MAINTAIN?

    Hi any one knows how to create a partner and header record using the function module CRM_ORDER_MAINTAIN??
    I tried to  create a record, but i only managed to create a header record and the partner record is not reflected in the transaction.  Why is that so? is there any indicator that i need to include?
    Thanks..
    Jen

    Hi Jen!
    I use this FM and it works perfectly.
    Use this to create a partner:
      gs_partner-ref_handle    = '0000000001'.
      gs_partner-ref_kind      = 'A'.
      gs_partner-ref_partner_handle = '0001'.
      gs_partner-partner_fct   = '00000001'.
      gs_partner-partner_no    = NO_PARTNER. "number of the partner, bu_partner
      gs_partner-display_type  = 'BP'.
      gs_partner-no_type       = 'BP'.
      gs_partner-kind_of_entry = 'C'.
    *  ls_partner_l-ref_handle    = '1'.
      gs_partner-ref_guid      = '00000000000000000000000000000000'.
      APPEND gs_partner  TO gT_partner .
      ls_input_field-ref_kind  = 'A'.
      ls_input_field-logical_key   = '0001'.
      ls_input_field-objectname  = 'PARTNER'.
      ls_input_field-ref_handle  = '0000000001'.
      ls_input_field_names-fieldname = 'DISPLAY_TYPE'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'KIND_OF_ENTRY'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'NO_TYPE'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'PARTNER_FCT'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      ls_input_field_names-fieldname = 'PARTNER_NO'.
      INSERT ls_input_field_names INTO TABLE ls_input_field-field_names.
      INSERT ls_input_field  INTO TABLE  gt_input_fields.
      clear ls_input_field-field_names[].
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
      EXPORTING
    *    it_schedlin_i   = gt_schedlin_i_com
        it_partner      = gt_partner
    *    it_sales        = gt_sales
    *      it_orgman       = gt_orgman
    *      it_appointment  = gt_appointment
    *      it_ordprp_i     = gt_ordprp_i
    *   it_product_i    = gt_product_i
    *      it_activity_i   = gt_activity_i
    *      it_pridoc       = gt_pridoc_com
      CHANGING
        ct_orderadm_h   = gt_orderadm_h
    *   ct_orderadm_i   = gt_orderadm_i
        ct_input_fields = gt_input_fields.
    *      ct_doc_flow     = gt_doc_flow
    *      cv_log_handle   = gv_log_handle.
    Hope it helps u,
    Regards,
    Mon.

  • PALM Z22 HOW TO CREATE CALENDAR EVENTS THEN UPLOAD THEM TO THE PALM Z22

    Hello, I would like to know if anyone can advise me on how to create calendar events in say, excel, and then upload them to my Palm Z22.  The reason I want to create them in excel is so that I can also update the file information to my cell phone as well.
    Thanks for your assistance.....
    Tony
    Post relates to: Palm Z22

    Hello Tony,
    If you want to use Excel, then I would suggest that you export your calendar spreadsheet as a comma separated values (.csv) file and then import that data into the Calendar application in Palm Desktop.  Then Hotsync your Palm.
    Alan G

  • How to create facebook event in Xcode 4.6

    Hi All,
    I am doing a Facebook application in ios sdk 6 using Xcode 4.6.
    I have to create a facebook event. I am in pretty confusion that How to create facebook event in my code.
    Can anybody help me..
    Thanks in advance.
    Regards,
    R.V.Lakshmi kanth

    You should update to Xcode 4.6.3, to begin with. Then Google the latest FB iOS API...details should be provided there on usage.

  • How to create a group of contact from a multi-selection of mails in a mailbox to answer to all senders?

    How to create a group of contact from a multi-selection of mails in a mailbox to answer to all senders?

    Use Mail Scripts. Its Add Addresses function will collect all the addresses from all selected messages and allow you to select the ones you want to add and allow you to create groups as you go.

  • How to create application toolbar in modal dialog box in selection-screen

    Hi Experts,
    how to create application toolbar in modal dialog box in selection-screen?
    Regards,
    Swapnika

    Hi,
    Check the following link regarding Model dialog box and appication toolbar
    http://help.sap.com/saphelp_nw70/helpdata/en/d1/801b84454211d189710000e8322d00/frameset.htm
    It helps in solving your problem.
    Thanks.
    Ramya.

  • How to create dynamic ed flash charts based on user selected fields in Orac

    Hi all,
    Can any of the experts please tellme "how to create dynamic ed flash charts based on user selected fields in Oracle apex".
    Thanks
    Manish

    Hello,
    Lots of different ways to do this, I blogged about one way (using a Pipelined function) here -
    http://jes.blogs.shellprompt.net/2006/05/25/generic-charting-in-application-express/
    Other options include using a PL/SQL function returning the string to use as the dynamic query etc.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • How to create a event in SWED

    Hi Guys,
    I have to create a event for Health Benefit Plan (HR module). I created a Change Doucment object using transaction SCDO and generated. For this CHange Document Object i have to create the event.
    I wnet to transaction SWED and in the Change Docu. Object column,If i search for my Object using F4 help, i dont find the object what i created.
    Can anyone please guide, what i missed and how to create????
    Thanks
    Vinod

    Hi Vinod,
    Have a look at this link:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e06f2480-02de-2a10-72af-eed9a513a6c6
    Or
    if u want to create a zevent .
    just go to swo1-> create zBO -> create zevent.
    Delegate ur standard BO.
    Then go to SWEC.
    write change Doc name ,BO name, Event name there.
    Hope it helps u!
    Regards,
    Mamta

  • How to create new event in new hard drive

    i brought new mac n im doing editing in fcp x since 2 weeks, so i have only 1 tera hard driveand its almost full. now i need to do lot more. so im thinking to have extra hard drive. n my qestion is that can i use any hard drive or i need to have only from apple. and again to create new event in that drive how to do that. cause in fcp x i cannt see the key saying where u want to save ur enent? so im in confuse.....

    You should use a good, fast FireWire 800 drive. make sure it is formatted Mac OS Extended. To set where the event goes, select the drive in the Event Library.

  • How to create a event and assign to task

    Hi
    How to create events in BW and assign to any process..
    Like i want to complete a delta load and do the full load.
    After finishing the delta load, full load has to be triggered.
    So can anyone help to creating the events in bw and assigning it to the prcess.
    Regards
    Rak

    Hi AHP
    Thanks for the reply.. we are not using the process chains instead we are using the infopackage groups. I created the event in SM62, But how should i assign this new event to my delta load.
    In full upload infopackage, in selection option i can give the event there in "after event"
    But my doubt is how to assign my event to the delta infopack
    "<i>you can just put the full load process type variant after the delta load, any consideration ?"</i>. Can you be more specific.
    Regards
    Rak

  • If my component has more then one button,how to create click events

    I am learning about java beans
    My java class
    public class ButtonClass extends JButton implements Serializable{
    // ButtonHandler bh;
    public ButtonClass() {
    setText( "Hello world!" );
    setOpaque( true );
    setBackground( Color.ORANGE );
    setForeground( Color.BLUE);
    setVerticalAlignment( CENTER );
    setHorizontalAlignment( CENTER );
    // addActionListener(new ButtonHandler(new JTextArea("Hello")));
    But i want to create Bean having more then one button on my bean.
    But how to create event individually for each button

    Do you mean how do you process each event from the buttons and know which button casued the event?
    If that is what you mean then look at ButtonGroup. You can add the same mouselistener to each button and then check which one cause the event:
    myButtonEvent.getButton()

  • How to create a button to display no of options?

    Hi,
    I want to create a button and when i click that button, no.of options should be displayed whatever i include.
    how can I achieve this??

    I'm using 11.1.2.1.0 Jdev
    I'm trying to display the data in hierarchy viewer.
    In that I want to display a button.
    and If I click that button, few options should be displayed there...
    So, how can I create a button to display series of options?

  • How to create an EVENT when defining a JOB

    Hi,
    I would like to run an abap program in background after a process order has been saved (transactions COR1-COR2).
    In the save exit (EXIT_SAPLCOZV_001) of the process order, I create the job that will run the abap program. after the process order is saved
    I created an event with SM62 but I do not know how to set it up.
    Or may be there is another solution.
    Thanks for your help.

    You can use the function module BP_EVENT_RAISE to raise the event. This can be called inside your user exit.
    First create an event in SM62.
    Now go to SM36 and create the job and give the ABAP program name you want to execute. Under START DATE select option AFTER EVENT. Then enter your SAP event name. After entering other information save the job.
    Please see this site for more info.
    http://www.sapfans.com/sapfans/sapfaq/robert.htm
    Events are mainly used to trigger from outside SAP.
    Thanks
    Vinod
    Message was edited by: Vinod C

Maybe you are looking for