Using input filed in WAD

hi guys,
           I have a requirement like this, I want to get a date from input field in WAD ( that is user should enter the date in input field and by geting the date it should fetch in the query according to that date)
the Date input should be in Calender format so that user can select it from the calender ok
So i want some java scripts to bring a calender in the input box, and by gettting the calender date the values should be fetched according to that.
pls help me guys its urgent
regards,
sri

sri,
I think there is some default javascript functions available ...
check out :
http://www.mattkruse.com/javascript/calendarpopup/
Arun

Similar Messages

  • Dropdown funda using input field

    Hi
    I wanted to do something as follows
    in drop down u have options rite so i wanted those drop down options in a inputfield
    meaning when the user clicks on some button besides the input field then i want to open a drop down kinda box where all the options are displayed in the form of a tree and the user selects it it should be populated in the input text field ( i know that we can use a pop up window and a table with all the options inside it but i want this in a tree view and that to the dropdown like box should be xactly below the input field) any help will b appreciated.
    regards
    sudheer

    Hi manoj
    there is some reason behind why i am using input field for achieving this drop down functionality
    i have achieved what i want by doing the following way
    i have changed my layout to row layout and in the first row i have created the input filed and a button
    and in the second row i have created the tree structure i wanted and made it as invisible ok
    when the user clicks the button the tree will open up and the according to what the user selects i have set to the context from which the input field is set ( so the selected thing has ben displaying)
    the problem in this method is
    all the contents which are after the row 3 are moving down when i am making the tree visible which i dont want
    so i am searching for the alternatives. i know that EVS or SVS will help but according to my need i want a tree with options rather than table with options( as the case with EVS or SVS )
    any ideas will help me alot
    thanks and regards
    sudheer varma

  • How can I pass the values to the variable by using INPUT ON from output

    HI,
        In this code I printed  s_number by using INPUT ON .
    In the out put I want to give the some new values to that field s_number.
    That new value I  pass to the another prgroam ZMAT_LABEL_FIRST .
          How could I pass this new  content to this program.  I wrote like this but I am not getting new content what I entered in the output.
    REPORT  ZMAT_LABEL_SCREEN_V1    NO STANDARD PAGE HEADING                    .
    PARAMETERS S_MBLNR TYPE MSEG-MBLNR.
    DATA C .
    DATA CNT TYPE I.
    DATA   S_NUMBER(3) TYPE C.
    DATA : BEGIN OF IT_MBELN OCCURS 0,
            MBLNR TYPE  MSEG-MBLNR,
            END OF IT_MBELN.
    DATA :  BEGIN OF IT_MSEG OCCURS 0,
            ZEILE TYPE MSEG-ZEILE,
            MBLNR TYPE MSEG-MBLNR,
            MEINS TYPE MSEG-MEINS,
            BPMNG TYPE MSEG-BPMNG,
            MAKTX TYPE MAKT-MAKTX,
            END OF IT_MSEG.
    DATA IT_FINAL LIKE IT_MSEG .
    data: it_ret like ddshretval occurs 0 with header line.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_MBLNR.
    SELECT MBLNR
           FROM MSEG
           INTO TABLE IT_MBELN.
           CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
             EXPORTING
             DDIC_STRUCTURE         = ' '
               retfield               =  'MBLNR'
              PVALKEY                = ' '
             DYNPPROG               = ' '
             DYNPNR                 = ' '
             DYNPROFIELD            = ' '
             STEPL                  = 0
             WINDOW_TITLE           =
             VALUE                  = ' '
              VALUE_ORG              = 'S'
             MULTIPLE_CHOICE        = ' '
             DISPLAY                = ' '
              CALLBACK_PROGRAM       = 'ZMAT_LABEL_SCREEN '
             CALLBACK_FORM          = ' '
             MARK_TAB               =
           IMPORTING
             USER_RESET             =
             tables
               value_tab              =  IT_MBELN
             FIELD_TAB              =
              RETURN_TAB             =  IT_RET
             DYNPFLD_MAPPING        =
           EXCEPTIONS
             PARAMETER_ERROR        = 1
             NO_VALUES_FOUND        = 2
             OTHERS                 = 3
           IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.
    IF SY-SUBRC = 0.
    read table it_ret index 1.
    move it_ret-fieldval to S_MBLNR.
    ENDIF.
    START-OF-SELECTION.
    SELECT A~ZEILE
           A~MBLNR
           A~MEINS
           A~BPMNG
           B~MAKTX
           INTO CORRESPONDING FIELDS OF TABLE IT_MSEG
           FROM MSEG AS A INNER JOIN MAKT AS B
           ON AMATNR = BMATNR
           WHERE MBLNR = S_MBLNR.
    ****FINDING THE NUMBER OF RECORDS IN THE TABLE
    DESCRIBE TABLE IT_MSEG LINES CNT.
    at line-selection.
    DO CNT TIMES.
    READ LINE SY-INDEX FIELD VALUE C.
    IF C = 'X'.
    READ TABLE IT_MSEG INDEX SY-INDEX .
    ***HERE READ THE S_NUMBER(WHAT I ENTERED IN THE OUTPUT)  AND PASS TO THIS PROGRAM
    submit   ZMAT_LABEL_FIRST with p_mblnr = IT_MSEG-mblnr
                              with number =  S_NUMBER
                              WITH S_ZEILE =  IT_MSEG-ZEILE and return.
    CLEAR IT_MSEG.
    ENDIF.
    ENDDO.
    **********ALL ITEMS CORRESPODNING TO THE DOCUMENT NUMBER DISPLAY
    END-OF-SELECTION.
    LOOP AT IT_MSEG.
    WRITE : /10 C as  CHECKBOX,IT_MSEG-ZEILE,IT_MSEG-MAKTX,IT_MSEG-BPMNG,IT_MSEG-MEINS, S_NUMBER COLOR 5 INPUT ON.
    ENDLOOP.
    Regards,
    Surya

    Hi Surya..
    Change it like this ...
    START-OF-SELECTION.
    SELECT A~ZEILE
    A~MBLNR
    A~MEINS
    A~BPMNG
    B~MAKTX
    INTO CORRESPONDING FIELDS OF TABLE IT_MSEG
    FROM MSEG AS A INNER JOIN MAKT AS B
    ON AMATNR = BMATNR
    WHERE MBLNR = S_MBLNR.
    ****FINDING THE NUMBER OF RECORDS IN THE TABLE
    DESCRIBE TABLE IT_MSEG LINES CNT.
    at line-selection.
    <b>DO. </b>
    READ LINE SY-INDEX FIELD VALUE C
                                      <b>FIELD VALUE IT_MSEG-ZEILE.</b>
    <b>if sy-subrc ne 0.
      EXIT.
    ENDIF.</b>
    IF C = 'X'.
    ***HERE READ THE S_NUMBER(WHAT I ENTERED IN THE OUTPUT) AND **PASS TO THIS PROGRAM
    <b>CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      exporting
        INPUT = IT_MSEG-ZEILE
      IMPORTING
        OUTPUT = IT_MSEG-ZEILE .</b>
    submit ZMAT_LABEL_FIRST with p_mblnr = IT_MSEG-mblnr
    with number = S_NUMBER
    WITH S_ZEILE = IT_MSEG-ZEILE and return.
    CLEAR IT_MSEG.
    ENDIF.
    ENDDO.
    **********ALL ITEMS CORRESPODNING TO THE DOCUMENT NUMBER DISPLAY
    END-OF-SELECTION.
    LOOP AT IT_MSEG.
    WRITE : /10 C as CHECKBOX,IT_MSEG-ZEILE,IT_MSEG-MAKTX,IT_MSEG-BPMNG,IT_MSEG-MEINS, S_NUMBER COLOR 5 INPUT ON.
    ENDLOOP.
    <b>Reward if Helpful.</b>

  • Error while sending the data using input schedule

    Dear Friends,
    I am unable to send the data using input schedule due to following error is occur while sending the data.
    The Error Message : Member (H1) of dimension (ENTITY) is not a base member (parent or formula)
    Can anyone please help me to resolve the above error.
    Thanks and regards,
    MD.

    Hi,
    You are trying to send data to a parent/node, you can only send data in BPC to lowest-level children (base mamabers) of any dimension.
    "H1" is a parent in the entity dimension so you should try sending to a child.
    Tom.

  • JS error while using input fields with type=file on XP SP2

    Hi all,
    we found a new problem in applications which use input fields with type=file running in a browser on Microsoft Windows XP with SP2.
    A typical test layout might look like:
    <html>
      <head>
        <title>File-Upload</title>
      </head>
      <body>
        <form action="/cgi-bin/upload.pl" method=post
              enctype="multipart/form-data">
          <input type=file size=50 maxlength=100000 name="file"
                 accept="text/*"><br>
          <button onclick="document.forms[0].submit();">Send</button>
        </form>
      </body>
    </html>
    When you add a link without the fully qualified path (for example pic01.jpg instead of c:\pictures\pic01.jpg) and click on the 'Send' button, nothing happens and you get a Javascript error 'Access denied'.
    The solution can be found in the MS Knowledge Base article 892442:
    http://support.microsoft.com/default.aspx?scid=kb;en-us;892442
    We still investigate this issue and will inform you about the further proceeding.
    Regards,
    Rainer

    Hi Yepin Jin,
    I am facing the same issue did you solved it?
    Regards,
    Orlando Covault

  • How to use input box LOV in query panel (search region)

    Hi,
    We are having JDeveloper version 11.1.2.4.0
    In one of the JSF page, we are showing some data (absences).
    Requirement is to add search region at the top so that user can filter the data, based on search parameters like Business Group, Job etc.
    The search parameters are inter-dependent e.g. Job is dependent on Business Group. So when user selects some particular Business Group, Job search field should show jobs for that Business Group only.
    This works fine we use Choice List for both Business Group and Job.
    However since there are huge number of jobs, Job choice list makes page rendering very slow.
    So we tried to use Input box with LOV for Job.
    But now when job is selected in the LOV popup and returned to main page, job search field shows job id instead of job name.
    Please note that our base VO (AbsencesVO) contains JobId attribute. We have added List of Values on JobId, which fetches Job Name through JobVO1 view accessor.
    How to make Job LOV field show selected Job Name instead of ID? Kindly advise.
    Thanks,
    Vivek

    Thanks Timo/Bangaram, for prompt replies
    Timo, the link mentioned by you talks about showing IDs (DepartmentId, ManagerId etc.) in the search region. I need to show names in the form of Input box LOV.
    Bangaram, as per your suggestion I tried using transient JobName attribute. However now when I select any value in the Job LOV popup and return to main page, it shows first Job Name in the Job Name search field.
    Also when I click 'Search' button in Search panel, it shows error - Attempt to set a parameter name that does not occur in the SQL: BindJobName
    Please note that I have added both JobName and JobId in the List configuration as you suggested.
    In View criteria, I have removed previous item (condition) on JobId and added condition on JobName.(This is required because JobId condition shows JobId search field)
    I also tried making JobName dependent on JobId..still same behaviour.
    Kindly advise.
    Thanks,
    Vivek

  • Updating data in input filed

    Hi Iam new to WD java i have one issue ie,
    I have one input field name is FIRST in that I will select one value u2026..  and I have other input filed that is SECOND I will select one value Based on this two fields I have one more filed called THIRD. when ever I select the above values the related account number will be coming from backend u2026..
    Now the problem after entering the data atlast when we update the filed with new data in First filed automatically the THIRD filed which consists of data should be blank
    can you please tell me the logic of this how to do in terms of coding pls ....
    Thanks in Advance

    There is "onEnter" event for Input UI element. Write an action and set this action for "onEnter" event of the FIRST input field . In this action, set the context attribute for the THIRD Input field to empty string "".
    Hope this helps. If possible, give more details so that someone else may have a better answer.

  • In my application I am using input type = "time" but in Firefox 30.0 its showing plain text box. Can anyone tell me which version of Firefox supports it.

    In my application I am using <input type = "time"> but in Firefox 30.0 its showing plain text box. Can anyone tell me which version of Firefox supports this feature?
    <input type = "time"> is added in HTML5.

    See:
    *https://developer.mozilla.org/Web/HTML/Element/Input#Browser_compatibility
    <i>Please do not comment in bug reports<br>https://bugzilla.mozilla.org/page.cgi?id=etiquette.html</i>

  • Getting access denied error while importing file using input type="file"

    Hi All,
    I am using struts application wherein I need to import file for some purpose.I have used input type="file" for the same which goes like:
    <input type="file" id="uploadFile" name="uploadFile" size="50">
    I have the import button on which I have used onClick event to call javascript function submitValues() used to validate all the fields from the page which goes like:
    <input type="button" name="select" value="Import" class="CSSButton" onClick="javascript:submitValues();">
    The JS function then in turn submits the form and calls the action.The problem is sometimes even when the correct path is specified for the file to be imported results in access denied error.This error comes sometimes and other times it works fine.But when this error comes,I need to relogin into the application and then it works fine.I am using IE7 for this.
    Any idea why I am getting access denied error while importing? Has it got something to do with IE7 version or with the input type="file" which is being used here?
    Thanks for any help if anyone can provide.
    Edited by: passionateforjava on Mar 4, 2009 2:18 AM

    vishnuS1984 wrote:
    Hi Friends,
    I have gone through scores of examples and i am failing to understand the right thing to be done to copy a file from one directory to another. Here is my class...So let's see... C:\GetMe1 is a directory on your machine, right? And this is what you are doing with that directory:
    public static void copyFiles(File src, File dest) throws IOException
    // dest is a 'File' object but represents the C:\GetMe1 directory, right?
    fout = new FileOutputStream (dest);If it's a directory, where in your code are you appending the source file name to the path, before trying to open an output stream on it? You're not.
    BTW, this is awful:
    catch (IOException e)
    IOException wrapper = new IOException("copyFiles: Unable to copy file: " +
    src.getAbsolutePath() + "to" + dest.getAbsolutePath()+".");
    wrapper.initCause(e);
    wrapper.setStackTrace(e.getStackTrace());
    throw wrapper;
    }1) You're hiding the original IOException and replacing it with your own? For what good purpose?
    2) Even if you had a good reason to do that, this would be simpler and better:
    throw new IOException("your custom message goes here", e);
    rather than explicitly invokign initCause and setStackTrace. Yuck!

  • What is the use Business objects over WAD.

    Hi Folks,
    what is the use Business objects over WAD.
    How sap bw is going to use Business Objects.
    Thanks,
    Cheta.

    hi,
    A business object is a master record within the Measurement System, and is defined as part of the measurement class within Customizing.
    Examples of business objects are wells, well completions, and measurement points.
    Once the measurement object is maintained, it is saved with the business object so that when viewed, the measurement object is part of the business object.
    regards,
    Siddharth.

  • Is it possible to set DateHelp to an Input Filed

    Hi to All,
    I am designing an view which contains input parameters are From date and To date, to retrivie data between the dates.
    how can i set my input filed type as datetype to select date by the user?
    and another thing is,
    my rfc is having a date input parameters, in custom controller implementation part, how can i initialize my date fileds.
    for example,
    Bapi_Flight_Getlist_Input input = new Bapi_Flight_Getlist_Input(); wdContext.nodeBapi_Flight_Getlist_Input().bind(input);   input.setDestination_From(<b>new Bapisfldst()</b>); input.setDestination_To(new Bapisfldst());
    My RFC is, Z_Sales_Order_Register
    <b>sample implementation of controller.</b>
    Z_Sales_Order_Register_Input input = new Z_Sales_Order_Register_Input();
    wdContext.nodeZ_Sales_Order_Register_Input().bind(input);
    input.setS_FDate(----
    what i can put here in blanks?
    Reply me, if anybody can!
    Regards,
    sireesha.

    About your second question:
    go to sap transaction SE37 and check the type of the parameter that your RFC is expecting.
    usually RFCs expects dates as strings in the following format: YYYYMMDD
    then you should write something like:
    input.setS_FDate(new String());
    and later, before executing the RFC:
    input.setS_FDate("20051205");
    hope it helps, Adi

  • WebI 4.0 using BEx Query - #TOREFRESH when using input control

    Once I refresh my webI report for certain month range and then I use input control for analysing my data within that month range. It always ask for refresh "#TOREFRESH".
    The above happens also if I have lot of formula variables in my report then it always ask for refresh when I use input controls on different member.
    Please let me know if this is a known issue.
    I posted this in Ideas too - >  https://cw.sdn.sap.com/cw/ideas/9226?back=false
    Thanks

    #TOREFRESH normally indicates that the returned data have dependencies for which you need to manually refresh again to pull the correct data however this would incorrectly appear under some circumstances.
    Please see [Using Functions, Formulas and Calculations in SAP BusinessObjects Web Intelligence|http://help.sap.com/businessobject/product_guides/boexir31SP5/en/xi31_sp5_webi_ffc_en.pdf] for additional information.
    If you are below SP3 FP3.7 we suggest to upgrade to that patch level or better to SP4 FP4.1 or SP5
    Please note that Ideas is for new functionalities
    Thanks
    Edited by: Simone Caneparo on Mar 6, 2012 4:18 PM

  • Load master data using input schedules

    Hi all,
    Does there exist a way to load and modify master data using input schedules?
    Regards,
    Nithya

    Hi Nithyapriya,
    Chiming in here to 2nd Joost's statement above.  As of BPC 5.1 version, it is not possible to update master data from an Input schedule.
    Whether that's possible in other products or with BPC 7.0 NW (currently in Ramp-up), is another story.  For now, the general answer is that it's not possible.
    This is a known area for improvement with BPC at this time, and we're sure to hear more about either integration with NetWeaver or some other methods of making things more dynamic, or with SSIS packages, etc.. in the future.
    Edited by: garrett tedeman on Sep 2, 2008 7:20 PM

  • Positioning the cursor in the list while using INPUT ON

    Hi all,
    I am using INPUT ON command in write statement for quantity field(BDMNG).
    My question is how to posiotion the cursor towards right side for the field.
    Thanks,
    Vijay.

    When you write the field, did you try to play with its alignment?
    Try this:
    DATA: l_bdmng    TYPE bdmng.
    WRITE l_bdmng left-JUSTIFIED INPUT ON.
    It is not going to give your cursor the last position, but at least you will have a different behaviour.
    Leonardo De Araujo

  • Need right value to Load/Read Velocity Using Input/Return Vectors

    I have a servo motor with a encoder feedback of ( 4,000 counts per revolution ), maximum velocity of 6,000 rpm ( 100 rps ). I need to create 3 moving profiles with stroke time of 0.25 mm/sec, 1.0 mm/sec, and 25 mm/sec. I would like to use either Load Velocity VI or Load Velocity in RPM VI whichever is easy to set velocity, distance, and read position of my axis. More, I would like to be able to use onboard variables to set distance, velocity, and read position of the axis using input/return vectors, but I don't know how to set the right values. Do I need a conversion or multiplier number to get the right value?
    Any help would be greatly appreciated.
    Carlos D' Garcia.

    Carols –
    There is a simple vi on how to do vector moves at the following link (I also attached the file below):
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DF9956A4E034080020E74861&p_node=DZ52480&p_source=External
    To have your axes move at different rates, you will have to replace the single ‘Load Velocity in RPM.vi’ that is wired to the Configure Vector Space.flx with three separate Load Velocity RPM.vi’s each with an axis constant (or control) wired to their axis input and the max velocity you want. This way, you will set the maximum velocity for each axis rather than all three at once.
    Best of luck with your project! Let me know if you have further questions with this.
    Marc C
    National Instruments
    Applications Engineer
    Attachments:
    Three-Axis_Vector_Move_with_Position_Monitor.zip ‏29 KB

Maybe you are looking for

  • How do I get AirPort Express to work with my iPhone 4s?

    Hey there, I installed AirPort Express yesterday to make a wifi network out of the ethernet access that I have. It worked perfectly fine with my MacBook but my iPhone 4s does not seem to be able to hold on to the network! I can connect to the network

  • Current Month vs. YTD

    I am wanting to show account balances for the Current Month vs. Year to Date. I am using a BSO cube and have heard that Dynamic Time Series don't work in OBIEE, which is where we're going to be building reports off this data. We want this calculation

  • How can I retrieve the Partners by Purchase Order Preview

    Hello Experts, we are facing an issue regarding the preview function for Purchase Order. We want to print some partners like the contact person in the form but when we use the function module ME_READ_PO_FOR_PRINTING to retrieve the data we cannot fin

  • Audigy Gamer not found by Wondows XP - Emu10kx installing inst

    I have bee using an audigy gamer quite succesfully for the past year or so. Today, I upgraded my motherboard and cpu. my new motherboard has built on sound (as they all do now) that I have DISABLED in BIOS. I reinstalled a fresh copy of WindowsXP so

  • Help needed with my form - PLEASE!

    My form on avarislaw.com is working properly. The form attach file area should not be mandatory but for some reason it still apears even when I change this in BC. Please help! Thanks Andy