Date range as variable values in report selection
On a report selection screen, how can we save range values as variant?
For example, S_ALR_87012341, I want to save the values of from- and to- dates for posting date using dynamic date calculation as selection parameter.
From date: current date u2013 365 days
To date: current date
I can only put one value at a time but not both. Any value I input to the Name of Variable field, it is populated as a from-date value
How can we put both names of variable for the from- and to- dates to the variant attributes?
Hi,
For the example you gave, choose Variable 'Current date - xxx,current date + yyy' , enter 365 and 0 for xxx and yyy and save the variant. When you call up that variant, you will see both 'From' and 'to' are populated.
Regards,
Ming
Similar Messages
-
Date Range - Delete ZERO Values
Hi All,
Few days back I had posted Query Regarding Date range where in I enter Proj# from_month, from_year, To_month and To_year.
The output data for the project must be within this year range.
suppose I enter proj no. 13381 and
from_month - 05
from_year - 2004
To_month - 04
from_year - 2005
This is the Desired Output:
yearmonth plan14
200406 -
13381 -
100
200407 -
13381 -
100
200409 -
13381 -
678
Right Now the Output what Iam getting is:
yearmonth plan14
200405 -
13381 -
0
200406 -
13381 -
100
200407 -
13381 -
100
200408 -
13381 -
0
200409 -
13381 -
678
I Just want the NON ZERO PLan14 values. The PLan14 values with '0' should be deleted .
Below is the Jist of the code.
RANGES: S_GJAHR FOR COSP-GJAHR,
R_YEAR FOR COSP-GJAHR,
R_DATE FOR PROJ-ERDAT,
R_MONTH FOR CKML1-POPER,
S_OBJNR FOR COSP-OBJNR,
S_KSTAR FOR COSP-KSTAR.
DATA: MNT_INDX(20) TYPE C,
HLD_INDX(3) TYPE N.
DATA: W_MTH(2) TYPE N,
W_DATE LIKE PROJ-ERDAT.
DATA: BEGIN OF ITAB_OUT_TYPE,
PERIOD(10) TYPE C,
PROJDEF(20) TYPE C,
PROJ_TITLE(20) TYPE C,
STATUS(20) TYPE C,
PROJECT_TYPE(20) TYPE C,
START_DATE(20) TYPE C,
FINISH_DATE(20) TYPE C,
CONTRACT(20) TYPE C,
CLIENT(20) TYPE C,
PLAN14(25) TYPE C,
END OF ITAB_OUT_TYPE.
DATA ITAB_OUT LIKE ITAB_OUT_TYPE OCCURS 10 WITH HEADER LINE.
FIELD-SYMBOLS <FS>.
PARAMETERS FR_MONTH(2) TYPE N OBLIGATORY.
PARAMETERS FR_YEAR(4) TYPE N OBLIGATORY.
PARAMETERS TO_MONTH(2) TYPE N .
PARAMETERS TO_YEAR(4) TYPE N .
DATA: W_TXT(20) TYPE C.
R_YEAR-LOW = FR_YEAR.
R_YEAR-HIGH = TO_YEAR .
R_YEAR-OPTION = 'BT'.
R_YEAR-SIGN = 'I'.
APPEND R_YEAR.
concatenate FR_YEAR FR_MONTH INTO R_DATE-LOW .
concatenate TO_YEAR TO_MONTH INTO R_DATE-HIGH.
R_DATE-OPTION = 'BT'.
R_DATE-SIGN = 'I'.
APPEND R_DATE.
SELECT * FROM COSP
WHERE OBJNR = PRPS-OBJNR AND
GJAHR IN R_YEAR AND
KSTAR BETWEEN '0000400996' AND '0000400999' AND
VERSN = '014' AND
WRTTP = '01' .
DO 12 TIMES.
W_MTH = SY-INDEX.
CONCATENATE COSP-GJAHR W_MTH INTO W_DATE.
CHECK W_DATE IN R_DATE.
PERFORM CONVERT-DATE1 USING W_DATE.
MOVE HOLDDATE1 TO ITAB_OUT-PERIOD.
HLD_INDX = SY-INDEX.
CONCATENATE 'COSP-WKG' HLD_INDX INTO W_TXT.
ASSIGN (W_TXT) TO <FS>.
CLEAR ITAB_OUT-PLAN14.
ITAB_OUT-PLAN14 = ITAB_OUT-PLAN14 + <FS>.
APPEND ITAB_OUT.
enddo.
ENDSELECT.
I need all positive values of the month that are in the range. The Zero values must be deleted . How can i do that. PLease do let me know.
Thanks in advance
DanYou can do this easily just by deleting all records in one shot.
delete ITAB_OUT where plan14 = 0.
You can put that statement after the SELECT...ENDSELECT.
Or you can not even add them to the internal table at all. You can check before you APPEND to the table.
CLEAR ITAB_OUT-PLAN14.
ITAB_OUT-PLAN14 = ITAB_OUT-PLAN14 + <FS>.
<b>If itab_out-plan14 > 0.
APPEND ITAB_OUT.
endif.</b>
enddo.
ENDSELECT.
Regards,
Rich Heilman -
How to pass the variable value to reports as a parameter
hi
i have facing a problem that i want to pass the value of a variable that i had calculate in a procedure like
SELECT nvl(BASIC_PAY,0) INTO v_basic FROM EMP WHERE EMP_ID=P_EMP_ID;
so i want to send the variable value v_basic as a parameter through form to report...and simlarly other variables values which i have calculate in procedure....
need ur help to solve this problem
thanks in advanceit's the exact posting from your last post. Please don't duplicate the postings, so that we can help you in one thread and not so many different threads
-
How to increment variable value in single select statement
Hi guys
in this select statement i have hard coded date value but i need to put variable instead of hard coded date and then i want to increment that variable value till sysdate.. i have tried using curser , type tables but they are very very slow .. any experiance guys can give me good hint what should i use.
my query
select
start_dt,
end_dt,
hi_start_dt,
hi_end_dt,
ph_start_dt,
ph_end_dt,
h_start_date,
h_end_date,
g_code,
emp_det.ref,
u_code,
costing,
emp_nm,
emp_no
from
emp_det,
emp_ph_det,
emp_hi_det,
emp_h_det
where
emp_det.ref(+) = emp_ph_det.ref
and emp_hi_det.p_ref(+) = emp_ph_det.p_ref
and emp_h_det.ph_ref = emp_ph_det.ph_ref
and emp_h_det.ph_st_dt(+) = emp_hi_det.st_date;
and to_date('01-MAR-2008') between i.start_dt and nvl(i.end_dt, to_date('01-MAR-2008') +1)
and to_date('01-MAR-2008') between i.hi_start_dt and nvl(i.hi_end_dt, to_date('01-MAR-2008') + 1)
and to_date('01-MAR-2008') between i.ph_start_dt and nvl(i.ph_end_dt, to_date('01-MAR-2008') + 1)
and to_date('01-MAR-2008') between i.h_start_date and nvl(i.h_end_date, to_date('01-MAR-2008') + 1)
or
(----emp has left this month
i.start_dt < i.emp_end_dt
and i.end_dt between add_months(to_date('01-MAR-2008'), -1) + 1 and to_date('01-MAR-2008')
and i.hi_start_dt < i.hi_end_dt
and i.hi between add_months(to_date('01-MAR-2008'), -1) + 1 and to_date('01-MAR-2008')
and i.ph_start_dt < i.ph_end_dt
and i.ph_end_dt between add_months(to_date('01-MAR-2008'), -1) + 1 and to_date('01-MAR-2008')
and i.h_start_date < i.h_end_date
and i.h_end_date between add_months(to_date('01-MAR-2008'), -1) + 1 and to_date('01-MAR-2008')Hi Anurag
Thanks for the reply.please find my sample data below . below i am only showing data for one employee only.. i want to write a query where i will query for a month like march 2008 and then i need to find out the record for employe where this month march 2008 is between all the start and end dates like it should be between start_dt and end_dt and h_start_date and h_end_date and hi_strt_dt and hi_end_dt and ph_start_dt and ph_end_dt and where all the combination are true show me that record only .. i don't want any other record.
h_start h_end_
start_dt end_dt date date histrt_dt hi_end_dt ph_start_dt ph_end_dt
1-Sep-07 31-Dec-08 8-Feb-08 31-Aug-08 1-Sep-07 31-Dec-07 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 1-Sep-07 31-Dec-07 1-Sep-07 31-Dec-07 1-Sep-07 31-Dec-07
1-Sep-07 31-Dec-08 1-Sep-08 31-Dec-08 1-Sep-07 31-Dec-07 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 8-Feb-08 31-Aug-08 1-Aug-08 31-Aug-08 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 1-Sep-07 31-Dec-07 1-Aug-08 31-Aug-08 1-Sep-07 31-Dec-07
1-Sep-07 31-Dec-08 1-Sep-08 31-Dec-08 1-Aug-08 31-Aug-08 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 8-Feb-08 31-Aug-08 1-Oct-08 31-Dec-08 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 1-Sep-07 31-Dec-07 1-Oct-08 31-Dec-08 1-Sep-07 31-Dec-07
1-Sep-07 31-Dec-08 1-Sep-08 31-Dec-08 1-Oct-08 31-Dec-08 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 8-Feb-08 31-Aug-08 1-Sep-08 30-Sep-08 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 1-Sep-07 31-Dec-07 1-Sep-08 30-Sep-08 1-Sep-07 31-Dec-07
1-Sep-07 31-Dec-08 1-Sep-08 31-Dec-08 1-Sep-08 30-Sep-08 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 8-Feb-08 31-Aug-08 8-Feb-08 31-Jul-08 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 1-Sep-07 31-Dec-07 8-Feb-08 31-Jul-08 1-Sep-07 31-Dec-07
1-Sep-07 31-Dec-08 1-Sep-08 31-Dec-08 8-Feb-08 31-Jul-08 8-Feb-08 31-Dec-08 -
Variable in web report selecting '#'
Hi,
When I execute a BW report in Web, something really strange is happening.
I have got an optional variable for calender month. Whatever value I select, it changes to '#' by itself. It works well in RSRT.
If I type the value for e.g. 02.2007 manaully then it works well. But only when I select the variable value from the list (F4) then press "Add" and then "ok", it replaces the value with #.
Does anyone know why this is happening and what the solution to this.
Thanks,
Waseem.Hello Aneesh,
these is how i have BUT NOT WORKING.
i am thinking, if it in free characteristics, then it wont give values !!..
var COMPNM = '<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="TEXTELEMENTS_5"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
<param name="DATA_PROVIDER" value="DP"/>
<param name="GENERATE_CAPTION" value=""/>
<param name="WIDTH" value="453"/>
<param name="BORDER_STYLE" value="NO_BORDER"/>
<param name="SHOW_COMMON_ELEMENTS" value=""/>
<param name="SHOW_FILTERS" value=""/>
<param name="SHOW_VARIABLES" value="X"/>
<param name="ELEMENT_TYPE_1" value="VARIABLE"/>
<param name="ELEMENT_NAME_1" value="IVCMP_H"/>
<param name="ONLY_VALUES" value=""/>
ITEM: TEXTELEMENTS_5
</object>'; -
ACI - Date Range issue for Sales Details report
I am working on ACI setup for one of my client. I set everything us as per documentation.
This is regarding ‘Sales Details’ (Public Folders > ATG > Commerce > Sales > All Sales) report.
Report is being generated if I select ‘Date Range’ under ‘Time Period’; but if I select ‘Predefined’ I get below errors:
RQP-DEF-0177
An error occurred while performing operation 'sqlPrepareWithOptions' status='-9'.
UDA-SQL-0107 A general exception has occurred during the operation "prepare".ORA-32035: unreferenced query name defined in WITH clause RSV-SRV-0042 Trace back:RSReportService.cpp(758): QFException: CCL_CAUGHT: RSReportService::process()RSReportServiceMethod.cpp(239): QFException: CCL_RETHROW: RSReportServiceMethod::process(): promptPagingForward_RequestRSASyncExecutionThread.cpp(774): QFException: RSASyncExecutionThread::checkExceptionRSASyncExecutionThread.cpp(211): QFException: CCL_CAUGHT: RSASyncExecutionThread::run(): promptPagingForward_RequestRSASyncExecutionThread.cpp(824): QFException: CCL_RETHROW: RSASyncExecutionThread::processCommand(): promptPagingForward_RequestExecution/RSRenderExecution.cpp(593):
Has anybody come across this issue?
Any help in this regard will be highly appreciated.
Thanks,
MukeshContact Oracle support. I think we've seen this one before if using a particular version of Oracle(11.1?). There's a particular version of Oracle that doesn't support queries in a WITH clause that aren't referenced in the main query. Cognos seems to generate these types of queries not knowing that the version of Oracle doesn't support it. According or Support Article ID 1063400.1 you can patch this particular problem with Oracle or you can upgrade to Oracle 11.2. I also think that was a to get Cognos to generate an alternative query that doesn't use the WITH clause at all. Something about disabling the use of WITH in all queries by making a change to the report definition or alternatively a global change to the metadata model.
Good luck...
Andrew -
How to exclude values in report selection ?
Hello experts,
I am in NW 2004S BI 7.0 .
My requirment is to exclude some values in the selection screen of a report in BEX.
for examaple, out of 200 employees, i want to execute the report only for 198 employees and to exclude two guys.
Is there any way to achive this in the new version of BEX ?
Regards,
RaviHello Ravindra,
if you have values fixed for a query to be excluded, you can always restrict the infoobject with these values and click the exclude option when restricting. On the restriction screen where you move values from left to right pane, right click on the values and say "exclude"
2. if you want to exclude values during run-time, create variables on that object with user input option. during run-time(i.e while query execution), in the selection screen (i.e values input screen for that infoobject), you can exclude these values.
Hope this helps..
thanks, -
Change Data Entry Template variable values using javascript
Content ServerIs there a way to change the Data Entry Template's text/Integer variable values using javascript?
I believe you're asking if you can change the value of a content item's property using Javascript (a content item is created from a data entry template, which defines the set of properties).
Unfortunately there is not a way to permanently change it in the content item, since Javascript is executed client-side rather than on the server. However, if you're just interested in how the value is displayed in the published HTML, you could modify the presentation template to store the property value into a Javascript variable and then manipulate it to be displayed in whatever manner you wish. -
Setting ranges as default values for a selection screen value
i have a selection screen parameter s_yywrpc. For this s_yywrpc i have to set some range of values as default values.
Can u tell me how can i do that .
select-options:s_yywrpc for vbak-yywrpc.
for this parameter i have to set MSPG, MSP, FMP, FMPG, CFEG, FCFG, CMSG, CMSP as the default values in selection screen
can anybody tell me how can i code this
thanks
pavan>
pavan kumar wrote:
> i have a selection screen parameter s_yywrpc. For this s_yywrpc i have to set some range of values as default values.
> Can u tell me how can i do that .
>
> select-options:s_yywrpc for vbak-yywrpc.
> for this parameter i have to set MSPG, MSP, FMP, FMPG, CFEG, FCFG, CMSG, CMSP as the default values in selection screen
>
> can anybody tell me how can i code this
>
>
> thanks
> pavan
in the intialization event.
INTIALIZATION.
s_yywrpc-low = 'MSPG'.
s_yywrpc-sign = 'I'.
s_yywrpc-option = 'EQ'.
append s_yywrpc.
s_yywrpc-low = 'MSP'.
append s_yywrpc.
do it all for the values. -
Date (Range) Prompt to update page reports
Hello,
First I'd like to say that I am a beginner sql developer and completely new to apex. I've been thrown into it and I am learning as I go. With that in mind please forgive me for asking some, probably, obvious questions. Thanks in advance for any help.
My page has one prompt, Time Period, a drop down box with the following values: Select Time Period (Null Display Value), Last Week, Last Month, Last Quarter, Last Year, Select Dates. Based on this selection I want to do a couple of things.
My prompt is built off a static list of values and returns 1,2,3,4,5 according to the selection.
How or where do I need to use a case or if/else statement to first check that prompt value and then define my start and end date? I'm quite confused as to whether I should be using a computation or a process or maybe something else..
Thanks.If you want to show or hide items(or regions) on the page depending on what choice the user made, use(and learn) dynamic actions.
If you need to change server session state, you'll do it in a computation to change one item or do it in process for everything else.
IF and CASE statements are similar in functionality and you'll find good descriptions on the net using the keyword "PLSQL CASE IF".
Note: There is a difference between a CASE statement and a CASE expression even do their syntax are almost the same. -
Post Author: mrae
CA Forum: Formula
I want to pull up data that have been completed for the month, but also want to include null values. I did the following but didn't work.
(isnull({wrhwr.date_completed}) or {wrhwr.date_completed} => 4/1/2008 12:00:00AM or =<4/30/2008 11:59:59PM
Help, please?Post Author: SKodidine
CA Forum: Formula
Try:
isnull({wrhwr.date_completed}) or {wrhwr.date_completed} IN datetime(2008,04,01,00,00,00) to datetime(2008,04,30,23,59,59) -
Hi Experts,
I have a complex requirement for a date range functionality.
Here is the detailed explanation:
I have field TransactionDate field coming from an Oracle View.
I have 2 parameters to be created on the same field and either of them can be selected but not both and both can be blank even.
1. Transaction date on or before
2. Transaction Date Range
We may have values for only one prompt at any given point.
If the user enters value for Transaction date on or before, then report should display data less than or equal to the date entered.
If the user enters values for the Transaction Date Range, report should display date between the user entered dates.
If none is entered report should display data for all dates.
Now, when the Transaction Date Range has same values in Start of Range and End of Range, we need to display the record for maximum(Transaction Date) under a particular account, irrespective of the dates specified, i.e if the user enters current date in Start of Range and End of Range and there will be no records for this date. In this scenario, report should display the maximum(Transaction Date) for that account.
I've tried all of I could, but ending up with a blank report.
Any suggestions will be of great help. Thanks in advance.
NareshHI Naresh,
Have you tried this,
add 'maximum' infront of this '...... {DBVW.DT} <= CurrentDate' condition
if(({@FrmBalDt}(NotEqualto)" " and {@ToBalDt}(NotEqualto)" ") and ({@FrmBalDt} = {@ToBalDt})
and MAXIMUM({DBVW.DT} )<= CurrentDate)
then maximum({@BalDate})
else {@BalDate}
if it is not working, Check where the condition is failing..
or else try this also
(not HasValue({?Client Id}) OR {DBVW.CLID} = {?Client Id}) and
(not HasValue({?Base Currency Code}) OR {DBVW.BCCYCOD} = {?Base Currency Code}) and
(not HasValue({?Account Type}) OR {DBVW.ACDES} = {?Account Type}) and
(not HasValue({?Legal Entity Name}) OR {DBVW.CUST} = {?Legal Entity Name}) and
(not HasValue({?Account Currency}) OR {DBVW.CCY} = {?Account Currency}) and
(not HasValue({?Account Number}) OR {DBVW.ACNO} in {?Account Number}) and
(not HasValue({?Account Group}) OR {DBVW.ACGRP} = {?Account Group}) and
(not HasValue({?Show Latest Statement on or before}) OR {DBVW.DT} <= {?Show Latest Statement on or before}) and
(if {?Activity Only} = "True" then ({DBVW.CT_CR} <>0 or {DBVW.CT_DB}0)
ELSE if {?Activity Only} = "False" then ({DBVW.CT_CR} >=0 or {DBVW.CT_DB}>=0)) and
(if {?Business Days Only} = "True" then (not(datepart("w",{DBVW.DT}) in 7,1) and
(not HasValue({?Balance Date Range}) OR {@BalDate} = {?Balance Date Range}))
else if {?Business Days Only} = "False" then ((not HasValue({?Balance Date Range})
Up to this copy paste of your formula
OR {@BalDate} = (if maximum({?Balance Date Range})>maximum({DBVW.DT} ) then maximum(date({DBVW.DT} )) else {?Balance Date Range}))))
i think this may work, without your second formula
regards,
Salah
Edited by: salahudheen muhammed on Sep 11, 2009 4:56 PM
Edited by: salahudheen muhammed on Sep 11, 2009 5:02 PM -
Variable Exit - Last Three months date range based on Sy-datum
Hi
I have a requirement to filter last 3months data based on sy-datum. I have a variable filter on Posting Date.
For e.g. Today is 20110622
I have to determine below range: When users run the report prompt should be auto filled with below date range.
From Value: 20110301
To Value : 20110531
From sy-datum I can find the first day of the current month - In this scenario 20110601 (I'll replace last 2 characters with "01").
If I subtract "-1" I'll get the To Value: 20110531
Question is to get the "From Value". If I subtract 90days from To value, it will work for few months.
For e.g. If my To value is Feb 28th and if I subtract 90days, I may get a different answer.
Is there any better approach to determine this date range?
Thanks for your help.
Best Regards,
SreeHi Sree,
Pleae find this approach and compare
data : l_date type sy-datum,
l_startdate type sy-datum,
l_endate type sy-datum,
l_startmonth(6) type c,
l_endmonth(6) type c,
l_date = sy-datum. say "20110622
l_endmonth = sydatum(6) "201106
Pass year month and get previous month using this standard .
CALL METHOD cl_rs_time_service=>shift_year_month
EXPORTING
i_year_month = l_endmonth
i_shift = -1
RECEIVING
r_year_month = l_endmonth
EXCEPTIONS
failed = 1
OTHERS = 2.
"l_endmonth = 201105.
CALL METHOD cl_rs_time_service=>shift_year_month
EXPORTING
i_year_month = l_endmonth
i_shift = -2
RECEIVING
r_year_month = l_startmonth
EXCEPTIONS
failed = 1
OTHERS = 2.
"l_startmonth = 201103
l_startdate(6) = l_startmonth.
l_startdate+6(2) = '01'.
"l_startdate = 20110301
We got startdate in and we want to get enddate , but we got endmonth ...
now we need to get last date of the endmonth.
Use this function module SLS_MISC_GET_LAST_DAY_OF_MONTH and u can get it. Input should be date.
so put l_enddate+6(2) = '01'.
l_enddate(6) = l_endmonth.
now pass end date to the Function module and this will return the end date of the month.
So you get l_startdate and l_enddate as you require. This will work for leap years or feb 28 days what ever...
Regards
vamsi
Edited by: vamsi talluri on Jun 22, 2011 10:06 PM -
Supress details in subreport based on date ranges in main report
I am using Crystal XI R2 and am working with Human Resources Data.
The main report is grouped on and generates a list of temporary teaching positions like this:
Smith, John
FTE_____Start Date_______End Date
.3 ______09/01/2007______10/20/2007
.2 ______10/05/2007 ______04/15/2008
.2 ______04/01/2008 ______06/30/2008
The subreport (generated from a different source, but linked to main report on ) generates a list of days the employee worked as a Teacher on Call:
TOC Date______ Portion of Day Worked
09/05/2007______1.0
09/19/2007______0.6
10/08/2007______0.4
10/09/2007______1.0
04/08/2008______0.6
04/18/2008______1.0
Employees are granted seniority for TOC days worked, EXCEPT when they are already employed in a Teaching position >=.4 FTE (because they are already granted full seniority for that period), so I need to be able to suppress records that fall within date ranges listed in the Main Report where the combine FTE is >=.4.
I believe this question has two parts:
1. how do I evaluate the date ranges to combine overlapping periods? Results would look like this... (I don't need to be able to see this, but I'm assuming I'd have to create a date range with the results in order to answer question #2 - but I haven't worked much with ranges.)
FTE_____Start Date______End Date
.3______09/01/2007______10/04/2007
.5______10/05/2007______10/20/2007
.2______10/21/2007______03/31/2008
.4______04/01/2008______04/15/2008
.2______04/16/2008______06/30/2008
2. how do I supress the TOC dates in the Subreport that fall within the start and end dates of all the employee's positions >= 0.4 FTE ? Supreport results for this example would look like this...
TOC Date______ Portion of Day Worked
09/05/2007______1.0
09/19/2007______0.6
04/18/2008______1.0
(I will sum the "portion" values and mulitply them by a constant variable to complete the seniority calculation.)
Thank you in advance for any assistance you may be able to provide!Thanks for your help Graham, I have continued to work with this and I took the BO Crystal III course. Your suggestions gave me a sense of direction.
I was not able to share a date range array with the subreport (kept getting error messages saying "call BO" , but I WAS able to share the startdate array and the enddate array. I also shared the fte values array.
I had wanted to use a loop to check
if TOCdate in startarray[x] to endarray[x]
then ftearray[x]
and sum the new range of fte[x] values so that I could suppress any TOCdates where fte was >=0.4. But I couldn't quite get there, I kept coming up with formulas that displayed only the first value or the last or zero.
So I used the following formula for each index (returnindex value had to be changed for each case), then added them all together.
shared datevar array startArray;
shared datevar array endArray;
shared numbervar array FTEArray;
local numbervar arraylength:= ubound(startArray);
local numbervar i;
local numbervar returnindex :=-1;
If arraylength >=1 then
if not({AAATDDET.Date} in startarray[1]to endarray[1])then
0 else
if {AAATDDET.Date} in startarray[1]to endarray[1] then
(returnIndex:= i;);
i:=i+1;
if returnindex =0 then
ftearray[1] -
Selection Variables display in report output using BEX ANALYSER 7.0
HI All,
I am using BEX Analyzer 7.0 , I want to display the Variables selected in the selection screen, to be printed in the
Report Output.when i execute the same query in 3.5 , i am getting all hard coded and selected variable values in report output.
But in 7.0 analyzer i am not getting any filter values.can i know the reason for this ? do i need to do any settings ? how to display all filter values in report output.
Thanks and Regards,
JosephHi Joseph,
I feel there might be personalization of variables.
After executing the query click on "Change Variable Values" which is on Bex Tool Bar and there click on personaliztion icon and check if any personalizations are there.
Regards
Ravi
Maybe you are looking for
-
NFe 3.10 Inbound - Dump na etapa Simular Invoice
Pessoal, boa tarde! Estamos testando o processo de inbound (com automação) e depois de aplicar todas as notas para a versão 3.10 estamos com o seguinte erro no GRC ao executar o processo "Simular Invoice e NFe": No ECC, ocorre o seguinte Short Dump:
-
My phone is not jailbroken and I have had no problems until now. I updated the firmware a few weeks ago with no problem. I noticed yesterday I wasnt getting all of my emails because I get some of the same emails on multiple accounts and they were not
-
How do I set project paths in JBuilder 4?
Hello, I am trying to create a new project in JBuilder 4. I used the project wizard and set my paths to the following folders: C:\OU2007\TM427\mysolution However when the project and all files are getting saved to these folders: C:\Documents and Sett
-
HI, I am displaying my ALV grid in subscreen,i am using CALL METHOD g_alv_grid->set_table_for_first_display,it is working fine for first time but when user is changing input in first subscreen ,and click push button to call ALV grid in 2nd subscre
-
HP 9180 Photosmart Pro Photos washed out
I have a photosmart pro 9180 and the photos from Photoshop elements 3.0 and MS Office Picture manager 2003 sp2 are washed out. I've been trying different settings but have not had much success. How do you turn on the photosmart settings? Would it