How to select Key figs in Variable Selection of the BEx Report
Hi,
My requirement is User want to execute Report on Selected Key figures. Eg. User want to execute Report where the Revenue = $150. This is an example similarly user want to filter their own values < , >, = ....etc.
User is end user they dont know how to restrict in Query design.
Thanks
Vani
Hi,
Check the following link:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/99de7254236341e10000000a114a6b/content.htm
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/e954daf7e5719ce10000000a1553f6/content.htm
hope it helps...
regars,
Raju
Similar Messages
-
How to use a charctersic as a keyfigure in the BEx report
How to use a charctersic as a keyfigure in the BEx report?
Hi chandra:
Please take a look at the document below.
"How to... Calculate with Attributes"
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/72f4a790-0201-0010-5b89-a42a32223ffc?quicklink=index&overridelayout=true
Regards,
Francisco Milán. -
How to select all the colomns_names from a table, with their datatypes ..
hi :)
i would like to know, how to select in SQL all the columns names from a table with their datatypes so that i get something like this :
Table 1 : table_name
the column ID has the Datatype NUMBER
the column name has the Datatype Varchar2
Table 2 : table_name
the column check has the Datatype NUMBER
the column air has the Datatype Varchar2
and that has to be for all the tables that i own ! ..
P. S : i m trying to do this with java, so it s would be enough if you just tell me how to select all the tables_names with all their colums_names and with all their datatypes ! ..
thank you :)
i ve heard it can be done with USER_TABLES .. but i have no idea how :( ..
Edited by: user8865125 on 17.05.2011 12:22Hi,
The data dictionary view USER_TAB_COLUMNS has one row for every column in every table in your schema. The columns TABLE_NAME, COLUMN_NAME and DATA_TYPE have all the information you need.
Another data dictionary view, USER_TABLES, may be useful, too. It has one row pre table. -
How to select all the people that are not in any equipe ?
Hi,
I have a nice SQL expression that gives me as a result all the "AGENTS" (people) that are working in an EQUIPE (a team)
select a."AGENT_ID",
a."NOM" || ' ' || a."PRENOM" "Nom",
c.libelle "Equipe",
a."DATE_EMBAUCHE" "Date embauche",
a."DATE_DEBAUCHE" "Date débauche"
from OBSERVATOIRE."AGENT" a,
observatoire.equipe_agents b,
observatoire.equipe c
where a.agent_id = b.agent_id
and b.equipe_id = c.equipe_id
order by nom
Now, how to select all the agents that are NOT working in any "EQUIPE" (team) ?
I have tried but could not succeed !
Thank you for your kind help.
ChristianChristian from France wrote:
It is not working because the table EQUIPE_AGENTS does not contains a row if the agent is not into any equipe.
CREATE TABLE "OBSERVATOIRE"."EQUIPE_AGENTS"
( "EQUIPE_AGENTS_ID" NUMBER NOT NULL ENABLE,
"EQUIPE_ID" NUMBER NOT NULL ENABLE,
"AGENT_ID" NUMBER NOT NULL ENABLE)
CREATE TABLE "OBSERVATOIRE"."AGENT"
( "AGENT_ID" NUMBER NOT NULL ENABLE,
"GRADES_ID" NUMBER NOT NULL ENABLE,
"NOM" VARCHAR2(50 BYTE) NOT NULL ENABLE,
"PRENOM" VARCHAR2(50 BYTE),
"DATE_EMBAUCHE" DATE NOT NULL ENABLE,
"DATE_DEBAUCHE" DATE)
The only way to "know" if an agent is not into any equipe (team) is to search into the EQUIPE_AGENTS table, and if we do not find the ID of the agent into this table, then we know that this agent is not into any EQUIPE (team).
I don't know ho to translate this into SQL.And that's what my query does. It uses an OUTER JOIN so that a result record is returned whether or not there is a record in EQUIPE_AGENTS. And the check for EQUIPE_ID is NULL restricts the result set to those where there IS NOT a record in EQUIPE_AGENTS.
A more traditional way would be to use NOT IN or NOT EXISTS clauses, but they can prove inefficient. -
How to select all the text in a JTextArea??
any1 know how to select all the text in a textarea?? just like when we press ctrl+a?? i use JTextAreaName.selectAll();doesnt work
helt..worked OK for me
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
class Myprogram extends JFrame
JTextArea TArea = new JTextArea(10,10);
public Myprogram()
JMenu JMenuName= new JMenu("JMenuName");
JMenuItem JMenuItemName=new JMenuItem("Select all");
JMenuName.add(JMenuItemName);
JMenuItemName.addActionListener(new SelectAllAction());
getContentPane().add(new JScrollPane(TArea));
JMenuBar mb = new JMenuBar();
mb.add(JMenuName);
setJMenuBar(mb);
pack();
setLocationRelativeTo(null);
setVisible(true);
class SelectAllAction implements ActionListener
public void actionPerformed(ActionEvent e)
TArea.requestFocusInWindow();
TArea.selectAll();
public static void main(String[] args){new Myprogram();}
} -
Dynamic selections for the FBL5N report
Hi Experts,
Can any body help how to add the account assignment group field in dynamic selections for the FBL5N report.
rgds / SriniHi Alex,
Thanks for your quick response, here for the report FBL5N the logical database is DDF and the field which should be add in dynamic selection is (KTGRD) account assignment group is available in KNVV table but this table is not available in DDF logival database.
Please suggest us how we can pickup this field into the report FBL5N for dynamic selections.
regards / Srini -
How to insert, as an input variable within formula, the total time window on scope (i.e. 20ms/div x 10 div = 200ms)?
BELOW IS AN EXAMPLE OF ISSUE:
FORMULA FOR ACTION INTEGRAL:
STATISTICS:
Input variable: DPO4034(CH1);
Check Box: number of samples.
FORMULA
Input variable 0: DPO4034(CH1); alias: x0
Input variable 1: "Total Time Window on Scope???"; alias: x1
Input variable 2: Number of Samples (CH1); alias: x2
Under Operation Setup: Formula
Y= (x0^2)*(x1/x2)
Output: Processed Data 1 (CH1)
THEN USING STATISTICS:
Input signal: Processed Data 1 (CH1)
Check Box: SUM
Output: CH1 Action Integral [A^2s]
Solved!
Go to Solution.Hi again Catherine,
I have now added another TekScope (TDS3032B) along with the DPO4034 and run the same work-around on the TDS3032B using CH1 as the "real" signal channel and CH2 as the "burst width" channel. However, the value returned for CH2 is nominally 99E+36 (min 99E+36, max 99E+36) with very few retrievals of correct burst width (~200ms). Seems the SignalExpress program is unable to consistently retrieve from TDS3032B the actual burst width (scope's time scale/window) and defaults to 99E+36 value. Any ideas on what is occurring and how to make it work? Attached are some screen captures to help guide discussion.
Regards,
Michael
Attachments:
TDS3032B - incorrect burst width.png 301 KB
TDS3032B - correct burst width.png 287 KB
DPO4034 - always correct burst width.png 302 KB -
ALV GRID-how to select all the check boxes using push button
Hai All,
I displayed ALV grid & every record contains one check box as first column.
If user clicks on one push button all the check boxes needs to selected.
Could any one tell me how to do this?
Regards,
BhaskarHi Bhaskar,
Try this code :
*" Table declarations...................................................
TABLES :
spfli. " Flight Schedule
*" Data declarations...................................................
Work variables *
DATA :
w_checkbox TYPE c, " Check Box
w_checkbox1 TYPE c, " Check Box
w_lineno LIKE sy-lilli, " Current Line No
w_lines TYPE i. " No. Of Records in Int.Table
Internal table to hold Flight Schedule data *
DATA :
t_spfli LIKE
STANDARD TABLE
OF spfli.
Structure to hold Function Codes *
DATA :
fs_fcode LIKE LINE OF t_fcode.
TOP-OF-PAGE EVENT *
TOP-OF-PAGE.
PERFORM top_of_page.
START-OF-SELECTION EVENT *
START-OF-SELECTION.
PERFORM fetch_spfli_data.
SET PF-STATUS 'YMENU1'.
DESCRIBE TABLE t_spfli LINES w_lines.
fs_fcode = 'EXIT'.
APPEND fs_fcode TO t_fcode.
fs_fcode = 'SELECT'.
APPEND fs_fcode TO t_fcode.
fs_fcode = 'DESELECT'.
APPEND fs_fcode TO t_fcode.
fs_fcode = 'RETRIEVE'.
APPEND fs_fcode TO t_fcode.
AT USER-COMMAND EVENT *
AT USER-COMMAND.
PERFORM user_command.
FORM top_of_page .
WRITE :/50 'Flight Schedule Information'(008).
ULINE.
FORMAT COLOR 1.
WRITE :/10 'Carrier ID'(001),
25 'Connection ID'(002) ,
43 'Airport From'(003),
59 'Airport To'(004),
74 'Departure Time'(007),
93 'Arrival Time'(011),
106 space.
ENDFORM. " FORM TOP_OF_PAGE
FORM fetch_spfli_data .
SELECT carrid " Carrier ID
connid " Connection ID
airpfrom " Airport From
airpto " Airport To
deptime " Departure Time
arrtime " Arrival Time
FROM spfli
INTO CORRESPONDING FIELDS OF
TABLE t_spfli.
IF sy-subrc EQ 0.
PERFORM display_spfli_data.
ENDIF. " IF SY-SUBRC EQ 0
ENDFORM. " FORM FETCH_SPFLI_DATA
FORM display_spfli_data .
SORT t_spfli BY carrid ASCENDING.
LOOP AT t_spfli INTO spfli.
FORMAT COLOR 2.
WRITE :/2 w_checkbox AS CHECKBOX,
spfli-carrid UNDER text-001,
spfli-connid UNDER text-002,
spfli-airpfrom UNDER text-003,
spfli-airpto UNDER text-004,
spfli-deptime UNDER text-007,
spfli-arrtime UNDER text-011.
ENDLOOP. " LOOP AT T_SPFLI...
ENDFORM. " FORM DISPLAY_SPFLI_DATA
FORM user_command .
CASE sy-ucomm.
WHEN 'SELECT'.
w_checkbox1 = 'X'.
DO w_lines TIMES.
w_lineno = sy-index + 3.
READ LINE w_lineno FIELD VALUE w_checkbox.
IF w_checkbox = '*'.
CONTINUE.
ELSE.
MODIFY LINE w_lineno FIELD VALUE w_checkbox FROM w_checkbox1.
ENDIF. " IF W_CHECKBOX = '*'
ENDDO. " DO W_LINES TIMES.
WHEN 'DESELECT'.
w_checkbox1 = ' '.
DO w_lines TIMES.
w_lineno = sy-index + 3.
READ LINE w_lineno.
IF w_checkbox = '*'.
CONTINUE.
ELSE.
MODIFY LINE w_lineno FIELD VALUE w_checkbox FROM w_checkbox1.
ENDIF. " IF W_CHECKBOX = '*'
ENDDO. " DO W_LINES TIMES.
WHEN 'RETRIEVE'.
w_checkbox = ' '.
DO w_lines TIMES.
w_lineno = sy-index + 3.
READ LINE w_lineno FIELD VALUE w_checkbox INTO w_checkbox.
IF w_checkbox = 'X'.
PERFORM fetch_sflight_data.
PERFORM display_sflight_data.
ENDIF. " IF W_CHECKBOX = 'X'
ENDDO. " DO W_LINES TIMES.
ENDCASE. " CASE SY-UCOMM
ENDFORM. " FORM USER_COMMAND
This report gives you the SPFLI Data and places a check box in front of each record. When u click on select all button it will select all the records. And if you click on deselect all it will deselect all the records. When you are trying this maintain the pf-status 'YMENU1' and give the function codes as in the code.
Regards,
Swapna. -
or maybe I have just forgotten how to do it. In Windows, when a message pops up asking me what I want to do (like save or whatever), I can just hit one of the left/right arrow keys to switch between the options in that message window. In OS X, I have tried everything, but the flashing blue choice won't move to a different button. For example, I am re-ripping all my music into iTunes in 320k MP3 format, so I am going through the Music list & deleting each album before I re-import it. The message that pops up gives me the options to Keep Files, Move To Trash, or Cancel. I don't want to have to use the mouse all the time, so I would like to select Move To Trash with the keyboard. How is this done?? Any input will be greatly appreciated. Thanks in advance.
The message that pops up gives me the options to Keep Files, Move To Trash, or Cancel. I don't want to have to use the mouse all the time, so I would like to select Move To Trash with the keyboard. How is this done??
Provided you have the "All controls" radio button selected under System Preferences > Keyboard & Mouse > Full Keyboard Access, you can use your Tab key to navigate among the button choices in the iTunes dialog.
Only the "Keep File" default button should remain solid blue. Look for the appearance of a bluish ring around the other buttons when you tab to them, letting you know they're active. Once you have the desired button highlighted, press the Return key to complete the action.
Good luck... -
How to select multiple lines in reports
Hi,
how to select multiple lines in a reports and process those selected lines to other activities like BDC.
Please paste sample report here. or any demo examples . (don't paste ALV report , paste only classical report)
suppose there are 10 records in output, i want to select 3 records and process other activities like bdc.
Point will awarded.Hi ,
the o/p in ur case will be a basic list output with a check box enabled in the left .
Now say there are 10 records in the list output and i have checked 3 of them where checkboxes are enabled .
And i press a button to submit this to the BDC .
Here u need to make use of
READ LINE statement to read the records from the list output and then pass them to the BDC .
The code would be something like this
DO .
Read line index <field> where checkbox <> ' '.
ENDO.
You can have a look at the F1 help on read line . This will mkae u clear .
Hope this gives u an idea.
Regards,
Vijay. -
How to select all the rows of table control in BDC
Hi All,
While I am doing BDC for Transaction Code MC88, After the first screen I will get another screen with tabble control, Here I need to select all the rows of table control, I am assignng the 'X' to the first field of Table Control which is the indicator for selection.
Here I am getting message called Indicator field is not in program and screen.
While doing Recording I am not able to record the indicator, Please any one let me know how to record the Entire table control selection.
Thanks in advance..Sorry about that lakshmi. Here is my code.
PERFORM dynpro USING : 'X' 'SAPMMCP6' '0105',
' ' 'RMCP2-MATNR' t_matnr,
' ' 'RMCP2-WERKS' t_werks,
' ' 'BDC_OKCODE' '=AKTV'.
PERFORM dynpro USING : 'X' 'SAPLMCPA' '0707',
' ' 'BDC_OKCODE' '=MRKE'.
PERFORM dynpro USING : 'X' 'SAPLMCPA' '0707',
' ' 'BDC_OKCODE' '=GRAO -
How to select even the column names of a table?
Hello All,
Is there a way to select even the column names of a table in the select statement?
My select from a table (say X) is in a SQL* Plus script that gets invoked by application tier and displays data in the application tier window. User's can then copy the data into a spreadsheet and do their processing. However, I need to give them the column names too along with the data.
Thanks,
ChiruIf there is a middle tier that is selecting and
displaying the data, and that's what the users are
copying from, the middle tier would have to address
its presentation of the data to allow users to
include column names. If this is a common task, the
application should probably be modified to give users
the option of downloading the data in a spreadsheet
directly rather than forcing them to copy and paste
data.Thanks for the reply.
The users don't have to copy paste. The application tier has an options in the "Tools" menu item which allows them to copy the entire output to a file (in my case a txt file which is a pipe delimited). Then they have to do text to columns to get the data into each column of the spreadsheet. I could have directly called the stored procedures from the application tier and created ".csv" files and FTP'd them to the user's folders. However, I am having to go this round about because, I am not getting enough support from the LAN team in FTP'ing etc.
OK I'll think of another workaround.
Thanks,
Chiru -
How to select all the frames in a document?
i did select only particular active session.is it possible to select all the frames in a document?
Hi vinothvijay,
You can use below interface to select all the frames in the document.
ISelectionManager* selMgr = Utils<ISelectionUtils>()->GetActiveSelection();
if(selMgr)
selMgr->SelectAll(ac,nil);
Regards,
Santosh K. -
How to select all the lines of table control
Hi all,
In table control, I have more than 100 records. My requirement is I have to select all the records when I press check box in the table control. Please guide me in this regard.
Searched in sdn before posting.
Thanks,
regards,
Murali Krishna. TPROBLEM SOLVED
-
How to select records from Interactive Reports based on checkboxes
Referring to the link below
http://apex.oracle.com/pls/otn/f?p=31517:95
I want to select rows from the Interactve Report based on a checkbox. This demo page has 2 sections, one for classic report and other for interactive one. The classic report is able to select the whole records but the interactive report selects only the emp nos. I am looking for a functionality where I can select the whole record from the interactive report.
Any pointers will be helpful.
ThanksThat is easy. You should just modify the query:
DECLARE
v_count INTEGER := 0;
BEGIN
:p95_text_ir := NULL;
FOR i IN 1 .. apex_application.g_f20.COUNT
LOOP
v_count := v_count + 1;
FOR c IN (SELECT ename, job, mgr, sal, deptno
FROM emp
WHERE empno = apex_application.g_f20 (i))
LOOP
:p95_text_ir :=
:p95_text_ir
|| 'ID: '
|| c.empno
|| ' / '
|| 'Name: '
|| c.ename
|| ' / '
|| 'Job: '
|| c.job
|| ' / '
|| 'Manager: '
|| c.mgr
|| ' / '
|| 'Salary: '
|| c.sal
|| ' / '
|| 'Department: '
|| c.deptno
|| CHR (10);
END LOOP;
END LOOP;
:p95_text_ir := :p95_text_ir || ' / Records selected: ' || v_count;
END;Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.apress.com/9781430235125
http://apex.oracle.com/pls/apex/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
-------------------------------------------------------------------
Maybe you are looking for
-
How can we remove the commas from the Formula value in SAP BW BEx query
Hi All, How can we remove the commas from the Formula value in SAP BW BEx query We are using the formula replacing with characteristic.The characteristic value needs to be display as number with out commas. Regards Venkat.
-
Crystal Report XI R2 compatablity with SAP Integration kit
Hi All, we have suggested to one of our customer the Customized pack of BO XI Edge series which include the licensing of Xcelsius , WEBI , Universe designer, SAP Integration kit and Live office... He dont want to pay extra for taking the license for
-
Assign Driver Vehicle in DSD Connector Cockpit Question?
Hi All, We are implementing DSD with MDSD functionality on it. We had created Driver master data (As Customer Masterdata) and Vehicle master data ( as Equipment master) in the DSD backend. We are done with all the DSD backend , DSD conne
-
I got all the open items of FBL3N transaction , once the lsit is generated we need to pass transfer posting with clearing using F-04. is any bapi available for this. I have checked this 2 bapis, BAPI_ACC_DOCUMENT_POST BAPI_ACC_GL_POSTING_POST Thank
-
Comparing special characters in UNIX
#!/usr/bin/ksh v_v_delimiter='|' v_v_delimiter1='|' echo $v_v_delimiter echo $v_v_delimiter1 if [ "$v_v_delimiter" = "$v_v_delimeter1" ] then echo if else echo else2 fi echo $v_v_delimiter The above script gives output as | | else2 | This is incorrec