BEx Query Help How to restrict Organisation Unit Like 'D%' in Bex
Hi all ,
In a cube i have a columb ORGUNIT which is having Values from
A_152,
A8373 ,
D_983,
B_0293,
C09 ,
D6653 .
In bex Query Designer I want to restric that infoobject & organisation unit which is starting with 'D' .
means output will be : D_983 ,
D6653
ABAP statement for this ORGUNIT LIKE 'D%' .
how we do same in BI restriction .
Thanks Regards
Sanjeev Kumar
Edited by: skarya2003 on Dec 6, 2009 9:01 AM
Hi,
Try using customer exit .
chk out this doc which helps u, http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/90f8b363-882d-2c10-ea91-9f08ce4c658a&overridelayout=true
Regards,
Priya.
Similar Messages
-
How to get organisation unit for given date.
Hi Everyone,
I have created a report to display all the hired and left employees
for the given date. I have to display department wise.
CALL FUNCTION 'RH_DIR_ORG_STRUC_GET'
EXPORTING
ACT_ORGUNIT = S1_ORGEH-LOW
ACT_PLVAR = '01'
ACT_DATE = SO_DATE-HIGH
SORT_FLAG = 'X'
ADD_FLAG_PDATA = 'X'
TABLES
ORG_UNITS = IT_ORG_UNITS.
This function module will bring all the active org unit existing
in our system. If an organisation unit is delimited.
This function module is not getting the delimited org unit.
How to get that org unit.
Plz its vry urgent,
thanks in advance,
regards,
stanleydid you try RH_STRUC_GET?
Regards
Raja
close your previous threads
Re: ALV in browser -
Adhoc Query Issue - How to restrict /SAPQUERY/H2 access
Hi Experts,
I have created two User Groups HR_1 (assigned to infosets for Time data) and HR_2 (assigned to Infosets for Payroll data). Also, I want to assign the HR_1 to a user Time_admin and HR_2 to Payroll_Admin, so that Payroll admin do not have access to Time data and vice versa.
Now I can restrict the access but when I execute the Adhoc query for the user, I can see the User group that I have assigned with a default user
group /SAPQUERY/H2, which has access to all data.
My question is, how can I restrict the access for the /SAPQUERY/H2 for the users so that the users have only access to their user groups i.e.,
Time_admin to HR_1 only and Payroll_admin to HR_2 only.
Regards
VikrantI was expecting some Answer but was unfortunate enough.
I have found a solution and will mention it for those who face this issue in future.
Configuration in “The Global Area (Cross Client)”, has some limitations
1) 1) Restricting the access via T-Code S_PH0_48000510 (Ad-hoc Query) is difficult as this t-code S_PH0_48000510 uses the user group /SAPQUERY/H2 to which an Infoset is assigned /SAPQUERY/HR_ADM. This infoset has access to all the master data and is standard one (default).
2) Also, this is available in “The Global Area (Cross Client)”, due to which there will be access to all HR master data.
Configuration in “Standard Area, i.e., Client Specific”
1) With this approach, we will do the same configurations in “Standard Area (Client Specific)” i.e.,
I. Create User groups (ZHR_1 and ZHR_2)
II. Create Infosets (X1 for time management Infotypes and X2 for PM and PA Infotypes)
III. Assign User Groups to Infosets (X1 to ZHR_1 and X2 to ZHR_2)
IV. Assign Users to User Groups (As per the requirement)
2) Additionally, Admin need to do two things
I. For the Users Set Parameters via SU3 as:
Parameters for Users for Time Data
Parameter ID
Parameter Value
Description
AQB
ZHR_1
ABAP Query: User group
AQS
X1
SAP Query: Infoset
AQW
Standard
ABAP Query: Query area
Parameters for Users for OM/PA data
Parameter ID
Parameter Value
Description
AQB
ZHR_2
ABAP Query: User group
AQS
X2
SAP Query: Infoset
AQW
Standard
ABAP Query: Query area
II. Provide access to T-Code S_PH0_48000513 (also calls Adhoc Query but this t-code will respect the parameters set by us in SU3).
III. As a result of this approach, the Users on executing the T-Code S_PH0_48000513 will be directly moved to the Adhoc query screen with their authorized access.
NOTE:
these changes cannot be transported via Transport.
Regards,
Vikrant -
Search help how to restrict number of hits.
Hi,
I have created a search help in SE11, the search help reads a table view and the search help is connected to
exit HRMC_PREM_EXIT_A in HR. Everything works fine except for that I want to restrict the number of hits to 500, I don't want to get a result of 5000 hits because that search takes too long time.
Br BenitaHello Benita
Set the dialog type of your search help = 'A' (dialog depends on set of values).
Regards
Uwe -
How to restrict form setting - like production
our company is service sector, so there no need to wokr production module,
so i want disable this production module restricut to all users except superuser
regards
S ArunprasadHi Arun Prasad,
Option 1
1.Form Settings Uncheck the Production Module.
Option 2
Apply No Authorization in production module.
*Close the thread if issue solved.
Regards
Jambulingam.P -
How to restrict keyfigures in my bex query which is built of infosets?
Hi all,
How to restrict keyfigures in the query which is built of infosets?
the query display likes
cost taxamount units
1000 100 10
i want my report to be displayed like this
cost taxamount units
100 10 1.
I have used conditions by restricting using units. like
units equal to 1. but still it display like the above one.
can anyone help me on this??
thanxs
harithaHi Haritha,
Do u want to display units 10 as 1?????
If this is the requirement then u can write a new formula by using IF condition.
Khaja -
Dear All,
We are having an infrastructure setup of around 500 client computers managed through group policy.
Recently the domain controllers have been migrated from Windows Server 2003 to Server 2008 R2.
Since this account requires extremely strict environment, we need to figure the solution for restricting the users from access anything locally.
It would be great if you can assist me with the following query.
How to restrict users logged on Windows 7 clients from accessing Windows Explorer and browsing other systems in the network through Group Policy with a domain controller running on Windows Server 2008 r2 ?
Can we disable Network Tab on the left hand pane ?
explorer.exe is blocked already, but users are able to enter the Windows Explorer by clicking on the name which is visible on the Start Menu.> * explorer.exe is blocked already, but users are able to enter the
> Windows Explorer by clicking on the name which is visible on the
> Start Menu.
You cannot block explorer.exe when you do not replace the shell - the
desktop you see effectively IS explorer.exe...
Your requirement sounds like you need a custom shell:
http://gpsearch.azurewebsites.net/#2812
Martin
Mal ein
GUTES Buch über GPOs lesen?
NO THEY ARE NOT EVIL, if you know what you are doing:
Good or bad GPOs?
And if IT bothers me - coke bottle design refreshment :)) -
How to restrict the quantity in bex query?
Hi all,
i have created a query using infosets and it looks like this :
material cost tax amount units
madhb 21,693 1,443.42 99 each.
I want to restrict the query in such a way only one unit value need to be displayed.
How to restrict it by showing only single unit.
The expected result should be like this??
material cost tax amount units
madhb 293 144 1 ea
Can anyone let me know how to restict the quanity so the query will display the results only for one unit.
thanxs
harithaHi Pradiba santosh,
I have created a conditions and restricted the key figured.
zunit equal 1.
and i have saved and executed the query. But still it displayed for all the units. And it didnt display the query for one unit. Why is that so?
can you let me know what went wrong on it?
thanxs
haritha -
How to aviod the unit funciton(KG,EA,M) in SAP BEx?
Hi,
while loading the data through flat file to BW system i have some different units like - KG,MG, EA,.
when i run the report on bex analyzer showing all unit values but i don't want the values.
how to avid the those unit measure values?
again it showing the report row wise result how to minimize the rows?
pls help to me.
Thanks,
ramyaHI,
Wel come to SCN.
create the new formula -> define the formula -> inside formula use the NODIM function under the Boolean operates
if you use the NODIM it will remove the all units.
2. you don't want show the multiple rows result -> select the object -> go to the query properties -> under display tab -> result rows -> select suppress the result rows.
now it will appear single row results.
Thanks,
Phani. -
How to restrict the particular value in BEx?
HI,
I have added particular dimension in query prompt. While refreshing i got more value in particular dimension. How to restrict the the value in bobj or bex?
Here i attached the screen shot. Please find the attachment.Hi Mani,
Please make sure of your requirement. If you are using only one single query for multiple reports then i strongly recommend the below criteria or else it better to restrict the value in the BEx itself if you have no other reports on the same BEx query.
If you are trying to restrict a report to a default prompt value then use equal to in query filter prompt or you can also restrict them to list of values i.e multiple values.Please follow as per the screens below. I am mentioning two ways.
Method:1
Step 1: Click on Prompt Options(Blue Questionmark Symbol)
Step: 2 : Click on the Values after you check the prompt properties options as shown below.
Step 3: Search for values if they are keys by checking the "Search in keys" or else not required.
Method 2: Here is another Easy way is Just give the input in the value box as shown below.
Let me know if you need any further help.
Regards,
Naveen -
How to hide the unit in the query?
Hi Gurus,
I have three key figures,
1, Stock: Showed as 1000 TON
2, Value: Showed as 100000 USD
3, AVG: Showed as 100 USD/TON, the formula is Value / Stock
In the query, the value will display the unit, TON and USD and USD/TON.
How can I hide the unit?
Thanks ahead.Hi,
create Calculated Key figure (for the key figures which u want to supress Units/currency)
To use the NODIM function, you have to use a calculated key figure (CKF) which is defined as
CKF = NODIM (KF)
where KF is your original keyfigure which should be displayed in the report without any units. As I mentioned above, using NODIM will help you hide the ERROR message but will not display units even for those records for which the unit value exists in the info provider
Create another calculated key figure (for amounts & quantity key figures for which you want to supress unit/currency) and insert "NODIM(Key figure name)" in formula. Use these calculated key figures for display.
Message was edited by:
bwuser -
Absence report restricted to organisational unit
Hi Experts,
We want to make the absence report restricted to few org units.
That is if we authorize a user to access the absence report, he/she should only be able to view for specific org units (say for A and B org unit).
Can anyone pls help ?
Many thanks.
Best Regards,
KanikaHi Colin,
Unfortunately, no images can be attached here ( a picture is worth 1000 words, they say) , but this is what I assume, you would require.
You have organizational units. Lets say, ABC, DEF, GHI and XYZ.
On clicking ABC , you need to show the details of ABC and on clicking DEF, you need to show the details of DEF.
If so is the case, then this would be something similar to transaction WE19 where you click on the segment on the left hand side, and on the right hand side it shows you the details of the segment. Similarly you can have a column tree present, with the organisations present on the left hand side and on clicking the organisation, you can have the ALV list on the right hand side. The class used in this case is <b>CL_GUI_COLUMN_TREE</b>
But when I re-read your post, I assume that you want to see all organisational unit at once. If so is the case, then you can use the function module <b>REUSE_ALV_BLOCK_LIST_APPEND</b>.
Let me know if there is any part in this text, you are not clear of and also do let me know if this was useful and helpful to you.
Regards,
Subramanian V. -
HOW to Restrict the input Help for 0MATERIAL in the BPS Layout
Hi,
I have requirement to Restrict the input Help for 0MATERIAL in the BPS Layout.
For Example if the Planning Package is Restricted to SALES ORGANISATION ( 3000 ) then the system shuold check the 0MAT_SALES where SALES ORGANISATION IS "3000" )AND PASS THE Material Numbers to the 0material list.
I have Copied the standard Funtcion group "UPF_VARIABLE_USER_EXIT" to Z fucttion and have attached to Z Variabe as User Exit .
this Variable is Attached to 0material in the Planning Pakage. So tha now the 0MATERIAL is restricted to the variable which is having the User Exit.
But how to acces the Values of Planning Package for which the Layout is bein Executed from this Z User Exit ???
I Know how to restrict the input help, but my only problem is that how to get the values of Planning package through this User Exit.
Please suggest if it is possible.
Regards,
Nilesh LabdeHi Nilesh,
As I understand from your question,you know how to restrict but the issue is to know the value in the package with which you need to restrict.
There are two tables which can help you finding the value used in package for sales organisation:
1. UPC_PACKAGE
2. UPC_OPTIOS
How to use ?
From UPC Package you will get one GUID, Hit the second table UPC_OPTIOS with this GUID.
In field "FIELDNAME" enter the name of the characteristic whose value is req (sales organisation in your case)
Hope this helps you
Mann -
How to find out Head of own organisational unit in organisation
How to find out Head of own organisational unit in organisation
Hierarchy after giving the transaction oopoma_crm?Hi,
try RH_GET_LEADER
Then you'll get the CP. Then get the BP number, that should be CRM_CENTRALPERSON_GET.
Regards
Andreas -
How to restrict the search help given to a field for a specific program ??
Hi,
I have one search help which is attached to a field.
This seach help is using a Z table and showing values perfectly for one program where I attached earlier.
The same fields and Z table I am using is some other related program where user wants to see the restricted values only.
I am not getting, how a search help can be restricted.
I try to take a example of it.
If in first program the search help values are:
Material Level
Orange 1
Mango 2
Grapes 3
Now in the second program user wants to see only levels not the material. I Have given only two colums for understanding purposes not all .
Please suggest what are the possible ways we can do it.
Thanks right now.
-=Maddu=-Hi,
Use this event
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_cc.
PERFORM company_code CHANGING p_cc.
FORM company_code CHANGING p_cc.
DATA: dynpfld_mapping LIKE dselc OCCURS 0 WITH HEADER LINE.
REFRESH gt_bukrs.
SELECT * FROM t001
INTO CORRESPONDING FIELDS OF TABLE gt_bukrs.
LOOP AT gt_bukrs.
**ST AS ON 08.09.2006
AUTHORITY-CHECK OBJECT 'ZREP_TMF'
ID 'BUKRS' FIELD gt_bukrs-bukrs
ID 'VKORG' FIELD gt_bukrs-bukrs
ID 'VKBUR' DUMMY
ID 'SPART' DUMMY
ID 'VTWEG' DUMMY.
AUTHORITY-CHECK OBJECT 'ZREM_ORG'
ID 'VKORG' FIELD gt_bukrs-bukrs
ID 'VKBUR' DUMMY
ID 'SPART' DUMMY
ID 'VTWEG' DUMMY.
**ST AS ON 08.09.2006
IF sy-subrc NE 0.
DELETE gt_bukrs.
ENDIF.
ENDLOOP.
dynpfld_mapping-fldname = 'BUKRS'.
dynpfld_mapping-dyfldname = 'BUKRS'.
APPEND dynpfld_mapping.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'BUKRS'
dynpprog = 'ZREM_AGENCY_REPORT'
dynpnr = '1000'
dynprofield = 'COMPANY'
value_org = 'S'
TABLES
value_tab = gt_bukrs
return_tab = return_tab
dynpfld_mapping = dynpfld_mapping.
ENDFORM. " sale_org
Reward points
Maybe you are looking for
-
Problem with EXPORT TO SHARED MEMORY statement.
Hi I am using the syntax EXPORT w_netwr FROM w_netwr w_name FROM w_name TO SHARED MEMORY indx(xy) FROM wa CLIENT sy-mandt ID 'Z_MID'. and later importing them in a method but I am getting wrong val
-
Can i use my mac mini for a cd drive for my macbook
I am going to purchase a macbook to replace my old mac mini. Can I use my old macmini as a cd drive for it?
-
How to re-write this self join update using a CTE
I would like to improve my performance on this update statement and would like to try re-writing using a CTE: UPDATE "usr_sessions" "a" SET "is_ended_at_trustable" = 't' WHERE ( EXISTS ( SELECT 1 FROM "usr_sessions"
-
[ Server applet ] Problem : Can't instantiate socket
Hy guys ! i'm having a problem getting my tcp server applet on it's feet, the problem is that it doesn't get past instantiating a socket, if i instatiate it with port nr 80 it throws an exception ( Address already in use: JVM_Bind ), with other ports
-
For some reason the size of my byte arrays change, and it is causing problems using an AES Cipher. The length of the byte array is 16 when I first encrypt text, but when I try and decrypt it, it tells me the length is 29. Then I have an IllegalBlockS