Select list null value issue - for filtering the tabular form report

hello,
I have a tabular form created on emp table and in the table their are entries for the employees who don't have a location, like it is null for some of the employees.
Now I have created a select list item - for filtering the results based on location.
my select query for select list item is
select distinct location_name d,location_id r from emp order by 1
-- so my select list contains all the distinct location_name including the null on my tabular form.
so based on the selelcted value(in the select list), I am able to filter the results in my tabular form.
but the thing is that when i try to select an null value from my select list - i am not able to filter my report - like its displaying all the records, its not filtering.
can anyone help me out with this.
thanks.

Hi
Try below select for LOV
select distinct nvl(location_name,'No Location') d,nvl(location_name,'No Location') r from emp order by 1 And then change tabular from select where clause also use nvl(location_name,'No Location') like
SELECT *
FROM emp
WHERE nvl(location_name,'No Location') = :Px_YOUR_ITEMBr, Jari

Similar Messages

  • How to put borders in the tabular form report

    Hi,
    I need to put borders in the tabular form report in the apex UI .I mean in the by default no boundary comes so I need vertical lines in the column .
    So how to do that.
    Thanks in advance.
    Edited by: Vivek on May 22, 2012 8:25 PM

    Edit the report page > Report Attributes > Change the report template for different look and feel
    You can also customize the report template or even create your own template
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/ui_templt.htm#HTMDB25707

  • Select list -null value?

    When you create a select list on a column, and run the page for the first time, the drop down doesn't show any value. I realized that once you click on the drop down to see what the values are, at the bottom of the list there is a blank value. But you can only see this the first time you load the page. Once you click on any other value, that blank value is gone. How does this work? How can I select the blank value even after you had selected other values previously?
    Thanks,

    Modify the Item Definition's List of Values options (Edit Page Item->LOV)
    Display Null: Yes
    Null Display Value:  

  • Select list with submit issue when they are referred in report region query

    I have a page with a reporting region. Same region also has 3 different list items and depending on the value selected in each item, the report is refreshed. All the 3 list items are "Select list submit with submit"
    Out of 3 items, 2 (say item2 and item3) are populated through dynamic LOV using the value in item1.
    Additionally, when I select a default "ALL" value in in item1, I ignore values in item2 and item3.
    With this background, I am a following issue:
    1. I select a value other than Default value in item1 which filters the report.
    2. Then I select some value in item2 which further shrinks the reports.
    3. Now if I go back to item1 and select the default "All" value, the report is not refreshed with the new values of item1, item2 and item3. But it still shows the report based on value of item2 that I selected in step2.
    How do I set the value of item2/item3 to null if value of item1 is default which is "All"
    Any word of advise will be a great help!
    Thanks,
    Girish

    Hi,
    Make two computations each with the computation text NULL; or
    Make one process with code like:
    BEGIN
    :P1_ITEM2 := NULL;
    :P1_ITEM3 := NULL;
    END;With the condition "Value of Item in Expression 1 = Expression 2"
    Expression 1: P1_ITEM1
    Expression 2: ALL
    (or whatever the return value of ALL is...remember that this is case sensitive)
    Mike

  • List of values apprear for email alert while scheduling the report

    List of values apprear for email alert while scheduling the report

    Hi,
    Can you please expand on your issue?
    Cheryl

  • AT SELECTION-SCREEN ON VALUE-REQUEST FOR

    Experts,
    I have two selection parameters on Selection_Screen as subscreen, as below:
    Custom Selection Screen 1010
    selection-screen begin of screen 1010 as subscreen.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-001.
    SELECT-OPTIONS :
         s_matnr FOR mara-matnr  MODIF ID sc1,     "Material
         s_grid FOR mara-J_3APGNR MODIF ID sc6,    "Grid values   "pkb001
    SELECTION-SCREEN END OF BLOCK b2.
    selection-screen end of screen 1010.
    Now i want to populate  s_grid (Grid value) based on the values enterd for s_matnr  (material ).
    but when i want use:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_grid,  
    I'm not getting the values eneterd in s_matnr..
    is the problem beacuse of subcreen?
    Answers are highly appriciated.
    Thanks.

    Yes that is correct, Once I hit enter key, then only the value for s_matnr populates, but it is not a good Idea to expect the user to hit the enter key. is there any way i can imitate/simulate "enter" key in the program?
    also I'm using the FM:'DYNP_VALUES_READ'  but that is also not getting me any value..
    below is the code I'm using,
    FORM sub_get_grid .
      Refresh: t_mara.
      data: lin type i.
      data: l_dyname type standard table of dynpread,
      w_dynpread type dynpread.
      clear w_dynpread.
      w_dynpread-fieldname = 'S_MATNR'.
      append w_dynpread to l_dyname.
      clear w_dynpread.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname     = sy-repid
          dynumb     = sy-dynnr
        TABLES
          dynpfields = l_dyname.
    *Do not allow to select more than 1 material at a time.
      SELECT
        MARA~MATNR
        INTO TABLE t_mara
        FROM MARA
        WHERE MARA~MATNR IN s_matnr.
      describe table t_mara LINES lin.
      If lin > 1.
        Refresh: s_matnr.
        MESSAGE i000 WITH text-033.
        LEAVE LIST-PROCESSING.
    *    LEAVE TO SCREEN 100.
      endif.
    ENDFORM.   

  • Multiple-Selection List Box Values in Multiple Columns

    I am using InfoPath 2010 with SharePoint 2013. I have a form with a multiple-selection list box which has A LOT of choices. Instead of displaying all the choices in one column, is it possible to display the values of my list box in several
    columns? 

    Hi Andrea,
    I agree with Brij, one multiple-selection list box is associated with one list field, we cannot use the one multiple selection list box value for other multiple selection list boxes, we need to create multiple choices for each multiple-selection list box
    control in InfoPath form.
    Thanks
    Daniel Yang
    TechNet Community Support

  • AT SELECTION-SCREEN ON VALUE-REQUEST FOR not input value in input field

    Dear All,
    I make search help for field ARBPL in selection screen are not excepted selected value.
    Code is
    SELECT-OPTIONS:  p_arbpl FOR zdmde-arbpl MODIF ID two.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_arbpl-low.
    REFRESH sh_arbpl.
    SELECT * from crhd into CORRESPONDING FIELDS OF TABLE sh_arbpl.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
       EXPORTING
         RETFIELD               = 'P_ARBPL'
         DYNPROFIELD            = 'P_ARBPL'
         VALUE_ORG              = 'S'
       TABLES
         VALUE_TAB              = sh_arbpl.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_arbpl-high.
    REFRESH sh_arbpl.
    SELECT * from crhd into CORRESPONDING FIELDS OF TABLE sh_arbpl.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
       EXPORTING
         RETFIELD               = 'P_ARBPL'
         DYNPROFIELD            = 'P_ARBPL'
         VALUE_ORG              = 'S'
       TABLES
         VALUE_TAB              = sh_arbpl.
    Please tell how to input selected field from search help into input field in both low and high.
    Would appreciate your reply .
    Regards,
    Pooja

    Hi Pooja,
    For getting the response back from the user selection , please get the return code too. Before that instead of directly using the table crhd structure.. please do create a type declaration of that table , make sure that the field that you wanted to get using search help be specified at last of declaration type like this
    TYPES: BEGIN OF ty,
       OBJTY TYPE CR_OBJTY,
            ARBPL TYPE ARBPL,
    END OF ty.
    this is because the return parameter t_rtn will holds the last value of type which been selected by user.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD               = 'P_ARBPL'
          DYNPROFIELD            = 'P_ARBPL'
          VALUE_ORG              = 'S'
        TABLES
          VALUE_TAB              = sh_arbpl
          return_tab             = t_rtn.
    LOOP AT  t_rtn INTO x_rtn .
       ENDLOOP.
    try executing this code.
    TABLES crhd.
    TYPES: BEGIN OF ty,
       OBJTY TYPE CR_OBJTY,
            ARBPL TYPE ARBPL,
       END OF ty.
    DATA: sh_arbpl TYPE TABLE OF ty.
           DATA: dynpfields TYPE TABLE OF DYNPREAD,
    x_dynpfields TYPE dynpread,
    t_rtn TYPE STANDARD TABLE OF DDSHRETVAL ,
    x_rtn TYPE  DDSHRETVAL.
    SELECT-OPTIONS:  p_arbpl FOR crhd-ARBPL MODIF ID two.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_arbpl-low.
    REFRESH sh_arbpl.
    SELECT  * from crhd into CORRESPONDING FIELDS OF TABLE sh_arbpl WHERE werks eq '1000'.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD               = 'P_ARBPL'
          DYNPROFIELD            = 'P_ARBPL'
          VALUE_ORG              = 'S'
        TABLES
          VALUE_TAB              = sh_arbpl
          return_tab             = t_rtn.
    LOOP AT  t_rtn INTO x_rtn .
       ENDLOOP.
    x_dynpfields-fieldname = 'P_ARBPL-LOW' .
       x_dynpfields-fieldvalue = x_rtn-fieldval.
       APPEND x_dynpfields TO dynpfields.
       CALL FUNCTION 'DYNP_VALUES_UPDATE'
         EXPORTING
           dyname                     = sy-cprog
           dynumb                     = sy-dynnr
         TABLES
           dynpfields                 = dynpfields
    *   EXCEPTIONS
    *     INVALID_ABAPWORKAREA       = 1
    *     INVALID_DYNPROFIELD        = 2
    *     INVALID_DYNPRONAME         = 3
    *     INVALID_DYNPRONUMMER       = 4
    *     INVALID_REQUEST            = 5
    *     NO_FIELDDESCRIPTION        = 6
    *     UNDEFIND_ERROR             = 7
    *     OTHERS                     = 8
    Regards,
    Sivaganesh

  • Problem using At Selection Screen on value request for *"Select Fieldname"*

    Hi All,
    I Have a requirement of passing mutiple paraters value or selection option values in selection screen.
    For Eg :I Have -
    *--- Selection Screen
        Select-options :  s1  for vbak-vbeln ,
                                              s2  for vbap-posnr.
    *--- At Selection Screen     
        At Selection Screen on value request for s1-low.
         i need to pass S1-low as well as S2-low ...
         i.e first item of the Sales Document.
        Value is getting passed in S1-low but not in S2-low
        Can anybody help me on this ...
       Thanks in Advance ..

    Hi,
    Make use of the FM "F4IF_INT_TABLE_VALUE_REQUEST" for the value request for the first field.
    Use the "FIELD_MAPPING" in the tables parameter of the above FM.
    Please go through the FM documentation.
    Hope this will help you.
    Regards,
    Smart Varghese

  • AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_locat.

    Experts,
    In BW, does anybody have some simple code for when on your selection-screen you have an input parameter for the location of the file you want to upload. In SAP/R3 there use to be "Perform get_local_path" to drill down thru your hard drive to find the file you want to select to upload. I am not sure what to use in BW to execute a drill down process for getting the file in a drop down window.
                 Thank-You!

    Are you trying to browse the local PC or the appliation server. 
    Implement the program above,  give it a try.  When you hit F4, you will get a file open dialog,  selection your file, then click open, this will fill the pathfile into your parameter on the selection screen.  IS this whay you are looking for?
    You don't need to provide anything, but you can if you want.  There are import parameters.
    report zrich_0001.
    data: ifile type filetable.
    data: xfile like line of ifile.
    data: return type i.
    parameters: p_file type localfile.
    at selection-screen on value-request for p_file.
      call method cl_gui_frontend_services=>file_open_dialog
      EXPORTING
    <b>     WINDOW_TITLE            = 'Please choose a file'
    *     DEFAULT_EXTENSION       =
         DEFAULT_FILENAME        = 'Test.xml'
    *    FILE_FILTER             =
         INITIAL_DIRECTORY       = 'C:'
    *    MULTISELECTION          =</b>
        changing
          file_table              = ifile
          rc                      = return.
      read table ifile into xfile index 1.
      p_file = xfile-filename.
    Regards,
    Rich Heilman

  • AT SELECTION-SCREEN ON VALUE-REQUEST FOR D

    I have four Select options A,B,C,D
    For A value is entered
    For B value is entered
    For C value is entered
    For D , i need to create a custom search help.i will develop that in the event
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR D.while generating the search help here
    i need to access the values that  are entered in A,B,C.
    Plz any help ?

    Hi,
    You can use the Function module 'F4IF_INT_TABLE_VALUE_REQUEST'  to display your custom values in search help. Refer the below sample code on how to use this function module.
    REPORT ZTAB_SHELP.
    parameters: p_ebeln type ekko-ebeln.
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko,
          it_return type STANDARD TABLE OF DDSHRETVAL,
          wa_return like line of it_return.
    *at selection-screen
    at selection-screen on value-request for p_ebeln.
    select *
      up to 10 rows
      from ekko
      into CORRESPONDING FIELDS OF TABLE it_ekko.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
      DDIC_STRUCTURE         = 'EKKO'
        RETFIELD               = 'EBELN'
      PVALKEY                = ' '
       DYNPPROG               = sy-repid
       DYNPNR                 = sy-dynnr
      DYNPROFIELD            = 'EBELN'
      STEPL                  = 0
        WINDOW_TITLE           = 'Ekko Records'
      VALUE                  = ' '
        VALUE_ORG              = 'S'
       MULTIPLE_CHOICE        = 'X'  "allows you select multiple entries from the popup
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
      MARK_TAB               =
    IMPORTING
      USER_RESET             = ld_ret
      TABLES
        VALUE_TAB              = it_ekko
       FIELD_TAB              = lt_field
        RETURN_TAB             = it_return
      DYNPFLD_MAPPING        =
    EXCEPTIONS
       PARAMETER_ERROR        = 1
       NO_VALUES_FOUND        = 2
       OTHERS                 = 3.
    READ TABLE it_return into wa_return index 1.
    p_ebeln = wa_return-fieldval.
    Regards,
    Murali
    Edited by: murali krishnan Rajendran on Jan 27, 2011 8:03 AM

  • AT SELECTION-SCREEN ON VALUE-REQUEST  - what has the user entered so far?

    Hi,
    the online help says to
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_xyz.
    With the events for the field and input help, no data is transported between the selection screen and the ABAP program
    p_xyz is indeed empty at this event, but is there really no way to find out what the user had entered so far?

    Did you try a call to FM DYNP_VALUES_READ (Check at [Input Help in Dialog Modules|http://help.sap.com/SAPhelp_nw70/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/frameset.htm])
    Regards,
    Raymond

  • If i buy an apple product from the actual customer who bought it, and i face some problem with it, but the device is still under warranty, so would there be any issue for getting the device checked?

    If i buy an apple product from the actual customer who bought it, and i face some problem with it, but the device is still under warranty, so would there be any issue for getting the device checked?

    If you make an appointment at the Genius Bar about a problem, they will check and evaluate the device, and if it warrants a replacement under warranty, they make the final determination. We are users here. This is a user to user support forum. We cannot determine what Apple will do. I can tell you what I already did, the warranty follows the device.

  • List of values is not displayed in web inteligence report

    I created a web inteligence report and put into my favourite folder. The report consist of a selectable list of values in a prompt but it does not appear in my favourites folder.
    The users with administrator rights that copied this report into their own favourites folder are able to see the list of values in the prompt.
    It seemed that the list of values does not display in the prompt when non administrator rights opened this report in their own favourites folder.
    Anyone can figure out how to set the access rights so that non administrator can see the list of values when the web inteligence report is opened in their own folder.
    I am using Business Objects XI 3.1 ..

    SOLVED
         CMC -> Connections
    -     Right click connection name, Click u201CTools > Check Relationshipu201D
    -     In u201CQuery Resultsu201D, Right click Connections, Click u201CUser Securityu201D
    -     Assign Security for u201CEveryoneu201D
    -     UNTICK both Inherit from Parent Folder and Inherit from Parent Group
    -     Assign u201CView on Demandu201D
         CMC -> Universes
    -     Right click u201CUniversesu201D folder, click u201CPropertiesu201D
    -     Under u201CUser Securityu201D, click Everyone and assign security
    -     UNTICK both Inherit from Parent Folder and Inherit from Parent Group
    -     Assign u201CView on Demandu201D

  • Issue with APEX_ITEM.CHECKBOX in Manual Tabular Form report

    Hi,
    I have a simple manual tabular form report with query :
    SELECT
    APEX_ITEM.CHECKBOX(1,order_id) ,
    APEX_ITEM.TEXT(3,Ord_number) ,
    APEX_ITEM.TEXT(4,ord_flag)
    from
    tbl_order
    and a process to update the value of Ord_number & ord_flag columns for the selected (Checked) rows.
    FOR i in 1..apex_application.g_f01.count
    loop
    UPDATE
    tbl_order
    SET
    Ord_number = apex_application.g_f03(i),
    ord_flag = apex_application.g_f04(i)
    WHERE
    order_id = apex_application.g_f01(i);
    END LOOP;
    But the values getting updated wrongly , how can I ensure the exact values is retrieved in apex_application.g_f03(i) & apex_application.g_f04(i) ?
    Regards.
    Benz

    I think the row selector is there if you create an tabular form. However, you can create it yourself following this example:
    http://apex.oracle.com/pls/otn/f?p=31517:170
    Basically,
    apex_item.checkbox (30,
                               '#ROWNUM#',
                               'onclick="highlight_row(this,' || ROWNUM || ')"',
                               NULL,
                               'f30_' || LPAD (ROWNUM, 4, '0')
                              ) delete_checkboxDenes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

Maybe you are looking for