Restrict F4 Help to specific values

Hi
We're running BW 3.5
I want to restrict for a specific report the F4 help to several specific single values for an infoobject.
e.g. 0MATERIAL only for Article 123, 234, 543, 3423.
How do I have to do this so the filter on the initial selection screen only shows those values and not the whole content of either cube, infoobject or something else?
Thank you for an answer
Roger

Two options I can think of quickly
1. Create input of variable of 0material with a type of user exit
Then in cmod hard code those values in step 1 (ie before output to the screen)
This will default the selection to the user.
It would be better not to hard code these in the cmod but have a z table that you enter these records into (just in case they change their mind - you then just have to maintain the z table and not retransport the cmod back through dev - q -p)
2. Create a BW hierarchy and put those materials into a hierarchy node - then defaulty the hierarchy node into a selection screen. Benefit of this above the one above is not only does get aroudn the hard coding problem - but you can use standard bw hoerarchy maintenance rather than a z table to change the entries

Similar Messages

  • Restrict User to specific Values in F4 Help.

    Hi All,
    How do we restrict user to some specific values in F4 Help. ?
    Thanks & Regards
    Himanshu Bhusan Sahoo.

    Hi,
    use this function module CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST''
    @  AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_werks(Field).
    and pass only those values to this function which must be shown to the user.
    Hope this helps you,
    Regards,
    Abhijit G. Borkar

  • Restrict the number of visible values in drop down by key?

    Hello,
    Is it possible to restrict the max. number of entries displayed in a drop down by key element? By default i get 10 entries which i would like to limit to 5. Thanks.
    Regards,
    Vasu

    Hi,
    If you have a set of default values (which come from the domain), you can restrict them to the specific values which you need to display. In the INIT method of the view in which this UI element is present, you will have to write code to delete the entries which you do not wish to show in the drop down by key element.
    Have a look at this code snippet:
      data:     node_info type ref to if_wd_context_node_info,
                elem_attr type wdr_context_attribute_info.
      node_info = wd_context->get_node_info( ).
      node_info = node_info->get_child_node( 'CHILD_NODE' ).
      data:    lt_valueset type wdr_context_attr_value_list,
            l_value type wdr_context_attr_value.
      call method node_info->get_attribute
        exporting
          name           = 'ATTR1'
        receiving
          attribute_info = elem_attr.
      lt_valueset = elem_attr-value_set.
      delete lt_valueset where value = 'VALUE1'.
      node_info->set_attribute_value_set(
                name = 'ATTR1'
                value_set = lt_valueset ).
    Hope this helps.
    Regards,
    Wenonah

  • Filtering a Query result for a specific value of a key figure

    Hi folks,
    I want to filter a query for a specific value of a key figure. The report should display all customer who has an account balance greater than EUR 500'000.
    Can I only implement this kind of filter via a condition in Query-Designer? If I run that query on an InfoCube with non-cumulative key figures over all our customers (> 400'000) I have problems with the consumption of the memory. If I restrict the amount of the customers to 50'000 - 60'000 then it works. It seems that the query reads all customer records in an internal table before applying the condition.
    Is there another way to deal with? Any help appreciated.
    Kind regards
    Hansjörg Luzi
    Graubündner Kantonalbank
    CH-7002 Chur

    You could try to implement an alternative solution: define a new Characteristc with discrete values (in the following example I suppose to have intervals of 10)
    KF -> CHAR
    115 -> 110 (110 <= KF < 120)
      5 ->   0 (  0 <= KF <  10)
    83 ->  80 ( 80 <= KF <  90)
    Then you can use these dicrete values to filter ...
    I know that it's not so "flexible" (discetization must be predefined), but query response time is quicker and you can use Aggregates ...
    Hope it helps
    GFV

  • How can I sum the values in a given column on sheet 1 i.e. A1:A50 based on the adjacent columns specific value i.e. B1:B50 = "Living Room" on sheet 2

    How can I sum the values in a given column on sheet 1 i.e. A1:A50 based on the adjacent columns specific value i.e. B1:B50 = “Dinning Room” on sheet 2
    For Example:
    SHEET 1
    A
    B
    $50
    Dinning Room
    $800
    Dinning Room
    $300
    Kitchen
    $1,000
    Master Bedroom
    $100
    Dinning Room
    SHEET 2
    Display the total SUM amount of each Project based on Sheet 1
    Project Name
    Total Cost
    Dinning Room
    $950
    Kitchen
    $300

    Would be a good idea to open iWork Formulas and Functions User Guide and search for the description of the function named SUMIF
    The Guide is available for every user thru the Help menu.
    Yvan KOENIG (VALLAURIS, France) jeudi 19 mai 2011 17:32:42
    Please :
    Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How do I restrict F4 help?

    Hello experts,
    I want to restrict F4 help so that only 3 valid values will be shown when users press F4 on my parameter. How do I do that?
    Again, thanks a lot guys and have a nice day!

    Hi Viraylab,
    Use this code and in the select statement put your condition to select only the 3 records that you want to display in your F4 help.
    REPORT  ZHELP                             .
    TABLES : MARA.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETERS : P_MATNR(10) TYPE C.
    SELECTION-SCREEN END OF BLOCK B1.
    DATA : BEGIN OF ITAB OCCURS 0,
           MATNR TYPE MATNR,
           END OF ITAB.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.
      SELECT MATNR
             FROM MARA
             INTO TABLE ITAB
             UP TO 10 ROWS.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          RETFIELD        = 'MATERIAL NUMBER'
          DYNPPROG        = SY-REPID
          DYNPNR          = SY-DYNNR
          DYNPROFIELD     = 'P_MATNR'
          VALUE_ORG       = 'S'
        TABLES
          VALUE_TAB       = ITAB
        EXCEPTIONS
          PARAMETER_ERROR = 1
          NO_VALUES_FOUND = 2
          OTHERS          = 3.
    Regards,
    Mukesh Kumar
    Message was edited by: mukesh kumar

  • How can I restrict a vendor with certain value limit?

    Hi Gururs,
    How can I restrict a vendor with certain value limit?.
    Scenario is like this
    If my company was decided to purchase goods from a particular vendor upto Rs.1000, if cross the rs.1000 limit don't allow the Posting the PO and get the Message as warning/error.
    Give the configuration setting's and T.codes
    Thanks and regards
    G.N.Rao

    Hi
    Go to T.Code oms4 and then select the material status BP (Blocked for purchasing)
    Click on Details
    In that under Purchasing select the option A= Warning or B=Error
    Click on Save
    Thus by doing this no further purchasing function for that material can be done. So the PO can not be issued
    So as and when the value limit reaches see that purchasing option is blocked
    So no further PO are generated in the future
    I hope this helps you out
    If found useful reward accordingly
    Thanks
    pavan

  • Print out a column value only if another column has a specific value (CASE Statement)

    Hello all,
    I tried many hours to find a solution for the following request but wasn't successful. Maybe you could help me.
    I've using the already existing SQL Views in Microsoft Service Manager to do some basic reporting about my tickets.There is no closed date in the activity tickets so I decided to print out the lastmodified timestamp when the status is "closed".
    That's my query:
    SELECT DISTINCT
    dbo.DisplayStringView.DisplayName AS Status,
    CASE WHEN dbo.DisplayStringView.DisplayName = 'Closed' THEN dbo.DisplayStringView.LastModified ELSE 'NO CLOSED Date' END AS ClosedDate
    FROM dbo.MTV_System$WorkItem$Activity$ManualActivity LEFT OUTER JOIN
    dbo.DisplayStringView ON dbo.MTV_System$WorkItem$Activity$ManualActivity.Status_8895EC8D_2CBF_0D9D_E8EC_524DEFA00014 = dbo.DisplayStringView.LTStringId
    Unfortunatelly I'm not getting the value from dbo.DisplayStringView.LastModified. SQL outputs that it is not possible to convert the string to date/time.
    I think there is a problem with the CASE statement in combination with a value select.
    Any ideas how to print out a column value only if another column has a specific value?

    I think it is the other way if you want the missing date shown as a string.
    CASE
    WHEN
    dbo.DisplayStringView.DisplayName
    =
    'Closed'
    THEN
    Convert( varchar(10),dbo.DisplayStringView.LastModified
    , 101) ELSE
    'NO CLOSED Date'
    END
    AS
    ClosedDate 

  • Default "Recoverable Tax" account - cost center segment to specific value

    Dear all,
    I have tried couple of days to see how to use subledger accounting setup to default cost center of recoverable tax account (recoverable tax account - cost center segment to specific value which is based on the cost center of invoice distribution), however it is not succesful.
    I think might be some of the setup is wrong, please see below my setup steps:
    1) Set up Account Derivation Rules
    Copy rule code AP_INVOICE_DIST to T_AP_INVOICE_DIST with adding a source ='Recoverable tax", condition = Invoice Distribution Account is not null
    2) Setup Journal Lines Definition
    3) Setup Accounting Accounting Definition
    Please advice.

    Madhu,
    I did some investigation too and it looks like this is only way i can do this.
    Do you think of any User Exit name, which i can use it here?
    Thank you and appreciate your help.

  • Want to restrict user form putting any value in condition in po

    Dear all,
    ply help on this matter.
    i want to restrict person for put any value in condition tab for po.
    let say i am putting "FRC1" condition and value let say 5rs then i should get an error saying your are not authorised.
    puprose:condition like FRC1 ETC should not be allowed to change.
    regards
    amey

    Hi,
    To restrict any manual entries for a Condition type, In that condition type under Changes which can be made maintain 'D' for Manual entries option.
        Along with this maintain the condition record for that perticular vendor for the amount which has to be paid for Freight.
    Regards,
    Vijay

  • Select only one specific value from two values contained in an item in form

    hi ,
    i am newly creating a form.
    in the all item i an displaying on control block,
    in one item "dummy.formule" i am taking the value as '1-xyz' where 1 is nummer and xyz is naam
    or '99-fgj'.
    but for the next block i want to write a query in which in the where condition i need to use the nummer from dummy.formule.this query is dymannically created at run time.
    i am wrting this query in the when validate of the "dummy.formule" .
    how i get the specific value that i required?

    923315 wrote:
    hi ,
    i am newly creating a form.
    in the all item i an displaying on control block,
    in one item "dummy.formule" i am taking the value as '1-xyz' where 1 is nummer and xyz is naam
    or '99-fgj'.
    but for the next block i want to write a query in which in the where condition i need to use the nummer from dummy.formule.this query is dymannically created at run time.
    i am wrting this query in the when validate of the "dummy.formule" .
    how i get the specific value that i required?First look at it. dynamically create pop list at run time. close it.
    what you mean by "naam" ?
    If the value has a specific format like as you write "1-xyz,99-fgj". you can use instr function and substr function to cut it out..
    Hope this helps.

  • Overwrite specific value on .txt file

    Hello
    Does any one know how to overwrite specific values in a .txt file?
    here's and example of what i need:
    I just want to replace the numbers 1 and 2 every time I run my code, the rest remain the same.
    this is the part of the code Im using
    thanks!

    Hello Tokighy,
    What Bryan mentions is a good approach, you can also check the Write to Text File and Read from Text File.vi in the Find Examples section in LabVIEW, you can take the output from the Read from Text File (having as input your .txt file) and then use either Replace Substring or Search and Replace String functions from the String palette.
    http://zone.ni.com/reference/en-XX/help/371361H-01/glang/search_and_replace_string/
    http://zone.ni.com/reference/en-XX/help/371361J-01/glang/replace_substring/
    Hope you find this information useful!
    Regards, 

  • Read Specific value/Search Into file

    Hi i need a java code which read specific value from a file.
    Example:
    I have a text file named data.txt
    it contain :
    Customer Name :Sarwar
    Customer Id : 001
    Product Price :2000
    now how can i take values 001 and 2000 from the file data.txt and save them in a another text file named new_data.txt ?
    Can any one help me?

    Search Google for 'java file read'. Wanna write to a file? Search for 'java file write'. Ain't Google awesome?
    If you haven't already done so, I suggest you search www.amazon.com for a beginner book on Java that has good reviews. Its much more efficient to read a book on Java than spend countless hours trying to learn it through code examples found on the internet.

  • Waht to restrict user to enter decimal value?

    Hello Experts,
    I want to user to restrict to enter the decimal value in text field on forms.
    Please help me out. i do not want the round fucntion but want to indicate the user.
    Thanks
    Yash

    Hello,
    Use a format mask that does not allow decimal parts, like 999990
    Francois

  • Restrict search help results on order types

    I need to restrict search help results on the account assignment category  for order type for the users when creating a SC. I have define fix values on the attributes PM_AUART & ANR & KNT (Order type, Order & Account assignment category) and maintained the related others PM attributes as well. But when I select the search help the system brings up all the Orders type and not the ones defined at the user attributes -  PM_AUART (Order type). Do I am missing something? How can I restrict the search help when searching for order types?
    Your support is highly appreciated.
    Thanks
    William

    Hi
    Please elaborate which SRM version you are currently on..
    Which Search help you are referring to and the name of the serach help which is being used ?
    Regards
    - Atul

Maybe you are looking for

  • Can we use two icloud accounts in the address book app in Lion?

    The answer is yes because we are doing it for months in our business. This way we can share our business address book between our 3 Mac and iphone and ipad and still have our private address books on all those devices without sharing them. It seems h

  • Difference in my catalog file size in backup

    Currently using PSE8 on pc platform. Just out of curiosity, why is the "my catalog file" which PSE references on the local drive  so much smaller a full backup of the catalog to an external drive?

  • I cant see any added bookmarks and I cant add any more !!

    I tried every thing .. I have uninstall Aurora and reinstall it >> but the problem still the same .. I get this : Error occurred in etention:[Exeption..."Component returned failure code: 0x8052000b (NS_ERROR_FILE_CORRUPTED) [nsINavBookmarksService.cr

  • Technical Monitoring - DBA Connection red (failure)

    Hi experts, I have the following problem. In technical monitoring I have one managed system, on which the DB availability check is not working. The DB is a Sybase ASE 15.7 In solman_setup->system config the DB connection is configured well (green sta

  • Is it possible to use same data source for two info cube

    Hi, My Problem is in BW we can not have value of material at storage location level.In R/3 also value is maintained at plant level. Then we searched and we found out one hot to doc for summarized display of stock values on storage location level. Pro