Pop up to select a value onto selection-screen field

Hi folks
I have a custom field on the SELECTION-SCREEN. Now how can I get my desired values on F4 function key click display n get the selected value in the field. 
IN A CLASSICAL n ALV scenarioes.
Can u plz Gimme a sample code on that.
Thanks in advance.
Regards,
Ram

Hi Ram,
Refer to the code below.
Suppose you have a field called priority on  the screen for which u need F4 help.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_priok-low.
SELECT priok
        INTO TABLE i_priok
        FROM t356_t
        WHERE artpr EQ c_cr.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
  DDIC_STRUCTURE         = ' '
      retfield               = 'PRIOK'
  PVALKEY                = ' '
      dynpprog               = sy-cprog
      dynpnr                 = sy-dynnr
      dynprofield            = 'S_PRIOK-LOW'
  STEPL                  = 0
  WINDOW_TITLE           =
  VALUE                  = ' '
   value_org              = 'S'
  MULTIPLE_CHOICE        = ' '
  DISPLAY                = ' '
  CALLBACK_PROGRAM       = ' '
  CALLBACK_FORM          = ' '
  MARK_TAB               =
IMPORTING
  USER_RESET             =
    TABLES
      value_tab              = i_priok
  FIELD_TAB              =
  RETURN_TAB             =
  DYNPFLD_MAPPING        =
EXCEPTIONS
  PARAMETER_ERROR        = 1
  NO_VALUES_FOUND        = 2
  OTHERS                 = 3
Regards,
Pankaj Sharma

