Use Selection of Structure Members in RSRT
Hi Gurus,
I am unable to tick "Use Selection of Structure Members” in transaction RSRT for a query. This query has 2 structures for the cell definition used in the query.
This selection is totally not visible in the RSRT - query - properties.
This I need to get the structure elements/cell definition RKFs made available in teh web intelligence.
Rgds,
Vandana.
Check once : oss Note 989445
" The 'Use Selection of Structure Elements' property (RSRT -> Properties) does not work if the axis is displayed as a hierarchy and a structure element is expanded "
Thanks.
Similar Messages
-
The "Use Selection of Structure Elements" Option in RSRT Query Properties
Hi, does anyone know the side effect of enabling this option for all BEx Queries? The help states the following: "The Use Selection of Structure Elements option can be selected for any query; however, it is only useful in some cases. In queries, selections are frequently based on one or more characteristics in the columns, or more precisely, in the structure elements. One or more of these structure elements are often filtered in the BEx Analyzer or in BEx Web applications. If you do not select the Use Selection of Structure Elements option, these dynamic (structure element) selections are not transferred to the database. Normally, the data for the entire structure or for both structures is then read from the database." It sounds to me that there is no harm in checking this flag all the time, but what is confusing is the default state of this option; i.e. unchecked.
I would appreciate if someone can clarify the downside of checking this flag.
Thanks,
Mohamed JudiHello Michael,
Checking this simple property helps improve performance in situations where there are many Restricted Key Figures and other calculations in the Query Definition
If analysis of the query performance indicates very high EVENTID 3200 times, and/or the FEMS number is very high try enabling this property and check performance.
Checking this ensures the structure elements are sent to the database for processing.
Check the below link: Page 14
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/006b1374-8f91-2d10-fe9c-f9fa12e2f595?QuickLink=index&overridelayout=true&48747879633011
Thanks,
Vinay -
I am running on OSX 10.10.1 and have a 2009 imac intel and I am having severe latency issues. I am not familiar with macs as this is my home computer used by other family members. Any help on how to troubleshoot why such latency issues?
When you see a beachball cursor or the slowness is especially bad, note the exact time: hour, minute, second.
These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
Launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad and start typing the name.
The title of the Console window should be All Messages. If it isn't, select
SYSTEM LOG QUERIES ▹ All Messages
from the log list on the left. If you don't see that list, select
View ▹ Show Log List
from the menu bar at the top of the screen.
Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
Please don't indiscriminately dump thousands of lines from the log into this discussion.
Please don't post screenshots of log messages—post the text.
Some private information, such as your name, may appear in the log. Anonymize before posting. -
How to use select-options in the function module of import parameter ?
Hi ...
I have created a BAPI and tested in SWO1 tcode , by giving the single value for an company code ( BUKRS ) , it executed properly .
Same thing is working after implementing in a program .
so now it is working for fetching a single company code details .
My requirement is : I want to use select-options in program as well as in function module IN IMPORT PARAMETER.
Program :
REPORT ZTEST.
TABLES : T001 , ZBAPI_STR .
TYPES : BEGIN OF TY_ITEM .
INCLUDE STRUCTURE ZBAPI_STR .
TYPES : END OF TY_ITEM .
DATA :WA_ITEM TYPE TY_ITEM ,
ITEM LIKE STANDARD TABLE OF WA_ITEM INITIAL SIZE 0 .
PARAMETER : BUKRS TYPE ZBAPI_STR-BUKRS.
call function 'ZBAPI_FMT001'
exporting
bukrs = BUKRS
IMPORTING
RETURN =
tables
itemtab = ITEM
IF ITEM IS NOT INITIAL .
LOOP AT ITEM INTO WA_ITEM .
WRITE : / WA_ITEM-BUKRS , WA_ITEM-BUTXT , WA_ITEM-ORT01 , WA_ITEM-LAND1 .
ENDLOOP.
ENDIF.
FUNCTION MODULE :
FUNCTION ZBAPI_FMT001.
""Local Interface:
*" IMPORTING
*" VALUE(BUKRS) TYPE EFG_TAB_RANGES
*" EXPORTING
*" VALUE(RETURN) TYPE BAPIRET2
*" TABLES
*" ITEMTAB STRUCTURE ZBAPI_STR
SELECT BUKRS BUTXT ORT01 LAND1 FROM T001 INTO TABLE ITEMTAB WHERE BUKRS = BUKRS .
ENDFUNCTION.
Regards
Deepa.I have given a similiar example which i did
Declare a
Table type:Z_TT_PONUM
Short text : Select options PO Number
in SE11 tcode with row type eg: Z_ST_PONUM
create a structure (this will be the row type)
Structure Z_ST_PONUM
Short text Select Options Field PO number
Compenent Compent type
SIGN BAPISIGN Inclusion/exclusion criterion SIGN for range tables
OPTION BAPIOPTION Selection operator OPTION for range tables
LOW EBELN Purchasing Document Number
HIGH EBELN Purchasing Document Number
In the function module import
give as
I_PO_NUM TYPE Z_TT_PONUM opt pass value Select options PO Number
Hope this is exactly what you want to know.
So you create a structure simliar to mine but the low an high whould be your component
then a table type and then include that in the BAPI.
Then pass your select-option value to this BAPI when you call this BAPI in the program -
To bold the descriptions for the structure members in the BEX Query
HI Experts,
Could any one please advise on how to BOLD the descriptions of the structure members in the BEX query.
Thanks in advance,
JeswanthAre you looking at making the same BOLD in the web display ..?
To do this :
Execute your query - go to display source for the page and you will see the structure members identified with a particular CSS class.
Open the CSS file from the MIME repository and then identify the class that is used for the structure elements and then change th CSS to make it bold and then upload the changed CSS into MIME .
Refresh the HTTP global cache from SMICM and then run your report again - you should be able to see the structure elements in BOLD. -
Check syntax of select option structure
I've got a custom transparent table which contains a select option:
field = SIGN (data element = ddsign)
field = OPTION (data element = ddoption)
field = ROLE_FROM (data element = agr_name)
field = ROLE_TO (data element = agr_name)
This custom transparent table is populated via a custom dialog program where the user enters all four of these data fields. Does SAP provide some type of function module which can check the syntax of a select option structure before the table is updated? For example, it would flag the following as OK:
SIGN = I
OPTION = CP
ROLE_FROM = 001*
ROLE_TO = <blank>
But it would flag the following as not OK (either OPTION needs to be CP or ROLE_FROM doesn't need to have a wildcard):
SIGN = I
OPTION = EQ
ROLE_FROM = 001*
ROLE_TO = <blank>
Thanks,
BradBrad
I don't know abuot available function modues.
Another option is to use a SAP function to create the dialog screen to get the values:
Function FREE_SELECTIONS_DIALOG returns a RANGE table.
Using the fields_tab table you csn define which fields are shown.
FORM get_selection_condition .
DATA:
w_selid TYPE rsdynsel-selid,
lt_tables TYPE TABLE OF rsdstabs,
ls_tables TYPE rsdstabs,
lt_fields TYPE TABLE OF rsdsfields,
lt_where TYPE rsds_twhere,
ls_where TYPE rsds_where.
ls_tables-prim_tab = p_tab.
APPEND ls_tables TO lt_tables.
CALL FUNCTION 'FREE_SELECTIONS_INIT'
* EXPORTING
* expressions = lt_expr
IMPORTING
selection_id = w_selid
* expressions = lt_expr
TABLES
tables_tab = lt_tables
EXCEPTIONS
OTHERS = 20.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
EXIT.
ENDIF.
* Display free selection diaerrorlog
CALL FUNCTION 'FREE_SELECTIONS_DIALOG'
EXPORTING
selection_id = w_selid
title = 'Selection'
status = 1
as_window = 'X'
tree_visible = 'X'
IMPORTING
* expressions = lt_expr
* field_ranges = lt_ranges
* number_of_active_fields = w_active
where_clauses = lt_where
TABLES
fields_tab = lt_fields
EXCEPTIONS
OTHERS = 1.
IF sy-subrc IS NOT INITIAL.
* p_cancel = c_true.
EXIT.
ENDIF.
* Get the where conditions for the master data table.
READ TABLE lt_where INTO ls_where
WITH KEY tablename = p_tab.
APPEND LINES OF ls_where-where_tab TO selopt_tab.
ENDFORM. " get_selection_condition -
ABAP WD application using Select Options & Adobe form :Don't see form data
Hi,
I am trying to get multiple PDF forms by passing multiple order numbers.I was able to get one PDF form successfully and now I am enhancing this application.
For doing this I have created nested WD Context .
1) Created a Node for Selections. ND_SELECT ,
Cardinality: 1..n ,
Selection: 1..n ,
Intialization lead Selection : Checked ,
Singleton : Checked
2) Created a Node for Output Structures ADOBE_DATA
Properties same as above
3) As we need Nesting Under ADOBE_DATA node I have created a subnode for Header: HEADER
Properties same as above
4) Under HEADER node I have created a items Node : ITEM
Properties same as above
As I have used Select-options and I am getting both header and Item data in to button search method .
DATA lo_nd_adobe_data TYPE REF TO if_wd_context_node.
DATA lo_nd_header TYPE REF TO if_wd_context_node.
DATA lo_el_header TYPE REF TO if_wd_context_element.
DATA ls_header TYPE wd_this->element_header.
* navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
* navigate from <ADOBE_DATA> to <HEADER> via lead selection
lo_nd_header = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_header ).
lo_nd_header->bind_table( new_items = it_header set_initial_elements = abap_true ).
DATA lo_nd_item TYPE REF TO if_wd_context_node.
DATA lo_el_item TYPE REF TO if_wd_context_element.
DATA ls_item TYPE wd_this->element_item.
* navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
* navigate from <ADOBE_DATA> to <HEADER> via lead selection
lo_nd_header = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_header ).
* navigate from <HEADER> to <ITEM> via lead selection
lo_nd_item = lo_nd_header->get_child_node( name = wd_this->wdctx_item ).
lo_nd_item->bind_table( new_items = it_item set_initial_elements = abap_true ).
Could you please tell me where I am doing wrong?
In adobe form
Created one MainForm and its properties are
Binding : $record.HEADER.DATA[*]
Repeat subform for each data item Checked , Min Count: 1
Subform Content : Flowed ,Western Text , Allow page breaks withing Content Checked
Accessibility /Subform Role: None
Inside this Mainform I have created a small table ITEMTABLE with 3 fields and mapped it item data.
Itemtable properties
Binding : ITEM
Uncheck Repeat table for Each Data item.
I have Itemtablerow inside Itemtable and its properties are:
Binding : DATA[*]
Repeat row for each data item Checked ,Min count: 1
Accesibility:/Subform Role: Body row
Row: body row, Check Allow page breaks within content
Still donu2019t see data on form.here is what i have in Hierarchy tab.
ADOBE_DATA (no Caption)
- (Master pages)(no caption)
Page1
Untitled Content Area(no caption)
- Mainform(no Caption)
PSPID {PSPID}
-ItemTable (No caption)
- ItemtableRow (no Caption)
PSPID(no Caption)
CJTDAT(no Caption)
CPERCO(no Caption)
What could be going wrong ?
Rgds
VaraHi John,
In the WD4A view, there is a button "Show/Hide Layout Preview".
Click on that button to be able to see the Layout.
Note that this button is next to the Pretty Print button.
regards,
Reema. -
BRAIN416 InfoObject 1KYFNM is used in both structures of the query
Hi Expert,
I have some problem with MDXTEST on BW 3.5 which i select multiprovider to generate MDX Staement but it goes to ABAP Debugger "CX_RSR_PROG_ERROR" and message BRAIN 416 information said "InfoObject 1KYFNM is used in both structures of the query".
Anyone please explain me what should i do????
Thank you for your help
=SJ=Dear RajNi,
In This Multiprovider A, i use only 1 infoset which only 1 ODS B.
I'm so confuse because i create new ODS like ODS B and do step like Multiprovider A.
Please help me if you have ever seen like that.
Many thanks
=SJ= -
Using multiple events structure inside state machine to control the Tab
Hi y'all,
Anne here.I have a Tab indicator in my front panel and I want to be able to control the flow of my program based on what controls I clicked inside the tab. I am using a state machine architecture and inside every state, I use an event structure to check for user interaction to determine the next state and what tab page is going to be displayed next. This means that I am actually using multiple event structures in my application and I use them in just one while loop, but just that they are not running in parallel since I am only using "one event structure per state" which means that only one event structure is running at one time. My questions is, programming technique wise, am I doing it correctly? So far, I am not facing any problem (I am still in the early stage of the project) but I want to check with you all first on your opinion regarding this architecture. Will there be any issue on using multiple event structures in a vi? Since I will be using a tab, and the controls available in the tab will be the controls that will control my event structure for that state, by right, there should be no issue. Am I correct to assume this? Is there any limit on the use of event structures? I have attached here a simple sample of the architecture that I am talking about for your reference. I have attached a 2010 version and a 8.6 version. Let me know what you think or any opinions that you may have.
Hoping to hear from you soon! Thanks so much in advance!
Cheers!
Anne
Attachments:
State Machine-Event Structure Sample_2010.vi 19 KB
State Machine-Event Structure Sample_8.5.vi 25 KBHi jak888,
I decided to use tabs cause I don't want to have subvi pop ups every time i need to perform the process in the state and show an update in the front panel. This is actually going to be more of an ATE where you will have to choose first whether the one using is the operator or the engineer. If the operator is logged in, she will proceed to choose what test to run (this state will have its own event structure). This part, I don't want a pop up, so what happens is that from Login page, if the user logs in as operator, the tab will automatically switch to the Test Selection page. After selecting the test, it will proceed to Start Test state and the tab will show the Result Summary page. If the user logs in as engineer, then a totally different tab will be automatically shown next and so on. By doing this, I will be able to show an update on the front panel objects without having the subvis pop up. I will also just need to use the call reference functions to call my subvis, making my Main VI more generic. The tab Page header will be hidden so the operator will actually not see that there is a tab and that there are a lot of controls and indicators cause they are hidden in the tabs and that page will only be shown based on what they selected from the main tab.
I appreciate your thoughts! thanks so much! -
How can I determine whether to use an event structure or a case structure?
I'm starting a large project and need a state machine. I can't decide on whether to use a case structure or event structure. Is there an article or other information that describes criteria for selecting between the two approaches?
Thank you,
Chuck
Solved!
Go to Solution.Hi Chuck,
Well case structures and event structures differ quite alot. Here's a link for indepth information on Event Structures, and using them in state machines: http://zone.ni.com/devzone/cda/tut/p/id/2962. Hopefuly this will help you make up your mind.
Let me know if you have any questions after reading it.
Regards,
Dominic Walker
Cardiff University
Electrical and Electronic Engineering Student -
Hi ,
I wanna clarify whether using nested event structures in a vi is good Labview programming ?
I have a vi which has two event structures nested,assuming it has two buttons GO1 and GO2.
The outer event structure handles event triggered by GO1 and inner event structure handles Go2.
The outer structure does fine by handling the button click on GO1,the problem is inability of inner
event structure to handle click on GO2 button.
I'm also attaching a sample.vi for reference.It would be great if you could help me
solve this issue.Thanks in advance.
Regards,
Nalin
Attachments:
sample.vi 30 KBYou can actually make this work, but like the others, I don't recommend it.
To make your VI work. Right click on the "GO1" structure and select "Edit Events.....". At the bottom of the dialog, there is a checkbox that reads "Lock Front Panel until the event case for this event completes". With this checked, all front panel objects are locked until the GO1 event completes. This is what is causing the GO2 button not to work. Uncheck this and your application will work as you want it to.
If your intent is to have GO2 disabled until you click GO1, try the attached VI. It uses property nodes to disable the GO2 button until you click the GO1.
Another thing that you have setup that doesn't look necessary is the Timeout event, especially set to 1ms. The basic idea of the Event Structure is to not have to constantly poll for front panel events. If you just deleted the timeout event cases and removed the 1ms constant, your application would just well, but would just sit and wait for you to click a button.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Attachments:
sample.vi 27 KB -
How can I setup a mail-specific passcode/restriction on iPad used by multiple family members?
Have an Exchange mail account setup and accessible in my mail on iPad... however my kids use it and i would like to restrict them from accessing this specific portion of the device. I tried viewing restriction options and do not see that i can apply a restriction specifically to Mail. Thanks for your help.Not a feature of iOS. Check the AppStore to see if there are other
mail apps that allow passcode protection.
Or use Safari to log onto your email via a web-based interface and
enter your credentials each time. A bit slower, but the kids will
not know the details to login. -
How to get all values from an interval using select statement
Hi,
Is it possible to write a select statement that returns all values from an interval? Interval boundaries are variable.
something like this:
select (for x in 1,1024 loop x end loop) from dual
(this, of course, doesn't work)
The result in this example should be 1024 rows of numbers from 1 to 1024. These numbers are parameters, so it is not possible to create a table with predefined values.
Thanks in advance for your help,
Mia.For your simple case, with a lower boundary of 1, you can use:
SELECT rownum
FROM all_objects
WHERE rownum <= 1024For a set of number between say 50 - 100, you can use something like:
SELECT rownum + (50 - 1)
FROM all_objects
WHERE rownum <= (100 - 50 + 1)Note, that all_objects was used only because it generally has a lot of rows. Any table with at least the number of rows in your range will work.
TTFN
John -
Error while accessing a library using content and structure
I have a library having document and folder inside it. When I open the library using content and structure I get an error with a correlation ID. When checked the the logs with Correlation ID got an error message "View 'All Document' does not exist."
'All Document' is name of default view on the library.
When I open the library from view all site content the library is being opened.
Please help!!!Hello Victoria,
Thanks for the response.
I have tried troubleshooting steps given by you.
Check if the issue occurs with other users. Use another user to access the library in Content and Structure and then compare the results. --
I tried with different users but no luck
Make sure that the user account with issue has permission to view the All Documents view of the library. --
Yes, user Account have the permission
Check if the issue occurs with other libraries in the Content and Structure. If not, I recommend to save the library as
a template including contents and then create a new library based on this template. After that use the new library instead of the old library. --
No other library have this problem. I cannot save the library as template including the contents as the it has many folders and files. The current size of library is 786 MB
Clear cache in the browser or use another browser to see if the issue still occurs. --
tries but issue persists.
Best regards,
Ratnesh -
Can we use select options in smartform
can we use select options in smartform if so can any one send me a sample code...
Thanks
bhaskharHi ,
Can u explain why u want to use select options in smartforms . U can try it in program lines .
Its better to use select options in the driver program and fetch data accordingly in the driver program or passing the selected values from select options to the smatfrom and fdetching the data there in smartform .
Regards
Maybe you are looking for
-
Getting Error for Install of Prerequisite Components in 64 bit operating system
we have generated our .exe file by adding prerequisite in setup project and prerequisite (sql server 2005 Express sp2 (x86)) works for windows xp. But we are facing an issue while we install prerequisite (sql server 2005 Express sp2 (x86)) not work
-
Flash9e.ocx reported as a threat... Need help
Hi, I just installed Kaspersky Internet Security 2009 on my VISTA Ultimate 32 bits SP1 laptop. After running an analysis it reported among a total of 3 files the following one as an important threat: c:\windows\System32\Macromed\Flash\Flash9e.ocx Wha
-
Where can I buy a car power plug for the canon HF R500 cam
Cigaret lighter plug would be great so the battery don't run down. Looked and looked.. Can find one..
-
Hi There are 4 settlements required - Monthly, Quarterly, Semi-annual, Annual. Should there be 4 agreement types or is there a way to have all types of above settlement periods in one agreement. Thanks! Suddu At this stage I am visualizing to create
-
Error while starting Visual Admin
Hi, I am stuck again at another problem. before installing SAP XI, i was setting configurations in visual admin. As per the guide, i set the initial and maximum connections in the frame server-services-JDBC connector. After setting the configurations