How to use variables in an sql select statement.
Hi, I have seen examples using the update, but nothing using a select statement.
I have four variables I am getting from drop down menus in my JSP I set the user selected items to strings.
How would I create the select statement like this:
.String XName = request.getParameter("UserInputX");
rsInResult = stmtInResult.executeQuery("SELECT ColumxX FROM TableZ WHERE ColumnX = XName")Obviously it tries to read "XName" as a column and of course can't find it, how would I set it up to have it see the Value of XName and not the literal XName.
read this:
rsInResult = stmtInResult.executeQuery("SELECT ColumxX FROM TableZ WHERE ColumnX = '"+XName+"')
{code}
better way is PreparedStatement:
{code}
// example code to change password to an user in the USERS table
String newPWD = "my password";
String user = "luxjava";
PreparedStatement prepStat;
String updatePWD = "UPDATE LOGISTIC.USERS "+
"SET logistic.users.password = ? "+
"WHERE logistic.users.username = ?";
prepStat = ql.conDb.prepareStatement(updatePWD);
prepStat.setString(1, newPwd);
prepStat.setString(2, user);
int zeroNotFound = prepStat.executeUpdate();
if (zeroNotFound==0)
ql.conDb.rollback();
prepStat.close();
else
ql.conDb.commit();
prepStat.close();
{code}
... use the SQLException to capture errors
Similar Messages
-
[DW 8.02 + PHP] how to use variables in advanced SQL queries
Hi all,
I can't find a way to use variables in an SQL query after
updating
dreamweaver 8.02.
I always get error messages that says: 'missing variable
type:myvariablename', undefined#myvariablename... and so on.
What is the correct way to use variables?
I usually set a variable in a PHP statement (example: <?
$today=date('Y-m-d'); ?>)
and then I compare this variable in the SQL query.
What is the correct syntax for variable in DW 8.02 in
advanced SQL
queries?
TIA
tonysweetman wrote:
> I'm editing a website created with DW 8.01 and MX
Kollection.
>
> I updated DW to 8.02 and now I can't edit an existing
SQL query.
> I always get an error message 'Missing variable type'
and I can't go
> on.
InterAKT released a new version of Kollection to cope with
the 8.0.2
changes. AFAIK, you should be able to download the updated
version from
your InterAKT account area.
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
How to increment variable value in single select statement
Hi guys
in this select statement i have hard coded date value but i need to put variable instead of hard coded date and then i want to increment that variable value till sysdate.. i have tried using curser , type tables but they are very very slow .. any experiance guys can give me good hint what should i use.
my query
select
start_dt,
end_dt,
hi_start_dt,
hi_end_dt,
ph_start_dt,
ph_end_dt,
h_start_date,
h_end_date,
g_code,
emp_det.ref,
u_code,
costing,
emp_nm,
emp_no
from
emp_det,
emp_ph_det,
emp_hi_det,
emp_h_det
where
emp_det.ref(+) = emp_ph_det.ref
and emp_hi_det.p_ref(+) = emp_ph_det.p_ref
and emp_h_det.ph_ref = emp_ph_det.ph_ref
and emp_h_det.ph_st_dt(+) = emp_hi_det.st_date;
and to_date('01-MAR-2008') between i.start_dt and nvl(i.end_dt, to_date('01-MAR-2008') +1)
and to_date('01-MAR-2008') between i.hi_start_dt and nvl(i.hi_end_dt, to_date('01-MAR-2008') + 1)
and to_date('01-MAR-2008') between i.ph_start_dt and nvl(i.ph_end_dt, to_date('01-MAR-2008') + 1)
and to_date('01-MAR-2008') between i.h_start_date and nvl(i.h_end_date, to_date('01-MAR-2008') + 1)
or
(----emp has left this month
i.start_dt < i.emp_end_dt
and i.end_dt between add_months(to_date('01-MAR-2008'), -1) + 1 and to_date('01-MAR-2008')
and i.hi_start_dt < i.hi_end_dt
and i.hi between add_months(to_date('01-MAR-2008'), -1) + 1 and to_date('01-MAR-2008')
and i.ph_start_dt < i.ph_end_dt
and i.ph_end_dt between add_months(to_date('01-MAR-2008'), -1) + 1 and to_date('01-MAR-2008')
and i.h_start_date < i.h_end_date
and i.h_end_date between add_months(to_date('01-MAR-2008'), -1) + 1 and to_date('01-MAR-2008')Hi Anurag
Thanks for the reply.please find my sample data below . below i am only showing data for one employee only.. i want to write a query where i will query for a month like march 2008 and then i need to find out the record for employe where this month march 2008 is between all the start and end dates like it should be between start_dt and end_dt and h_start_date and h_end_date and hi_strt_dt and hi_end_dt and ph_start_dt and ph_end_dt and where all the combination are true show me that record only .. i don't want any other record.
h_start h_end_
start_dt end_dt date date histrt_dt hi_end_dt ph_start_dt ph_end_dt
1-Sep-07 31-Dec-08 8-Feb-08 31-Aug-08 1-Sep-07 31-Dec-07 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 1-Sep-07 31-Dec-07 1-Sep-07 31-Dec-07 1-Sep-07 31-Dec-07
1-Sep-07 31-Dec-08 1-Sep-08 31-Dec-08 1-Sep-07 31-Dec-07 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 8-Feb-08 31-Aug-08 1-Aug-08 31-Aug-08 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 1-Sep-07 31-Dec-07 1-Aug-08 31-Aug-08 1-Sep-07 31-Dec-07
1-Sep-07 31-Dec-08 1-Sep-08 31-Dec-08 1-Aug-08 31-Aug-08 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 8-Feb-08 31-Aug-08 1-Oct-08 31-Dec-08 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 1-Sep-07 31-Dec-07 1-Oct-08 31-Dec-08 1-Sep-07 31-Dec-07
1-Sep-07 31-Dec-08 1-Sep-08 31-Dec-08 1-Oct-08 31-Dec-08 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 8-Feb-08 31-Aug-08 1-Sep-08 30-Sep-08 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 1-Sep-07 31-Dec-07 1-Sep-08 30-Sep-08 1-Sep-07 31-Dec-07
1-Sep-07 31-Dec-08 1-Sep-08 31-Dec-08 1-Sep-08 30-Sep-08 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 8-Feb-08 31-Aug-08 8-Feb-08 31-Jul-08 8-Feb-08 31-Dec-08
1-Sep-07 31-Dec-08 1-Sep-07 31-Dec-07 8-Feb-08 31-Jul-08 1-Sep-07 31-Dec-07
1-Sep-07 31-Dec-08 1-Sep-08 31-Dec-08 8-Feb-08 31-Jul-08 8-Feb-08 31-Dec-08 -
Usgent: using jsp date in sql select statement
i have something like this:
String day;
String month;
String year;
select * from event where date = xxx
where xxx is supposed to be obtained from the strings (day, month, year) and changed into a format that can be compared to in the select statement.
what should xxx be?
thks as lot cos i ahe been figuring out for very long.Use PreparedStatement and SimpleDateFormat:
String year = "2002";
String month = "9";
String day = "12";
String sDate = day + "/" + month + "/" + year;
SimpleDateFormat df = new SimpleDateFormat("M/d/yyyy");
Date dDate = df.parse(sDate);
Connection con = DriverManager.getConnection(user, pw);
PreparedStatement ps = con.prepareStatement("SELECT * FROM event WHERE date = ?");
ps.setDate(1, dDate);
ResultSet rs = ps.executeQuery();
while (rs.next()) {
rs.close();
ps.close();
con.close(); -
How to use open query in oracle select statement
hi i have a requirement like this. I need to use the output of a procedure ( pl/sql table ) in developing a report
like ( SELECT * FROM <procedure name >)
please help me.You can do it by using classic report but I can't tell you without knowing complete detail. If possible can you post your procedure query which you want to use to create report.
Thanks
Lakshmi -
How to use LIKE keyword in a select statement
Hi:
I want to use the following sql statement,
String str = "xyz";
String query="Select * from tab where col like '"+str+"' '%' ";
Kindly suggest
TIA% is a wildcard in the like clause, so:.
String str = "xyz";
String query="Select * from tab where col like '%"+str+"%'"; -
How to use 'OR' & 'AND' together in SELECT statement.
Hi All,
I am a BW person. Dont know much about ABAP. But i m trying to write a start routine in BW Transfer Rules.
I m stuck at one point where i need to check multiple values using a slect statement.
My requirement is like
SELECT single * into wa_MEMPLOYEE from /BI0/QEMPLOYEE
where EMPLOYEE eq L_S_DATAPAK_LINE-PERNR AND
EMPLGROUP EQ ('1 OR '2' OR '7') AND
CNTRCTTYPE EQ ('01' OR '05' OR '09' OR '50' OR '60').
I tried using 'IN' .But this works only partially.
EMPLGROUP IN ('1', '2', '7') AND
CNTRCTTYPE IN ('01' , '05' , '09' , '50' , '60').
when i use 'IN', the code checks the EMPLHROUP properly.But it will allow all other CONTRACT TYPE records to be written to the internal table.
Can any one tell me how can i achieve this please.
Cheers
POPSHi,
You can do as below:
"Create ranges for EMPLGROUP AND CNTRCTTYPE
ranges : gr_empgrp for <tablename-fieldname>,
gr_cntrtype for <tablename-fieldname>.
initialization.
gr_empgrp-sign = 'I'.
gr_empgrp-option = 'EQ'.
gr_empgrp-low = '1'.
append gr_empgrp.
gr_empgrp-sign = '2'.
gr_empgrp-option = 'EQ'.
gr_empgrp-low = '1'.
append gr_empgrp.
gr_empgrp-sign = '7'.
gr_empgrp-option = 'EQ'.
gr_empgrp-low = '1'.
append gr_empgrp.
gr_cntrtype-sign = 'I'.
gr_cntrtype-option = 'EQ'.
gr_cntrtype-low = '1'.
append gr_cntrtype.
gr_cntrtype-sign = 'I'.
gr_cntrtype-option = 'EQ'.
gr_cntrtype-low = '05'.
append gr_cntrtype.
gr_cntrtype-sign = 'I'.
gr_cntrtype-option = 'EQ'.
gr_cntrtype-low = '09'.
append gr_cntrtype.
gr_cntrtype-sign = 'I'.
gr_cntrtype-option = 'EQ'.
gr_cntrtype-low = '50'.
append gr_cntrtype.
gr_cntrtype-sign = 'I'.
gr_cntrtype-option = 'EQ'.
gr_cntrtype-low = '60'.
append gr_cntrtype.
SELECT single * into wa_MEMPLOYEE from /BI0/QEMPLOYEE
where EMPLOYEE eq L_S_DATAPAK_LINE-PERNR AND
EMPLGROUP in gr_empgrp AND
CNTRCTTYPE in cntrtype.
Thanks,
Sriram Ponna. -
How to pass datetype parameter in Sql Select Statements to
public void Mountain()
String dat=lastcollecteddatestr.substring(0,2);
String mon=lastcollecteddatestr.substring(3,5);
String yr=lastcollecteddatestr.substring(6,10);
try
SimpleDateFormat sdf = new SimpleDateFormat("yyyy"+"MM"+"dd");
java.util.Date utilDate = new java.util.Date(Integer.parseInt(yr)-1900,Integer.parseInt(mon),Integer.parseInt(dat));
Date newdate=sdf.parse(yr+"-"+mon+"-"+dat);
System.out.println(newdate);
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection(url);
Statement stat = con.createStatement();
ResultSet rs=stat.executeQuery("select empcd,date from mmm where date = '"+newdate+"' ");
while(rs.next())
String str1= new String(rs.getString("empcd"));
String str2= new String(rs.getString("date"));
System.out.println(str1+"\t"+str2);
}catch(Exception ex){System.out.println(ex);}
Error : [MicroSoft] [ODBC Visual FoxPro Driver]Operator/operand type mismatch.
myNote: There is no Problem with connecting to database of something like that
its working well with Different SQL Statment
like: ("select empcd,date from mmm where empcd = '"+empcdstr+"' ")
This is not Working and giving errors
like: ("select empcd,date from mmm where date = '"+newdate+"' ")
HOW TO SOLVE THIS PLZ HELP. It's Urgent.You will see this error if the search condition was entered with an invalid or missing relational operator.
You need to include a valid relational operator such as
=, !=, ^=, <>, >, <, >=, <=, ALL, ANY, [NOT] BETWEEN, EXISTS, [NOT] IN, IS [NOT] NULL, or [NOT] LIKE in the condition. in the sql statement.
Can you throw some more light on how are you designing your project? -
Using column number inplace of column name in SQL Select statement
Is there a way to run sql select statements with column numbers in
place of column names?
Current SQL
select AddressId,Name,City from AddressIs this possible
select 1,2,5 from AddressThanks in Advanceuser10962462 wrote:
well, ok, it's not possible with SQL, but how about PL/SQL?As mentioned, using DBMS_SQL you can only really use positional notation... and you can also use those positions to get the other information such as what the column is called, what it's datatype is etc.
CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2) IS
v_v_val VARCHAR2(4000);
v_n_val NUMBER;
v_d_val DATE;
v_ret NUMBER;
c NUMBER;
d NUMBER;
col_cnt INTEGER;
f BOOLEAN;
rec_tab DBMS_SQL.DESC_TAB;
col_num NUMBER;
v_rowcount NUMBER := 0;
BEGIN
-- create a cursor
c := DBMS_SQL.OPEN_CURSOR;
-- parse the SQL statement into the cursor
DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
-- execute the cursor
d := DBMS_SQL.EXECUTE(c);
-- Describe the columns returned by the SQL statement
DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
-- Bind local return variables to the various columns based on their types
FOR j in 1..col_cnt
LOOP
CASE rec_tab(j).col_type
WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000); -- Varchar2
WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val); -- Number
WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val); -- Date
ELSE
DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000); -- Any other type return as varchar2
END CASE;
END LOOP;
-- Display what columns are being returned...
DBMS_OUTPUT.PUT_LINE('-- Columns --');
FOR j in 1..col_cnt
LOOP
DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' - '||case rec_tab(j).col_type when 1 then 'VARCHAR2'
when 2 then 'NUMBER'
when 12 then 'DATE'
else 'Other' end);
END LOOP;
DBMS_OUTPUT.PUT_LINE('-------------');
-- This part outputs the DATA
LOOP
-- Fetch a row of data through the cursor
v_ret := DBMS_SQL.FETCH_ROWS(c);
-- Exit when no more rows
EXIT WHEN v_ret = 0;
v_rowcount := v_rowcount + 1;
DBMS_OUTPUT.PUT_LINE('Row: '||v_rowcount);
DBMS_OUTPUT.PUT_LINE('--------------');
-- Fetch the value of each column from the row
FOR j in 1..col_cnt
LOOP
-- Fetch each column into the correct data type based on the description of the column
CASE rec_tab(j).col_type
WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' : '||v_v_val);
WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val);
DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' : '||v_n_val);
WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val);
DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' : '||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'));
ELSE
DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
DBMS_OUTPUT.PUT_LINE(rec_tab(j).col_name||' : '||v_v_val);
END CASE;
END LOOP;
DBMS_OUTPUT.PUT_LINE('--------------');
END LOOP;
-- Close the cursor now we have finished with it
DBMS_SQL.CLOSE_CURSOR(c);
END;
SQL> exec run_query('select empno, ename, deptno, sal from emp where deptno = 10');
-- Columns --
EMPNO - NUMBER
ENAME - VARCHAR2
DEPTNO - NUMBER
SAL - NUMBER
Row: 1
EMPNO : 7782
ENAME : CLARK
DEPTNO : 10
SAL : 2450
Row: 2
EMPNO : 7839
ENAME : KING
DEPTNO : 10
SAL : 5000
Row: 3
EMPNO : 7934
ENAME : MILLER
DEPTNO : 10
SAL : 1300
PL/SQL procedure successfully completed.
SQL> exec run_query('select * from emp where deptno = 10');
-- Columns --
EMPNO - NUMBER
ENAME - VARCHAR2
JOB - VARCHAR2
MGR - NUMBER
HIREDATE - DATE
SAL - NUMBER
COMM - NUMBER
DEPTNO - NUMBER
Row: 1
EMPNO : 7782
ENAME : CLARK
JOB : MANAGER
MGR : 7839
HIREDATE : 09/06/1981 00:00:00
SAL : 2450
COMM :
DEPTNO : 10
Row: 2
EMPNO : 7839
ENAME : KING
JOB : PRESIDENT
MGR :
HIREDATE : 17/11/1981 00:00:00
SAL : 5000
COMM :
DEPTNO : 10
Row: 3
EMPNO : 7934
ENAME : MILLER
JOB : CLERK
MGR : 7782
HIREDATE : 23/01/1982 00:00:00
SAL : 1300
COMM :
DEPTNO : 10
PL/SQL procedure successfully completed.
SQL> exec run_query('select * from dept where deptno = 10');
-- Columns --
DEPTNO - NUMBER
DNAME - VARCHAR2
LOC - VARCHAR2
Row: 1
DEPTNO : 10
DNAME : ACCOUNTING
LOC : NEW YORK
PL/SQL procedure successfully completed.
SQL> -
How user variable table names in select statement
Dear all,
I have three table gp1,gp2,g3. i want user variable table in sql query
for example at oracle forms have a list table showing table names gp1,gp2,gp3
at form i want user this query
select gpno from :table where gpno=120;
how i can specify table name Dynamicly in select query
ThanksForms_DDL is a one-way street: You can only pass DDL commands TO the database; you cannot get data back using Forms_DDL.
Exec_SQL is the Forms package that enables dynamic sql within a form. But to retrieve data, you have to make a Exec_SQL call for every column in every row. So it is not a good thing to use, either.
The ref cursor method should work. You could also retrieve the data into a record group using populate_group_with_query -- it also enables dynamic data retrieval.
But if you already know you have three distinct tables and you know their names, I would keep it simple and just write three sql select statements. -
I need to get the number of lines in internal table, which would
be easy, using DESCRIBE TABLE itab LINES lines. But the problem
is, that I get the name of this internal table in the field of
another internal table, so I have to use the name of internal
table as variable, but I don't know how to use variables with
DESCRIBE TABLE (or if this is possible).Hi,
REPORT ZPRUEBA782 .
define two tables with diferent structures.
data: begin of table1 occurs 0,
registro type i,
end of table1.
data: begin of table2 occurs 0,
registro type i,
repid like sy-repid,
end of table2.
data: rows type i.
start-of-selection.
fill them with data
do 1000 times.
table1-registro = sy-tabix.
append table1.
enddo.
do 1757 times.
table2-registro = sy-tabix.
table2-repid = sy-repid.
append table2.
enddo.
call a form that receives as input the table and returns the number
of rows as output.
perform howmanyrows tables table2 changing rows.
break-point. "evaluate the number of rows
perform howmanyrows tables table1 changing rows.
break-point. "evaluate the number of rows
end-of-selection.
form howmanyrows tables itable changing rows.
rows = 0.
loop at itable.
add 1 to rows.
endloop.
endform.
You can try it if you don't find a better solution.
Cheers,
Chaitanya. -
How to define variables in toad sql script editor - newbie
I have just pull out the script of a Function and want to run it on toad SQL editor.
I am little bit confused how to define the VARIABLEs here in toad SQL editor to run my script.
SELECT
NVL(SUM(debit), 0) - NVL(SUM(credit), 0)
INTO l_accountBalance
FROM
GLP_VoucherMaster vm
INNER JOIN GLP_VoucherDetail vd ON vm.GLP_VoucherMaster_ID = vd.GLP_VoucherMaster_ID
INNER JOIN GLP_ChartOFAccounts coa ON vd.GLP_ChartOfAccounts_ID = coa.GLP_ChartOfAccounts_ID
WHERE
vm.isActive = 'Y' AND vd.isActive = 'Y'
-- *** how to define variables in toad sql script editor ***
AND vm.voucherDate < p_cDate
AND coa.AccountCode LIKE p_accountCode || '%';
Thanks
w\Just prefix with a colon (:)
SELECT NVL (SUM (Debit), 0) - NVL (SUM (Credit), 0)
INTO L_accountbalance
FROM Glp_vouchermaster Vm
INNER JOIN
Glp_voucherdetail Vd
ON Vm.Glp_vouchermaster_id = Vd.Glp_vouchermaster_id
INNER JOIN
Glp_chartofaccounts Coa
ON Vd.Glp_chartofaccounts_id = Coa.Glp_chartofaccounts_id
WHERE Vm.Isactive = 'Y'
AND Vd.Isactive = 'Y'
AND Vm.Voucherdate < :P_cdate
AND Coa.Accountcode LIKE :P_accountcode || '%';
/:p -
How to compile the hint to force selection statement to use index
Hello expert,
will you please tell me how to compile the hint to force selection statement to use index?
Many Thanks,Not sure what you mean by compile, but hint is enclosed in /*+ hint */. Index hint is INDEX(table_name,index_name). For example:
SQL> explain plan for
2 select * from emp
3 /
Explained.
SQL> @?\rdbms\admin\utlxpls
PLAN_TABLE_OUTPUT
Plan hash value: 3956160932
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 14 | 546 | 3 (0)| 00:00:01 |
| 1 | TABLE ACCESS FULL| EMP | 14 | 546 | 3 (0)| 00:00:01 |
8 rows selected.
SQL> explain plan for
2 select /*+ index(emp,pk_emp) */ *
3 from emp
4 /
Explained.
SQL> @?\rdbms\admin\utlxpls
PLAN_TABLE_OUTPUT
Plan hash value: 4170700152
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 14 | 546 | 2 (0)| 00:00:01 |
| 1 | TABLE ACCESS BY INDEX ROWID| EMP | 14 | 546 | 2 (0)| 00:00:01 |
| 2 | INDEX FULL SCAN | PK_EMP | 14 | | 1 (0)| 00:00:01 |
9 rows selected.
SQL> Hint in the above example is forcing optimizer to use index which resul;ts in a bad execution plan. Most of the time optimizer does not need hints and chooses an optimal plan. In most cases sub-optimal plan is result of stale or incomplete statistics.
SY. -
How to use @variable(bouser) in Universe to get BOE userid in Xcelsius
Dear Expert,
I have request that need to display BOE userid to displayed in Dashboard using Xcelsius,
after searching in Internet, i found that it can be done by using @variable(bouser) in an object in the Universe, and use the object in Qaaws, but i don't how to use it.
already tried insert /* @variable('BOUSER') */ in END_SQL universe parameter, but still no luck.
my question is :
how to use @variable(bouser) in universe? and then my Xcelsius can display the BOE userid?
thanks in advance for any answer.
I Using SAP Integration KIT to create universe from Query BEX
Luqman
Edited by: luqman hakim on Jun 29, 2010 4:03 PM>
Didier Mazoue wrote:
> Hi,
>
> You are mentioning that you are using SAP Integration Kit.
> Does it mean that the source you are targeting is SAP BW?
>
> If it is the case, this is unfortunately not supported.
> SAP BW MDX does not support calculated expressions that return string or date: this is a limitation of SAP BW engine.
> This is one of the reason why a lot of user exit are used to address these needs.
>
> Regards
> Didier
Didier Mazoue
yes, my Data source is SAP BW, and connected to BOE via SAP INT KIT.
It's too bad that SAP doesn't support so simple requirement.
you said : user exit
are used to address these needs.
so there are possibility to solve my problem.
would you give me the logic of user exit? which part I should create the user exit
I'm quiet familiar with user exit in BW
thanks -
How to use variable in source path of an image in flex
hello
i just want to know that how to use variable in source path
of an image in flexI am doing exactly that with data binding at the moment. This
is my Image element
<mx:Image width="50" minHeight="50" height="76"
source="{Application.application.parameters.api}/rest/entity/{data.Slug}/Image"
/>
Note the curly brackets
HTH
Pat
Maybe you are looking for
-
Difference between Abort_Query and Exit_Form
Hi all, I'm using developer 6i in C/S environment. I have the follwing code: If :system.mode = 'ENTER_QUERY' then do_key('ABORT_QUERY'); else do_key('CLEAR_FORM'); end; This has a strange behaviour. When the form is in 'ENTER_QUERY' mode the abort_qu
-
Hi, As for my Business i need to configure the Commission Agent (Broker) its a textile Industry. In this there is not standard for each customer can have more 2 and also maximum percentage is 2% (Total Percentage) this percentage will be divided int
-
Parallax effects great in Chrome and FF, not IE11; Help
Parallax effects great in Chrome and FF, not IE11; any advise would be greatly appreciated. My site is www.checkmyvoiceanddatarate.com Thanks Phillip
-
Firefox 5 crashes when exiting Roboform
Hi, Roboform 7.3.2 crashes Firefox 5. I'm using Roboform in the Task Bar. Adapter for Firefox is not installed. Thanks.
-
Getting column names from cursor
Hi all I have procedure which produces list of applied for jobs web page(using htp. package) I got result in cursor, but have to provide dinamic sort, based on colimn pressed procedure my_application_list (pi_resume_num in varchar2 default null ,