How to restrict value set to a certain responsibility
A group of users need access to add values to a value set. We dont want them to access all available value sets. So how can I restrict the responsiblity to access only one value set? can we create a function or something and pass the value set name? or does it need form personalization?
Thanks.
I don't think it's possible adding parameters to the form function. So, you would need to use form personalizations or add some code to the CUSTOM.pll. Another possibility would be to use lookups instead of value sets. Lookups can be restricted using form function parameters.
Hope it helps.
Similar Messages
-
How to restrict values of Dimensions in Webi report prompt
Hi
I need to create a WebI report for a set of Business users. We have several thousands of Agencies. Business Users want to see only the agencies they work with (about 100) in the prompt. This way they need not go through thousands of agencies they dont work with. I tried to use List Of Values option but that didnt give me desired result. Please let me know how to restrict values in prompt to few values from the n number of values available in database.
Thanks in advance.Hi,
there is no such step-by-step!
I would encourage you to consult documentation and search for terms 'row level restriction' in the help guides.
Practice makes perfect
Good luck
H -
How to give Value set for model attribute?
Hi all,
How to give value set for model attribute?
plz explain me with some sample code.
Regards,
SrinuHi Srinivasulu,
An attribute (of basic data types like integer , string etc) holds a single values.
Please clarify by what you mean value set ?
Also, share the structure of context.
Regards,
Kartikaye -
How to restrict values displayed using a select-options
Can someone please tell me how to restrict values displayed using a select-options.
Example- in my table I have 100 entries. However when the user will click on the required field- I want to be display only 25 options based on a given value of another field in the table.
Thanks,
Mahesh.get the screen value for the selectd field using the fm
DYNP_VALUES_READ.
for that value filter the internal table values and pass the table to f4 help of the field.
below code will help u
write the f4 help for the field.
At Selection Screen on value request *
F4 help for Corporate
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_CORP.
Get Corporates for selected division
PERFORM GET_CORP.
PERFORM F4HELP_CORP.
*& Form GET_CORP
Get the corporates for the selected division
There are no interface parameters to be passed to this routine
FORM GET_CORP .
Table for conglomerate
DATA:
LT_CONG LIKE STANDARD TABLE OF FS_CORP,
Fields of current screen
LFS_DYNPREAD TYPE DYNPREAD,
Table for current Screen fields
LT_DYNPREAD LIKE STANDARD TABLE OF LFS_DYNPREAD.
LFS_DYNPREAD-FIELDNAME = 'P_DIV'.
APPEND LFS_DYNPREAD TO LT_DYNPREAD.
Get selection screen value for division
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
DYNAME = SY-REPID
DYNUMB = SY-DYNNR
TABLES
DYNPFIELDS = LT_DYNPREAD
EXCEPTIONS
INVALID_ABAPWORKAREA = 1
INVALID_DYNPROFIELD = 2
INVALID_DYNPRONAME = 3
INVALID_DYNPRONUMMER = 4
INVALID_REQUEST = 5
NO_FIELDDESCRIPTION = 6
INVALID_PARAMETER = 7
UNDEFIND_ERROR = 8
DOUBLE_CONVERSION = 9
STEPL_NOT_FOUND = 10
OTHERS = 11.
IF SY-SUBRC EQ 0.
READ TABLE LT_DYNPREAD INTO LFS_DYNPREAD INDEX 1.
IF SY-SUBRC EQ 0.
P_DIV = LFS_DYNPREAD-FIELDVALUE.
ENDIF. " IF SY-SUBRC EQ 0
ENDIF. " IF SY-SUBRC EQ 0
REFRESH T_CORP.
Get the conglomerate for the selected division
SELECT KUNNR " Conglomerate
FROM KNVH
INTO TABLE LT_CONG
WHERE HITYP EQ C_HITYP
AND VKORG EQ C_VKORG
AND VTWEG EQ C_VTWEG
AND SPART EQ P_DIV
AND DATAB LE SY-DATUM
AND DATBI GE SY-DATUM
AND HKUNNR EQ SPACE.
IF SY-SUBRC EQ 0.
SORT LT_CONG BY KUNNR.
DELETE ADJACENT DUPLICATES FROM LT_CONG
COMPARING KUNNR.
Get the corporates for the selected conglomerates
SELECT KUNNR " Customer Number
FROM KNVH
INTO TABLE T_CORP
FOR ALL ENTRIES IN LT_CONG
WHERE HITYP EQ C_HITYP
AND VKORG EQ C_VKORG
AND VTWEG EQ C_VTWEG
AND SPART EQ P_DIV
AND DATAB LE SY-DATUM
AND DATBI GE SY-DATUM
AND HKUNNR EQ LT_CONG-KUNNR.
IF SY-SUBRC NE 0.
CLEAR: SSCRFIELDS.
MESSAGE I531(0U) WITH TEXT-005.
STOP.
ENDIF. " IF SY-SUBRC NE 0
ELSE.
CLEAR: SSCRFIELDS.
MESSAGE I531(0U) WITH TEXT-004.
STOP.
ENDIF. " IF SY-SUBRC EQ 0
ENDFORM. " GET_CORP
*& Form F4HELP_CORP
F4 help for corporate
There are no interface parameters to be passed to this routine
FORM F4HELP_CORP .
F4 help for corporate
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'KUNNR'
DYNPPROG = 'Z_EXCESS_USAGE'
DYNPNR = '1000'
DYNPROFIELD = 'P_CORP'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = T_CORP
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
IF SY-SUBRC EQ 0.
Do nothing
ENDIF. " IF SY-SUBRC EQ 0
ENDFORM. " F4HELP_CORP -
How to clear value set values from node info
Hi,
I have set some values on value set to display on a dropdown in my view. using following method.
l_node_info->set_attribute_value_set( name = 'XYZ' value_set = l_value_set ).
Now i need to clear node info value set. Otherwise particular attribute which i used for dropdown is always showing values added .
Please suggest how to clear value set.
Thanks,
Venkat.Hi,
Interface IF_WD_CONTEXT_NODE_INFO is for metadata of a node. It has nothing to do with the values in dropdown list.
In order to manipulate the values in the dropdown of an attributes, you can use the IF_WD_CONTEXT_NODE.
As you are saying its a dropdown, what I can suggest is to write supply function for the node.
And then get the index (V_INDEX) of the value you wanted to see in the dropdown list, and then use the following code in the method WDDOINIT
LO_NODE->SET_LEAD_SELECTION_INDEX( INDEX = V_TABIX ). -
How come a font set at a certain pixel size is not actually that size when you measure it's height? For example, a font set at size 24 pixels is actually only 16 pixels tall (cap height).
Hello, indeed, as Semaphoric stated, the Em box is not the same as the Cap heigh...
It is described in length in this blog post by Thomas Phinney http://www.thomasphinney.com/2011/03/point-size/
THis article has good images also that illustrate the em square: Font Bureau Blog | The Em -
How to restrict manual setting of User Status?
Hi,
I have created an User Profile where a particular User Status is "set" based on the Business Transaction "Release".
However, we are also allowed to set this User Status manually without carrying out the Business Transaction "Release".
How do I restrict manual setting of those User Statuses that are "set" based on a Business Transaction?
RajPete,
I did read that post. But it is about providing authorisation to set a Status for an User.
The case I am referring is, an User Status is auto set by a Bus. Trans Release. But I am also permitted to set the status transition manually. This way, Users tend to skip Releasing the Service Order. This is affecting upstream processes.
Is there a way where we can restrict manual setting of User Statuses that have to be normally auto set by Bus. Transactions?
Raj -
How to restrict value of materila in a PR created from PS to 1 Rupee
Hello Gurus,
While creation of material PR from P, system is picking value either info record or material master. How can we restrict value of materila in a PR created from PS to 1 Rupee?
NagarajHi,
On costing variants(OPL1)->valuation varient u can define which would be picked for planing, there give top priority for "Plan price 1"
To get plan price 1, you have to update on material master(mm02) on costing 2 tab as 1 rupee for all required materials.
hope this would help
regards,
SL -
How to Change Value set Dynamically for a Parameter in Apps?
Hi All,
I have a requirement where i need to change the value set dynamically for a given Parameter. This goes as, I have a Concurrent Program with 4 parameters. First Parameter is mandatory Business group.Second Parameter is Warehouse. Based up on the First parameter the second parameters LoV's are displayed, the third and fourth parameters value sets are dependent up on the Second parameter value. Parameter 2,3,4 Value sets are Table type. So i Used .$FLEX$.Value_setname to retrive the LOV's
The Requirment now is that if the User doesn't enter the Parameter 2 than the Third Parameter field must be Open and he must be able to enter the Free text. In my case it is an Order Number. If the User enters the paramter 2 value than LOV's for ORder number pertaining to that Warehouse must get displayed. I've figured that this can be possible only if i change the Valuesets Dyanamically. I'm not sure if that is possible or not.
I have tried :
Using a Dummy Parameter with a new valueset(Transactable Independent) and giving Y and N based up on Warehouse parameter input.
SELECT (DECODE ( :$FLEX$.WAREHOUSE_NAMES,NULL,'Y','N')) from dual;
The default type was SQL.
Then in the 3rd Parameter i have used Case function to differentiate Y or N. The third parameter being ORder number, is a table type and derived from Oe_order_headers_all.
In the Query section i tried using dummy parameter value set to retreive the values. I was terribly Unsuccessful in doing so.
Does the above Case exists or is Doable? Please, Help me out if somone had worked on Similar thing or have any idea of standard report/program using it in Oracle.
Thanks alot for the Help!You will probably have better luck on the eBusinesSuite forum. This is more of a setup issue when defining your LOV and program parameters than it is a SQL or PL/SQL issue.
http://forums.oracle.com/forums/category.jspa?categoryID=3
Good luck - this is an aggravating issue to work with and I wish I did have the answer for you! -
How to restrict values of characteristics in Bex
Hi All,
I want to restrict values for a particular characteristics starting from ZABC* in Bex without writing CMOD ABAP code
For Ex
ZABC123
12656
ZABC234
So in the report o/p shd be
ZABC123
ZABC234Hi Roshan,
I don't understand well your issue, but I will try to answer to you with two possible solutions anyway.
You can use the variable not in the characteristic filter but in each index. For example, if you have two indexes to be displayed in your column structure, try to filter them with the characteristic value variable. In this case you can probably see all of the characteristic values but for only ones that start from ZABC* you can see KFs values.
According to an another my supposition, you can use an exception (there is a dedicated tab when you restrict your characteristic). You can find more informations reading the following link:
http://help.sap.com/SAPhelp_nw70/helpdata/en/43/21b4cd14cd06f4e10000000a422035/content.htm
Hope it helps.
Best regards.
Simone. -
Report Manager: How to make value sets appear in security workbench
Hi:
R12.1.3
In Report Manager Security Workbench, when I search for value sets, I see none of the custom value sets I created. Can anyone tell me what the rules are for accessing a custom value set through the Security Workbench?
Thanks.Hi,
About iTextSharp component issue , I think this case is off-topic in here.
I suggest you consulting to compenent provider.
http://sourceforge.net/projects/itextsharp/
Regards,
Marvin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to Do Value Set Reverse Lookup?
I have a concurrent program which has multiple paramaters with various value sets. When I run reports, I want to dynamically list on the output the parameters the user gave. The problem is that these values are often the IDs and not the value the user sees.
Are there any packages in applications that will let me to do a "reverse lookup" with the value sets to get the values the user saw?
Thanks,
Kurzweil4Kurzweil4,
Is your conc prog in OA code? anyway, you can always use a VO with proper sql to get the value lookup for the IDs.
--Shiv -
Value set not working in responsibility
Hello everyone,
I created a custom responsibility and added a custom concurrent program to it (specifically the payroll run concurrent program). Now this concurrent program has a value set attached to it (PY_SRS_PAYROLL_GB) to select the payroll name. My custom concurrent program works great when attached to the Global Super HRMS Manager responsibility, but when attached to my custom responsibility, the value set say list of values contains no entries.
This is the body of the value set:
where pay.business_group_id =
:$PROFILES$.PER_BUSINESS_GROUP_ID
and fnd.session_id = userenv('sessionid')
and fnd.effective_date between pay.effective_start_date
and pay.effective_end_date
and popmf.ORG_PAYMENT_METHOD_ID =
Pay.DEFAULT_PAYMENT_METHOD_ID
and popmf.CURRENCY_CODE = 'GBP'
order by pay.payroll_name
Any ideas? Could I have gone wrong somewhere in my responsibility definition? I set the data group to Standard for the Human Resources application. This matches the Global Super HRMS Manager responsibility.
Thank youThanks its solved .
Solution is adding Navigator: Disable Multiform. function to custom menu.
This is an AOL function that should be included on all menus (custom or standard) to allow session_id to be populated.
From: Payroll: Value Set issue -
How to restrict a filter to exclude certain values from the report
Hi,
I have a scenario,
I have to filter on date "date of destroy/return" to exclude the batches which are destroyed/returned in the report.
Thanks,
Jyothi.in the screen where u drag selected dates from left to right...there..
right click on each of the selected dates..click on 'exclude from selection'..
u will see icon color changes to RED..
values will get excluded from selection..
Vishvesh -
How to restrict values and apply condition for a characteristic in a query.
Hi,
I have to add two customer class(characteristic) fields to my query which is available as a navigational attribute in my multiprovider ( from which my query is built ).
One field should give the values directly from master data. The values would be PV, CV, IT, OT. The other field should give only PV and CV based on the condition - Except CV, all others (ie. IT and OT) should be converted as PV.
I like this to be achieved in the query level since i dont want to disturb the underlying cubes in the multicube.
So i have two questions.
1. How to bring two fields in the query for the same characteristic.
2. How to achieve the condition in a characteristic for second customer class field mentioned above.
Could somebody help me in solving this?
Thanks in advance,
SomenathHi Somenath,
you are absolutely right;)
Besides the Third step
Try to add two new Selections to your Structure as
New Selection1 -> Set the Customer Class value to fix 'PV'
New Selection2 -> Set the Customer Class value to fix 'CV'
<b>you have to add</b>
New Selection3 -> Set the Customer Class value to fix 'IT'
New Selection4 -> Set the Customer Class value to fix 'OT'
Fourth step
Hide these four selections
Fifth step: Add a new formula to your Structure
(Customer Class == New Selection3)* New Selection1(Customer Class == New Selection4)* New Selection1(Customer Class == New Selection1)* New Selection2+Customer Class == New Selection2)* New Selection2
Hope it helps
Gabor
ps: experts maybe suggest easier way...
Maybe you are looking for
-
Ipod Nano won't connect to windows vista
Help Help Help ive had an ipod nano 3rd gen for xmas and my hewlett packard pc with windows vista operating system wont recognise the ipod thus meaning im sat here wiv a shiny new ipod with absolutely nothing on it SOB SOB please someone help meeeee
-
Hello, I have a 2T LS-XL778 (external) unit from Buffalo that is connected via CAT-5 to my router and am having a hard time using it with Lightroom 5.6 (LR) standalone. I have a 1T LaCie external which LR can see and I use it all the time with no pro
-
My catalog is not being updated - how do I determine the reason?
Lately, after making changes to images and trying to upload them to my online catalog, it stops after a short time and displays the error message, "Backup/Sync may have encounterd some issues in last cycle. Please check for warnings in Elements Organ
-
CUIS / CUIC Custom Reporting Summary
I am using Cisco CUIS versiopn 7.5.(4) I have been able to successfully add a new reporting field in CUIS using the formula editor. Here is the formula: [RowField]/Sum([RowField]) Gives me a percent of the total of the entire report. This report
-
I have a table with a blob column. The table is partitioned. Each partition has about 600,000 rows of data. The blob size is between 6000 bytes to 13000 bytes. The lob is defined as CHUNK 8192 and PCTVERSION 15 Normally only very small percentage of