HR ABAP: Value Range Filtering in F4 help.
Dear Experts,
I'm using a common data element and domain used by our team for a field called "Overall Status"! The value range inside the domain for this OS is appended by each individuals, as and on based on individual requirements.
Now, i've appended 5 value range inside the existing domain's value range.
When, i call my custom infotype screen, i need only those values added by me in the f4 search help, instead of all the existing enteries in the value range?
Can anyone throw some lights for the procedure to do so?
Thanks in anticipation!
Useful solution will be definitely rewarded!
Regards,
Sundar.
Old!
Similar Messages
-
Search help on a field with value range
Hi,
I have a z-table. One of its fields has a z-data element with z-domain which has a value range. I have a requirement to add a search help on selection screen field which is parameter for mentioned field of my z-table. How can I do that?
Tnx in advance,
NatiHi,
Where you want to add the search help, i mean in report or in screen painter.
In Screen painter, you can take the reference of Z-Data Element by Dictionary option in Screen layout.
If it is report, you can use F4 function module(F4IF_INT_TABLE_VALUE_REQUES) or can creat the elementary search help in DDIC and give it as MATCHCODE OBJECT in PARAMETER statement.
Regards,
Chandu -
F4 help:Restrict Value Range
Hello Experts,
I want to a search help for one field such that when user click on F4 help , it will again pop- up with one screen, in which I need to have 2- 4 fields to Restrict the values then user enter some values here then F4 help will appaer.
Like in standard tables mseg-lifnr F4 help Restrict Value Range screen , but i require only one tab
Plz suggest
AasthaHello,
Use the following piece of code.
Parameter : p_value type ......
TYPES : BEGIN OF y_value,
value TYPE text6,
END OF y_value.
DATA : t_value TYPE STANDARD TABLE OF y_value.
DATA: t_return TYPE STANDARD TABLE OF ddshretval.
Fill table t_value with the values which u require in the F4 help.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 't_value-value'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'p_email'
TABLES
value_tab = t_value
return_tab = i_return
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3. -
Value range of domain as serach help
A Z domain have been defined a with a value range and domain is not used in any table. Can this value range of domain is used as F4 help on selection screen.
Selection screen is not designed thru screen painter but thru statements.
Kindly resolve.
anuHI anu ,
yes it is possible in the at selection output ...
DATA : lt_dd07v_tab_a TYPE TABLE OF dd07v.
DATA : ls_dd07v_tab_a LIKE LINE OF lt_dd07v_tab_a.
DATA : lt_dd07v TYPE TABLE OF dd07v. " this is internal table for your screenfield
DATA : ls_dd07v LIKE LINE OF lt_dd07v. " work area for your screenfield
CALL FUNCTION 'DD_DOFV_GET'
EXPORTING
get_state = 'M'
langu = ' '
* PRID = 0
withtext = 'X'
domain_name = 'zkunnr' " your zdomain hardcode it
* IMPORTING
* GOT_STATE =
TABLES
dd07v_tab_a = lt_dd07v_tab_a
dd07v_tab_n = lt_dd07v_tab_n
EXCEPTIONS
illegal_value = 1
op_failure = 2
OTHERS = 3
LOOP AT lt_dd07v_tab_a INTO ls_dd07v_tab_a .
MOVE-CORRESPONDING ls_dd07v_tab_a TO ls_dd07v .
APPEND ls_dd07v TO lt_dd07v .
ENDLOOP .
in the above the lt_dd07v is your screen field internal table
or else you can move the field which you delcare in the program
reward points if it is usefull
Girish -
Is it possible to filter domain value ranges when displaying a dropdown listbox in a table control according to the value of another field?
For instance,
- I have an ITAB with the fields FIELD1 and FIELD2 and a table control TABCON connected to it.
- FIELD1 is an instance of the domain ZDOMAIN1 and FIELD2 is an instance of the domain ZDOMAIN2.
- ZDOMAIN1 has the value range X, Y.
- ZDOMAIN2 has the value range A, B, C, D.
The value of FIELD1 will be already set and not changeable at this point, as for the drop-down list for FIELD2, I want it to include
- only A and B if the value of FIELD2 is X for that entry
- only C and D if the value of FIELD2 is Y for that entry
I hope I've been able to explain my problem here.yes it is possible
in process before output, you should build the value list dynamically and call function module VRM_SET_VALUES to update it on screen -
Using property with geocode in record filters/range filters
Hi All
We have created a property called "Location" with data type as "Geocode" and we are able to use the same in sorting.And ,this will generate two dynamic properties by name "Kilometers_to_Location and "Miles_to_location".Is there a way to use these dynamic properties in our record filters or range filters?We have requirement to filter products based on say within 100 kms, 1000kms from the user's location and not just sort based on this.
Any suggestions/help is appreciated.
Regards
ShreyasHi Shreyas,
Does this help:
http://docs.oracle.com/cd/E37502_01/server.751/es_dev/toc.htm#Geocode%20filters
Quoting from the link above:
Geocode filters
When used with a standard attribute of type geocode, the EQL DISTANCE function indicates a filter based on the distance of that geocode attribute from a given reference point.
The DISTANCE function returns the distance (in kilometers) between two geocodes. The syntax for DISTANCE is:
DISTANCE(geoAttribute, TO_GEOCODE(latitude,longtitude))
where
geoAttribute
is a standard attribute of type geocode. The
TO_GEOCODE
function creates a geocode from a given latitude and longitude pair, both of which must be of type double:
The latitude of the location is specified in whole and fractional degrees (positive values indicate north latitude, and negative values indicate south latitude).
The longitude of the location in whole and fractional degrees (positive values indicate east longitude, and negative values indicate west longitude).
Note that distance limits in geocode filters are always expressed in kilometers. The records are filtered by the distance from the geocode reference point to the latitude/longitude pair.
Julia -
Value range for free characetstic
Hi All,
I need to restrict the free characterstics value range form 20...29 and 40...49 for document type charcaterstic in the work book i mean i need to exclude the 20..29 range and 40...49 range form the selections, but i couldn't see the 20 and 49 in the slections i can see only 21 to 29 i couldnt find 20.How to achieve this in the work book itself.
Any help in this regards.
will assign the points.
thnaks
sgHi SG-
Lets see if this helps. In the query definition, from the context menu of doc type, choose RESTRICT. In the small window that opened, click on the box at the bottom left that has an arrow pointing to the right. In the subwindow that opens, see if you have the checkbox for Only Values in Infoprovider selected (tick mark). If yes, uncheck it and see if you can find the value 20 now. Let me know if it worked.
What KJ said is true. But since you said that your superior was able to do so for the same infoobject I am assuming that the values are being filtered from master data table already. One other place you can check is in the infocube. Go to RSA1, doubleclick on the infocube, go to EXTRAS -> Structure specific infoobject properties -> see what is the selected value under the column F4 query. If it says Only Values in Infoprovider, then change it to Values in Master data table and activate the cube.
Assigning points is the way of saying thanks in SDN.
Message was edited by:
Sudheer B -
Restrict Characteristic on value range in Query Designer
Hi,
In 3.5, it was possible to restrict a filter in the query designer on a value range, even if the start- and end values of that range did not exist in the master data.
In 2004s, it is possible to restrict single value filters to a non-existing masterdata value. However, for value ranges, this does not seem to be the case. Do you know any workaround for this?
Regards,
Danielof course, BI 7.0 support value range for restrict.Please kindly release more information about your case .
Value Range
Instead of selecting single values you can quickly gather multiple characteristic values using this next option. This choice provides the following additional options:
1. Between
2. Greater than or equal to
3. Less than or equal to
4. Greater than
5. Less than
And you can reference following URL on this topic
http://help.sap.com/saphelp_nw2004s/helpdata/en/f1/0a563fe09411d2acb90000e829fbfe/content.htm
Edited by: Brian on Oct 22, 2008 3:08 PM -
To give value ranges in web interface builder in a BPS application
Hi all,
I want to give value range for an info-object in web interface builder when selecting a value range variable , but the web application is displaying only the 'from' field and I am not able to get the place to give 'to' for a complete range.
Is there any other solution apart from creating an exit variable that reads from two other variables for 'from' and 'to'.
plz help.Hi Chauhan,
If you wish your user to input different values, then you have to provide "n" variables in the layout and read them in the exit variable! This method of reading user input is not adviced! Nevertheless, if you try solution described for first case, potentially in the range there could be "posting level" value(s) that was not wished.
If these values fall under some range, it is possible to display the layout filtered with these selections
For this you could provide two variables in the BSP-Selection section and in the BPS layout you would use a variable to type exit to read in the low and high values (that the user has selectedin BSP Page). In this way you could filter the contents of the layout with the multiple values for the "Posting level".
Thanks
VArun -
ALV, domain and F4 value ranges.
Hi all
I'm having trouble with getting F4 value range help up and running on a cell in my ALV. The main reason for my problems is because I'm not using a DDIC structure, but one I defined locally. The structure's field is associated with a domain type defined in the DDIC and as such I'd like to pull the value range from there.
Here's what more-or-less what I'm doing:
- Create a local structure type corresponding to fields of a DDIC table.
- Select from the table into the structure.
- Load ALV with structure.
Is there anyway to get the F4 help on a cell?
Ps. ref-table and ref-field doesn't work.As I'm not at the office at the moment I can't test anything, so I'll give you a progress update tomorrow, but in the mean time:
Anjali - I'll have a look at that link. I'm still fairly new to ABAP so I can't tell off hand if that's what I'm looking for, but I'll know for sure when I have a look at the demo applications.
Vijay - I do have value ranges for the domain of the type used by my structure. I believe ref-table and ref-field isn't working because my internal table is of type local structure rather than DDIC table type.
Sekhar - I did try setting F4AVAILABL to 'X', but all that does is display the 'value range button' (which you can click to get the same effect as pressing F4), without actualling doing anything else.
Thanks for the help thus far. -
Problem when define Value range for data element
Dear
When I define a new data element in ABAP Dictionary, for example, ZDATA_ELEMENT_TEST.
I use domain ZDOMAIN_TEST.
(Data type is DEC, the length is 10, and decimals is 2 with sign.)
Now, I want to restrict that, user can ONLY input the value from 10 to 100.
From ABAP course and the Internet, I switch to "Value Range" tab, and define 10 for Lower Limit, 100 for Upper Limit in Intervals section.
And write the simple program.
PARAMETERS test TYPE ZDATA_ELEMENT_TEST.
WRITE: test.
And run it.
Line: -
But, there is a problem.
When I input 200 for test, the program still run and display 200 to screen without any error report or notification. The ABAP runtime system doesn't check the input value.
I want to config for the domain that can satisfies, if the user input the wrong value (e.g: 200 in the previous case), the program will auto raise the error report, or exception, or sth like that.
Any help is welcome.Hi Hanni,
Welcome to forum.
Try to attach key word VALUE CHECK to your PARAMETER statement.
I.e:
PARAMETERS test TYPE ZDATA_ELEMENT_TEST VALUE CHECK.
Note: The addition VALUE CHECK cannot be used together with the additions AS CHECKBOX, RADIOBUTTON, or NO-DISPLAY.
Regards, -
Input Field: Value Range in IP Web Layout
Hi Experts,
I've created a Web Layout based on IP with a copy function (e.g. from actual 2008 to plan2009) over 12 calendar months. For choosing the months to be copied, I created a Variable (calmonths) and added an Input Field into my layout to enter the the months to be copied. I referred the variable to the input field and it's working...
When I want to select several months to be copied, I can type in " 1; 2; 3; " into the input field, execute the planning function and only month 1, 2, 3 (i.e. Jan, Feb, Mar) are being copied. But when I want to copy all 12 months, i have to enter 1; 2; 3; 4;...11; 12 which is kind of anoying! Has somebody some experience whether I can use a value range like 1-12 (or something like that) to avoid entering all the months individually? (I tried 1-12; 1- 12; 1 - 12; 1:12 etc but nothing like this is working)
It would be very helpful if someone has an idea
All the best,
NorbertHi Mayank, hi Srinivas.
Thanks a lot for your valuable input! Unfortunately I was not able until today to test your recommodations.
I tried your Interval variable but then faced the problem that I cannot enter multiple months anymore (e.g. 5 - 8 worked, 1; 3; 5 not). Then I inserted both variables, multiple values & interval, into the planning function as well as in the button group in WAD for executing the PF but was not able to execute the following example: 1; 8; 4 - 6. After trying out for some time I figured out that one has to type in the figures in the following order: 4 - 6; 1; 8. Only then I am able to execute the planning function for the months April-June & Jan & August. So, if you're facing the same problem in the future, maybe you have the solution
Best regards,
Norbert -
Can I use the value range as F4 ValueHelp in WebUI?
Hi,
I have a Z-field in CustomerH. Its datatype has a domain with a fixed value range attached.
I show this field in the header of a sales order but the value help does not show up automatically.
My question is: Can I use this value range as input for the value help or do I have to code a "real" value help and attach it via the V-Getter?
Thanks.Hi,
/people/tim.back/blog/2009/02/09/learn-how-to-create-drop-down-listboxes-in-crm-70s-web-client-ui
to fetch data, you can use table mentioned above. Pass domain name and language to get all values maintained in domain.
Regards,
BJ -
Validation for the select option value range of selection screen
Hi All.
if i wish to validate the selection screen parameter for a value range(select options),is it possible?
what should i write in code.Also,m using FM DD_DOMVALUES_GET to get the values for a specific domain name.
Please reply.Hiii,
Yes it is possible.... Can you give me the piece of code ... about the select option
and also the value range against which you want to validate the select option.
So that i can help you with the coding tips...
Thanks in advance.. -
Creating Value Conversion Filters in Import Manager
Hello.
I am trying to create some Value Conversion Filters that change street suffixes to abbreviations. Such as Lane to Ln.
How would I go about doing this? Am I supposed to use the find/replace Conversion Filter?
Points awarded to any helpful answers / helpful guides (besides the Import Manager Guide) <--- I have this already
Thanks,
NicholeHi,
Yes u can use the Find/Replace Conversion filter property in Import manager.
In this u can write the word u want to change and then write the req format.
But the conversions are permanent while if u do this in MDM data manager under transformations they are temporary.i.e they will not be syndicated.
Hope this may help u.
Rgds]
Ankit
Edited by: ankit jain on Aug 6, 2008 5:06 AM
Maybe you are looking for
-
Hi all, I am displaying an Adobe Form in a pop up modal window. The display type of the Adobe form is native. However when the popup window shows up, the adobe form is not shown properly. There is no problem if i set the displayType of the adobe form
-
Just wondering if anyone else is suffering at the hands of FCS2 on a new Intel. We have just bought the biggest machine Apple offer, with FCS2 as a clean install. The project is being cut in ProRes, and is causing us nightmares. Constant "out of memo
-
Role of "Maxor" field in RRKMULTIPROVHINT table
Hello Everyone, We have the "Maxor" field in RRKMULTIPROVHINT table. The description of the field is given as "The table RRKMULTIPROVHINT now contains the field MAXOR. With this field, you can determine for each characteristic how many rows the WHERE
-
Photoshop Elements 8: why too many activations? [was:activation]
Recently had new computer and the man that set it up for us loaded on our photoshop elements 8, the old computer was dumped, so is no longer in use. However when I try to use the programme it tells me that I have too many activations on it. I am not
-
Upgrading to CS5.5 but hitting a brick wall?
I am a writer that recently worked at a design firm and now I'm on my own. I attempted to upgrade InDesign from CS4 to CS5.5 after responding to an Adobe invitation. I primarily use InDesign to review the work of designers in their native files and