How to use Hierarchy Filter Selection?
Hi, experts !
Could anyone give me a detail for how to use hierarchy filter selection ?
When i locate a Hier filter selection in the template and execute it, a false info
accured while filtering data,and the IE inferred the hier node object was missing.
Then i add another hier filter in the same template, and the secend runs well, however the first one didn't.
At last, i hide the first one, but the second one can't either.
Help me !!!
Thx in advance!
Thanks Toja !
Sorry to reply so late !
The error is line: 51. error:'document.HIERARCHY_MENU_1.NODEID' is null or is not the object.
The code on line of 51 says:document.HIERARCHY_MENU_1.NODEID.value = i_node;
Could you please give me some documents on the topic of Hierarchy Filter Selection ?
Similar Messages
-
How to Use and Filter Table contents after execution of Bapi
Can anybody guide me how to Use and Filter the table Contents which i got after successful execution of a Bapi
I used Component Controller in my Project
Ex: My table contains Redundant data for a single column but i want to display the column contents with out Redundancy
Name
Raghu
Raghu
Raghu
Debasish
Debasish
I want to filter the table contents and i want to display the table with out Redundancy
and Even when i am using a Dropdown i selected a Column from a Table as the values for that Dropdown but that table is having redundant data and the same data is getting displayed in that Dropdown i want the Dropdown to display data with out redundancy
ThanksI also got that problem recently and after debuging for a while I figured out, that it was resulting from an error in my table's model: When the model received new items to display I
1.) Fired an delete event for the old items
2.) Fired an insert event for the new items
Problem was that when firing the delete event I didn't already assigned the new items to the model. Therefore it had still the old row count.
Maybe you have also a faulty table model?... -
Where to locate and how to use the filter thershould to binarized image
Good morning friends. I am using
Labview with VDM and let me know where to locate and how to use the
filter thershould. Also that parameters used to binarized image captured
via webcam and display it in black and white.
Thank you very
much.Is the image that you are getting a RGB one? Use color plane extraction and then use a binary threshold to convert it into a binary image. You can also directly use a color threshold and convert a rgb (color) image to a binary image.
-
How to use at-line selection in ALV
Can someone help me about how to use at-line selection in an ALV
u can try in user_command
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = G_REPID
IT_FIELDCAT = GT_FIELDCATALOG
I_CALLBACK_PF_STATUS_SET = 'PF_STATUS_SET'
I_CALLBACK_HTML_END_OF_LIST = G_HTML_END_OF_LIST
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
I_GRID_SETTINGS = GS_SETTINGS
IS_LAYOUT = GS_LAYOUT
I_SAVE = G_SAVE
IS_VARIANT = GS_VARIANT
IT_EVENTS = GT_EVENTS[]
* I_SCREEN_START_COLUMN = 0 "Use coordinates for
* I_SCREEN_START_LINE = 0 "display as dialog box
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER = G_EXIT_CAUSED_BY_CALLER
ES_EXIT_CAUSED_BY_USER = GS_EXIT_CAUSED_BY_USER
TABLES
T_OUTTAB = I_REP
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
FORM USER_COMMAND USING R_UCOMM TYPE SY-UCOMM
RS_SELFIELD TYPE SLIS_SELFIELD.
CASE R_UCOMM.
WHEN '&IC1'.
CASE RS_SELFIELD-FIELDNAME.
WHEN 'XXXXX'.
READ TABLE I_xxx INTO V_xxx
WITH KEY XXX = RS_SELFIELD-VALUE.
IF SY-SUBRC = 0.
ENDIF.
WHEN OTHERS
ENDCASE.
ENDCASE.
ENDFORM. -
How to use offset for select-option parameter ?
Hi experts
could anybody please let me know how to use offset for select-option parameter. i can able to use offset for table fields, variabiles and all , but don't know how to use for parameters.
following is my code
SELECT-OPTIONS: s_prctr FOR vbsegs-prctr OBLIGATORY.
here "prctr" length is 10.
i'm using two tables 1. vbsegd-bupla
2. vbsegs-prctr
here prctr+6(4) = bupla.
"Bupla" length is 4
SELECT belnr gjahr bukrs bupla sgtxt buzei FROM vbsegd INTO CORRESPONDING FIELDS OF TABLE it_vbsegd FOR ALL ENTRIES IN it_vbkpf
WHERE belnr = it_vbkpf-belnr
AND gjahr = it_vbkpf-gjahr
AND bukrs = it_vbkpf-bukrs
AND bupla IN s_prctr.
the above statement is not working as prctr and bupla lenths are different. here i want to use offset.
SELECT belnr gjahr bukrs prctr sgtxt buzei FROM vbsegs INTO CORRESPONDING FIELDS OF TABLE it_vbsegs FOR ALL ENTRIES IN it_vbkpf
WHERE belnr = it_vbkpf-belnr
AND gjahr = it_vbkpf-gjahr
AND bukrs = it_vbkpf-bukrs
AND prctr IN s_prctr.
this is working as prctr and s_prctr lengths are equal.
could anybody please help me out in this.
Thanks in advance.
regards
satishBelow code will work for you.
SELECT-OPTIONS: s_prctr FOR vbsegs-prctr OBLIGATORY.
RANGES: s_bupla FOR vbsegd-bupla.
s_bupla[] = s_prctr[].
DELETE ADJACENT DUPLICATES FROM s_bupla.
SELECT belnr gjahr bukrs bupla sgtxt buzei FROM vbsegd INTO CORRESPONDING FIELDS OF TABLE it_vbsegd FOR ALL ENTRIES IN it_vbkpf
WHERE belnr = it_vbkpf-belnr
AND gjahr = it_vbkpf-gjahr
AND bukrs = it_vbkpf-bukrs
AND bupla IN s_bupla. -
Query: how to use structure and selection and what's the difference between
Query: how to use structure and selection and what's the difference between these two?
Would be appreciated if some experts here give examples to demenstrate on how to use structure and selection in query and what's the difference between these two?
Thanks in advance!Hi Kevin,
1. Well by default all the KF that you include in your query go into a Key Figure Structure. You can additionally have another structure for defining how your chars are laid out. A common example is a Calmonth structure where you have selections for 12 months, quarers and YTD values. This would be a char structure with different selections (for each month, qtr etc)
2. Yes, a selection with a KF is the same as restricting a KF. You can use am RKF is you have one on the left hand side, or if you need to do this locally in the query, right click the structure and choose New Selection, then proceed to choose your KF and reqd char values.
Hope this helps... -
Generic navigation block,Hierarchy filter selection and Filter
Hi all,
Could any one explains what is the difference between a filter and Generic navitgation block & a filter and Hierarchy filters.
How the filters in web reports differs the filters in queries.
Regards,
PreethamHi,
Filters:
In your Web application, you can select filter values for characteristics and structures. The Web application is then filtered according to these selected values.
Generic Navigation Block:
The Web item Generic Navigation Block displays the navigational state of a query view in the Web application in the form of a table. All characteristics and structures in the query view are listed in the table and their filter values are displayed. You can change the navigational status of the query view. You can transfer characteristics and structures to an axis (rows or columns) or from an axis. You can filter according to single values and remove the filter again.
Hierarchy Filter:
You can search through leaves and nodes in the hierarchies of your Web application.
Seen this?:
http://help.sap.com/saphelp_nw04/helpdata/en/70/4c7ead79eaf0498afa31528072900d/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/35/a5507170d8c548a25e4e532f3917a3/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/35/a5507170d8c548a25e4e532f3917a3/frameset.htm
assign points if useful ***
Thanks,
Raj -
How to use hierarchy variable.
Hi all ,
In 0Account I have four hierarchies , please tell me how can I use all these 4 hierarchies in a single BEx query.
Presently I am able use only one hierarchy .
With regardsHi,
If u want the user to be able to choose 1 of the 4 hierarchies, in the hierarchy tab of the properties of 0ACCOUNT in BEx Query Designer, click on the white button beside "Select Hierarchy" and then on the white button present against the drilldown for Hierarchy Variables. Create a new variable there & then select it from the drilldown. You should then be able to use the variable & select 1 of the 4 hierarchies. -
How to use one Filter Pane to multiple Dataproviders
Hi Experts.
i have checked the threads on this but i did not get correct solution.
we have issue in using single Filter pane web item in WAD for three different dataproviders ( three dataproviders have same free charecteristics and variable) charecteristics in row and keyfigures are different.
thanks in advance.
Regards
Raj.Hi Gill,
Thanks for your Quick responce.
when we use the single filter pane, filter conditions are working for only first dataprovider (since data binding is to dataprovider 1. in affterted dataproviders i selected dataprovider 2 and 3, but filter pane is not active for other two dataproviders in tabs.
thanks in advance.
Any inputs please....
Regards,
Raj.
Edited by: Rajsapbi on Apr 6, 2009 9:22 AM -
How to use the filter facet on af:column
I have a column in my VO that is defined as a boolean and that shows as a selectBooleanCheckbox in my table. My table has filters on but above the boolean column it shows a regular input field.
I checked the filter facet and i also put a selectBooleanCheckbox in it but i don't know how to set the values so the data will be filtered when the value of the checkbox changes.
<f:facet name="filter">
<af:selectBooleanCheckbox id="cbFilt"/>
</f:facet>For an example that uses a selectOneChoice, easily adaptable to a selectBooleanCheckbox solution, please see:
Re: how create selectOneChoice in filter facet of af:column _ jdeveloper11g.
Regards,
Matthew -
In interactive how to use AT LINE-SELECTION WITH SET PF-STATUS
Hi all,
I am developing an interactive report in which i am using gui status (pf-status ) for AT USER-COMMAND and AT LINE-SELECTION event .But when i used at line-selection event is not working with pf-status even though i use PICK function code .
plz help me to work with both the event i.e.
AT USER-COMMAND.
AT LINE-SELECTION.
Thanks a lot in Advance .
Regards,
Tarakhi,
In PBO of Module Pool, Please Write in this way
MODULE status_9001 OUTPUT.
Set the PF-STATUS
SET PF-STATUS '9001'.
To Set the Title of Screen
SET TITLEBAR 'TITLE'.
ENDMODULE
Setting PF status to the (SAP) system default
set pf-status 'BASIC'.
How to check for pf-status
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'ART'.
PERFORM STYR_ARTSKONTI.
WHEN 'PST'.
PERFORM STYR_POSTER.
WHEN 'BIL'.
PERFORM VIS_BILAG.
ENDCASE.. -
How to Use At line-Selection Functionality in dialog programming or mpp .
hi
i had created customized Transaction ,
in that notification field is there , their when they place notification number ,after that when they double click on that, it have to go to iw23 .(so that they will get confirm that notification number is write )
i have tried to use AT LINE-SELECTION event it showing error ,
where i have to write and which event i have to use ?
may i know how can i resolve this ?
Thanks a lot
Edited by: raghu111 on Dec 3, 2011 6:14 AMhi sharin.
Thanks for ur reply
i followed ur steps
WHEN 'PICK'.
DATA : dc_scrfield TYPE zmotor-qmnum.
GET CURSOR FIELD dc_scrfield.
CHECK NOT dc_scrfield IS INITIAL.
IF dc_scrfield = zmotor-qmnum.
IF NOT zmotor-qmnum IS INITIAL .
set PARAMETER ID 'IQM' FIELD zmotor-qmnum.
call TRANSACTION 'IW23'.
ENDIF. .
ENDIF.
its not working
but i already tried like this .
WHEN 'PICK'.
if field name =tablename-fieldname
set PARAMETER ID 'IQM' FIELD zmotor-qmnum
call transaction 'IW23'
endif
i written in pai event ." i have dought here also whether i have to write here r not
HERE ITS WORKING BUT PROBLEM IS FOR ANOTHER FIELDS ALSO ITS RESPONDING . how to stop the responding .
as per my knowledge in condition only prob but i tried i didnt solve
please send me one example or tell me how to solve
for better understanding only i pasted coding
thanks a lot
Edited by: raghu111 on Dec 5, 2011 12:21 PM -
How to use at cursor selection
hi gurus,
can anyone tell wats the purpose of
'At cursor-selection' and how to use it in pai module?????
regards,
balaji.shi balaji,
The Best explanation with example comes from our help.sap.com....
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbabbd35c111d1829f0000e829fbfe/content.htm
Also this might help...
MODULE mod CURSOR-SELECTION}
CHAIN-REQUEST}
SWITCH switch .
... AT CURSOR-SELECTION
The AT CURSOR-SELECTION addition at the event PAI causes the module mod to be called only if
The function used to trigger event PAI has function code "CS" and function type "S"
The cursor is placed on a single input or output field of the screen at the moment of the user action
The call occurs within the usual PAI processing, meaning that the automatic input checks defined in the system or in the ABAP Dictionary are executed and the MODULE statement is called according to its position in the event block. You can use the addition in connection with the FIELD statement.
If the PAI event is triggered under the above circumstances, the function code is not passed to sy-ucomm and the OK field. They keep their previous values.
Note
The function type and function code of a function are determined in the Screen Painter or in the Menu Painter. We recommend to assign function code "CS" in the Menu Painter to function key F2 in order to simultaneously assign the double-click function of the mouse to it. This allows you to assign dialog modules to the selection of input or output fields.
Link: [Re: MODULE REQUEST;
Thanks,
reward If Helpful. -
How to add a filter/selection into the report title?
Hi experts,
Currently I try to fugure out how to set up a field into the page header (title) of a report in order to dynamically adapt the title to selected filter criteria. I tried to use the Reprot Filter Summary, but since I do have several sheets in my reports the information given through it is not applicable.
What I would like to achieve is that the end user can select e.g. a category X and Y and the title says: "Report title - categories: X,Y" Somthg like this. I'd appreciate any tips.
Best regardsHi guys,
thanks so far. I managed to show prompts in the report. But still my problem is nor 100% solved
I would like t achieve that the filtered criteria in the report title is separated through a comma like in the report filter summary - e.g.: {001, 002, 003, 004} followed by just 1chart/table that is including the whole information.
When I however just drag a variable into the report it automatically created different sections, right? Like ........ table, chart, whatever... .......table chart whatever........
Regards -
How to use AT LINE-SELECTION and AT USER-COMMAND in one report????
Dear all,
I have a problem in reports I want to use AT USER-COMMAND.and AT LINE-SELECTION.both in the one report.
But as soon as I use SET PF-STATUS my AT LINE-SELECTION event stop workingand only AT USER-COMMAND is working.
How can I use both of them in one report for your reference I am giving my test program below.
REPORT ZTEST111 .
SET PF-STATUS '100'.
DO 10 TIMES.
WRITE:/ SY-INDEX.
HIDE SY-INDEX.
ENDDO.
START-OF-SELECTION.
AT LINE-SELECTION.
MESSAGE I002(SY) WITH SY-INDEX.
AT USER-COMMAND.
MESSAGE I002(SY) WITH 'USER COMMAND'.
END-OF-SELECTION.
Thanks in advance
Sachin Gautamhi
Syntax
AT USER-COMMAND.
Effect
This statement defines an event block whose event is triggered by the ABAP runtime environment if, during the display of a screen list, a function with a self-defined function code was chosen.
Note
Self-defined function codes are all those that include character combinations, except for the following:
The function codes PICK and PF## ("##" stands for 01 to 24) do not cause the event AT USER-COMMAND, but the events AT LINE-SELECTION and AT PF##.
All function codes that start with the character "%" are interpreted as system functions and do not cause the event AT USER-COMMAND. The system functions for lists are listed in the following table 1.
The function codes in the following table 2, likewise, do not cause the event AT USER-COMMAND, but are handled by the list processor.
Table 1
Function code Function
%CTX Call a context menu
%EX Exit
%PC Save to file
%PRI Print
%SC Search for ...
%SC+ Find next
%SL Search in office
%ST Save to report tree
Table 2
Function code Function
BACK Back
P- Scroll to previous page
P-- Scroll to first page
P+ Scroll to next page
P++ Scroll to last page
PFILE name Store list lines in a text file named abap.lst in standard character representation in the standard directory of the application server. If a name is entered using name, this is converted to lowercase letters and used as the file name.
PL- Scroll to first line of the page
PL-n Scroll n lines back
PL+ Scroll to last line of the page
PL+n Scroll n lines up
PNOP No effect
PP- Scroll back one page
PP-n Scroll n pages back
PP+ Scroll one page forward
PP+n Scroll n pages forwad
PPn Scroll to beginning of page n
PRI, PRINT Print
PS-- Scroll to first column
PS++ Scroll to last column
PS- Scroll one column to the left
PS-n Scroll n columns to the left
PS+ Scroll one column to the right
PS+n Scroll n columns to the right
PSn Scroll to column n
PZn Scroll to line n
RW Cancel
Maybe you are looking for
-
Query Tuning Assistance - part 5
"FIN_AGING_ARG"."FINANCIAL_SOURCE"='APR') AND "FIN_PAYMENT"."PAYMENT_DATE"<="FIN_AGING_ARG"."AGING_DATE" AND ("FIN_AGING_ARG"."PLC_ID" IS NULL OR "FIN_AGING_ARG"."PLC_ID" IS NOT NULL AND "FIN_PAYMENT"."LOCATION_ID"="FIN_AGING_ARG"."PLC_ID" AND "FIN_P
-
Making more HD space on my mini
Hi guys Can anyone tell me what would be the best make space on my mac. I have 17.99Gb space out of a 74.21GB capacity on my HD. I already have an external 250GIG HD. But I am wanting to make more space on my mac. I have already transferred big files
-
Hi All I would like to maintain more than ten line items in maintain settlement rule screen for distribution. Currently system allows me to enter only ten distribution line items. Pleease let know to increase the way. Thanks in advance.
-
Can Visual Composer talk to/connect to any database?..
Hi , My first question is if Visual Composer can talk to a database directly? I would like to know the all the databases which visual composer can connect to? Does it connect only to SAP Backend systems? Or can it connect to Any Database like SQL ser
-
Please help with "while" "charAt" and "length"
i'm trying to write a program that counts the number of each vowel in an inputed string of characters. i'm using a "while" statement, not a "for" statement, and i'm using a switch statement inside the "while" i'm having trouble getting the while stat