Variable for 0FISCPER displays od values
Hi
I have created a query containing a interval variable for 0FISCPER. The Query is based on a multiprovider that is build on a single ODS containing WBS line items loaded through 0CO_OM_WBS_6. When the query is run and the variable box appears I press the selection button for 0FISCPER. It displays som od values for selection that does not exist in the ODS. fx. 001.0010. When i select such a value it is converted to 001.2010. The ODS only contain data for 2003-2006.
Can you help me to understand what causes this, so i am able to fix it.
Chris
1. On the Administrator Workbench: Modeling screen:
a. Choose Source Systems.
b. In the right hand window select the source system from which you would like to transfer the global settings.
c. From the context menu choose Transfer global settings.
2. On the Transfer global settings: Selection view in the frame Transfer global table contents select the checkboxes for the settings you want to use from your R/3 source system:
Fiscal year variants to transfer fiscal year variants
3. In the frame Mode choose Update Tables.
4. Choose Execute.
5. Choose Back twice.
Then try your reporting......
Similar Messages
-
Need Text variable for Bex which take values from another variable
Hello ,
I have a requirement to show date values in query description.
User want to run a query which runs for 5 sept till last sunday.
I have one exit which provides last week date range ( low= last week monday & high = last week sunday )
i have acheieved this by restricting 0calday by range = (5 sept 2011 to exit (above metnioned exist's low) + 6 (offset)
now the problem is user wants to show this date range in query description .
ie suppose user is runnig this query today so the query description should be "5 sept 2011 to 2 oct 2011 "
This could be possible with text variable by using replacement path , but i am unable to figure ot the logic .
Kindly advice .
Regards,
CRThanks Sushant ,
In the Tab "Replacement Path " ..there is a drop down -
"Replace variable with" what should be choose in this ?
I have used this selections for genearl tab -
General Tab -
Processing By = Replacement Path -
How to set a default value as current month in already created variable of 0fiscper
Hi Guys,
In my report currently we are using a variable for 0fiscper which is mandatory and selection option.
Now there is a requirement to set current month as default value in that variable.
Please let me know how can I do that.
Thanks.
DollyYou need to change the processing type to customer exit of that variable.
Now in i_step = 1 write the following code:
Data:dt LIKE sy-datum,
zper TYPE /bi0/oifiscper,
YR type /bi0/oicalyear,
per LIKE t009b-poper.
IF i_step = 1.
WHEN 'X_FSCPRC' .---User input variable based on cmod.
dt = sy-datum.
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
i_date = dt
i_periv = 'M3'---Give the fiscal year variant according to your system
IMPORTING
e_buper = per
e_gjahr = yr
EXCEPTIONS
input_false = 1
t009_notfound = 2
t009b_notfound = 3
OTHERS = 4.
IF sy-subrc = 0.
Concatenate YR Per into Zper.
l_s_range-low = Zper.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
ENDIF.
endif. -
Variable with range- only 1st value used in manual planning ?
Hi,
We're trying to define a column in a manual planning layout that will represent a YTD total. We have defined a variable for 0fiscper that contains the range of periods we require in the YTD total. When we execute that manual planning area with this variable used as a restriction on the data column we want, the key figure values displayed only represent those for the 1st period in the range - not all periods in the range !
I'm hoping someone can tell me if manual planning layouts can use variables in this manner. If not, how can this best be done ?
Many thanks,
BlairHi Blair,
Create a total column using the dynamic column, as a result you would have the individual period columns and the total column in the layout. Now make the individual period columns hidden using any of the options below.
You could achieve the same, by making the column hidden in the transaction UPX_MNTN
> Enhance Planning Layout
> Select the relevant layout
> Select the enhanced button for the key figure
column
> Mark the hidden check box there.
Alternatively if you are using Excel GUI, you could set the column width of the columns preceeding the total column as 0 (in the third screen of the layout) to make them hidden.
Hope it helps -
Variable for an infoobject when that infoobject is unavailable in the cube
Hello
I have a variable for 0FISCPER (V1), which gets populated based on another variable for 0FISCYEAR (V2).
But the infoprovider on which the query is based doesnt have 0FISCYEAR infoobject. so I am unable to pass a value to the variable V2.
is there a way in which I can pass on an year to the variable V2 so that V1 gets populated with appropriate fiscal periods.
Any help is highly appreciatedHi Atla.
which kind of time characteristics do you have in your infocube ?
I you have these variables I think you have certainly 0FISCPER char...but how you can insert 0FISCYEAR variable if you don't have 0FISCYEAR in your cube ?! -
Create a new "actual day variable" for 0CALDAY
Hello,
i want to create a new "actual day variable" for InfoObject 0Calday. The variable should have the same functions like 0DAT.
How can I create this? Coding for CMOD?
Thanks and regards,
HeikoHi,
As I understand your question properly, You need a dynamic variable which will give the actual date i.e current date.
create a variable for 0calday with single value processing type customer exit. reay for input deselect.
in cmod
When 'vARIABLE FOR CALDAY'.
CLEAR L_S_RANGE.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
L_S_RANGE-LOW = SY-DATUM.
APPEND L_S_RANGE TO E_T_RANGE.
Regards,
Ranganath. -
Displaying the value of an variable on the stage
I have managed to display the values contained in string variables on stage, and I am happy with that, however when I wish to display the value of an int and convert it to a string as one is supposed to do the output to the stage just calls it [class int] and does not give its value. any suggestions?
My rogram contains a stage at frame 1 which displays a word. The user must input a word. Frame 30 then displays the word which was displayed and the word input by the user. That all works fine. But the value of the variable NumberRight, which has been assigned to that variable will only display as [class int] without showing its value. (even though I have converet it to a string using the .to string function you see below).
My code is as follows;
trace( "The number correct was" + NumberRight); //This works fine in the output window and shows the value of the variable as NumberRight [class int]1 (showing the value to be 1)
outputText.appendText("in/"+textAtIN); //this works fine displaying the word presented and word input by user as in/in
outputText.appendText( NumberRight.toString( )); //here lies the problem as it just displays [class int] and nothing else.
Yes I have managed to overcome that problem it was some code on the first frame, please excuse, however, now, is there any way to remove the [class int] bit from the displays, I wish to have the results as a clear copy of the results so that they can be printed out, without [class int] all over the place?Hi Ned thanks for that. Yes I had accidently created blank spaces in the String() argument. (wanted to check if there was a subsequent difference in display and forgot to return them to normal ...Sorted )
Your next suggestion has eliminated the [class int] but I get a value now of 0.
My code on the first frame for a correct response for example is;
function keyPressedIN(event:KeyboardEvent):void
if (event.keyCode == 13)/*Normally,this will move straight on to the next frame-
recording a correct response and all that that implies in terms of scores etc. But now I have re directed it to Frame 30 to check are the variables working properly*/
//insert code for correct responses vowels etc.
VowelI = VowelI+1;
NumberRight = NumberRight +1;
stage.focus = stage;
//There is no need to display the text box as this is a correct response.
pupilsResponseIN.visible = false;
mainText.visible = false;
gotoAndPlay(30);//at the moment this takes me to the display frame to check if all is ok
On the first frame when the user say hits the Return key my code assigns the value of +1 to the variable; eg
NumberRight=NumberRight+1;
and the value of +1 to the value of VowelI
VowelI=VowelI+1
At Frame 30 the code is as follows;
stop();
trace( "The number correct was"+ NumberRight);
outputText.appendText("in/"+textAtIN);
outputText.appendText( "\n");
outputText.appendText("Vowels Correct ="+(int(VowelI).toString()));
outputText.appendText( "\n");
outputText.appendText("TotalCorrect="+(int(NumberRight).toString()));
//outputText.appendText( VowelI.toString());
Now what I am getting is
in/in
Vowels Correct = O
Total Correct = O
Yet the trace (output box) records the Number correct as [class int]1
many years ago I wrote this same program in Authorware using similar code. I am trying to re write it in FlashCS5 using ActionScript 3 and It take days to solve small problems. I notice also that If for example the user of the program makes an error and I record the error as NumberRight =NumberRight -1 the program records it as Total Correct = NaN .
I gave up on this a few months back but I am trying again. I think there must be a better way to do this. Variables do not seem to add up or subtract for me at present. no doubt its me thats got it wrong. -
Displaying default value for a field in ALV table
Hai all,
I am having an ALV table in which I want to display Requisition number by default using a value which i generated randomly and it is stored in a variable.
While displaying ALV table my req number field should display that value by default when ever user is inserting a row( all the coloumns n my alv are editable.
Is it possible??
Kindly give some suggestions.
Thanks in Advance,
Nalla.BHai Kris,
I took help from ur link and i declared a global attribute request_number.
and i created an event handler ON_ALV_INSERT and did the follwing coding for giving default value wen ever am inserting new row.
FIELD-SYMBOLS: <wa_row> LIKE LINE OF r_param->t_inserted_rows.
DATA bill_details TYPE REF TO zdom_bill_detail.
LOOP AT r_param->t_inserted_rows ASSIGNING <wa_row>.
bill_details ?= <wa_row>-r_value.
IF bill_details->REQ_NUMBER IS INITIAL.
DATA lo_nd_bill_detail TYPE REF TO if_wd_context_node.
DATA lo_el_bill_detail TYPE REF TO if_wd_context_element.
DATA ls_bill_detail TYPE wd_this->Element_bill_detail.
navigate from <CONTEXT> to <BILL_DETAIL> via lead selection
lo_nd_bill_detail = wd_context->get_child_node( name = wd_this->wdctx_bill_detail ).
lo_el_bill_detail = lo_nd_bill_detail->get_element( index = <wa_row>-index ).
lo_el_bill_detail->set_attribute(
EXPORTING
name = 'REQ_NUMBER'
value = wd_comp_controller->request_number
Wen am setting the value of wd_comp_controller->request_number to my context attribute am getting NULL object ref error.
lo_el_bill_detail->set_attribute(
name = `REQ_NUMBER`
value = wd_comp_controller->request_number ).
Pls give some suggestions,
Thanks in Advance,
Nalla.B -
How can I display the value of the Target Currency variable in my query
We have a query which has a key figure set to prompt for a Target Currency at runtime. Because the user did not want the currency displayed in each cell they used the NODIM function to remove it. They do however want to display the Target Currency in a cell within the report. Using Report Designer, I've tried to set up a Text Box to display this value, however, it is not in the list when looking at Constants, Filters or Variables or trying to display it in a Text box. Has anyone found a way to be able to do this?
Hi and thanks for the reply. I should have stated that because this was a validated query, we'd like to do this without modifying the query and thus having to go through another lengthy validation process. That's why we did not go the route of adding Unit to the query but we may have to. Another thing we can do is use a text variable in the headers that displays the currency. That works but, again, it's a query change whereas finding it in Report Designer will not require a query modification.
-
Input Ready Query, Variable read mode setting Only Values for InfoProvider
Hi,
I have a problem with Selection Variable for a BEx Query :
- I'm working with SAP BI 7.0 support package 15
- My query is an input ready query built for an "aggregation level" based on "real time infocube" (Planning);
- Characteristic, I want to filter with variable, has query property Advanced->Query Execution for Filter Value Selection = Only Values in InfoProvider
- Characteristic (info-object) has set the property: Business Explorer tab--> Query Def. Filter Value Selection as Only Values in the info-provider...
My problem is:
when I execute a query,
the Select Values for Variables screen appears
I push on the Select from List button
and Select Values For MyCharacteristic appears...
but it shows me all values in master data table of my characteristic instead of only values in the infoprovider!!!
If I build a query for the Real Time Cube it works correctly, but if the query is built for the aggregation level it doesn't work!
Could someone explain me why it doesn't work correctly?
Thanks in advanced
FedeThanks to Mariana Lazar
30.03.2009 - 12:30:36 CET - Risposta by SAP
Dear Fede,
Regarding the query built on aggregation level please note the following
the aggregation level is always a Virtual Provider built other
InfoProvider and hence it does not have the dimension table and hence
the F4 mode D is not supported.
Therefore when aggregation level is used in a query, F4 does not supportD-mode: 'Only Values in InfoProvider' and all master data values are
displayed in the value list.
Reference from the note
984229 F4 modes for input help as of SAP NetWeaver 2004s BI
4. Since other InfoProviders do not have a dimension table, the system
displays only posted values if you select "Only Posted Values for
Navigation". Otherwise, it displays the values from the master data
table.
Hope this should clarify your doubts. Please let me know if you have
questions else please confirm the message at your earliest convenience.
Thank you for your cooperation and kind regards,
@KR@ Mariana Lazar
Senior Support Consultant
SAP Active Global Support
Netweaver Business Warehouse -
Presentation Variable - Display 'All Values' in Report Title
If I create a Dashboard Prompt and then set it equal to a Presentation Variable, I then display this Presentation variable in the report title. For the Dashboard Prompt I allow them the 'All Values' choice, in fact, this is the default.
The issue is displaying this in the Report Title, when it is 'All Value' nothing is display in the title, when they select a value such as 'Region D' then it works and this value will dispaly.
I looked at the documentation and it says you can use a default value, however, setting up that still does not work. It still is blank.
Has anyone seen this issue or know of a workaround? I'd like to have something like 'All Vales' display or is there a condition I could write to set this.
ThanksHi Guys,
I have did the following in order to achieve your requirement:
As usual, create a request with a column prompted and a dashboard prompt containing that column and set the Presentation Variable (ex: varDept)... bla bla..
Placed them on the Dashboard to generate your issue, discussed...
Now, what I have did is:
1. Created one more Request with the column used on Prompt and specified the Formula to it as:
CASE WHEN '@{Dept}'||'A'='A' THEN 'All Departments' ELSE '@{Dept}' END
Note: Take 2 same columns (and hide one) because we are using above formula which does not contains the Column from any table.
2. Created Narrative View and referenced the above Column.. @2 (in my case).. and specify 1 in 'Rows to Display' field. Do the formatting as required viz., specifying Font size, family....
3. Place this request in between the Prompt and First Request..
Now, you can able to see 'All Departments' if 'All Choices' is selected.
Hope this idea will helps you guys..
Regards,
-Vency -
Variable "read mode setting" Only Values for InfoProvider
Hi,
I have a problem with Selection Variable for a BEx Query:
- I'm working with SAP BI 7.0 support package 15
- My query is an input ready query;
- Characteristic, I want to filter with variable, has query property Advanced->Query Execution for Filter Value Selection = Only Values in InfoProvider
My problem is:
when I execute a query,
the Select Values for Variables screen appears
I push on the Select from List button
and Select Values For MyCharacteristic appears...
but it shows me all values in master data table of my characteristic instead of only values in the infoprovider!!!
Could someone explain me why it doesn't work correctly?
Thank in advanced
FedeThanks to Mariana Lazar
30.03.2009 - 12:30:36 CET - Risposta by SAP
Dear Fede,
Regarding the query built on aggregation level please note the following
the aggregation level is always a Virtual Provider built other
InfoProvider and hence it does not have the dimension table and hence
the F4 mode D is not supported.
Therefore when aggregation level is used in a query, F4 does not supportD-mode: 'Only Values in InfoProvider' and all master data values are
displayed in the value list.
Reference from the note
984229 F4 modes for input help as of SAP NetWeaver 2004s BI
4. Since other InfoProviders do not have a dimension table, the system
displays only posted values if you select "Only Posted Values for
Navigation". Otherwise, it displays the values from the master data
table.
Hope this should clarify your doubts. Please let me know if you have
questions else please confirm the message at your earliest convenience.
Thank you for your cooperation and kind regards,
@KR@ Mariana Lazar
Senior Support Consultant
SAP Active Global Support
Netweaver Business Warehouse -
Urgent!!Variable for days not displaying properly!!!
Hi
When executing the Query,Variable for displaying Aging in days are not displaying between the selection.Pls any one help with regard to it.Pls tell wht r the main thing to be taken to consideration for this issue.
ThanksHi
We have 2 formula var.
<b>Current Cal day</b> which is based on SAP exit ,single val ,mandatory & dimension is date
Another Formula var--<b>PR Info date</b> based on Replacemtn path ,replace with infoobject ,key,Interval value from,offset 0 to 8,single val ,optional & dimention tab as date.
So calculating Ageing as <b>Var Current Cal day</b> Minus <b> VarPR Info date</b>
Then u have condition for Ageing Selection, with above calculating ageing -
operator between, another var as AGING Frm & aging TO which is form var by manual input ,interval is From val & Offset start & length as 0 & 0, single val & optional..
These r the selction made for the variables.
Pls if u can get idea,tell where the problem is??????????URGENT
ASAP...When I select range, Calculate COlumn for Ageing ..........displays all different days values not as per the selection range. -
How to display medium text for 0FISCPER in Filter area.
Hi,
I am having a problem with display of filter values in bex query. In filter section, there is 0FISCPER used. after running query I can see only "JAN" value.
But user wants to see "January 2007" in place of JAN.
though 0FISCPER info object has text table T009C. it has two colomns one for short text and one for medium text. and data in table is stored as below -
Year Period Sh.text Med. text
2007 001 JAN January 2007.
2007 002 FEB february 2007
In query, 0FISCPER is taking only Short text for an display settings. While it should take Medium text.
How can I solve this problem ??
[email protected]Hi,
In your Infoobject, choose BEx Explorer tab, Check what selected for BEx Description, there choose Medium text instead of Short text.
Hope this sill be helpfull
rgrds,
V.sen -
How to pass pageFlowScope variable value as bind variable for VO
Hi,
I have one fixed lov (not based on datasource), if i select any value in that lov i want to pass this value to a pageFlowScope variable.
After this i want to use this value as bind variable for VO. whenever the vo executes thereafter this bind variable should filter that vo results.
My jdev version: 11.1.0.0
Thanks in advance,
SANsan-717,
can you elaborate on the use case instead of the implementation you don't get done? I understand you have data displayed in a tree: so lets assume the tree structure is Locations, Departments and Employees according to the Oracle HR sample schema.
1. What is the LOV supposed to do ?
2. Where is the LOV located ?
3. What values does the LOV show ?
4. Is the LOV a select choice component or a real LOV (with search dialog)
5. Where is the bind variable used ?
To me it sounds like you want to filter the tree data based on the select choice value. However, you wont do this by passing the bind parameter to all View Objects involved as they may not have the attribute in their query. So your use case is important to answer the question
Frank
Maybe you are looking for
-
How do I transfer pictures, music, etc to another account on the same Macbook?
I needed to create another user on my MacBook, but am not sure how to transfer my pictures, music, etc from my other account to this one. Any ideas? Thanks!
-
How to retry/resend an AS2 message outbound after a communication error
Hello all. I am using B2B 10.1.2.3 and the retry functionality and resubmission functionality has never worked for me. Can some please comment on the proper procedures for me to setup retry intervals and also how to use the resubmission utility. Here
-
Play Movie starts at chapter 2
Using the "bands" theme, I exported my movie from iMovie 06 with chapters to iDVD 08. All the chapters come across just fine, but when i hit "play movie" it starts the show at chapter 2 (not chapter 1) You can see chapter one from the scene selection
-
iPhoto09 v 8.1.2 Double clicking on thumbnail results in glimpse of photo before changing to ! with a black background. No photo, no slideshow. (Preferences set to magnify with double click)
-
Can Someone Confirm this Nano Action for me?
I need to have an AIFF recording UNCOMPRESSED on my Nano. If I bring into iTunes as AIFF, will the Nano compress it when I download to the Nano? If so, can I use the Nano as a hard-drive and copy the AIFF file to it that way? Any help greatly appreci