Similar Messages

  • How To select maximum Value in a specifieid field in internal table.

    How To select maximum Value in a specifieid field in internal table?

    Step : 1
    Sort itab by <Field1> descending.
    Just sort the internal table by the field.
    STEP: 2
    Then read the table at index 1.
    Read table itab index 1.               
    ITAB-FIELD = MAX .                  " Max field will come in the first row of the internal table.
    Regards,
    Gurpreet

  • How to create value request for screen field text box tt1

    How to create value request for screen field text box tt1
    i have a text box name tt1,
    i want f4 help for that .
    remember i am asking for screen i.e done from screen layout not selectio-screen.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla,

    Hi,
    Create one Search Help in the SE11 for the particular Field that u want to display. In the Screen(Transaction SE51),For that Text Box in the Attributes,in Dict Tab ->Search Help Field give that Search Help Name.
    For Eg,
    If u want Purchase Order Numbers in that F4 Help.Create one <b>Search Help</b> by giving Table Name as <b>EKKO</b> & <b>Search Help Parameter</b> as <b>EBELN</b> with Lpos & Rpos as 0 & 1.Save & Activate it.
    Give this Search Help Name in Dict Tab ->Search Help Field of that Screen Attributes.
    Regards,
    Padmam.

  • How to maintain default values to the screen fields.

    hi,
    i m creating screen in se51.
    when i press New button the screen is filled with default values
    nrart = 'h' and proz1 = '100' .
    how can i set default values.
    plz give me a response

    HI,
              You can set default values on to screen fields using SET and GET PARAMETER command, You need to assign a PARAMETER ID for that screen field and then use SET PARAMETER before the screen is called or in the PBO of the screen, you can set default values direcly in PBO of the screen but then you have hard code those value or read the data from database.
    You need to have a TABLES statement to create a strucutre that you used to create your screen fields, then when you set value to these strucutre fields these values will get tranported to the screen fields automatically.
    Regards,
    Sesh

  • How to display negative values in a screen field of a screen

    Hi All,
    Please let me know how to display negative values in a screen field of a screen.
    thanks

    Hi Kishore,
    You can do this method. In the screen , create a text field of CHAR instead fo creating an INT4 field.
    I have created a field of CHAR of name say TEXT.
    In the main program,
    declare a variable of the same name ie. TEXT.
    data: TEXT(5) TYPE C.
    In PBO, just assign the negative values.
    It will work.Since there is automatic conversion between character and integer data types, it will work for positive values as well.
    Regards,
    Sylendra.

  • How can i select multiple values form select list

    Hi ,
    I have created few items in a page and all items are Lov items and based on these items stacked charts will display. My requirement is I need to select multiple values form LOV's
    Eg: In Interactive report goto filter and select an item and expression as IN and select multiple items and i need to select multiple values like this.
    Please anybody help me how to get multiple values.
    I have one more doubt Can we have a Print preview option in APEX.
    I have to see print preview for stacked charts. is it possible?
    Regards
    Narender B

    HI ,
    Thank you for valuable information and looks good.but Here our client need to select multiple values.... for eg: Open IR report and click on Actions button --->select filter
    select any column , operator as IN and from expression select multiple items.
    I need to select multiple values in that way so, could you please guide me how can i achieve this.
    Regards
    Narender B

  • How to get option select single Values in select options

    Hello All,
    I have a requirement where, in select-options i should avoid the range selection and should have only select single values option. User wanted to give the list of 10000 materials by using copy and paste as we have in normal abap with pase clip board option.
    Please let me know if you need any further clarification. your quick response would be highly appreciated.
    Thanks
    Raj.

    Thanks for the reply, I have already done this but when you add values to it at a time 1000 material information we can not add.
    so you go to selection screen and you have only one input box with arrowe button. click on the arrow and then you will get the screen where it will ask you to add five records and that to ranges.
    but if you click the same arrow in normal selection screen of SAP you get 4 tabs in which first tab will be select single values.
    and there by using copy from notepad option we can add how many entries we want.
    Let me know if you need any further clarification to understant the requirement.
    Thanks,
    RaJ.

  • Adding select-option value in selection screen of FBL5N tcode.

    Hi Experts,
    I have one requirement that to add a Header Text Field(BKPF-BKTXT) in section screen of standard program RFITEMAR(tcode : FBL5N), i tried to add that field but it was not displayed where i required, i mentioned below  where i required.
    Customer account                     
    Company code   
    i required under company code select option value in same selection screen block.
    Please do the needful.
    thanks in advance.
    gsreddy.

    Hi,
    If you get the access key it is possible to edit the standard program,
    How u tried to add the field???
    regards,
    Mullai

  • DYNP_VALUES_UPDATE does not change the value of my screen fields

    Hi,
    I have a screen with a header area and a control with an ALV.
    In my header area i have 2 fields shown as an icon.  These icons should change
    with an event triggered in the ALV (in handle_user_command)
    In handle_user_command I check the values of a column in my ALV - I have 3 possible cases : a green led, a yellow led or a red led.
    When i'm debugging the program, everything seems to be ok.  In my table i see the new values of the icons, but when I see the screen afterwards the old values have not been replaced.  (I also use an refresh of my ALV)
    Any help is welcome!
    THx,
    Helga

    Hi,
    declare the internal table like below:
    DATA: i_fieldvalues TYPE dynpread OCCURS 0 WITH HEADER LINE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR field.
      PERFORM Display_contion_types.
    FORM Display_contion_types.
    Search help for Condition Type
      PERFORM Display_contion_types.
    Update screen fields like below:
    Update Screen Field.
          CLEAR i_fieldvalues[].
          MOVE: 'V_TEXT'         TO i_fieldvalues-fieldname .
          WRITE i_t685-vtext TO i_fieldvalues-fieldvalue .
          APPEND i_fieldvalues.
          CALL FUNCTION 'DYNP_VALUES_UPDATE'
               EXPORTING
                    dyname     = sy-cprog
                    dynumb     = sy-dynnr
               TABLES
                    dynpfields = i_fieldvalues.
    endif
    regards,
    Raja

  • BDC-How to get the value of the screen field

    Hi All,
    I am facing a problem while writing the BDC code for the XK02 transaction.
    Recording:
    We have recorded like this :after giving the values in the initial screen(vendor no and purchase group and selecting the purchasing data check box) and enter into the second screen and then click on alternative data icon.There we ll have set of plants we have to check auto ordering (by selecting the plant and click purchasing icon)for the plants which are in the given file.
    Problem:
    Suppose there are five plants(like 1,2,3,4,5) for a particular vendor but we are having only three plants in the file for which auto ordering check has to be done.The problem is that its doing auto ordering check for the first three plants(1,2,3) in the transaction.But  in the file we are having Plants like (1,3,5).How to get the screen field value directly or is there any other way to resolve the problem?

    Dear Raja,
    You cannot get hold of screen values while running through the BDC Operation.
    Only way you can get the value --> populating an Internal Table from the Database Table.
    Regards,
    Abir
    Don't forget to award Points *

  • Pass values of a screen-field to another screen's field.

    Hello everyone,
    Its urgent.
    My requirement is as follows.
    When I execute the QM02 transaction and enter a notification number, it takes me to the change notification screen (screen no: 7200)
    Here, I was supposed to add a button in the application toolbar which would take me to the ZPBR01 transaction.
    I created an enhancement and the button has been successfully created.
    I created another enhancement to write the logic of this button.
    And the button takes me to Create PBR screen.
    However , the requirement also mentions that values of material and part from screen 7200 of QM02 to the ZPBR01 transaction.
    RQM00-MATNR, RQM00-MAWERK are screen field names (in QM02)
    And I want to display them in ZPBR01 transaction's
    LS_ZPBR-PART_NO, LS_ZPBR-PBR_TYPE. How can this be done?
    It would be of great help if anyone could help me with this.
    Thanks in advance.

    Hi.
    To transfer data from one screen to another program, you could use memory export.
    In the first program
    export l_value to memory id ‘ZNA1’.
    in the ZPBR01 transaction 
    import l_value from memory id ‘ZNA1’.
    Regards
    Miguel

  • How to modify drop down list values of a screen field in UDM_DISPUTE?

    Hi All,
    I have a requirement wherein i need to modify the drop down list for a screen field depending on the value of the other screen field in transaction UDM_DISPUTE. 
    Please suggest how this can be achived.
    Any BADI 's or any other approach is available?
    Thanks in advance,
    Srilakshmi.

    Hi,
    At what time do you want to modify the drop down list, while creating or after creating the dispute case. There are some BADI's where we can change the attribute drop down list values.
    Thanks,
    Sunil

  • IF WE DOES NOT SELECT ANY VALUE IN SELECTION SCREEN WHAT WILL BE THE OUTPUT

    hi
    plz give me the answer for this

    Hi bhuthapalli,
    1. Normally, all reports are designed so that
      if we do not enter any thing on screen, it will show all records.
    2. Normally reports use SELECT OPTION  and use IN for the query.
       This would take care if nothing is entered in select option.
      Nothing entered in select option means all records.
    3. If there is a parameter on the screen,
       it is usually made obligatory.
       Bcos if we do not enter anything in parameter,
        it may not give records.
       (Bcos for parameter = is used in query)
    regards,
    amit m.

  • How to enter decimal values in custom screen field in a screen enhancement

    Hi,
    there is a requirement to provide field in custom screen that should allow only the numeric values with decilmals in a screen enhancement ?
    As i cannot use field with float data type ? what are the alternates i have to do it ?
    Please let me know
    regards
    vishnu

    Hi,
    I tried  to create a field with NUM value wih 2 decimals by referring to CURR data type...it is giving an error...saying that reference table and field does not exist...
    help me out ..
    regards
    vishnu

  • How can we read the screen field values from the report selection screen wi

    Hi expart,
    How can we read the screen field values from the report selection screen with out having an ENTER button pressed  .
    Regards
    Razz

    use this code...
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
    **Read the Values of the SCREEN FIELDs
    CALL FUNCTION 'DYNP_VALUES_READ'

