How to apply Structural Authorisations for Report
Hi All,
We are using structural authorisations in our project and it is working fine for all processes. But we are facing problem for reports.
Kindly guide on How to apply structural authorisations to SAP Standard Reports and Custom reports.
Thanks & Regards,
Prashant
Hi Prashant,
Yeah LDB is a good way of implementing Structural auth. Apart from that you can assign the Authorization Group in the Z-report attribute. So users who are part of this group only can access this report. This also applies to the standard reports as they are already assgned to standard Authorization Groups.
Br/Manas
Similar Messages
-
How to apply List box for multiple selection of rows in ALV report ?
Hi Exprots,
1: How to apply List box for multiple selection of rows in ALV report ?
Thanking you.
Subashhi,
check the below program.
REPORT zalv_dropdowns.
*Type pools declarations for ALV
TYPE-POOLS : slis.
*data declarations for ALV container,ALV grid, Fieldcatalogues & layout
DATA: g_grid TYPE REF TO cl_gui_alv_grid,
g_custom_container TYPE REF TO cl_gui_custom_container,
gt_fieldcat TYPE lvc_t_fcat,
gs_layout TYPE lvc_s_layo.*INTERNAL TABLE AND WA DECLARATIONS FOR t517 A table
DATA: gt_outtab TYPE STANDARD TABLE OF t517a INITIAL SIZE 0,
wa_outtab TYPE t517a.
START-OF-SELECTION.*Call to ALV
CALL SCREEN 600.*On this statement double click it takes you to the screen painter SE51.
*Create a Custom container and name it CCONT and OK code as OK_CODE.
*Save check and Activate the screen painter.
*Now a normal screen with number 600 is created which holds the ALV grid.
PBO of the actual screen , Here we can give a title and customized menus
Here we also call the subroutine for ALV output.
MODULE PBO OUTPUT *
MODULE pbo OUTPUT.
PERFORM alv_output.
ENDMODULE. "pbo OUTPUT
MODULE PAI INPUT *
MODULE pai INPUT.
ENDMODULE. "pai INPUT
*& Form BUILD_FIELDCAT
FORM build_fieldcat.
DATA ls_fcat TYPE lvc_s_fcat.
*Build the field catalogue
CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
EXPORTING
i_structure_name = 'T517A'
CHANGING
ct_fieldcat = gt_fieldcat.
To assign dropdown in the fieldcataogue
LOOP AT gt_fieldcat INTO ls_fcat.
CASE ls_fcat-fieldname.
WHEN 'SLART'.
*is the first list box
ls_fcat-drdn_hndl = '1'.
ls_fcat-outputlen = 15.
MODIFY gt_fieldcat FROM ls_fcat.
is the second list box
WHEN 'ABART'.
ls_fcat-drdn_hndl = '2'.
ls_fcat-outputlen = 15.
MODIFY gt_fieldcat FROM ls_fcat.
ENDCASE.
ENDLOOP.
ENDFORM. "build_fieldcat
*& Form ALV_OUTPUT
FORM alv_output .*Create object for container
CREATE OBJECT g_custom_container
EXPORTING container_name = 'CCONT'.
*create object for grid
CREATE OBJECT g_grid
EXPORTING i_parent = g_custom_container.
Build fieldcat and set column
*Assign a handle for the dropdown listbox.
PERFORM build_fieldcat.
*Build layout
PERFORM build_layout.
Define a drop down table.
PERFORM dropdown_table.
*fetch values from the T517A table
SELECT * FROM t517a INTO TABLE gt_outtab.
*Display ALV output
CALL METHOD g_grid->set_table_for_first_display
EXPORTING
is_layout = gs_layout
CHANGING
it_fieldcatalog = gt_fieldcat
it_outtab = gt_outtab.ENDFORM. "ALV_OUTPUT
*& Form dropdown_table
text
--> p1 text
<-- p2 text
FORM dropdown_table.*Declarations for drop down lists in ALV.
DATA: lt_dropdown TYPE lvc_t_drop,
ls_dropdown TYPE lvc_s_drop.
First SLART listbox (handle '1').
ls_dropdown-handle = '1'.
ls_dropdown-value = '01 Primary school'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '1'.
ls_dropdown-value = '02 Lower Secondary'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '1'.
ls_dropdown-value = '03 Upper Secondary'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '04 Professional School'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '05 College'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '06 University'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '1'.
ls_dropdown-value = '09 Other Establishment'.
APPEND ls_dropdown TO lt_dropdown.* Second ABART listbox (handle '2'). ls_dropdown-handle = '2'.
ls_dropdown-value = '10 Primary School certificate'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '2'.
ls_dropdown-value = '20 Lower secondary/Junior high'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '30 High school diploma(B-levels)'.
APPEND ls_dropdown TO lt_dropdown.
ls_dropdown-handle = '2'.
ls_dropdown-value = '31 Vocational'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '32 Matriculation'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '40 Specialist vocational certificate'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '50 College degree Level1'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '51 College degree Level2'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '52 Masters degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '60 Univ Degree level1'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '61 Bachelors degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '62 Masters degree'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '63 Licenciate'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '64 Doctors Degree Ph.D'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '89 None'.
APPEND ls_dropdown TO lt_dropdown. ls_dropdown-handle = '2'.
ls_dropdown-value = '90 Unknown'.
APPEND ls_dropdown TO lt_dropdown.*method to display the dropdown in ALV
CALL METHOD g_grid->set_drop_down_table
EXPORTING
it_drop_down = lt_dropdown.ENDFORM. " dropdown_table
*& Form build_layout
text
*layout for ALV output
FORM build_layout . gs_layout-cwidth_opt = 'X'.
gs_layout-grid_title = 'ALV DROPDOWN LISTS'.
gs_layout-no_toolbar = 'X'.ENDFORM. " build_layout
endform.
Edited by: S.r.v.r.Kumar on Jun 1, 2009 2:48 PM -
How to control the permission for reports in share folder?
Hi Experts,
In OBIEE 11.1.1.6.0.
I have created two folders in share folder,one is sales folder which contains some sales reports,and the other is dashboard folder which contains some dashboard pages that have these sales reports.
So I want to new users who do not access the sales folder, but can view the sales reports in dashboard pages.
How to control the permission for reports in share folder? Thanks for your help.
Note: Dashboard pages have whole sales reports for showing.Hi User,
1. Give access to the users for all reports.
2. Give No Access to Retail Folder
3. GIve read or full access to dashboard folder.
To set the permission , click on the object/folder bottom left you will find Permission. you set there.
Mark if correct,
fiaz -
Hi how to apply Chronological sort for a month column?
Hi All,
I am struck with how to apply Chronological sort for a month column that contains values like January, February, March, April, May, June.... December. If we apply normal sorting then we can arrange the column values either in ascending order or descending order. But i want the column values to be in this format like jan, feb, mar,apr....dec. Is it possible???
If this is possible then pls tell me the way in a step wise manner for my better understanding..
Thanks in Advance
ThenmozhiHi Deva,
I tried with the below formula :
CASE WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='January' THEN 1 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='February' THEN 2 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='March' THEN 3 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='April' THEN 4 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='May' THEN 5 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='June' THEN 6 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='July' THEN 7 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='August' THEN 8 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='September' THEN 9 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='October' THEN 10 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='November' THEN 11 WHEN
"Order Booked Date Calendar"."Full Month Name (Order Booked)"='December' THEN 12 ELSE '' END
But it is showing the error like this:
Error Details
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle Error code: 604, message: ORA-00604: error occurred at recursive SQL level 1 ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at line 8 ORA-00932: inconsistent datatypes: expected NUMBER got CHAR at OCI call OCIStmtExecute. [nQSError: 17010] SQL statement preparation failed. (HY000)
What it is problem? Please help me...
Thanks -
How to apply sap license for Sap Netweaver AS Java
Hello guys,
May i know how to apply sap license for SAP Netweaver AS Java? Appreciate the reply, thank you
regards,
wei howHi Lee,
check below link:
http://help.sap.com/saphelp_nwce10/helpdata/en/9f/5e533e5ff4d064e10000000a114084/content.htm
Thanks
sunny -
How to apply formula field for a chart object in crystal report XI
Hi
how to add formula field for a chartobject, i tried the following code but returns invalid condition field.
i want to show different chart in same crystal report viewer with different coursestatus values.
please suggest where ia m wrong.
FormulaField oFormulaField;
oFormulaField = new FormulaField();
oFormulaField.Name = "Status1";
oFormulaField.Text = "{CSP_PROCESS_REPORT.Coursestatus} = 'Mastered'";
oFormulaField.Syntax = CrFormulaSyntaxEnum.crFormulaSyntaxCrystal;
oFormulaField.Type = CrFieldValueTypeEnum.crFieldValueTypeStringField;
boChartObject.ChartDefinition.ConditionFields.Add(oFormulaField);
regards,
Padmanaban Vi missed the following line in my code.
rcDoc.DataDefController.FormulaFieldController.Add(oFormulaField);
now it works......
my next issue is that,
chart returns True & False captions. but i want to show actual value. how its to be done
regards,
Padmanaban V -
How to apply business rule over report level
Hi All,
I have a column name AAA over which i have to apply a business rule/filter like
COUNT(“X Fact”." ID") WHEN “X Fact”.”Time to Issue Policy” <= 2 days at report level.How to apply that?any idea?
Regards,
SonalHi,
Thanks for responce.
Yes my AAA col is measure column coming frm Order Fact table (i.e AAA= "Order Fact"."Number of Order") & below is Business rule which I have to apply there
COUNT(“Order Fact”."Order ID") WHEN “Order Fact”.”Time to Order” <= 3 days.How Can I apply this logic there at report level.Plz help?
Regards,
Sonal -
How to assign Transaction code for report program?
All,
I have developed a custom report. I want to associate it to a transaction code. How to do it?Hi,
Please follow the steps for creating a transaction for report..
GOTO SE93
Give the transaction code.
Press create button..
Enter the short description..
Choose the radio button which says "Program and selection screen(report transaction)".
Press Enter..
Give the program name..
Remove the Selection screen "1000" if you want.
Save the transaction code..
Regards -
How to apply hyper link for a particular cell in the column?
Year
2001
2002
2003
2004
I wanna apply Hyper link for 2001 only! How to achieve this?
Can we apply no. of hyper links for a column?You have to create a conditional variable.
For eg. create a variable with hyperlink in the syntax for Year.
Now if else logic, so if YEAR=2001, return hyperlink else YEAR object.
Hope you understood.
Thanks
Gaurav -
How to create t.code for report painter report created using CJE5
Hi All,
I'm trying to create T.code for a report painter program created using CJE5.
I using the D_SREPOVARI-REPORTTYPE as "RE" and
D_SREPOVARI-EXTDREPORT as KP 01RPSCO_X <report name>
If I provide spaces between KP 01RPSCO_X <report name>, its not allowing spaces.
If I didn't provide the space then its saying that "report does not exists"
Please let me know how to overcome this issue?.
What this KP & 01RPSCO_X stands for? Is this always constant?
There is a similar kind of transaction in other system which Looks like this " KP 01RPSCO_X <report name>" spaces in between
I dont understand why its not allowing spaces in this system. As its in different system i cant make a copy of this transaction and change the parameters.
Edited by: Mr A on Feb 18, 2010 5:28 PM
Edited by: Mr A on Feb 18, 2010 5:54 PMthanks for giving me the link.
I searched for all these link in SDN before posting itself.
my issue is how to give the value for the parameater EXTDREPORT.
If i give spaces for the value KP 01RPSCO_X <report name>, its throwing error, T,code its self is inconsistent.
if i didnt give spaces its i'm able to create the t.code, but when i execute it, its giving error message saying "report does not exists"
but if i go to CJE5, that report is there.
thanks -
How to apply condtion formula inside Report Writer and Report Painter
Hi anybody,
I am doing report painter. but i don't know how to include condition formula inside report painter or report writer. ex if condition ..
Anybody please explain to me the steps of report writer how do this.
I will appreciate goods answers to me.
thanks
Regards,
S.Muthu
Edited by: Subramaniyan Marimuthu on Jun 3, 2009 7:50 AMwww.virtuosollc.com/PDF/Get_Reporter.pdf
This is most useful PDF written by industry expert. This is more informative.
http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7dc143c211d182b30000e829fbfe/frameset.htm
Regards,
Ravi -
How do you use tools for reporting in oracle?
Hello,
I have a question about reporting in oracle pl/sql..., how tools do you use to reporting in oracle?
ths,Hello,
reporting in "Excel" files is often required. And there are free tools to do so.
https://xml-spreadsheet.samplecode.oracle.com/ or
https://exceldocumenttype.samplecode.oracle.com/
Others can be found at Re: How to save a query result and export it to, say excell?
Regards
Marcus -
How to create print format for report
Hi Experts,
Can we create print format for report program. I need x_90_150 format,
means 90 rows and 150 column. If possible then give me solution.
Thanks,
Ashish.Get with your Basis folks to set up a 90x150 printer option.
Then you set something like this.
REPORT zlmr_lead_account_list LINE-SIZE 150 LINE-COUNT 90. -
How to apply Filter condition for a specific column but not to the report?
Hi,
I am having a issue in applying a filter condition to one of the column.
I have a schema with one fact table and around 10 dimension tables. My requirement is to bring a count on the fact table with related to some other columns from the dimension tables.
Lets consider a scenario with tables like Sales (Fact), Region (Dimension), Year(Dimension), Sale Type (Dimension).
Now my requirement is to bring out the fields
City(Region) --City
Year -- Year
Sales Count(Sales table) ---Count of all sales from the fact table
Sales Count(Sales table) -- Count of all sales from the fact table where sales type is 'CASH'
Here my issue is how do I apply the filter condition of Sales Type='CASH' only on one of the Sales Count column which is from the fact table. I want the filter condition to be imposed only for the fourth column.
Can anyone let me know how to achieve this?
ThanksThis is quite simpe. Edit the column formula for the 4th column and put something like this. I am doing this from memory so the syntax might need checking:
Case When "Dimension Table"."Sales Type"='CASH' Then "Fact Table"."Measure" Else Null End
You could also consider making this a permanent addition to your RPD if this measure will be used again and again. You would add a new logical column and use the expression builder to arrive at the same result. -
How to apply password or hide report
i am new in ssrs and want to know how can i apply password to reports while opening in report server, or how can i create a user with username,password . i have seen role , item based security of microsoft but not able to understand how can i apply
it.currently i am opening report server on web browser and login as user which has admin privilege .
i have created two different folders say A , B which have different reports.
Now i want to create a user who can see only folder A and can view its reports.
or i can apply password on folders A and B.
For this you can simply go to Report manager .
1.Open Report Manager
2. Site setting --- > security --- > add user/Group
3. Folder settings -- > new role assignment----> add user with roles like browser and all
4. on folder use that user/Group only
Maybe you are looking for
-
What is the best word processing app for a college student to use if they are using an ipad?
-
Email adress to update when sendind workitem
hello, could you please help me to solve a problem ? in fact, an operator doesn't receive a notification on his mail box when he validates an order, i have seen that his mail adress is not correct how can correct it please ? Thank's
-
I get an error Code 85 when trying to download upgrade?
When installing the update I get the Error Code 85? I am logged in and everything else is up to date.
-
What LDAP schema should I use with JMQ 2.0?
I've just downloaded the JMS 2.0 beta for Solaris and trying to set up a admin objects store with LDAP server (NES 4.12). However I cannot find a LDAP schema file to import into the LDAP server in your release. Would it be possible to send me a copy?
-
Configuration of different ESS Homepages for Specific Countries
We have a requirement to configure the ESS homepage based on country. For example, we have some countries that are on both payroll and HR, and some that are just on HR and do not require the Benefits and Payroll link. In SPRO, it is fairly easy and s