Auth. variable behavior on a report
We've implemented HR Structural Authorization on 0ORGUNIT hierarchy. When a report is run with an authorization variable the Org Unit Hierarchy node is automatically populated with the highest allowable org.unit each and every time, even when just refreshing the data. For instance, I just ran the report for an Org and needed to re-run it again for a number of subordinate orgs. Instead of bringing me back to the parent Org I had just displayed, it dumped my org selection and defaulted back to the top/highest Org.Unit. This is a problem for users as it is time consuming to have to search back through the org. tree each and every time.
Does anyone know how to default to the last value used for the Org.Unit?
Thanks a lot for any advice.
Hi,
Can you please let me know how you solved this error. I am also getting the same error when running BW query from EP.
Thanks,
Srihari
Similar Messages
-
Bind variables in User Defined Reports
SQL Developer 1.0.0.11 / Windows XP / Oracle 9.2.0.5
Thanks for adding the capability for bind variables in user defined reports. However, if there is more than one instance of the same bind variable in the report, the "Enter Bind Values" prompt lists all instances and requires the value be input for all instances. This is unlike the SQL worksheet which only lists the bind variable once. Please change the report behavior to prompt only once per unique bind variable.Just spoke with the developer of this - you will be prompted for each instance of a bind. That will not change any time soon so I wanted to let you know -
-- Sharon -
Issue with Variable Personalisation in Bex Report
Hi Gurus,
I'm facing a typical problem with Variable presonalisation in the Report.
I've executed a BEX Report and filtered data on some characteristics and used SAVE AS Button on the Portal to save the resultset. When I'm trying to use the variants, again say after 2 or 3 days i couldn't find updated data for particular variants upon using the same variants rather its refelecting the old data. Further more when I execute the report and try filtering on the same criteria altogether, I'm able to see updated result set.
Is there any setting to be enabled when we personalise variants or variants are dependent on the data or the date on which they are created. Not sure why the reports are behaving this way. Or Do I need to create variants time and again.
Any pointers would be of great help.
Regard,
YaseenHello,
In the BEx report, when you get the variable selection screen there input your selection and at the bottom you have the option of saving them as a variant.
Now in future when you run the report simply use this variant and execute the report. It should work fine.
Also remember date selection can be tricky. If you input todays date in the variant, it wil consider the same date in further references. So do a check on that too.
Regards,
Shashank -
How to use SYSDATE as a default value of a bind variable in a query report?
Hi,
I want to use SYSDATE as default value for a bind variable in Query based report.
I don't see any way to do it, someone helps?
Thanks a lot.
Paulo.You can aslo use #sysdate directly.
Hi,
The way I'm doing in my report is, I have a database function (f_ret_sysdate) with the following code
create function f_ret_sysdate return varchar2
begin
return to_char(sysdate,'mm/dd/yyyy');
end;
Now, in the 'Customization Form Display Options' section of the report I'm calling this function as #f_ret_sysdate in the default value field of corresponding bind variable to display SYSDATE with the format.
Hope this helps!...
-Krishnamurthy -
Need a Syatem variable for Executing the report by RFC.
Hi Experts,
Need a Syatem variable for Executing the report by RFC.
what i mean to say is,i can execure the report directly ...then no issues.
But if i execute the Report by RFC ,then i should put a condition with system variable...
Please suggest me ,how can put a condition when i am executing the report through RFC.
Thanks
BabuHello Friend,
what I understood that you want to put some extra condition if that report is getting called from RFC...
you can use the system variable SY-CPROG....it will hold the value of the report when it is geeting executing directly...
but when it is getting executed therough RFC...it will hold that RFC name...
Thanks
Krish -
How to assign a variable value to crystal report viewer formula with CR2008
Hi ,
I am using crystal reports 2008 and i am not able to find how to assign variable value to crystal report viewer formula.
In CR 8.5 , i used to have crystalreport1.Formulas(0) = variable1
crystalreport1.Formulas(1) = variable2
but, i don't find similar kind in crystal reports 2008.
How can i achieve the same functionality using crystal reports 2008.
Thanks in Advance
Regards,
RamnathHi,
Can i anyone help me out with this.
I am generating crystal reports in vb6 using CR 8.5 and vb6 and below is the code snippet for the same
CrystalReport1.Formulas(0) = "PrintTitle= '" & strMyTitle & "'"
CrystalReport1.Formulas(1) = "FromDate= '" & MskFromDate.Text & "'"
CrystalReport1.Formulas(2) = "ToDate= '" & MskToDate.Text & "'"
Please let me know how the same functionality can be achieved in VB.Net using Crsytal reports 2008
Any code snippet would be of great Help.
Thanks in Adnvance.
Ramnath -
ALL variables in one single report
Hi Experts,
I have one requirement, i am creating report on multi provider , so i have to create report to include all variable and it's definition(for wht purpose the variables are created means with description in report.).
So is there any posibility Please explaine me clearly how we crarte report on all variables.
Thanks in advance
BharatiHi Bharati,
Still not clear about the requirement ......
There is a table for variable name and its description been stored. Please do generic extraction using table of view and load data to cube. then generate a report on top of it. But purpose of variable may be differ for each report , identifying of the purpose of the variable not possible with out manual intervention. eg. i have calmonth variable reference to document data which ready for input .. using the same I am deriving a customer exit variable to populate ytd or mtd how will you analyze this ?? if I want to use same variable to any other report which used to used as it is based on doc date..
Thanks
BVR -
How to pass Presentation Variable Value from Main Report to Detail Report
Hello,
I've 2 reports that is attached to each other. In my main report i've several report prompts and i am using i"s prompted" on my detail report to attach them.
But 2 of my report prompts are presentation variables(Names : FIRST, SECOND). Both are in date format. I've a filter in my main report like;
"ASSIGNMENTS_F"."EFFECTIVE_START_DATE" BETWEEN @{FIRST} AND {SECOND}
It works fine when i run the main report. But when i click on the numbers, i see that i can not filter my detail report with the chosen values for 2 presentation variables. It just shows all the dates.
I've tried adding both presentation variables in both reports as columns and adding 'is prompted' filter to them. But did not work either.
I just cant pass the written values for presentation variable prompts to detail report..
Please help :)Hi,
What you can try is refer the filte condition in the main report to the detailed report with the option--> Filter based on another request.
Or you try creating another intermediate report which will refer the main report filters and pass the filters to the detailed report.
Hope this helps.
Regards
MuRam -
Importing a text file with variable values into web reporting
Hello,
I'm looking for a possibility to import values from a text file into a variable selection in Web reporting.
With BEx reporting in Excel this is possible, by clicking on the multiple selection button in the variable popup screen, and subsequently selecting the "Import from Text file" button.
However, this function seems not to be available for web-reporting...
It would be great if someone could help me out with this!
Thanks & regards,
ArvidHi,
we could resolve this issue, so i thought it may also be helpful for others:
In our example we used a file with numbers for materials. This file is stored somewhere in a directory, to which SAP BI must have authorization to read.
The file looks something like this:
4711
4712
4713
4714
The file is named "import.txt" and lays in directory "/usr/sap/EC6/files/bi/"
*& Include ZXRSRU01
* global variables
Data: intern_range LIKE LINE OF i_t_var_range,
l_s_range TYPE rsr_s_rangesid,
line(100) TYPE c,
p_file(128) TYPE c,
length_rangelow type i,
tmp_rangelow like l_s_range-low.
* internal tables for selection-transfer from transaction
* Data: BEGIN OF it_file occurs 0,
* it_p_file(128) TYPE c,
* END of it_file.
IF i_step = 1.
** variables can be changed or set before pop-up appears
CASE i_vnam.
* take material from external file to selection-list
WHEN 'ZSD_UPMA'.
** call of transaction, with which the path can be set
*CALL TRANSACTION 'ZBW_VARIABLE' using it_file
*MODE 'A' " call should be visible, so that variable can be set
*UPDATE 'S'. " first transaction, then processing
** Der Pfad, der in dem Selektionsbild eingegeben wird, wird an die Variable übergeben
** Der Set-Parameter ist in Report ZSD_SELECT_VARIABLE
* get parameter id 'VAR' field p_file.
p_file = '/usr/sap/EC6/files/bi/import.txt'.
* further handling of variable in BI
OPEN DATASET p_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc = 0.
READ DATASET p_file INTO line.
WHILE sy-subrc = 0.
IF line(2) <> '//'.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
l_s_range-low = line.
* fill with leading Zeros
* in variable tmp_rangelow the value from l_s_range-low is taken
tmp_rangelow = l_s_range-low.
* read the length
length_rangelow = strlen( tmp_rangelow ).
* in our case: material has 18 characters
while length_rangelow lt 18.
CONCATENATE '0' tmp_rangelow INTO tmp_rangelow.
length_rangelow = length_rangelow + 1.
endwhile.
* initialize l_s_range-low
clear l_s_range-low.
* set with filled values
l_s_range-low = tmp_rangelow.
* transfer to structure
APPEND l_s_range TO e_t_range.
ENDIF.
READ DATASET p_file INTO line.
ENDWHILE.
ENDIF.
CLOSE DATASET p_file.
ENDCASE.
ELSEIF i_step = 2.
** in step 2 all variable values from pop-up input can be processed or
** User Exit variables can be derived
* UserExit Ende.
ENDIF.
Hope i could help!
Best regards,
Tobias -
Display variable values in Web report
Hi Bw Mates,,,
I am trying to display the variable values in Web Report.
I put one text Item in Template and checked the Variable Display and entered the variable name in List.
still I cannot see the variable values in the report.
Thanks for your help.
RSB<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="TEXTELEMENTS_1"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
<param name="GENERATE_LINKS" value=""/>
<param name="GENERATE_CAPTION" value="BORDER"/>
<param name="SHOW_COMMON_ELEMENTS" value=""/>
<param name="ELEMENT_TYPE_1" value="VARIABLE"/>
<param name="ELEMENT_NAME_1" value="Z_CP_018"/>
ITEM: TEXTELEMENTS_1
</object>
as the other poster mentioned the variable name has to be in upper case.
if only_values = 'X' you will just get the value other wise
you will get something like below.
variable description = variable value
Regards
Raja
Reward the helpful answers and close the thread once its answered.
sorry for the delay in answering, it was weekend for us -
Variable issue in crystal report
Hi Experts,
I hope you are doing the good job and i developed the BEX report which is developed 3 variables , one of the variable is in navgational attribute and remain 2 attributes in char which is working fine and we developed the crystal report on top of bex query its working fine after that as per requirement i changed navgational attribute and variable .Now the crystal report is not showing the variable prompt which i build on Nav attribute.So plz pass your inputs on this issue.
Regards
RKDear Kumar,
Thank you very much for you reply and we using the below mentioed details.
Exact version:4.1,support pack/service pack:sp3,patch level of CR:0
SAP BI:7.3
Regards
RK -
Using Bind variables in SQL PLUS Report
using Bind variables in SQL PLUS Report. This report gets the arguments from the application concurrent program. Now my need is to convert the start_date and end_date to bind Variables to improve the performance. I have commented the original code in 'prompt List of Unapproved Adjustments' and used my Bind Variable but it is giving an error
error: Bind Variable "ENDING_DATE" not declared
Report Date and Time:
26-OCT-2010 15:44:13
List of Unapproved Adjustments
Bind Variable 'ENDING_DATE" not declared
Please see below the code for the sql plus report:
define p_org_id = '&1'
define p_fy_begin_date = '&2'
define p_start_date = '&3'
define p_end_date = '&4'
define p_conversion = '&5'
declare
variable begin_date date;
exec :begin_date := p_start_date;
variable ending_date date;
exec :ending_date := p_end_date;
/* Begin
:begin_date := to_date('&p_start_date','YYYY/MM/DD HH24:MI:SS');
:ending_date := to_date('&p_end_date','YYYY/MM/DD HH24:MI:SS');
End; */
set newpage none
set termout off
set pagesize 55
set linesize 180
set heading on
set feedback off
set wrap off
set space 1
set heading on
begin
dbms_application_info.set_client_info('&p_org_id');
end;
prompt
prompt Report Date and Time:
prompt ----------------------
select to_char(sysdate,'DD-MON-YYYY HH24:MI:SS')
from dual ;
prompt
prompt List of Unapproved Adjustments
prompt -------------------------------
select b.trx_number,
a.adjustment_number,
f.user_name created_by
from apps.ar_adjustments a,
apps.ra_customer_trx b,
apps.fnd_user f
where a.customer_trx_id = b.customer_trx_id
and a.status <> 'A'
and a.created_by = f.user_id
and a.creation_date between :begin_date
and :ending_date
-- and a.creation_Date between to_date('&p_start_date','YYYY/MM/DD HH24:MI:SS')
-- and to_date('&p_end_date','YYYY/MM/DD HH24:MI:SS')
order by
b.trx_number ;Hi
Please go to customization part of the report and verify..You have set a default value out there ..And also verify your lov and look at the values ..If it is again giving you the problem ..pl delete the report and develop it again from the scratch it will be solved...
vishnu
null -
Create New Variable for COPA Drilldown Reports in KE3E
Hi,
How can we create a formula variable for COPA Drill down reports in KE3E? In standard global variables formula variable is not avaiable, I need to create a formula variables like ...from period, to period, last fiscal year and next fiscal year..
While creating report in KE31/KE35 trying create local variables, but it doesn't.
Can any body advise how can we create a new variables for "from period, to period, last fiscal year and next fiscal year.."
Thanks
VS RaoHi Rao
For Period (From &To)
1. KE3E
2. Type of Var = Char Value
Enter variable name, say, ZPERIOD
Field Name = PERDE
Replacement type = Entry
Enter Description
Parameter/selectop = Selection Option
For Fiscal Year
Type of Var = Char Value
Enter variable name, say, ZGJAHR
Field Name = GJAHR
Replacement type = Entry
Enter Description
Parameter/selectop = Parameter
For Next and Last Fiscal Year
When you define your form in KE34/KE35
Use the variable ZGJAHR in your report
In the column for Next Year, Enter "ZGJAHR+1" as the local variable for GJAHR
In the Column for Last year, Enter "ZGJAHR-1" as the local variable for GJAHR
Regards
Ajay M -
Pass a shared variable from a sub-report into cross-tab
Hello everyone!
I need to pass a calculated value in a shared variable from a sub-report into a croos-tab in the Group footer of the main report. When I place this variable in the group footer I can see the value, when I use this variable in the Cross-tab, it is 0.
In the Sub Report:
whileprintingrecords;
shared numberVar Total_SF;
Total_SF:= calculation.
In the Main report:
whileprintingrecords;
shared numberVar Total_SF;
In the Cross-Tab I am using the above formula from the main report.
Do you guys know what I need to do for this to work?
Thank you,
T.Hey Tat,
I have learned to avoid passing shared variable from sub reports back to main reports. You just always seem to run into issues with execution order.
Personally, I try to create a shell report and add sub reports, calculating the values I need in the first sub report and pass the values to subsequent sub reports using shared variables. I'd recommend thinking about arranging your reports like this during your design time. It has saved me some headaches. -
Sytsem Variable for Check Register Report
Hi all.
Does any one know which Sytsem Variable for Check Register Report that will show the total for the FC amount.
The one on our report now shows the System Variable 62 which is system currencyHi,
I believe there is no other System Variable for Check Register Report. It is because you can have many different currencies within the same report. Just like Multi-currency BP, only LC can be used.
If you check system information on the screen, you could also find this variable 62 there.
Thanks,
Gordon
Maybe you are looking for
-
Bank charges on Vendor invoices to be borne by Vendor during F110- How ?
Hi FICO Gurus, I have a scenario as below. While doing F110, for some vendors my client wants the bank charges(Wire/TT charges) to be deducted from the invoice amount. For instance if I have to pay USD 1000 to ABC vendor, for the relevant wiretransfe
-
I still use CS3, yes it's true. Can I some how get a serial number for CS2?b
I still use CS3, yes it's true. However, I have my upgrade copy only, not my CS2, and I just purchased a new iMac Mini. Therefore, I do not have my SN for CS2. Can I some how get a serial number for CS2? I found a link with SN's but none worked.
-
Podcast file missing from itunes and ipod
I uploaded an mp3 file to my ipod and changed the media type from music to podcast. Now the file doesn't show up in any category of my ipod on itunes, and it doesn't show up anywhere on my ipod. However, if I do a search on the ipod for the name of t
-
How to remove only the last element of spreadsheet string
I use path to string option to store image path into database and while retrieving the string is again converted into path but it gives out an error as the output of array to spreadsheet string gives out a tab at the end which is unable for the IMAQ
-
Calculating between different s
Can I and if so, how would I creat a formula a total difference between numbers on different subject area reports - for instance: Total Nbr Trxs (*Account History* and filtered on a Field containing "Lost") minus Total Trxs (*Opportunity History* and