Maybe you are looking for

  • Workflow step approval via e-mail

    Hi Experts, I have a question related SAP BI workflow, Is there any possibility to approve a workflow step via e-mail? I mean I have a specific step what needs approval, can I prepare this approval step via e-mail? (not the built-in SAP mailbox) Than

  • Failure on exporting Qt Mov with sound synced

    I have 2 problems. First, Keynote can only export Qt video by creating 2 files separately, one is for video, the other is sound track. But I need the combination. Plz HOW? Second, even worse is that the video and the audio don't match properly. For t

  • Can Illustrator really make use of 8GB RAM?

    Hello, I'm thinking of upgrading my 17" 2010 Core i7 Macbook Pro from the curretn 4GB of RAM to 8GB or RAM as the prices have come down considerably. (around £40.00). I've already posted a thread on a mac forum, but I thought that posting in on here

  • Native Installer on Mac - not for App Store

    I am trying to get an Air 3.1 native installer application to work for Mac under Mountain Lion's security model.  The app is not for distribution from the App store but it is downloaded from the web so it triggers Gatekeepers security on both the Ins

  • Adobe Acrobat X Teacher & Student re-installation

    My PC has crashed and I've also lost my Adobe Acrobat X installation files, but I had kept the product ket safely and still have it. Where can I download the  Acrobat X installation files from? Thanks.