HELP CREATING ADDITIONAL FIELDS  WITH  DROPDOWN IN STANDARD INFOTYPE

HI ALL,
I AM IN ABAP-HR.
I HAVE 2 THINGS 2 ASK MY FRIENDZ..
1). I WANT TO ENHANCE STANDARD INFOTYPE...
I  WANT TO PUT ADDITINAL FIELD WITH DROPDOWN...
I CAN PUT ADDITIONAL FIELD BUT I DONT KNOW HOW CAN I DO WITH DROPDOWN...
2).
OTHERTHING I WANT TO CHANGE THE TEXTFIELD OF STANDARD INFOTYPE..
I MEAN 2 SAY CHANGE TEXT 'BIRTHDATE' TO 'DATE'..
CAN U PLZ HELP ME OUT 4 THIS....
WAITING 4 FAVOURABLE REPLY..
BBYE..

Hello Bhumit,
1) to check how to bring values to a dropdown please refer the standard demo report programs in se38
a)DEMO_DROPDOWN_LIST_BOX
b)demo_dynpro_dropdown_listbox.
2)We need to understand that if the field label 'BIRTHDATE' is from a standard screen then the approach is to go to that particular screen ...delete the text and put our own text there as 'DATE' ..otherwise if the field is a custom field we can change the name in the field level or domain level
Pls check,revert and reward if helpful
Regards
Byju

