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
Fede
Thanks 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
Similar Messages
-
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 -
How to read and set Pane value for new adding folder
Hi Experts,
I tried to add a new folder in to a system form as below
Itm = form.Items.Add("UserFolder"), SAPbouiCOM.BoFormItemTypes.it_FOLDER)
form.DataSources.UserDataSources.Add("F_new", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
Dim oFolder As SAPbouiCOM.Folder
oFolder.DataBind.SetBound(True, "", "F_new")
oFolder.GroupWith("138")
My quester is what is the panelevel for this new folder? And how to set value to panelevel for this folder.
If we design a folder from Screen Painter, we can set the pane value manually, can we do this from code?
Thanks a lot
TimHello,
You do not have to set any panelevel for your folder, if you would like to display it all the panelevels. (Let's see an example on Item Master data form).
Sales, Purchase, Inventory etc tabs (folders) are always visible, there is no panelevel set for them.
To change between panelevels, you can trigger et item pressed event, and before_action = false, then you may change the panelevel of the form poperly.
For initially you may use the Folder.Select() command to show the default panelevel
>The problem is here, it looks like oFrom.Panelevel property can only accept integer value, so how can I know what's the pane level number for my folder?
Do not set panelevel for your folders, you should drive your form's panelevel based on a selection tree:
To see clear, please check the following code in the help sample: CompexForm
C:Program FilesSAPMásolat - SAP Business One SDKSamplesCOM UIVB.NET07.ComplexForm2003
to make it clear:
'// Adding Folder items
For i = 1 To 2
oItem = oForm.Items.Add("Folder" & i, SAPbouiCOM.BoFormItemTypes.it_FOLDER)
oItem.Left = (i - 1) * 100
oItem.Width = 100
oItem.Top = 6
oItem.Height = 19
oFolder = oItem.Specific
'// set the caption
oFolder.Caption = "Folder" & i
oFolder.DataBind.SetBound(True, "", "FolderDS")
If i = 1 Then
oFolder.Select()
Else
oFolder.GroupWith(("Folder" & i - 1))
End If
Next i
This code add 2 folders to the form: and the first (i = 1) is selected.
IN itemevent, the panelevel property of the form is depending from the item you have clicked:
Case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED
'// Check if the event was raised by one of the Folder items
'// and change the form's pane level
If pVal.ItemUID = "Folder1" Then
oForm.PaneLevel = 1
End If
If pVal.ItemUID = "Folder2" Then
oForm.PaneLevel = 2
End If
Regards
János -
Selection of Filter Values for Query Execution -Only Values in InfoProvider
I created a query based on an ODS. For the query charateristic 0NFCAT_CODE a variable was created by me. To the time of query execution F4 shows all values available in the charateristic, but only values available in the ODS are expected.
The characteristic 0NFCAT_CODE is a reference characteristic to 0CAT_CODE. 0NFCAT_CODE is compounded with 0NFCAT_TYPE (reference to 0CAT_TYPE) and 0NFCAT_GRP (reference to 0CAT_GRP). All characteristics 0CAT_CODE, 0CAT_TYPE and 0CAT_GRP are set to Query Def. Filter Value Selection = Only Values in InfoProv and Query Execution Filter Val. Selectn = Only Values in InfoProvider.
Could anybody give me a help? Thanks in advance.Hi,
that is master data of 0NFCAT_CODE.
Regards,
San! -
Set a value for a variable of type exit
Hello,
I am filling some variables with multiple values in user exit.
Now, i would like to place some of these characteritics in Header area. It's of course impossible because there is multiple values but ...
I will put dropdown box in the web application for these chars. The problem is that by default, any value is assigned to the dropdwom ( any variable value is set).
Do you know how i can set a value for theses variable after filling all values by the user exit. SO that only one value is selected for the header and all others values available in the dropdown ?
Regards,
JarodHi,
Off late, this seems to be a usual requirement.
Just create a Z program to call the FM API_SEMBPS_VARIABLE_SET and then call the FM API_SEMBPS_POST.
you should be preparing the content/set value to pass to the FMs. check the whereused list to see how this FMs can be used/called.
finally, run this program for your variable, after the loading/filling the exit variable. Please note that to set 'exit' variables, the sourcing variable's content need to be read/set first before setting the exit varible.
HTH,
Regards,
Nataraj. -
Only values in InfoProvider not working for ODS
Hi,
I'm on BEx 3.5 and I'm trying to use a variable in a query on an ODS. The InfoObject is set to "Only Values in InfoProvider" in RSD1 in the Query Execution Filter Val Selectn entry. The same setting has also been done in the ODS InfoObject specific properties for that InfoObject.
In spite of this, whenever I run the query and press F4, it shows all the values in the master data table of the InfoObject.
I've run it in BEx, and also in RSRT after deleting the cache. Nothing works.
Any ideas how I could proceed to fix this.
Regards,
SuhasHi,
Thanks for the note, it does explain this behaviour.
But that in turn begs the question of what is the point of allowing the option of ODS-specific properties of InfoObjects if an ODS can fetch F4 help only from the master data table!
Regards,
Suhas -
Set default value for people picker only when user checks a checkbox (Sharepoint 2010)
The javescript in below link works for me.
http://social.technet.microsoft.com/Forums/sharepoint/en-US/2b130f64-3db2-484a-9a53-ccbe18d2c5de/set-default-value-for-people-picker-in-list-template-current-user?forum=sharepointgenerallegacy
However, I'd like to set default user for people picker only when user checks a checkbox.
I am new to development. Could you please help me on this requirement ?
Thank you very much.Hello,
Use this link to to validate checkbox value, if true then set the person or group value (i.e. as posted in your link).
http://geekswithblogs.net/haniamr/archive/2011/03/10/validate-that-a-checkbox-is-checked-using-javascript.aspx
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
How can I set default values for Allocate Mode in AO config?
Hi, How can I set default values for allocate mode in AO config. To be specific, in the attached vi, I need to set the Allocate Mode in AO Config to 'Use FIFO Memory (6)' if the value inside my case structure is false and to 'no change (0)' if the value inside the case strusture is true.
Solved!
Go to Solution.
Attachments:
generateWaveformFIFO.vi 15 KBCreate two constants for the Allocate Mode input (right click > create > constant). Place one in the true case of the case structure, and place the other one in the false case. Wire them to the same tunnel (border of the case structure), then wire the tunnel to the Allocate Mode terminal of the AO Config. I don't have Traditional DAQ installed, but that should do it.
Misha -
Extending flash: how do I set default values for filenames
Hi,
I am trying to set default values for filenames
<choosefile> and <popupslider>s that will show up when
my XMLpanel first loads in my jsfl extension file. It seems that I
can only set default values for textbox items.
How do I do this for filenames and popups?
As a workaround, I also tried using a flash object dialog box
to look like a <choosefile>, or any jsfl command, but then
how do I return those values back to the XMLpanel that calls them.
and pass the data back to my jsfl script.
lemme know if you know a way,Create two constants for the Allocate Mode input (right click > create > constant). Place one in the true case of the case structure, and place the other one in the false case. Wire them to the same tunnel (border of the case structure), then wire the tunnel to the Allocate Mode terminal of the AO Config. I don't have Traditional DAQ installed, but that should do it.
Misha -
Programatically setting column values for table
hi...
I am programatically setting column values for table.
But these values are not getting reflected on table after commit.
I mean to say,new values are not persisted after commit.
The code is as follows,It is in Application Module class
public void createRecord()
OAViewObject vo = (OAViewObject)this.getOpptyLoeVO1();
if (!vo.isPreparedForExecution())
vo.executeQuery();
Row row = vo.createRow();
row.setAttribute("Id",new Number(850));
row.setAttribute("Model","Honda");
row.setAttribute("Role","Team Lead");
row.setAttribute("Hours",new Number(35));
vo.insertRow(row);
row.setNewRowState(Row.STATUS_INITIALIZED);
getTransaction().commit();
Here "Id,Model,Role,Hours" are columns in table .Hi,
is your VO based on an Entity Object?
If not, you can't update values in the DB using only a View Object!
If yes, you should control that, in your VO, you have not selected the flag "Read Only" for the EO you want to update.
Hope this helps you.
Bye
Raffy -
How to set default values for boolean columns
I'm trying to deploy some content types and columns into a site with a feature. All it's ok, except that I'm trying to set a default value for boolean columns with no success.
I've tried to set default value at column level:
<Field ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DisplayName="Se publican noticias en español"
Type="Boolean" Hidden="FALSE" Group="Columnas ShaCon" >
<Default>TRUE</Default>
</Field>
and at content type level:
<FieldRef ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DefaultValue="TRUE" Required="TRUE" />
But in any case, when i create a new item with this content type, default value is applied.
Can anyone tell how to set default values for boolean columns?
Thanks in advance,
Regards,
SergioIn the field definition you can set
<Default>1</Default>
or
<Default>0</Default>
How to set the default value Null? -
Setting default values for field on screen.
Hello,
I am trying to set default value for one of the fields I have on screen when I execute the custom transaction.
I am doing that in PBO as follows. But the default value is not set for Date field.
PROCESS BEFORE OUTPUT.
MODULE PBO_OUT.
MODULE STATUS_5000.
*& Module STATUS_5000 OUTPUT
text
MODULE STATUS_5000 OUTPUT.
SET PF-STATUS 'NON_SAP_DOCUMENT'.
SET TITLEBAR '001'.
ENDMODULE. " STATUS_5000 OUTPUT
*& Module PBO_OUT OUTPUT
text
MODULE PBO_OUT OUTPUT.
ERDAT = SY-DATUM.
ENDMODULE. " PBO_OUT OUTPUT
Please help.
Thanks.
Regards,
Rajesh.Works Now...
-
Set default Value for a key figure
Hi Experts,
I need to enter a set o value for some char in a layout but for this set is not relevance a keyfigure. I know that there needs to be a keyfigure in the layout for the data to be saved to the transactional cube.
So is there a way to write a default value to the keyfigure without the user having to enter the keyfigure in the layout?
Any help will be rewarded.
Many thanks,
FabioI gave an example of = 0.
In youe case, if the default value is other than zero,
then:
= value.
Ravi Thotahdri
Pl let me know what fox code do you have. -
Set Default values for Value mapping
Hi All,
I have some specific value set for which I have used a Value mapping into Message Mapping .
My problem is I want to set a default value for the target value and I dont know how to set it in Value mapping ..
And also if you can suggest me how to set target value for Null source value ...
Thanks in Advance..hi
Take a constant for sender side and give the value for that constant.After that take a value mapping function fron Conversions of Mapping Functions.
And give the values of Value Mapping Context as :http://sap.com/xi/XI
After that define Agency and Schema for sender and Refceiver with values what ever u have manually. -
I have function in package on database which is param is String and return value is also String(VARCHAR2).
That function calculate some field on db and return a result.That is OK
I made VO in my AM.
"SELECT package_name.func_name("string") from dual" and that is OK also.
When I start that module I recive valid result from database based on string which I passed to function.
And that works fine.
Question :
How can I change value or how can I set new value for the package_name.func_name(variable) in VO
during runtime in my application ? ^^^^^^^^
JDeveloper 9.0.3.988I have function in package on database which is param is String and return value is also String(VARCHAR2).
That function calculate some field on db and return a result.That is OK
I made VO in my AM.
"SELECT package_name.func_name("string") from dual" and that is OK also.
When I start that module I recive valid result from database based on string which I passed to function.
And that works fine.
Question :
How can I change value or how can I set new value for the package_name.func_name(variable) in VO
during runtime in my application ? ^^^^^^^^
JDeveloper 9.0.3.988 1. When using stored procedures it would be better to use it in following way:
Connection conn = //get it some how
CallableStatement cs = conn.prepareCall("{call myPackage.do_something(?)}");
cs.registerOutParameter(1, java.sql.Types.VARCHAR);
cs.execute();
2. You could parameterize it like this:
CallableStatement cs = conn.prepareCall("{call " + packageName "." + funcName + "(?)}");
cs.registerOutParameter(1, java.sql.Types.VARCHAR);
cs.setString(1,"someString");
cs.execute();
String result = cs.getString(1);
where packageName and funcName are defined elsewhere
--hery
Maybe you are looking for
-
Upgration from 6.5 to XI 3.1 doesn't show up data in report
Hi Expert, I have a report which was in BO 6.5 version and this is upgraded to XI 3.1. When i refresh the report after upgration, the report going into structure mode instead result mode. When i try to convert that into result mode, the system is ha
-
Please help?
-
Anyone know how to make this character?
I have had no luck finding it in the glyphs. Thanks Ian
-
TypeError: document.getElementById("cf_debug") has no properties
Anyone have any idea what this might mean? TypeError: document.getElementById("cf_debug") has no properties I was running attempting to use the Spry.Effect.AppearFade and that popped up. Thanks.
-
I am doing Cloning Oracle Applications Release 12 with Rapid Clone [ID 406982.1] i can see in Section 2: Cloning Tasks , that i will copy the source system to the target system my questions are 1- i will clone to new box , do i need to use SCP , i th