Password type input field - dynamically

Hello,
I can dynamically ask for user input using the APEX_ITEM package. My problem is that I'd also like to input passwords this way, but I couldn't find the appropriate function in APEX_ITEM. Is there a way to dynamically generate password-type input fields with the '*****' input style?
Any help will be much appreciated,
Denes Toth

You are right, the APEX_ITEM API doesn't generate a input type="password" field.
See Display as Password in updateable report for an alternative approach.

Similar Messages

  • Module pool to create input field dynamically.

    Hi All,
    I have a requirement in module pool programming,
    Where I have one input field,based on the value given in this input I have to get the
    input fields dynamically in the screen.
    Is it possible to achieve this?
    If yes, please do tell me the solution to approach this requirement.
    With Regards,
    S.Asha.

    Hi,
    You can use IMPORT DYNPRO / EXPORT DYNPRO.
    Please check this URL: [Import/Export dynpro not working|Import/Export dynpro not working]
    [EXPORT DYNPRO or GENERATE DYNPRO|EXPORT DYNPRO or GENERATE DYNPRO]
    Cheers,

  • How to set default value to input field dynamically

    Hello Experts,
    I am using adobe forms inside Webdynpro Java.
    Adobe form is having few input fields where at run time i want to assign default value to those fields.
    How can i do it ?
    Thanks in advance,
    Vinay
    Edited by: VINAY on Feb 24, 2011 6:39 AM

    Hi Mate,
    Just set the value to the webdynpro context fields on view init.
    if its like that will override the values entered by use on the form.
    just check if the default value is equall to the field value if yes leave it, if not dont touch that field.
    does this make sense...?
    Cheers,
    Sai

  • Create input field dynamically

    Hi.
    I need to create always a new input field to page when pushing button. How this can be done? How can I define that a new field is placed under another?
    Something like this?
    javax.faces.component.UIViewRoot root = FacesContext.getCurrentInstance().getViewRoot();
              UIComponent form = root.findComponent("form1");
              HtmlInputText input2 = new HtmlInputText();
              input2.setSize(50);
              form.getChildren().add(input2);
    Message was edited by:
    basti78

    javax.faces.component.UIViewRoot root = FacesContext.getCurrentInstance().getViewRoot();
    UIComponent form = root.findComponent("form1");
    HtmlInputText input2 = new HtmlInputText();
    input2.setSize(50);
    form.getChildren().add(input2);
    I did this in doActionMethod but nothing happened. Is that panelGrid only for layout and it has nothing to do component visibility? Could you pass me an example?
    I also find this kind of example:
    Application application =
    FacesContext.getCurrentInstance().getApplication();
              outputText = (HtmlOutputText)application.createComponent(HtmlOutputText.COMPONENT_TYPE);
              outputText.setValue("test outputText ");
              form.getChildren().add(outputText);
              try {
                   outputText.encodeBegin(FacesContext.getCurrentInstance());
                   outputText.encodeChildren(FacesContext.getCurrentInstance());
                   outputText.encodeEnd(FacesContext.getCurrentInstance());
              } catch (IOException e) {
                   e.printStackTrace();
    null

  • How to display input fields dynamically in PCR

    Dear SDN Community,
      In Position Change PCR, I would like to display different wagetypes the employee has got. Some of the employees has got 1 and others has got 2,3,4. Can you please tell me how do I achieve displaying these wage types dynamically.
    Thanks!
    Surya.

    Hi Surya,
    Good that you have taken time to update the thread.
    Thanks and regards,
    - anto.

  • How to find data type of field dynamically in abap

    hi all,
    I am hanged up in one issue. There an internal table is filled.
    theres one field ,and  i want to extract the data type of the field content.
    Ex. i_tab is internal table having field var1.
          let the content of var1  have data type same as that of matnr (material no.)
    so here i want to extract this data type.
    thanx in advance for efficient help

    hi,
    Use the statemnt
    DESCRIBE FIELD 
    Use the edition   TYPE typ [COMPONENTS com]
    More help use F1
    example fropm F1 help
    DATA: BEGIN OF struc1,
            comp1 TYPE c LENGTH 1,
            comp2 TYPE string,
            BEGIN OF struc2,
               comp1 TYPE c LENGTH 1,
              comp2 TYPE i,
            END OF struc2,
          END OF struc1,
          typ1  TYPE c LENGTH 1,
          comp1 TYPE i,
          typ2  TYPE c LENGTH 1,
          comp2 TYPE i.
    DESCRIBE FIELD: struc1        TYPE typ1 COMPONENTS comp1,
                    struc1-struc2 TYPE typ2 COMPONENTS comp2.
    regards
    prasanth

  • Dynamically bind input field

    Hi all
    I have input field and it already binded context attribute .I am working on enhancement frame work so I can not modify propety of context attribute.My requirement is to create new attribute and bind it with input field dynamically.
    I am able to create context attribute and bind it to input field but it's not working ,can we do it dynamically????
    Pls help
    Regards Reeha

    Hi,
    if you already have a context attribute than you can do this, I just created a test application to create one input field and bind it with a context attribute dynamically.
    my context is like this:
    SUBS_TYPE_NODE   <------node name
    -SUBS_TYPE_VALUE  <----node attribute type string
    under WDDOMODIFYVIEW i did this:
    if first_time = abap_true.
    DATA:
        lr_container TYPE REF TO cl_wd_uielement_container,
       lr_input TYPE REF TO cl_wd_input_field.
    get a pointer to the RootUIElementContainer
        lr_container ?= view->get_element( 'ROOTUIELEMENTCONTAINER' )
        lr_input = cl_wd_input_field=>new_input_field(
        bind_value = 'SUBS_TYPE_NODE.SUBS_TYPE_VALUE'  "notice here how I passed the node and its attribute
        id =   'INPUT_F1'
        view =  view ).
        cl_wd_matrix_data=>new_matrix_data( element = lr_input ).
        lr_container->add_child( lr_input ).
    endif.
    hope this helps...
    AS.

  • Dynamically  Visibilty of Input Field in Interactive PDF Form

    Hi All,
    I want to bind the visibilty of Input Field dynamically in an Interactive PDF Form. How can I do ?
    Please give me some solution
    Regards
    Manish

    Manish,
    Well select the inputfield & check the Scripting Window in your Designer.
    On its top, you will see an option something as Show: Events with Scripts.
    Select the initialize event and insert the code she mentioned. Then click on + sign. This will enter your changes.
    There will be language option on top as well. Select JavaScript from it.
    So in the end your code should read something like this.
    ----- data.<YourFormName>.txtInput::initialize: - (JavaScript, client) ----------------------------------
    txtInput.presence = "invisible";
    Chintan

  • How to set number of characters in input field ?

    I am creating an input field dynamically (via CL_WD_INPUT_FIELD).
    I am binding the value (via BIND_VALUE) to an attribute with type CHAR30.
    I want to give the possibility to enter a number with 4 digits (0 - 9999).
    Is it possible to restrict the number of characters that can be entered to 4 (although the BIND_VALUE attribute has a type CHAR30, that allows 30)?
    I have tried it via set_length, bind_length but it seems that the length of the BIND_VALUE attribute overrules the length information...

    Hi Moritz,
    AFAIk you have no other option as using a NUM4 here.
    Set Length just sets the lengths of the inputfield according to the current character set ... count of charcters but does not limit the value you may enter
    Cheers
    Sascha

  • How to link label with an input field in data table?

    I am curious if there is a nice way to link a label to input field in a data table directly in JSP? Data filling the table are dynamically bounded.
    Sample, simplified code below. Values of "label" property are unique in the collection binded to dataTable.
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core"
         xmlns:h="http://java.sun.com/jsf/html"
         xmlns:jsp="http://java.sun.com/JSP/Page">
         <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" />
         <f:view>
              <html>
              <body>
              <h:dataTable value="#{screen$monitoring$errorlog$CorrectHopper.dataset}" var="DATA_ROW">
                   <h:column>
                        <f:facet name="header">
                             <h:outputText value="Name" />
                        </f:facet>
                        <h:outputLabel value="#{DATA_ROW.label}" for="#{DATA_ROW.label}_id" />
                   </h:column>
                   <h:column>
                        <f:facet name="header">
                             <h:outputText value="Value" />
                        </f:facet>
                        <h:inputText value="#{DATA_ROW.label}" id="#{DATA_ROW.label}_id" />
                   </h:column>
              </h:dataTable>
              </body>
              </html>
         </f:view>
    </jsp:root>
    returns:
    17:39:01,390 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
    java.lang.IllegalArgumentException: #{DATA_ROW.label}_id
    what is related to EL expression in h:inputText's "id" attribute.
    Is there any other way to bind label with dynamically created input field in JSP? Do I really have to bind input field directly to component objects with "binding" and set IDs manually with setId() (what is ugly solution because it moves View related logic to Model layer)?

    I've thought of using EL because I have to somehow
    link a label to an input field dynamically. Somehow? Dynamically? Just use plain text :)Well... just look at my code snippet (notice: we want to join the pairs of labels and text boxes placed in a datatable [or any other repeater-like component rendering properties of objects from a collection]):
    <h:dataTable value="#{screen$monitoring$errorlog$CorrectHopper.dataset}" var="DATA_ROW">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Name" />
    </f:facet>
    <h:outputLabel value="#{DATA_ROW.label}" for="#{DATA_ROW.label}_id" />
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="Value" />
    </f:facet>
    <h:inputText value="#{DATA_ROW.label}" id="#{DATA_ROW.label}_id" />
    </h:column>
    </h:dataTable>
    and what is your idea of using plain text as "id" attribute value in this case? :)
    Regards,
    Michal

  • Not allows to assign default value to input field using values in datastore

    Hi Masters,
    Consider that I have one input field in a form. I should assign default value to it. I should assign to it, the value which i have stored in a datastore. When i run the application, if i give default value as 123 ,then it is working fine i.e., it is showing 123 in the textfield in form , but if i give the default value as STORE@ProductId, then it is not displaying that value in the form.
    Please help me out.
    Thanks & Regards,
    Kaushik Sreeram

    Hi,
    i faced this problem and here's what i concluded:
    There's no way you can set default value for input field dynamicly, since the default value of input control is caculated only once (i think on initializing of the iView). The input control and the data store are initialized at the same time, STORE@productID is empty that time...
    If you don't need to recieve value through the input field you're trying to initialize, but just to display the value from the store - I suggest you try using another control - Expression Box. It's value is calculated continiously, just like the Label's, and you can refere to it later.
    Regards,
    Yulia

  • Clear Input Field

    I need to clear the input field on the screen, if the input by the user is invalid. This is a generic code and need to be used in many screens. I would not really like to hard code the field names in the code to clear the input field (in the PAI event of the screen). Is there a way to use SCREEN-NAME variable to clear the input field dynamically whose name is stored in SCREEN-NAME variable?
    Any help would be highly regarded !!!!

    Hi Nikhil,
    see this report
    select second radiobutton and press on enter ,
    enter some values in the PO number and press enter it will show you the error message and it wil clear the values also
    REPORT ZNNR_REPORT NO STANDARD PAGE HEADING MESSAGE-ID ZNNR LINE-SIZE 100 LINE-COUNT 65(4).
    ******DATA DECLARATIONS**********
    DATA : BEGIN OF IT_PLANT OCCURS 0,
    MATNR LIKE MARA-MATNR,
    WERKS LIKE MARC-WERKS,
    PSTAT LIKE MARC-PSTAT,
    EKGRP LIKE MARC-EKGRP,
    END OF IT_PLANT.
    DATA : BEGIN OF IT_PONO OCCURS 0,
    EBELN LIKE EKKO-EBELN,
    EBELP LIKE EKPO-EBELP,
    MATNR LIKE EKPO-MATNR,
    WERKS LIKE EKPO-WERKS,
    LGORT LIKE EKPO-LGORT,
    END OF IT_PONO.
    TABLES EKKO.
    ********END OF DATA DECLARATIONS*********
    ********SELECTION SCREEN DESIGN ***********
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1.
    SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X'.
    SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B2.
    ******END OF SELECTION SCREEN DESIGN****************
    *********INITIALIZATION OF SELECTION SCREEN ELEMENTS.*****
    INITIALIZATION.
    P_WERKS = '1000'.
    S_EBELN-LOW = '4500016926'.
    S_EBELN-OPTION = 'EQ'.
    S_EBELN-SIGN = 'I'.
    APPEND S_EBELN.
    CLEAR S_EBELN.
    ************END OF INITIALIZATION***********************
    ***********SCREEN MODIFICATIONS*******************
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF R1 EQ 'X' AND SCREEN-GROUP1 EQ 'S2'.
    SCREEN-INPUT = 0.
    MODIFY SCREEN.
    ENDIF.
    IF R2 EQ 'X' AND SCREEN-GROUP1 EQ 'S1'.
    SCREEN-INPUT = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ********END OF SCREEN MODIFICATIONS*****************
    ***************SCREEN VALIDATIONS *****************
    at selection-screen.
    SELECT SINGLE *
    FROM EKKO
    INTO EKKO
    WHERE EBELN IN S_EBELN.
    IF SY-SUBRC 0.
    SET CURSOR FIELD 'S_EBELN-LOW'.
    MESSAGE E999 WITH TEXT-005.
    clear S_ebeln-low.
    ENDIF.
    ********end of screen validation*****************
    START-OF-SELECTION.
    *set pf-status '100'.
    IF R1 EQ 'X'.
    SELECT MATNR
    WERKS
    PSTAT
    EKGRP
    FROM MARC
    INTO TABLE IT_PLANT
    WHERE WERKS = P_WERKS.
    LOOP AT IT_PLANT.
    WRITE : SY-VLINE , 2 IT_PLANT-MATNR COLOR COL_KEY,
    21 SY-VLINE , 22 IT_PLANT-WERKS COLOR COL_KEY,
    27 SY-VLINE ,28 IT_PLANT-PSTAT COLOR COL_NORMAL,
    43 SY-VLINE ,44 IT_PLANT-EKGRP COLOR COL_NORMAL.
    ENDLOOP.
    ENDIF.
    IF R2 EQ 'X'.
    SELECT EBELN EBELP MATNR WERKS LGORT
    FROM EKPO
    INTO TABLE IT_PONO
    WHERE EBELN IN S_EBELN.
    LOOP AT IT_PONO.
    WRITE : SY-VLINE , 2 IT_PONO-EBELN COLOR COL_KEY,
    12 SY-VLINE , 13 IT_PONO-EBELP COLOR COL_KEY,
    18 SY-VLINE , 19 IT_PONO-MATNR COLOR COL_NORMAL,
    37 SY-VLINE , 38 IT_PONO-WERKS COLOR COL_NORMAL,
    44 SY-VLINE , 45 IT_PONO-LGORT COLOR COL_NORMAL, 49 SY-VLINE..
    ENDLOOP.
    ENDIF.
    TOP-OF-PAGE.
    IF R1 EQ 'X'.
    *ULINE AT /1(48).
    WRITE : SY-VLINE ,2 'MATERIAL NUMBER',
    21 SY-VLINE , 22 'PLANT',
    27 SY-VLINE , 28 'STATUS',
    43 SY-VLINE , 44 'GRUP', 48 SY-VLINE.
    ULINE AT /1(48).
    ENDIF.
    IF R2 EQ 'X'.
    WRITE : SY-VLINE , 2 'PO NUMBER',
    12 SY-VLINE, 13 'ITEM',
    18 SY-VLINE,19 'MATERIAL NUMBER',
    37 SY-VLINE, 38 'PLANT',
    44 SY-VLINE, 45 'GRUP',
    49 SY-VLINE.
    ULINE AT /1(50).
    ENDIF.
    END-OF-PAGE.
    ULINE AT /1(50).
    WRITE :/10 'PAGE NUMBER', SY-PAGNO.
    kindly reward if helpful.
    cheers,
    Hema.

  • How to get the co-ordinates of a dynamically created input field

    Hello Frn's
    i have created a dynamic text view . but this text view is not appearing at proper position . I want palce it infront of a dynamically created input field . how can i do this ?
    as i am thinking ...i should first of all  get info about the co-ordinates of   dynamaclly creatd input field . and with respect to these co-ordinates ...set the position of  text View .
    Please suggest  your thoughts .
    Thanks and Regards
    Priyank Dixit

    Hi,
    There is no provision in WD for getting screen coordinates and then placing the UI element.
    You to add the UI element to layout editor and based on the layout type it will add the UI element to respective position.
    I would advice not to create dynamic UI elements( instead you can create them statically and then play with visibility status through context binding ). This will be more effective way and less error prone. This is also recommended practice.
    still,For dynamic creation you can refer to following wiki:
    http://wiki.sdn.sap.com/wiki/display/WDABAP/CreatingUIElementsDynamicallyinAbapWebdynpro+Application
    regards
    Manas Dua

  • F4 Help for a dynamic input field( class CL_DD_INPUT_ELEMENT)

    Hi all,
    I am programming a dynamic document which has several input fields on it. I want to program F4 helps for these fields, does anyone have an idea how I can do that?
    I have the idea to program a button(class CL_DD_BUTTON_ELEMENT) next to the input field and manually program an F4 help in the event handler of the button. But I do not know how I can handle pattern entries with '*' etc. in the input field. Is there a function module which could give me an F4 list(F4IF_INT_TABLE_VALUE_REQUEST could not be used, because it needs a dynpro field as a return field, which we do not have in this case).
    Kind Regards,
    Sükrü

    hi
    good
    SELECTION-SCREEN DYNAMIC SELECTIONS FOR NODE|TABLE node.
    allows you to define further nodes for dynamic selections. If the node has type T, you can use TABLE instead of NODE. The user can then decide at runtime the components of the node for which he or she wants to enter selections. Dynamic selections require special handling in the database program
    F4 HELP->
    AT SELECTION SCREEN ON VALUE REQUEST FOR P_SACHA.
        PERFORM VALUES_SACHA.
    THANKS
    MRUTYUN^

  • Dynamic enabling of input fields via radio btn in report selection screen?

    Hi there!
    I was wondering whether one can dynamically enable/disable input fields on a selection screen of a report-program.
    Or is this only possible for selection screens in dynpro-programs?
    If possible for reports - could you give an example?
    Thanx a lot.
    Andreas

    Hi,
    yes..You can dynamically disable and enable inputs fields in the selection screen..
    Check this ex..If you press the first radio button..The second input will be disabled...And vice versa..
    PARAMETERS: p_r1 RADIOBUTTON GROUP g1 USER-COMMAND usr DEFAULT 'X',
    p_r2 RADIOBUTTON GROUP g1.
    PARAMETERS: p_input1 TYPE matnr MODIF ID m1,
    p_input2 TYPE matnr MODIF ID m2.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF p_r1 = 'X'.
    IF screen-group1 = 'M2'.
    screen-input = '0'.
    ENDIF.
    ELSE.
    IF screen-group1 = 'M1'.
    screen-input = '0'.
    ENDIF.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    Thanks,
    Naren

Maybe you are looking for

  • ALV in Web dynpro ABAP - Export option as HTML

    Hi All, I am developing a webdynpro application for which output will be in ALV. Here the requiremnet is to save the file in HTML format. But the Standard ALV in web dynpro has only the option to export the result in Excel and PDF. Could any one sugg

  • The wackiest thing ever on FCE

    Ok, this beats all. somehow, i lost my timeline and canvas, they were greyed out in the selection to modify the windows, so i found the answer on this forum, i think (double click on sequence) but i must have spaced out or something because right bef

  • HR t-code

    Dear all, I have assign HR oject Screen 500 in document type. can u please in which HR t-code i can see that document. Rgds

  • How to login to Personal Oracle 8i (30 day Evaluation copy)

    I downloaded Personal Oracle 8i from Oracle website. I already had Oracle 7 installed on my system. So during setup Universal Installer suggested to convert my data from older version to 8i, but it asked for Internal password. what is that? whenever

  • CAUTION-MAJOR BUG Address Book's "Merge Selected Cards" DELETES CONTENT!

    I have just realized (after losing much data) that when using the Merge Selected Cards function within the Apple Address Book that it will, without notification, delete content! That's right, if the two cards share different data but have the same fi