Similar Messages

  • How to create a field with  1200 chars length

    Hi,
    Will anybody let me know how to create a field with length 1200 in a table.
    Regards,
    Madhavi

    Hi Madhvi,
    Other thing what you can do is
    1. First create a Table type.
         Goto SE11-> Dataelements ->Table type
         There on the next screen select Predefine radio button & there provide data type & size.
    2. Create a structure having a field typa of Table type created before. say that field is quant.
    Now in your program refer that structure to create an internal table & work area.
    Now if u append ur text to the field quant.
    try creating line type of size more that 255 if it works then fine other wise reduce it.
    Note:: This will be a deep structure.
    so first append value to the field quant,  the at the end of first record append valu to ur internal table.
    thanks
    Satyam

  • How can I create additional security with my ipad on a shared office network?

    How can I create additional security with my ipad on a shared office network?

    Haven't heard of any security explotes on the iPad.  That should tell you security has been built in.
    Great password.  Set up remote wipe in case iPad goes missing.  Backup iPad regularly.
    Robert

  • Search help for a field with no dictionary reference

    Hi!
    I have created a serchhelp (see se11)
    there  are two included search helps nested. Each one
    has it own serch help exit. First search help has two
    fields and one of them is a character field (CHAR030).
    It hasn't a reference dictionary table in that case.
    How can I assign a search help esspecially for this field.
    Its values are stored inside a internal table.
    Regards
    ertas

    Hi,
    I think you need to attach a search help to a field programitically .
    Below is one sample code.
    REPORT  ZMSTR0022.
    CONSTANTS: C_FORM_NAME TYPE TDSFNAME VALUE 'ZMST_PER_APPL'.
    TABLES :ZMST_PERMIT.
    TYPE-POOLS: SLIS.
    TYPE-POOLS :VRM.                           "Value Request Manager
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-023.
    SELECT-OPTIONS:S_PIDNUM FOR ZMST_PERMIT-ZPIDNUM ,
                   S_ENGDSC FOR ZMST_PERMIT-ZENGDSC NO INTERVALS LOWER CASE,
                   S_ARBDSC FOR ZMST_PERMIT-ZARBDSC NO INTERVALS LOWER CASE,
                   S_TARIFF FOR ZMST_PERMIT-ZTARIFF NO INTERVALS,
                   S_PERNUM FOR ZMST_PERMIT-ZPERNUM NO INTERVALS,
                   S_ARRPRT FOR ZMST_PERMIT-ZARRPRT NO INTERVALS MATCHCODE OBJECT ZMST_PORTS.
    PARAMETER:P_PERTYP(2) TYPE C AS LISTBOX VISIBLE LENGTH 20.
    SELECTION-SCREEN END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PIDNUM-LOW.
      W_NAME2 = 'S_PIDNUM-LOW'.
      W_NAME1 = 'ZPIDNUM'.
      PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PIDNUM-HIGH.
      W_NAME2 = 'S_PIDNUM-HIGH'.
      W_NAME1 = 'ZPIDNUM'.
      PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_ENGDSC-LOW.
      W_NAME2 = 'S_ENGDSC'.
      W_NAME1 = 'ZENGDSC'.
      PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_ARBDSC-LOW.
      W_NAME2 = 'S_ARBDSC'.
      W_NAME1 = 'ZARBDSC'.
      PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_TARIFF-LOW.
      W_NAME2 = 'S_TARIFF'.
      W_NAME1 = 'ZTARIFF'.
      PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_PERNUM-LOW.
      W_NAME2 = 'S_PERNUM'.
      W_NAME1 = 'ZPERNUM'.
      PERFORM F4_HELP USING W_NAME1 W_NAME2 .         "calling subroutine to provide desired F4 help
    *&      Form  F4_HELP
          text
    -->  p1        text
    <--  p2        text
    FORM F4_HELP USING: W_VAR TYPE DFIES-FIELDNAME
                        W_VAR1 TYPE HELP_INFO-DYNPROFLD .
    Fetching data from zmst_permit for F4 help on PERMIT ID No.--
      IF IT_PERMIT[] IS INITIAL.
        SELECT ZPIDNUM
               ZENGDSC
               ZARBDSC
               ZTARIFF
               ZPERNUM
               ZARRPRT
               ZEFFDT
               ZEXPDT
               FROM ZMST_PERMIT INTO CORRESPONDING FIELDS OF TABLE IT_PERMIT.
      ENDIF.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD        = W_NAME1 " 'ZPIDNUM'
          DYNPPROG        = 'ZMSTR0022'
          DYNPNR          = SY-DYNNR
          DYNPROFIELD     = W_NAME2 "'S_PIDNUM'
          VALUE_ORG       = 'S'
        TABLES
          VALUE_TAB       = IT_PERMIT
        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.
    ENDFORM.                                                    " F4_HELP
    I hope this will help you.
    Help children of U.N World Food Program by rewarding  points and encourage others to answer your queries.

  • How to compare table's date field with dropdown year field

    Hi All,
    I have one requirement to display the selected rows from a database table based on the selection of drop down.
    Here, I have one dropdown of year(like 2009,2010,....) and I have one database table which contains one field with "DATE".
    Now, I want to compare table's DATE field with my dropdown field.
    Problem is that table's DATE field is of type "DATS" and dropdown is of type INTEGER(or) STRING ...
    How to compare this fields?
    Can any one please give me solution for this...!
    Thanks in Advance!

    Hi  sreelakshmi.B,
    try the following:
    DATA lt_dats        TYPE TABLE OF dats.
    DATA l_dat_i        TYPE          i.
    DATA l_dat_c_4(4)   TYPE          c.
    DATA l_dat_c_12(12) TYPE          c.
    DATA l_dats_from    TYPE          dats.
    DATA l_dats_to      TYPE          dats.
    *Move Date from Integer to Char
    l_dat_c_4 = l_dat_i = 2005.
    *Create Date From use in WHERE-Clause
    CONCATENATE '01.01.' l_dat_c_4 INTO l_dat_c_12.
    CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
         EXPORTING
              date_external            = l_dat_c_12
         IMPORTING
              date_internal            = l_dats_from
         EXCEPTIONS
              date_external_is_invalid = 1
              OTHERS                   = 2.
    IF sy-subrc <> 0.
    ENDIF.
    *Create Date To use in WHERE-Clause
    CONCATENATE '31.12.' l_dat_c_4 INTO l_dat_c_12.
    CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
         EXPORTING
              date_external            = l_dat_c_12
         IMPORTING
              date_internal            = l_dats_to
         EXCEPTIONS
              date_external_is_invalid = 1
              OTHERS                   = 2.
    IF sy-subrc <> 0.
    ENDIF.
    * Select records in range
    SELECT *
           FROM [DBTAB]
           INTO TABLE [ITAB]
           WHERE [DATE] BETWEEN l_dats_from
                        AND     l_dats_to.
    Regards
    REA

  • Search help for custome field with different data type

    Hi Friends,
    I have Created a  custom table in which i have created a field is
    ZMATLONG which stores material number.
    Now the data element is zdmat which is of char 40..
    Now i want to give search help for this field ZMATLONG..
    I have tried many ways giving search help to this field
    a) i Tried to attach the standard search help of MATNR ie : MAT1 but its showing me data type inconsistancy
    b) i created a zsearch help and in the selection method i have used database table mara , again here iam getting the same error data type inconsistancy...
    Now how can i give the search help like matnr field to my custom field ZMATLONG...
    How can i do it..?
    Thanks in Advance..
    Regards
    Kumar

    Hi,
    MATNR ahs length 18 and ZMATLONG has length 40.So due to this u cannot use MAT1 search help.
    best way would be cope MAT1 into Z search help. Then in the search help parameter change the data element of field
    MATNR as ZMATLONG.
    Now if you assign Z search help to ZMATLONG  it will work.
    I tried this its working fine.
    Shanmugavel Chandrasekaran

  • How to create a field with unlimited size (length)

    Hello guys
    I have to create a field in a table that holds a very long string of data (no maximum length known). Is there a way to handle this type of situation. If so what kind of field type should i be using.
    Thanks
    Ram

    Hi Prashanth
    I am an XI certified consultant with some self learning of abap and basis also. Because our company is small I am the only person incharge of our SAP work. So that is the reason I am using SDN's help in getting many of my questions answered and people have been very helpful here.
    One of the members had suggested to use VARC type, but when I try to use it, it said that this is not supported anymore.
    Hope to hear some feed back regarding this.
    Tks
    Ram

  • Is there a way to create a field with total pages viewed?

    Is there a way to create a field for a contact that stores the total # of pages he has ever viewed? We'd like to use this as a bases for lead scoring.

    Please don't use big red text. There's no need to do so - it won't be more attention and in fact may put people off of helping - and it's really difficult to read.
    Adding to what JG said, you can also purchase a prepaid iTunes card, available from most grocery store and discount chains in the US and other countries, and use that. You will need to enter in your address information, but you won't need a credit card.
    Regards.

  • Help creating a report with Financial Reporting Studio.

    Hi,
    Im new at Financial Reporting Studio so my question might be something very easy, for beginners.
    Im trying to create a report with two columns where in each column there is the year dimension. In the first column there is the current POV for year, but in the second column I would like to set the prevoius year of the POV automatically, without using a prompt. Is there any function or way to do it?
    Tanks foy yuour help!
    Edu

    Use the relative function.
    The first column will be set to use the User POV.
    For the second column... see the tab named "Functions". Select the function "RelativeMember". For the Member row - select User POV. For the offset enter -1... that will automatically select the prior year.

  • Need help in text field with 2D array

    text field with 2D array
    Hi
    I need help to represent (i) in from field and (j) in to field
    I and j are 2D an array indices.
    This code are not complated
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    //declaring class
    public class test3 extends Applet implements ActionListener
    { //declaring the TextField
    private TextField fromField ,toField;
    //declaring an array
    int weight[][];
    int m = 99; // m is infinity
    int N; // Set of Nodes
    int d; // distance
    int i; // source Node
    int j; // destition Node
    //declaring values of text field
    private int from = i; // start Node
    private int to = j; // end node
    public void init()
    setBackground(Color.white);
    setForeground(Color.red);
    //giving labels
    Label TITLE2,TITLE1;
    TITLE1 = new Label("from:");
    add(TITLE1);
    fromField = new TextField(5);
    add(fromField);
    // register listener using void add actionListener
    fromField.addActionListener(this);
    TITLE2 = new Label("to");
    add(TITLE2);
    toField = new TextField(5);
    add(toField);
    // register listener using void add actionListener
    toField.addActionListener(this);
    // event handler methods
    public void actionPerformed(ActionEvent event) {
    //declaring textfield
    from=Integer.parseInt(fromField.getText());
    to=Integer.parseInt(toField.getText());
    weight =new int[7][7];
    weight[1][1] = 0; weight[2][1]= 2;
    weight[1][2]= 2; weight[2][2]= 0;
    weight[1][3]= 5; weight[2][3]= 3;
    weight[1][4]= 1; weight[2][4]= 2;
    weight[1][5]= 99; weight[2][5]= 99;
    weight[1][6]= 99; weight[2][6]= 99;
    weight[3][1]= 5;
    weight[3][2]= 3;
    weight[3][3]= 0;
    weight[3][4]= 3;
    weight[3][5]= 1;
    weight[3][6]= 5;
    for (int i=1; i<7; ++i) {
    for (int j=1; j<7; ++j)

    all your base are belong to us

  • How can I modify the Contacts Template to display additional fields with out selecting "add field" everytime?

    How can I modify the contacts template in either iCloud, my iPhone, or my iPad to display additional fields that I always use ... example: How can I get Job Title to always be a fillable field with out selecting "add field" everytime?

    Let the HairSalon implement the java.lang.Comparable interface. You'll need to write code for
    public int compareTo(Object o1, Object o2)
    The compare method would cast the Objects to HairSalons and return the difference in price.
    Then use java.util.Arrays.sort(Object []);

  • Creating Travel request with TRIP Getting Error 'Infotype P0017 could not be read'

    Getting this error while creating travel request with TRIP transaction code. Please help for an alternate way to create Travel request or help to resolve this issue.
    If this error is due to 0017 maintenance, please help me to maintain infotype 0017.

    Hi
    This is done by functional Guy
    As work around
    Go to transaction PA30 to open master record of employee for whose trip need to be created type 17 at infotype ->  enter F5  and Save.
    With regards,
    Gopala Krishna

  • Create additional field in sales order item and copy to purchase order item

    Dear SAP Gurus,
    I am hoping that someone could help me by providing me with how to implement the following 2 requirements in the SD order and in the purchase order.
    1. I am wanting to add a custom field to the SD sales order item copying a value from the vendor customer master.
    2. I then want to add a custom field to the purchase order item and copy the value from my custom field in 1. to this new custom field..
    Can you please advise how I would go about implementing the above requirements?  I am assuming that there are exits to allow me to implement these 2 requirements.
    Many thanks
    Henry

    Hi,
    For the first requirement you can use the USEREXIT_MOVE_FIELD_TO_VBAP in report MV45AFZZ.
    For the second, as I think that you will create a RFQ you can try to use the enhancement MEREQ001.
    Regards,
    Eduardo

  • Search help on a field with value range

    Hi,
    I have a z-table. One of its fields has a z-data element with z-domain which has a value range. I have a requirement to add a search help on selection screen field which is parameter for mentioned field of my z-table. How can I do that?
    Tnx in advance,
    Nati

    Hi,
    Where you want to add the search help, i mean in report or in screen painter.
    In Screen painter, you can take the reference of Z-Data Element by Dictionary option in Screen layout.
    If it is report, you can use F4 function module(F4IF_INT_TABLE_VALUE_REQUES) or can creat the elementary search help in DDIC and give it as MATCHCODE OBJECT in PARAMETER statement.
    Regards,
    Chandu

  • Help validating param fields with Javascript

    Hi,
    Rpt Escapes: B4 Form Values, I added a javascript that validates the entered date_ranges(date_from -- date_to) -- must not be > 30 days. If I used that javascript in one of the param fields (web_settings:: Additional HTML = onChange="show_alert(this.form)") -- it works. but I need to put that alert when the user clicks the submit button, so in the Rpt Escapes:: Before Form Value, I changed this:
    <body dir=&Direction bgcolor="#ffffff">
    <form method=post action="_action_"> ** CHANGED THIS TO:
    <form method=post action="_action_" onSubmit="return show_alert(this.form);">
    <input name="hidden_run_parameters" type=hidden value="_hidden_">
    <font color=red><!--error--></font>
    <center>
    <p><table border=0 cellspacing=0 cellpadding=0>
    <tr>
    <td><input type=submit></td>
    <td width=15>
    <td><input type=reset></td>
    </tr>
    </table>
    <p><hr><p>
    --- but it's not working. any ideas?
    thanks!!!

    Hello,
    I have tried with the following code (Source HTML of the parameter form):
    <head>
    <base href="http://xxxxxxx/dev6i/rwcgi60.exe/getfile/repserver/5/14532348.htm">
    </head>
    <html>
    <body bgcolor="#ffffff">
    <script>
    function validate (form)
    alert(form.DEPARTEMENT.value);
    </script>
    <form method=post action="http://xxxxxxxxx/dev6i/rwcgi60.exe?" OnSubmit="javascript:validate(this);">
    <input name="hidden_run_parameters" type=hidden value="xxxxxxxxx">
    <center>
    <p><table border=0 cellspacing=0 cellpadding=0>
    <tr>
    <td><input type=submit></td>
    <td width=15>
    <td><input type=reset></td>
    </tr>
    </table>
    <p><hr><p>
    <!-- Created by Oracle Reports 12:59 Tue Aug 13 , 2002 -->
    <table border=0 cellspacing=0 cellpadding=0 width=337>
    <tr><td width=23><td width=60><td width=15><td width=17><td width=28><td width=127><td width=32><td width=34><td width=1>
    <tr><td colspan=9 height=19>
    <tr valign=top>
    <td height=9 colspan=4>
    <td width=155 colspan=2 rowspan=2><font face="Arial"><b>Report Parameters</b></font>
    <td colspan=3>
    <tr valign=top>
    <td height=9 colspan=4>
    <td colspan=3>
    <tr><td colspan=9 height=9>
    <tr valign=top>
    <td height=9 colspan=2>
    <td width=219 colspan=5 rowspan=2><font face="Arial"><b>Enter values for the parameters</b></font>
    <td colspan=2>
    <tr valign=top>
    <td height=9 colspan=2>
    <td colspan=2>
    <tr><td colspan=9 height=9>
    <tr valign=top>
    <td height=9>
    <td width=75 colspan=2><font size=2 face="Arial"><b>Departement</b></font>
    <td colspan=2>
    <td colspan=3 rowspan=3><INPUT type=TEXT name="DEPARTEMENT" size=27 maxlength=40 >
    <td>
    <tr valign=top>
    <td height=9 colspan=5>
    <td>
    <tr valign=top>
    <td height=9 colspan=5>
    <td>
    </table>
    </center>
    </body>
    </form>
    </html>
    and the value of the parameter DEPARTEMENT is displayed in a dialog box.
    Regards

Maybe you are looking for