Need to restrict selection screen entries in logical database in HR report

After creating custom HR Report Category using Logical database, I need to restrict the options available in the in the selection Screen
for example- for company code i m getting 182 entries, but after running the program, selection-options for company code, i need only first 3 entries, don't want remailing entries
how can i do this?

Hi
You can retrieve the required entries into an internal table and use FM F4IF_INT_TABLE_VALUE_REQUEST to provide them under F4 help.
Regards
Raj

Similar Messages

  • Restrict selection screen when using logical Database(HR ABAP)

    Hi,
          I'm using <b>PNP</b> logical Database in my  
          report program. I want to restrict the deafult
          selection screen.
          Pls suggest me if knows.
    Kind regards,
    - Selva

    if you don't use the NODE or TABLE statement pnp selection screen will not come.
    other wise use screen number 900 which have fever fields and you can make the invisible using
    loop at screen.
    endloop.
    Regards,
    Wasim Ahmed

  • Mandatory field in selection screen of pnp logical database report

    Hi experts,
         Im using pnp logical database in my report.
    It give the standard selection screen. I need to make some fields in the selection screen as mandatory like pnpwerks.
    How its possible. Give me some solution.
    Thanks,
    Priya.

    how about if u do this step
    1. Goto- Attribute.
    2. Click "Change"
    3. Click 'HR Report Category'
    4. Click 'Create Report Category'
    5. Click 'new entries' for careating Report Category
    5. Select newly create report category
    6. Click the folder 'Definition of Organizational Selection'.
    7. Click 'New entries'.
    8. Here you assign the required fields to be displayed, for eg pywerks - personal area.
    9. finally assign this newly created 'report category' in the screen you will get upon clicking 'HR report Category' button in the Program attribute screen.
    Hope this may help you.  I am not much into hr abap. but sharing the info which i am aware.

  • Selection Screen  of PNP Logical database

    Experts,
    I am stuck up in filtering of data.
    I am using PNP logical database in Adhoc Query, if I select Current Month as data selection than also it is giving all list of data..
    Can anyone give Input to me.
    it is urgent.
    Point will revert for useful answer.
    Hetal.

    how about if u do this step
    1. Goto- Attribute.
    2. Click "Change"
    3. Click 'HR Report Category'
    4. Click 'Create Report Category'
    5. Click 'new entries' for careating Report Category
    5. Select newly create report category
    6. Click the folder 'Definition of Organizational Selection'.
    7. Click 'New entries'.
    8. Here you assign the required fields to be displayed, for eg pywerks - personal area.
    9. finally assign this newly created 'report category' in the screen you will get upon clicking 'HR report Category' button in the Program attribute screen.
    Hope this may help you.  I am not much into hr abap. but sharing the info which i am aware.

  • Creating Selection Screen version in Logical Database

    Hi,
    I want to design my own Selection screen while creating a report with Logical Database. My requirement is not to show the Standard Selection screen of LDB.
    Can it be achieved by creating Selection Screen Version in SE36 and using that version in Attribute of the Report?
    If yes, then how can it be created?

    You can change the Selection Include to include your selection screen version.
    Go to SE36
    Select "Selections"
    Change
    Create a new version like:
    SELECTION-SCREEN BEGIN OF VERSION 904 TEXT-904.
      SELECTION-SCREEN EXCLUDE PARAMETERS: KD_STIDA.
      SELECTION-SCREEN EXCLUDE SELECT-OPTIONS: KD_GJAHR, KD_BUDAT, KD_AUGDT,
                                               KD_ZUONR, KD_UMSKZ.
    SELECTION-SCREEN END   OF VERSION 904.
    Regards,
    Naimesh Patel

  • How to make changes on the selection screen of a logic database?

    I want to make one of the select-options of logic database PNP no-interval no-extension, what should I do? Is there any links for manipulating LDB? thx~

    Hi,
    This blog on SDN will help you on this.
    [Re: Change selection screen in LDB (KDF logical database - NOT HR);
    Regards
    Abhii....

  • How to remove spaces at selection screen coming from logical database

    Hi Experties,
    When we hide some selection from the logical database.  The spaces still occupied and this make our selection screen looks awkward.
    How to remove the spaces left by hidden selection ?
    Regards
    Nislina

    Hi,
    I came across your un-answered question while searching for a solution on the similer problem. Though I couldn't fine a solution on SDN, but figured out one myself. Thought its a good idea to share it.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group4 = '003'.
          screen-active = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Here screen-group4 contains the sequence number of the select-options field starting from 000 onwards.
    You may like to assign points and close the question.
    Kind Regards,
    Khalid Mustafa

  • Customize selection screen of logical database AFI of report RIAUFK20 ?

    Hi Experts,
    I have to customize the report RIAUFK20 which use logical database AFI.
    I have to do the following:
    - Change the field labels of some fields in the selection screen.
    - Add more field into selection screen which does not appear in the nodes of logical database structure, for example TIDNR in table EQUZ.
    So what is the best way to achieve that result?
    I intended to copy the AFI into ZAFI and change, but still struggle with add fields which does not appear in the structure of logical database.
    Any help is appreciated, thanks!

    Specify your logical database on Program "attributes".
    It will display the standard selection screen of LDB. Now in your report, create selection screen as in other programs for the additional fields.
    It will first display the field of LDB, followed by fields provided by your selection screen.

  • BEx web report selection screen entries retain when closing and opening the report again

    Hello all,
    please help me in the below query.
    Till last month the entries we made in BEx web report selection screen are retained in the selection screen even when we close the web report and open it again from portal without logging off. But recently this functionality is missing and the entries in selection screen are not remembered when we close and open the same report again. It is a good feature for the users. Have you come across this issue?

    No...I think i can reframe the question very clearly......For ex:  we are opening a Bex Web report...so initally we would be prompted by the variable selection screen...in which we have to give the entries(Values) for those variables like Cal month, Sales org, Company code, etc.....Later on the report will get open based on the values we have given......
    Now if we close the particular report without logging off then if i try to open the same report that selected values are missing.....earlier it used to remember the values we have given until we log off....But now that functionality is missing....It was very useful feature.....Can you please tel me what can be done to resolve this??
    I hope the explanation would be clear now.

  • Need help on selection screen optation

    1)PARAMETER: P_DETAIL RADIOBUTTON GROUP G1 DEFAULT 'X'.
    2)PARAMETER: P_SUMM RADIOBUTTON GROUP G1
    3)SELECT-OPTIONS: S_PGI FOR ZAPDDLIV-ZDATE
    i have 2 parameters depending on parameter i need to accept selection screen for parameter 1 accept data in dd.mm.yyyy. and for parameter need to accept only mm.yyyy
    only
    need help on this selection criteria..

    Hi Anil,
    It is very much possible. Use Modif ID concept. First dont display any date, depending on radio button selected display date in which ever form u need.
    See the sample coding for Modif id.
    PARAMETERS: test1(10) TYPE c MODIF ID sc1,
                test2(10) TYPE c MODIF ID sc2,
                test3(10) TYPE c MODIF ID sc1,
                test4(10) TYPE c MODIF ID sc2.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-group1 = 'SC1'.
          screen-intensified = '1'.
          MODIFY SCREEN.
          CONTINUE.
        ENDIF.
        IF screen-group1 = 'SC2'.
          screen-intensified = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Dont forget to reward points if found useful.
    Thanks,
    Satyesh

  • To use the selection screen entry in another program

    dear all,
    i have a requirement that i want to use the selection screen entry of my zmodule pool to the selection screen of a zreport and want to use its output in my module pool.
    how could i do this in my module pool programing??
    i hope u get my question, i want to use the output of my zreport in my module pool with the same selection screen as given in module pool.,directly in my module pool output without opening my zreport seperately for this same selection screen data

    Hi,
      You can use SUBMIT statement in your module program to call the zreport program in background.
    Press F1 on Submit statement and you will find required detials of this statement. For using submit statement
    you have to create an internal table of type RSPARAMS and pass it in the submit statement.
    eg.
    DATA :
    *  table to be passed to background report 'ZREPORT1'
        int_rspar TYPE TABLE OF rsparams,
        ws_rspar TYPE rsparams.
    CONSTANTS: c_include     TYPE rsparams-sign               VALUE 'I',
               c_kind        TYPE rsparams-kind               VALUE 'S',
               c_between     TYPE rsparams-option             VALUE 'BT'.
    *Preparing the table to be passed to the background report.
    *populating SELECT-OPTION for knb1-kunnr (Customer Number)
    CLEAR : ws_rspar.
    ws_rspar-selname = 'S_KUNNR'. "Should be the name of select option as in                               the called report
    ws_rspar-kind = c_kind.
    ws_rspar-sign = c_include.
    ws_rspar-option = c_between.
    ws_rspar-low = '1'.
    ws_rspar-high = '100'.
    APPEND ws_rspar TO int_rspar.
    *populating SELECT-OPTION for knb1-bukrs (Company code)
    CLEAR : ws_rspar.
    ws_rspar-selname = 'S_BUKRS'.
    ws_rspar-kind = c_kind.
    ws_rspar-sign = c_include.
    ws_rspar-option = c_between.
    ws_rspar-low = 'a'.
    ws_rspar-high = 'z'.
    APPEND ws_rspar TO int_rspar.
    submit zreport
      with selection-table int_rspar
          EXPORTING LIST TO MEMORY
              and return.
    The above code will execute the zreport in backgournd.
    Now to get the output of the zreport :-
    *This internal table stores the value
    *Of output listed to memory
    DATA BEGIN OF itab_list OCCURS 0.
    INCLUDE STRUCTURE abaplist.
    DATA END OF itab_list
    * To read from the memory. The output of the program that is executed in background is then populated in the itab_list table.
    CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
    listobject = itab_list
    EXCEPTIONS
    not_found = 4
    OTHERS = 8.
    * To write it onto the output
    CALL FUNCTION 'WRITE_LIST'
    EXPORTING
    WRITE_ONLY = 'X'
    TABLES
    listobject = itab_list
    EXCEPTIONS
    EMPTY_LIST = 1
    OTHERS = 2
    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,
    Bhavesh.

  • How to hide selection fields when using logical database PNP

    hi.
    i m using a logical database PNP and report catagory 1PY_DEF in my program.
    but when i execute it , it shows to selection box. one name is period and second is selections.
    but i just want to show only period box selection fields , not the selection box fields.
    how it iz possible.

    HI,
    In my case i haved used the PNP logical database..in the selection box i don't wnat to display Contorling area,Cost Center & Organizational Unit. i have written this code to hide those fields..
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name CS 'PNPKOKRS' OR
           screen-name CS 'PNPKOSTL' OR
           screen-name CS 'PNPORGEH'.
          screen-active = '0'.
          screen-invisible = '1'.
          MODIFY SCREEN.
          CLEAR screen.
        ENDIF.
      ENDLOOP.
    Try modify hide the total block instead of individual fields in that block.

  • Issue with 900 screen of PNP logical database.

    Hi Experts,
    I am using 900 screen in PNP logical database and assigned the default report catagory.
    But in the selection screen when I click on further selection and select any of the parameter like company code/cost center, nothing comes in to the screen.
    Request to let me know any issue there?
    Br/Manas

    hi
    After selecting the fields from further options are you first adding them and then saying ok or just saying ok. Please check and let me know.
    If you add and then say ok these fields appear on the screen,
    Santoshi

  • Screen in PCH Logical Database

    Hi
    Can i change the screen selection of a PCH Logical Database?? is possible do it??
    Regards
    Gregory

    Hi, Gregory Gotera
    Please have a look at the following Thead hope it will solve out your problem,
    [Hide Screen Element|Text based search on Z ABAP table;
    Please also follow the following Thread too to find the name of the field,
    [To find the name of the Screen Field|Selection screen + hiding selection parameter adn adjusting elements;
    Please Reply if any Issue,
    Kind Regards,
    Faisal
    Edited by: Faisal Altaf on Jan 19, 2009 9:40 PM

  • How to select alternate entries from the database table

    Hi Experts,
    can u help me, how to select alternate entries from the database table.
    Thanks

    As there is no concept of sequence (unless there is a field specifically included for the purpose), there is no meaning to "alternate" records.
    What table do you have in mind, what data does it hold, and why do you want alternate records?
    matt

Maybe you are looking for