F4 help on selection screen in BI Query

Hi All,
When I execute a query in BI, I get a selection screen. Now when I press F4 on article number in that screen, I get all the values in the resulting screen.
Ex.
Plant                   Article Number
100            5000
200            5000
300            6000
Now the requirement is that I do want only one article number to be displayed as follows.
Plant                   Article Number
100            5000
300            6000
How can this be sorted out.

Hi,
May I know, on what logic you want to display selection values?
One way to achieve that is to restrict values in query, this will display your query result with only restricted value. But it will show all values in selection.
Another option can be of using authorization, user will see only his authorized values in the selection.
If you can describe your requirement in more details, more help can be provided.
Regards,
Ashish

Similar Messages

  • F4 help on selection screen in BI Query sort

    Hi,Everyone:
    I have designed a query in bw and set   0calmonth as varient, when i excute the query and open the varient,the value is sorted ascending,how can i set it sort descending?
    can anybody help me ?

    Hi,
    Click on the infoobject 0calmonth in the Query. On the right side you can see the properties of the infoobject.
    Here there is an option for Sorting in the tab Display.
    You have options to sort on Characteristic, Sort by and Sort Direction(Ascending & Descending).
    Regards
    Nageswara

  • Selection Screen for BW Query

    Hi,
    We have a requirement where, in the Selection Screen of the Query we have to show a Table, the data will be fetch from a Info Object. There will be a last column for taking data from the User.
    Once the selection screen is filled and executed Report will be outputed.
    This can be achieved in R/3 ABAP by using Table Control on the screen.
    but have no idea how this can be achieved in BW.
    Can anyone help me out ?

    Hi Muthu,
    Thanks for replying. Let me explain the scenario little more in detail.
    We have a selection screen which will have some slection fields and a table like structure for displaying some values by default. When the execute button is pressed the final report is generated.
    There is no link between table structure and the final report except one of the coulmn field is used to derive a flag value in the final report.
    The problem we are facing is how the Selection fields and table structure be displayed when the Report transaction is called.
    Pankaj

  • Search help in selection screens for interactive report

    A search help can only be assigned to DB table.
    So my doubt is can it also be used for seletion screens created for an interactive report?
    If yes what is the procedure.. Please give me one example at least...
    waiting for your valuable suggestions.....
    Thanks,
    regards,
    Chinmay

    Hi Chinmay,
    I suppose your requirement is to give search help to selection screen elements.
    Here is the code.
    REPORT  ZSHAIL_F4HELP                           .
    parameters: name(10) type c .
    TYPES: BEGIN OF VALUES,
             CARRID TYPE SPFLI-CARRID,
             CONNID TYPE SPFLI-CONNID,
           END OF VALUES.
    dATA: PROGNAME LIKE SY-REPID,
          DYNNUM   LIKE SY-DYNNR,
          DYNPRO_VALUES TYPE TABLE OF DYNPREAD,
          FIELD_VALUE LIKE LINE OF DYNPRO_VALUES,
          VALUES_TAB TYPE TABLE OF VALUES.
    at selection-screen on value-request for name.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
      EXPORTING
        tabname                   = 'DEMOF4HELP'
        fieldname                 = 'CARRIER1'
      SEARCHHELP                = ' '
      SHLPPARAM                 = ' '
       DYNPPROG                  = PROGNAME
       DYNPNR                    = DYNNUM
       DYNPROFIELD               = 'CARRIER'
      STEPL                     = 0
      VALUE                     = ' '
      MULTIPLE_CHOICE           = ' '
      DISPLAY                   = ' '
      SUPPRESS_RECORDLIST       = ' '
      CALLBACK_PROGRAM          = ' '
      CALLBACK_FORM             = ' '
      SELECTION_SCREEN          = ' '
    IMPORTING
      USER_RESET                =
    TABLES
      RETURN_TAB                =
    EXCEPTIONS
       FIELD_NOT_FOUND           = 1
       NO_HELP_FOR_FIELD         = 2
       INCONSISTENT_HELP         = 3
       NO_VALUES_FOUND           = 4
       OTHERS                    = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    AT SELECTION-SCREEN OUTPUT.
    PROGNAME = SY-REPID.
      DYNNUM   = SY-DYNNR.
      CLEAR: FIELD_VALUE, DYNPRO_VALUES.
      FIELD_VALUE-FIELDNAME = 'CARRIER'.
      APPEND FIELD_VALUE TO DYNPRO_VALUES.
    I hope your query is solved.
    If so,please award points.
    Regards,
    Sylendra.

  • How to add customize message on the variable selection screen in the query

    Hi all,
    Can we add an customise message on the variable selection screen in the query? If yes please let me know how it can be achevied?
    Thanks,
    Rani

    Hi Rani,
    I faced a similar issue (for what I understand your request is).
    My requirement for the Variable Screen was to do:
       1) place a link to a ppt file
       2) remove buttons "Save", "Save As...), "Delete"... the standard buttons come when running the Query or WebTempl
    We were using a Web Templ for BI7.0
    I struggled trying to find out how to do it. My conclusions are:
    - WAD, not sure we can accomplish it using a Web Template but i did not "play" a lot with the Web_Template Properties in order to know
    - XHTML, I was told in my post HTML modification was the way, but I have close to nil background in HTML and couold not find the way of accessing the Variable Entry screen
    For instance, I had to remove similar buttons and change some font size from a link on the Web Template (WAD), which was pretty straight forward. In WAD the buttons come with its own icon and to increase the Font size for that link we used XHTML (<font size="2" >). But the heck of the variable screen...well, i just did not get trhough to it to modify it in any way.
    Good luck,
    Definetly in a Query I would say that no.
    alex
    PS: If anyone had a better insight, please feel free to share it.

  • 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

  • Hi its urgent...help on selection screen parameters

    Hi all,
    I need help on selection screen parameters.
    requirement is that,
    i am having input fields for material, plant ,start date and end date and a check box and an input field for getting the txt file.
    when i select the checkbox, it should ignore the mandatory fileds in the selection screen.
    and when i get the file input, it should take  the input data material, plant, start date and end date from the flat file and populate the corresponding input fields in selection screen.
    How to do this..
    thanks in advance.

    Hi ..
    While declare the Matnr, Plant etc dont use the OBLIGATORY addition.
    instead of the based on the value of check box validate them .
    AT SELECTION-SCREEN.
      IF c_box = ' '.
       << validate for mandatory fields>>
    endif.
    <b>REWARD IF HELPFUL.</b>

  • Changing sequence in selection screen of ABAP query

    Hi,
    I have added a field(ZEXTLTCA - Exclude LTCA lots) as SELECTION in a Infoset selections.We can add additional fields and selection fields to infoset.I am using the option selection field.This will appear in the selection screen when we execute query.
    Few more fields i have declared as part of table in infoset.
    These table fields will be visible in the query to change the sequence and its characteristics.
    Now the problem is as selection fields of infoset are taking priority over infoset table fields ( which will be visible in query) selection fields are coming top when i execute query.
    Ex:
    Exclude Cancelled Lots
    Material number
    Plant
    Material type
    Inspection Lot Origin
    I need to change the order of appearance in the selection screen.
    As
    Material number
    Plant
    Material type
    Inspection Lot Origin
    Exclude Cancelled Lots
    Can anyone help me in solving this.
    Thanks
    Nirmala
    Message was edited by: Nirmala  Reddy

    Hello Nirmala,
    Go to Sq01, select the query and goto to change mode.go to the next screens till u reach Selection fields. Here u enter the NO field in the sequence which u want ot appear in the selection screen and it is done. Save and execute.
    Ex:
    Selection fields          No
    Exclude Cancelled Lots     5
    Material number            1   
    Plant                      2
    Material type              3
    Inspection Lot Origin      4

  • Restricting to few values in F4 selection in selection screen of the query

    Hi Gurus,
    In my query selection screen i am getting all the values which are in provider & master data(in F4 selection).
    But I want to see only few vallues how can i achieve this in my selection screen.
    I am executing query in web. My version BI7.0
    Thanks in advance.
    Thanks,
    Vijay.

    Hi
    could you please tell me how you are getting the values in f4 selection for the master data selection.
    I hv tried all settings, but F4 help doesnt show the values.
    i have tried the setting Values in master data table, it doesnt work
    please help
    Regards

  • HELP WITH SELECTION SCREENS

    Dear All,
        I am new to SAP(ABAP) have been given this assignment sort of ....plz help
    1.     Write a program to fetch all the sales orders and line items with in a data range.
      Selection screen fields: Sales Order Number
                                           Document type
                                           Sales order date.
      To display in the output report should contain following fields:
    1.     Sales Order number
    2.     item number
    3.     net price
    4.     net value
    5.     document type
    Use Tables :vbak and vbap.

    Hi,
    Try this out.
    REPORT yjjtest MESSAGE-ID zm.
    TABLES: vbap, vbak.
    DATA: BEGIN OF i_output OCCURS 0,
                 vbeln LIKE vbap-vbeln,
                 posnr LIKE vbap-posnr,
                 netwr LIKE vbap-netwr,
                 netpr LIKE vbap-netpr,
                 auart LIKE vbak-auart,
               END OF i_output.
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
    " text-001 as Selection
    SELECT-OPTIONS: s_vbeln  FOR vbap-vbeln,
                    s_auart  FOR vbak-auart ,
                    s_audat  FOR vbak-audat.
    SELECTION-SCREEN END OF BLOCK blk1.
    START-OF-SELECTION.
      SELECT a~vbeln
                    a~posnr
                    a~netwr
                    a~netpr
                    b~auart
                    INTO TABLE i_output
                    FROM vbap AS a
                    INNER JOIN vbak AS b
                    ON a~vbeln = b~vbeln
                    WHERE    a~vbeln IN s_vbeln
                    AND      b~auart IN s_auart
                    AND      b~audat IN s_audat.
      IF sy-subrc NE 0.
      MESSAGE e000 WITH text-002. " No data found for the selection criteria
      ENDIF.
      WRITE:/  'Program to fetch all the sales orders and line items'.
      ULINE.
      WRITE:/001 'Sales Order number',
             012 'Item Number',
             025 'Net Price',
             050 'Net Value',
             070 'Document Type'.
      ULINE.
      LOOP AT i_output.
        WRITE:/001 i_output-vbeln,
               012 i_output-posnr,
               025 i_output-netwr,
               050 i_output-netpr,
               070 i_output-auart.
        CLEAR i_output.
      ENDLOOP.
    Hope this solves ur query.
    Sample output
    TEST Program                                                                               
    Program to fetch all the sales orders and line items                                                                               
    Sales OrderItem Number  Net Price                Net Value           Document Type                                                                               
    10000000   000010                       0.00                0.00     ZNOR                  
    10000000   000020                       0.00                0.00     ZNOR                  
    10000006   000010                       0.00                0.00     ZNOR                  
    10000007   000060                       0.00                0.00     ZERO                  
    10000007   000020                       0.00                0.00     ZERO                  
    10000007   000050                       0.00                0.00     ZERO                  
    10000007   000040                       0.00                0.00     ZERO                  
    10000007   000030                       0.00                0.00     ZERO                  
    10000007   000010                       0.00                0.00     ZERO                  
    10000008   000010                  13,825.35            3,675.00     ZERO                  
    10000009   000010                       0.00                0.00     ZERO                  
    10000010   000010                  47,002.06            2,637.60     ZERO                  
    10000011   000010                       0.00                0.00     ZERO                  
    10000012   000010                  36,193.40            1,522.01     ZERO                  
    10000014   000010                       0.00                0.00     ZERO                  
    10000015   000050                       0.00                0.00     ZERO                  
    10000015   000010                       0.00                0.00     ZERO                  
    10000015   000020                       0.00                0.00     ZERO
    Please reward points and clos ethe thread.

  • Regarding Search help on selection-screen field

    Hi there,
    I am working on custom tables.
    I have a requirement to maintain search pattern on a selection-screen field.
    selection-screen parameter: p_name which is company name filed from Z table.
    By giving a string like Holl* and by  pressing F4 on the field p_name it has to popup a dialogbox having list of company names starting with Holl.
    Thanks in advance.
    -Tulasi

    Hi
    Go through the link given below :
    How to create a search help for my own fields in selection screen
    F4 search help on report selection screen
    also try :
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    DDIC_STRUCTURE = ' '
    RETFIELD = 'VKORG'
    PVALKEY = ' '
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'P_VKORG'
    STEPL = 0
    WINDOW_TITLE =
    VALUE = ' '
    VALUE_ORG = 'C'
    TABLES
    VALUE_TAB = T_TABLE1
    FIELD_TAB = field_tab
    RETURN_TAB = RET_TAB
    DYNPFLD_MAPPING = DYN_TAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3
    With Regards
    Nikunj shah

  • Def a value in sear help of select screen generated by HR  report category

    Hi all,
    Ive developed a HR report in which Ive used LDB  PNP.. Now they are going to use this report for a particular company.
    so in the report selection screen when they choose f4 help of personnel area i.e. field PNPWERKS, I need to default a value X for company code input field(BUKRS). so that the user can select personnel area pertaining to this company (code - X).
    How can I achieve this? (defaulting a selection value in standard search help)
    Thanks,
    Rajan U

    Hi Rajan
    You can still do this in the initialization.
    The memory id for the company code is 'BUK' and for plant it is 'PBR'. So in the Initialization event you can do like below. Here I am defaulting both the company code and plant.
    insert personnel area code from user own data       
      GET PARAMETER ID 'PBR' FIELD werksid.                 
      IF NOT werksid IS INITIAL.                               
        pnpwerks-sign = 'I'. pnpwerks-option = 'EQ'.
        pnpwerks-low = werksid. APPEND pnpwerks
      ENDIF.                                                   
    insert company code from user own data
      GET PARAMETER ID 'BUK' FIELD bukrsid. 
      IF NOT bukrsid IS INITIAL.                          
        pnpbukrs-sign = 'I'. pnpbukrs-option = 'EQ'.
        pnpbukrs-low = bukrsid. APPEND pnpbukrs.
      ENDIF.
    Let me know if this helps.
    Regards,
    Vijay V

  • ABAP Help: Dynamic Selection Screen

    Hi,
    I have a requirement to be able to pick the list of fields in a selection screen. (List processing)
    Similar to SE16 choosing "fields for selection".
    I've debugged SE16 and realized it deletes the report and regenerates a new report with the updated selection screen.
    I could not do the same as it will also delete all the variants users have created in the report.
    Has anyone done something similar before?
    What is the best approach for this scenario?
    Regards,
    Michael Pang

    Hi Michael
    Hoping you have solved your problems with ALVs, I think it may be helpful to inspect FMs <b>"FREE_SELECTIONS_INIT"</b> and <b>"FREE_SELECTIONS_DIALOG"</b> for this issue. They have some <i>Function Module Documentation</i>.
    If you are dealing with logical databases, then only in the INCLUDE program DB<i>ldb</i>SEL of logical database <i>ldb</i>, you can use some selection-screen definition variants as:
    1.SELECTION-SCREEN BEGIN OF VERSION vers TEXT-xxx.
    2.SELECTION-SCREEN END OF VERSION vers.
    3.SELECTION-SCREEN EXCLUDE ... .
    4.SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE dbtab.
    5.SELECTION-SCREEN FIELD SELECTION FOR TABLE dbtab.
    6.SELECTION-SCREEN DYNAMIC SELECTIONS FOR NODE node.
    7.SELECTION-SCREEN FIELD SELECTION FOR NODE node.
    You can get more info from SAPHelp for these...
    *--Serdar

  • Selection screen fields in query

    experts
    i have created a query with 5 selection screen fields, now i want to change the order of the fields in the selection screen.
    Earlier:
    Material
    order
    delivery
    qty
    amount
    Now i want
    order
    material
    delivery
    amount qty
    In sq01 i tried but there are possibility to change the output fields but not selection screen field sequence.

    Hi,
    In SQ01, enter the query name and click on the change button.
    Next click on the next screen (top left) arrow button until you reach Change query xxxxx: Selections.
    Here under the column No  enter the number like 1,2,3, 4 ... against the checked fields that want to see in order. Then save the query.
    Regards,

  • Search help on selection screen.

    I have a selection screen with
    Report name
    Variant name
    Variant fields
    Variant fields is attached to a search help 'Z_Search_variant' and this search help fetches values based on "Report name" "Variant name" on the selection screen.
    I am using
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR Variant_field
    PERFORM f4_help_variant.
    FORM f4_help_variant.
    call function 'F4IF_FIELD_VALUE_REQUEST'
      exporting
       tabname                   = space
       fieldname                 = space
       SEARCHHELP                = 'Z_SEARCH_VARIANT'
      SHLPPARAM                 = 'REPORT'
      DYNPPROG                  = ' '
      DYNPNR                    = ' '
      DYNPROFIELD               = ' '
      STEPL                     = 0
      VALUE                     = Report
      MULTIPLE_CHOICE           = ' '
      DISPLAY                   = ' '
       SUPPRESS_RECORDLIST       = 'X'
       CALLBACK_PROGRAM          = SY-REPID
      CALLBACK_FORM             = ' '
      SELECTION_SCREEN          = ' '
    IMPORTING
      USER_RESET                =
    TABLES
        RETURN_TAB                = return_tab
    EXCEPTIONS
      FIELD_NOT_FOUND           = 1
      NO_HELP_FOR_FIELD         = 2
      INCONSISTENT_HELP         = 3
      NO_VALUES_FOUND           = 4
      OTHERS                    = 5
    How do I pass value to this search help? Currently I do not see this FM allowing this option? Any other options?

    Hi Vinita,
    wat i figured out from your problem is u need how to get values from FM so u can do it in this way..
    READ TABLE it_return INTO wa_return INDEX 1.
      IF sy-subrc = 0.
        wa_output-vkorg = wa_return-fieldval.  
      ENDIF.
      IF wa_output-vkorg IS NOT INITIAL.
        MODIFY it_output FROM wa_output INDEX row_id   * it_output is final ITAB
                  TRANSPORTING vkorg.
      ENDIF.
      CALL METHOD c_alv->refresh_table_display.
      CLEAR: wa_return,it_return[],wa_output.

Maybe you are looking for

  • How can I change a standard webservice

    What steps are necessary for me to change the SAP webservice from SAP ESR? I WANT to do this in ABAP. I know that there are some BADIs and Enhancements spots available . But how does this fit into the whole Wesbservice interface. For example : I want

  • Looking for some BAPIs to do some simple things

    Hello I am looking for someone to help me identify some BAPI function modules that will get me what I need.  Here is the information that I need, if you are able to identify a function module I can use, please let me know: Identify if a quotation num

  • How to disable the highlight i get on a JButton when it's helddown\pressed?

    couldn't find it anywhere..is there a way to disable the blueish highlight i get when it's pressed?or is the only option to make a glass pane over it?

  • Random placing of imported tracks in library

    When importing some cd`s the individual tracks are placed randomly in the library instead of in the correct order under the album title.  Other cd`s import perfectly.  Am I doing something wrong ? Can I rearrange the tracks under the Album title once

  • IPhone 6 stutters/lags when it vibrates

    I got my brand new iPhone 6 about 2 weeks ago and noticed that - specifically  when I'm playing a game - there is a 1-2 second lag whenever I receive a notification and it vibrates. When the notification is silent (such as Instagram) it runs smooth.