Selection/Restriction at F4-help

Hello Experts,
I had created an F4 help for the screen field 'Agency_id' , when i click on F4 slection iam able to view all my check table entries with the given cloumns 'Agency_id' , 'Agency_Name' & 'Country_group'.
'Agency_id'        'Agency_Name'               'Country_group'
111                                  AAAAA                            05       
222                                  BBBBB                            05
333                                  CCCCC                            08
444                                  DDDDD                            08
.......etc
at restriction condition iam able to filter as per 'Agency_id'  & 'Agency_Name' , but when i give 'Country_group' iam getting popup 'No entries found'.
Please suggest !
Regards,
Scogni.

Hi Chinmay,
1.
PARAMETERS: country(20) default 'Germany'.
2.
Here explanation is with screen shots.
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_elementary.htm
Also these links can help you.
F4 help on Selection-Screen
F4 Help on selection screen
F4 Help at selection screen
Re: F4 HELP IN SELECTION SCREEN
Hope this helps,
+ An
Edited by: An. on May 13, 2008 1:06 PM
Please close the question of solved

Similar Messages

  • Restriction of f4 help of a bex variable based on another variable input

    Hi,
    Could you please let me know if there is any possibility to restriction of f4 help of a bex variable based on another variable input.
    eg: when i select particular company code in one variable, i need to restrict the f4 help for another variables eg: pur. group based on selected company code.
    Regards
    Kasi

    Hi,
    Try using replacement path option in bex with replace variable with variable selction.
    Thanks.

  • Restriction of input help for BPS exit variables

    Hello,
    In BPS 3.0b, I created BPS variables with user exit in order to restrict the values in the <b>input help</b> of a characteristic (related to the value selected by user of another variable for example).
    In IP, I know that BPS variables are not used anymore and we have to create BI variables. But I don't know how to restrict the values of an input help in BI. I tried with the user exit RSR00001 but I didn't manage.
    may be is there a possibility to reuse BPS variables ?
    Thank you for your Help.
    Catherine Bellec.<b></b>

    Hi Catherine,
    could you please show me a sample how to restrict the input help for a variable in the user-exit?
    Thank you in advance.
    Best regards,
    Andreas

  • Selection,Restricted KF,Filters

    Hi Experts,
    I am reading Help.sap.com to get clear understanding of various query components.I have some idea about them before but after I started working,I feel very confused about various components...
    My doubts:
    1.I saw lots of SELECTIONS,FILTERS in our Queries.So went in and read about them.It seems like filters,selections,restrictions are same.Is that true?
    2.When I am reading about how to create a selection,it seems similar to Restricted Key Figure.are both of these same?whats the difference between two?
    3.Sometimes when I am reading I came across term Restrictions.I think its nothing but another name for filters or selections.Am I right?
    4.In which kind of situations/requirements,do we use Restricted Key Figures?
    5.In which kind of situations/requirements, do we use Filters,Selections?
    Thanks alot.
    P Olin

    Hi Olin,
    1)Filters, Selections, Restrictions in simple terms are simply ways of restricting your dataset in the underlying Query
    2)A Selection is a restriction either on a KF or a Characteristic - when you create a Selection in the Rows, you restrict a Characteristic by some value, when you create a Selection in the Columns, you restrict a KF by a Characteristic value.
    3)Filters are generally Characteristic Restrictions that you create in the Filter section of the Query. These Filters work on the Query before execution to filter out the underlying data provider. Additional Restrictions / Conditions etc. work after these Filters have been applied.
    4)Restricted KFs are used in scenarios when you would want the KF values to be determined based on some Characteristic values e.g. PO Value to be displayed for FY '09 & FY '10, here PO Value KF is being restricted on Fiscal Year Characteristic values 2009 & 2010.
    5)Filters are used to filter the underlying data provider that the Query is bound to. They are normally Characteristic Restrictions.
    Though these terms are interchangeably used, they pretty much serve the same purpose of filtering of data.
    --Priya

  • Error while selecting values for f4 help.

    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-100.
    SELECT-OPTIONS: CCG for setnode-SETNAME.
    SELECTION-SCREEN END OF BLOCK B1.
    At Selection-screen on value-request for ccg-low.
      Select setname from setnode into corresponding fields of table i_setnode where setclass = '0101'.
       Sort i_setnode by setname.
       Delete adjacent duplicates from i_setnode.
      Perform F4_Help_ccg_low.
    FORM F4_Help_ccg_low .
    data: prog like sy-repid , scrno like sy-dynnr.
    prog = sy-repid.
    scrno = sy-dynnr.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
         RETFIELD               = 'i_setnode-setname'
         DYNPPROG               = prog
         DYNPNR                 = scrno
         DYNPROFIELD            = 'CCG-low'
         VALUE_ORG              = 'S'
        TABLES
          VALUE_TAB              = i_setnode
    ENDFORM.
    The field which i select from the f4 help is not being diaplsyed on select-option. I have attached the code written above. Please check and if i have done anything pls correct me.
    Regards,
    Phyrose.

    Hi
    check with  this code
    TYPES : BEGIN OF ST_OBJID_SH,
             OTYPE TYPE HRP1000-OTYPE,
             OBJID TYPE HRP1000-OBJID,
            END OF ST_OBJID_SH.
    DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
    DATA : WA_OBJID_SH TYPE ST_OBJID_SH.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    *SELECT-OPTIONS : S_OTYPE FOR HRP1001-OTYPE NO INTERVALS .
    SELECT-OPTIONS : S_OBJID FOR HRP1001-OBJID NO INTERVALS .
    SELECT-OPTIONS : DATE FOR SY-DATUM NO-EXTENSION OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.
    IF S_OBJID IS NOT INITIAL.
        SELECT OTYPE OBJID FROM HRP1000
                     INTO TABLE IT_OBJID_SH
                     WHERE OTYPE = 'D'.
    IF SY-SUBRC EQ 0.
    SEARCH HELP FOR QUALIFICATION.
        CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
                 DDIC_STRUCTURE         = ' '
            RETFIELD               =  'OBJID'
                 PVALKEY                = ' '
           DYNPPROG               = SY-REPID
           DYNPNR                 = SY-DYNNR
           DYNPROFIELD            = 'S_OBJID'
                 STEPL                  = 0
                 WINDOW_TITLE           =
                 VALUE                  = ' '
           VALUE_ORG              = 'S'
                 MULTIPLE_CHOICE        = ' '
                 DISPLAY                = ' '
                 CALLBACK_PROGRAM       = ' '
                 CALLBACK_FORM          = ' '
                 MARK_TAB               =
               IMPORTING
                 USER_RESET             =
          TABLES
            VALUE_TAB              =  IT_OBJID_SH
                 FIELD_TAB              =
                 RETURN_TAB             = RETURN_TAB
                 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.
      ENDIF.
    <b>Reward if usefull</b>

  • Selected value in search help cannot be returned

    Hi experts!
    When I select value in search help, selected value is not returned to the field.
    I did like this.
    1. I enhanced BP using EEW.
    2. I created a new view and display an enhanced field via BSP workbench.
    (an enhanced field is assigned to a check table)
    3. I created GET_V_XX method as follows.
    method GET_V_ZZBUT000000102.
      DATA:
        ls_map    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
        lt_inmap  TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
        lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
      ls_map-context_attr = 'STRUCT.ZZBUT000000102'.
      ls_map-f4_attr      = 'KEY'.
      APPEND ls_map TO: lt_inmap, lt_outmap.
      CREATE OBJECT rv_valuehelp_descriptor
        TYPE
          cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id                  = 'CRMST_HEADER_OBJECT_BUIL-ZZBUT000000102'
          iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
          iv_input_mapping            = lt_inmap
          iv_output_mapping           = lt_outmap.
    endmethod.
    Does anyone know what is wrong?

    Hi Yohei,
    You could resolve your issue by changing the value of the "ls_map-context_attr" to the attribute value seen on the F2 help on WebUI screen.
    If you change the value   ls_map-context_attr  to   'ZZBUT000000102' , then F4 help would work properly.
    Hence the correct code would be:
    method GET_V_ZZBUT000000102.
      DATA:
        ls_map    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
        lt_inmap  TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
        lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
      ls_map-context_attr = 'ZZBUT000000102'.
      ls_map-f4_attr      = 'KEY'.
      APPEND ls_map TO: lt_inmap, lt_outmap.
      CREATE OBJECT rv_valuehelp_descriptor
        TYPE
          cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id                  = 'CRMST_HEADER_OBJECT_BUIL-ZZBUT000000102'
          iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
          iv_input_mapping            = lt_inmap
          iv_output_mapping           = lt_outmap.
    endmethod.
    Regards,
    Pratik Gandhi

  • How to get select option on OVS help.

    HI all,
    can we have select-option on OVS help screen? if yes how to declare the select option. do we need wds_select_options component? can any explane step by step how to achive this?
    OVS is working fine without range. I went through so mant post but not able to catch the starting point of this.
    Regards,
    Deepthi

    Hi,
    check the below thread.
    [https://forumsa.sdn.sap.com/thread.jspa?messageID=8331126#8331126]
    Regards,
    Priya

  • AT selection-screen on ON HELP-REQUEST

    Hi
    What is normally done in the Selection Screen event :
    AT selection-screen on ON HELP-REQUEST.
    Normally pressing F1 helps gives Documentation present in Data Element assoicated with the field. Exactly in what cases would we be needing to use this event.

    Hi,
    That event is used for search.
    at selection-screen on value-request for p_file.
      call function 'F4_FILENAME'
           exporting
                field_name = 'p_file'
           importing
                file_name  = p_file.
    If you code in the same manner in the selection screen you will able to search and select a file from your work station, so that it will be uploaded in SAP.
    I hope this will help you, if not plzzz be back.
    CHEERS
    If your problem is solved award points and close the thread.

  • Skip standard select method in search help exit

    Hi experts,
    how to skip standard select method in search help exit? Currently I'm selecting my custom data with select statement in 'DISP' section, but still text: 'more than 500 results were found' is shown. I just want to skip/disable standard selection. Thank you.
    BR
    Paul

    Hi check my weblog: https://wiki.sdn.sap.com/wiki/x/du0

  • HOW to Restrict the input Help for 0MATERIAL in the BPS Layout

    Hi,
    I have requirement to Restrict the input Help for 0MATERIAL  in the BPS Layout.
    For Example if the Planning Package is Restricted to SALES ORGANISATION ( 3000 )  then the system shuold  check the 0MAT_SALES  where SALES ORGANISATION IS "3000" )AND PASS THE Material Numbers to the 0material list.
    I have Copied the standard Funtcion group  "UPF_VARIABLE_USER_EXIT"  to Z fucttion and have attached to Z Variabe as User Exit .
    this Variable is  Attached to 0material in the Planning Pakage. So tha now the 0MATERIAL is restricted to the variable which is having the User Exit.
    But how to acces the Values of Planning Package for which the Layout is bein Executed from this Z User Exit ???
    I Know how to restrict the input help, but my only problem is that how to get the values of Planning package through this User Exit.
    Please suggest if it is possible.
    Regards,
    Nilesh Labde

    Hi Nilesh,
    As I understand from your question,you know how to restrict but the issue is to know the value in the package with which you need to restrict.
    There are two tables which can help you finding the value used in package for sales organisation:
    1. UPC_PACKAGE
    2. UPC_OPTIOS
    How to use ?
    From UPC Package you will get one GUID, Hit the second table UPC_OPTIOS with this GUID.
    In field "FIELDNAME" enter the name of the characteristic whose value is req (sales organisation in your case)
    Hope this helps you
    Mann

  • Default selection of dropdown value help in bp search for custom field

    Hi guys,
    i've problem setting a default selection of the value help. I appended a structure containing a field of type CRMT_BOOLEAN to the crmt_bupa_il_header_search and show it at the bp search page.
    The default order of the value help is
    [ ] false
    [x] true
    which means that the first entry (false) is selected by default. I want the second entry to become the default entry. I tried to sort the ddlb_table of this field in the get_v_xxx but this didn't had any effect to the value help.
    DATA:  lt_ddlb TYPE  bsp_wd_dropdown_table,
    lr_ddlb TYPE REF TO cl_crm_uiu_ddlb.
    lt_ddlb = cl_crm_uiu_bt_tools=>get_strcmp_ddlb(
    iv_structure = [structure]
    iv_component = [my_zfield])
    IF NOT lr_ddlb IS BOUND.
    CREATE OBJECT lr_ddlb
    TYPE
    cl_crm_uiu_ddlb
    EXPORTING
    iv_source_type = 'T'.
    ENDIF.
    SORT lt_ddlb DESCENDING BY key.
    lr_ddlb->set_selection_table( it_selection_table = lt_ddlb ).
    rv_valuehelp_descriptor = lr_ddlb.
    Is this approach not working at all? After sorting lt_bblb contains the values in correct sequence, the webui is showing the value help as before.
    Is it possible to set a selected value in any way?
    Thanks and BR,
    Sven

    Hi Sven Wagener,
    what i understand is you want to set the default entry is second value right?
    if this is your requirement then go for this procedure.
    In redefine do_init_context method and fetch the collection in that collection get your field name and value.
    make a condition like this if the value = 'first value of your drop down' then set to second value.
    this method will execute only in the initial stage means when ever you login into your business role this method will execute.
    example:
    lr_col ?= me->typed_context->yournode->collection_wrapper->get_current( ).
    check lr_col is bound.
    lr_col->get_property_as_string( EXPORTING iv_attr_name = 'DROPDONWFIELD' RECEIVING rv_result = lv_dropdownfield ).
    if lv_dropdownfield EQ 'FIRSTFIELDKEY'.
    lv_dropdownfield = 'SECONDFIELDKEY'.
    lr_col->set_property( EXPORTING iv_attr_name = 'DROPDONWFIELD' iv_value = lv_dropdownfield ).
    IF this is not your requirement then give me some screen shorts.
    Thanks & Regards,
    Srinivas.

  • F4 help in selection fields of search help

    Hi all,
    I've created a elementary search help for sold to party and appended it to collective search help.
    Now my problem is i need F4 help in one of the selection fields of search help.
    How can i get it.
    I m using selection method where ive created a view which fetches all data..
    Thanks in advance
    Palak

    Hi,
    1)Double click on the dataelement of your field on which you want f4 help then in the first tab itself you will find two option one for attaching the search help you have created(Elementry/ Collective) and second option is the parameter ID.
    You have to look for the first option to attach the search help.
    2) You can create f4 help for your Parameter or Selection screen by using the event.
    AT SELECTION-SCREEN ON VALUE-REQUEST for PARA/Selection screen.
    Further you can use the FM mentioned above F4_INT.....
    Hope it is clear now.
    Vikas Badhan

  • I cant remmber the restrictions passcode please help me for important

    i cant remmber the restrictions passcode please help me for important

    If you cannot remember the restrictions passcode, the only alternative is to restore the phone as a new device. Trying to restore from backup will only put the passcode back on. There is no other alternative. See the user manual. http://manuals.info.apple.com/en_US/iphone_user_guide.pdf

  • Difference between 'Selections from' and 'Search helps' in some HR program

    Hi,
    I notice at the top portions of some programs like Payroll Driver and pre-DME program there's two separate pushbuttons, 'Selections from' and 'Search helps'. What's the diff between the two?
    Because to me, both seem to have same functionality, i.e. to further filter the records.
    When I create customized programs, usually I use logical database pnp, and by that, we are adding 'Selections from' at the selection screen to help further select.
    So my questions:
    1. Why is there another button to help filter? Since both have same functionality to filter.
    2. What's the diff between the 2?
    3. Can somebody confirm the 'Search helps' is really for filtering?
    Thank you.

    Hi,
    If this spool is being generated internal to your program, then sy-spono should have the value.
    Regards,
    Lijo Joseph

  • Restricting values F4 help in selection screen-Urgent

    Hi,
    can anyone pls tell how can I ristrict the values for search help in any field in selection screen.
    please tell me the way to hide some values in F4 help in selection screen so that user can not see those data for selection.
    Regards

    i think u can not hide the data.........
    create own f4 help............restrict the data and then pass it the f4 internal table....
    fro exp;;;;;
    types : begin of ty_tab,
              post_code1 like adrc-post_code1,
             end of ty_tab.
      data : it_tab type ty_tab occurs 0.
      data : lt_field type table of dfies,
             lw_field type dfies.
      select post_code1 from adrc into corresponding fields of table it_tab.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
          exporting
            retfield        = 'POST_CODE1'
            dynpprog        = sy-repid
            dynpnr          = sy-dynnr
            dynprofield     = 'LI_LIST1'
            value_org       = 'S'
          tables
            value_tab       = it_tab
         field_tab       = lt_field
          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.
    Regards
    Anbu

Maybe you are looking for

  • Merge Versus Portfolio Feature in Adobe Pro 9

    I am new to this program and learning as I go. I am in commercial real estate and have a need to send clients spread sheets, word documents, jpegs and pdf files. Instead of sending all of these seperately I want to put all the documents into one file

  • Re: Internal error: XAResource 'weblogic.jdbc.jts.Connection'

     

  • Accordion widget -  Toggling the Panel?

    I know this is probably simple but... 1) How do I make the Accordion widget Panels "Open & Close" by clicking on the same Panel twice? What I mean is that my Accordion Panel works fine & "Opens" when clicked once, but will not "Close" when clicked ag

  • Even and odd page break

    Hi ALL I have a requirement in my report there are two things location with customer details and meter reading with costing Now my req is that location details should come on odd pages and starting from page 3. For meter details should come on even p

  • How to save SQL result to file in forms 10g

    Hi All,      I am using Oracle/forms 10g and need to create a file from a predefined sql statement . Just wondering if there is a build-in provided by oracle to export sql result to a file from Forms?. Your quick response will be of great help. Thank