Qaaws input parameter mapping
It is very time consuming to map a lot of input parameters to Qaaws data providers in Xcelsius. This thread is to find out if anybody knows of any flexcelsius code that can help automate that or if SAP/BobJ is planning any enhancements to make this more user-convenient and less time-consuming.
There are several constraints that I know of: (a) individually re-mapping same input parameters to multiple Qaaws; (b) if Qaaws has to be re-imported for any reason, there is no option to retain any input or output mappings; (c) increasing any number of inputs to a single in-list prompt is very time-consuming. I have no complaints about Qaaws - it is very fast and works well. I am just hoping the setup and maintenance can be made easier. I know I can do more with Live Office, but I am very reluctant to introduce this extra layer into the application (and that is primarily because of previous experience with Microsoft-based automation and constant patches etc.)
Anybody have any thoughts?
Hi,
Given the error message you have and clue you give, problem is beyond QaaWS and Xcelsius, and is very likely to come from BW connection & universe (WIS 10901 identifies errors triggered from outside WebI server).
Although universe design and BW are far from being my specialty, I'd suggest you update everything from universe to Xcelsius to character (so to be consistent with what's seems expected in the universe query) to see if error is still there.
Besides, have you checked how that mm/dd/yyyy date is provided to the universe by QaaWS & Xcelsius? From experience, this can be really tricky, as Xcelsius usually supplies QaaWS with a fully qualified datetime (formatted like YYYY-MM-dd HH:mm:ss.µµµ Z set on GMT timezone) which is then transformed into server time zone datetime and sent to the query as YYYY-MM-dd (server timezone). Changes from GMT to server timezone might change the actual date (e.g. when your server timezone is GMT-7) which might then return no value (e.g. 2009-12-02 02:17:45.367Z provided by Xcelsius is turned into 2009-12-01 19:17:45.367 for a server into GMT-7 timezone, and date input parameter provided to the query is the 2009-12-01 instead of the 2009-12-02 selected on the dashboard). I have never been told of this generating errors, though.
This can be become even more puzzling when DST has to be taken into account... Sadly all these date offsets are required since QaaWS servlet & server have no way to know dashboard client localtime.
If you could change this input date parameter into e.g. three string parameters (or numerals) : day, month and year, this might avoid some ambiguities...
Hope that helps,
David.
Similar Messages
-
Input Parameter Mapping is not working in Sap HANA
Hi, We created on ANALYTICAL view(A) with Input Parameters, on top of Analytical view created one Calculation view(B) and mapped Calculation view input parameter with Analytical view input paramter and its working fine. Finally we created one more calculation view on top existing calculation view(B) and mapped with corresponding input parameters. Input parameter mapping is working fine in between A(analytical view) and --------> B (first Calc view) but input parameter mapping is not working properly in between B(first Calc View)-----------C(second Calc View). it is giving all data whatever is coming from Calc View B. Kindly help us to resolve this.
Hi,
Write c in small for Command,
theButton.mappingOfOnAction().addParameter("command","Save");
Regards,
Murtuza -
Input parameter of Analytic view in Calculation View
Hello Folks,
I have created an analytic view with some input parameters and using this view in a calculation view.
when i am checking Data Preview of Calculation view , it is not asking for any input parameter and returning blank values.
Could you please let me know the where i went wrong.
Thanks.Hello Ravindra,
Here is scenario :
AV : AV_1 w/o parameters
AV : AV_2 w/ required parameters
when i join the both them into CV_1 , I am unable to see input parameter mapping.
Could you tell me where it is located. -
Problem in mapping BIGBINARY input parameter
Hi All,
I am trying to create an operation of 'OTHER' type in SUP 2.2. The input parameter structure is having an 'BIGBINARY' attribute. This attribute is used to send photos. But the input structure is not coming under client parameters and unable to map it. While generating code for iOS the particular input structure is abandoned.
So, kindly help me how to handle this...
Thanks,
Saju KSHi Neha,
Please create the custom context node/attribute same structure as RFC model node. then populate the data using below following code :
- get the size of the RFC model node which you want to populate in the costom node like
int xxx = wdContext.node<XXX node>().size;
- Create onject for custom node like
I<Custyom Name>Element element = null;
- then use for loop for fetching data from Model node and populate in custom node
for(int i =0; i<xxx; i++)
element = wdContext.create<Custyom Name>();
element.set<Attribute Name>(wdContext.node<XXX>().get<XXX>ElementAt(i).get<>Attribute name for model())
wdContext.<Custyom Name>().addElement(element);
It will populate in your custom node from model node.
Hope it will helps you.
Regards
Arun -
About mapping-input-parameter operator !
hi all:
There is a problem,
I deploy a mapping,the mapping have a mapping input parameter, the mapping is runing a time every day£¬and
every day's parameter is different.
I want to mapping input parameter of the mapping can auto get a value from some soure now.
and the input parameter of the mapping is a "group by"
condition at mapping!
is this possible succed?Depending on what the (dynamic) source of you parameter value look like, you can either add it as a Mapping Table operator or create a simple function to use as a Pre-Mapping Process.
Nikolai Rochik -
Mapping Input Parameter renders mapping unable to be compiled or deployed
Hi there. I have an interesting issue I have not encountered before.
I can create a new mapping with a Mapping Input Parameter (just one parameter of type Integer), map this to a table column of the same type and the mapping compiles and deploys without any issues.
However, if I take an existing mapping (which already compiles and deploys without issues), add a Mapping Input Parameter to it (just one parameter of type Integer) and map this parameter through to a table column of the same type, when I compile the mapping I get a pop-up "Warehouse Builder Error" with a number 56 and a red cross. The mapping cannot generate any code and gives no explaination. Trying this on a different mapping causes the same issue but with a different number in the pop-up.
I have tried changing the parameter from integer to another data type and this makes no difference.
Removing the Mapping Input Parameter makes the mapping compilable and deployable again.
Am I missing something here ?
Thanks
PaulOk... this could be a bug, but I worked out how to resolve the issue.
To get the issue:-
1. Open a mapping which does not have a Mapping Input Parameter and compiles and deploys happily
2. Add a Mapping Input Parameter object, add an output attribute to it and map it to a table column.
3. Compile the mapping and you get a "Warehouse Builder Error" pop-up with a number, then a Validation Completed Successfully message. But no code can be generated and the mapping
cannot be deployed.
4. Slap your forehead and say "Doh!"
To fix the issue :-
1. Open the same mapping
2. Resynch the tables you mapped the Mapping Input Parameter to. The mapping now compiles and deploys ok.
3. Pat yourself on the back
cheers
Paul -
Hello gurus !
I'm newbie on using OWB.
How does the "Mapping input parameter" work ?
If I place it on my mapping and afterwards I generate the mapping and run the mapping via Control Center Manager, The Control Center should ask me for value of the parameters or not ?
Thanks in advance
MarceloI search this forum for the same topic and found
Re: OWB 10.2 PARIS - How do you enter mapping parameters?
for OWB 10gR2
In Design center :
Tools --> Preferences --> Deployment --> process
check "prompt for execution parameters -
How to pass input parameter (parameterized mapping) to java mapping program
Hello
I have a question about the parameterized mapping with Java (PI 7.1).
In the operation mapping (using Java-class) I defined a inputer parameter (string). I think I am supposed to retrieved the value using:
arg0.getInputParameters().getString("myInputParameterName");
where arg0 is the TransformationInput object.
However I am not able to get the value, I got runtime exception saying the inputer parameter doesn't exit.
Then I figured out maybe I need to bind the OM input parameter to Java mapping parameter, just like in case of message mapping, you need to bind OM parameter to MM parameter. However there is no way to define input parameter for the java mapping program.
Anybody has done java mapping with parameterized mapping?
Anybody can give any hint for this?
Thanks
JaysonInputParameters params = container.getInputParameters();
DynamicConfiguration conf = (DynamicConfiguration) params.getValue(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "Directory");
http://help.sap.com/saphelp_nwpi71/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm
Edited by: Anand on Dec 10, 2008 4:13 PM -
Date Format on OWB 11.1.0.7 to use for input parameter for a mapping
All,
What is the Date Format on OWB 11.1.0.7 to use for passing in an input parameter for a mapping to execute?
I have tried '01-01-2010','01-JAN-2010','01.01.2010', 01/01/2010 and I get the following error:
Error RPE-01003: An infrastructure condition prevented the request from completing.
Error RPE-01038: Failed to evaluate expression declare l_expression DATE := 01/01/2010;begin :result := wb_rt_conversions.from_date(l_expression);end;. Please modify the expression, redeploy and retry again.
RA-06550: line 1, column 32:
PLS-00382: expression is of wrong type
ORA-06550: line 1, column 24:
PL/SQL: Item ignored
ORA-06550: line 1, column 90:
PLS-00320: the declaration of the type of this expression is incomplete or malformed
ORA-06550: line 1, column 51:
PL/SQL: Statement ignored
I am using a Mapping Input parameter object and have a START_DATE_IN as a DATE and an END_DATE_IN as a DATE
Any information you could provide would be greatly appreciated.
Thanks,
ShaunHello Shaun,
The function wb_rt_conversions.from_date is (at least in OWB10.2) overloaded and can with input-types as
date, timestamp_unconstrained, timestamp_tz_unconstrained, timestamp_ltz_unconstrained or varchar2.
If it doesn't work with varchar2 I would try Date:
For example: to_date('2010-01-01','YYYY-MM-DD')
I also found this thread:
http://kr.forums.oracle.com/forums/thread.jspa?threadID=608257
Hoping this helps...
Guenther -
How to create a Mapping with Input Parameter?
Hi,
I have a target table where the primary key column should be loaded with an Input parameter value. How can we implement this? Let me know if any examples are available?
Regards
KishanUse a map input operator in your mapping. In the outgroup add an attribute, mapp the attribute with the column and then you can start the mapping with an extra input parameter.
Bye
Detlef -
Problems with Mapping Input Parameter
Hi everybody,
just another question. I have a Mapping with an Mapping Input Parameter. If i provide a Parameter with an prefixed 0 e.g.: 01234 the output of this is 1234.
How can i manage this that the output of the Input Parameter ist 01234 and not like now 1234?
Many thanks in advance.
GreetingsThe Mapping Input Parameter is of type varchar2 and it still gives 1234. The Problem is i have to provide the whole input parameter for logging proposes. I managed this now by building a workflow an provide the mapping input parameters to new variables. Now the Input 01234 gives 01234....:-)
Does anybody know another solution for this problem?
Greetings -
How to bind mapping input parameter in process flow using OMB Plus
Hi
I have created a process flow with a mapping.
This mapping has a input parameter, that I want to bind to a variable using OMBPlus
OMBALTER PROCESS_FLOW '$process' MODIFY PARAMETER 'P_EOD_DATE_IN' SET PROPERTIES (BINDING) VALUES ('V_EOD_DATE') does not work as P_EOD_DATE is NOT a process parameter
neither does
OMBALTER PROCESS_FLOW '$process' MODIFY PARAMETER '$mapname/P_EOD_DATE_IN' SET PROPERTIES (BINDING) VALUES ('V_EOD_DATE') as the reference '$mapname/P_EOD_DATE_IN' is not valid.
Any suggestions ?
Best Regards
KlausHi Klaus,
look here {thread:id=640397}
Regards,
oleg -
Input-Parameter to message mapping missing
Hi,
I have an interface on 7.1 where i use a RFC lookup, and sets the channel using the parameter functionality. After upgrading to EHP 1, the parameter has gone missing on the production system. It is on Dev, but when I try to transport it again, it still does not appear. I get this error in SXMB_MONI: UndefinedParameterException: The input-parameter RFCChannel does not exist
Any ideas?
Kind regards
MikkelCheck this SAP note 1307777.
-
Need Help-How Store the input parameter through java bean
Hello Sir,
I have a simple Issue but It is not resolve by me i.e input parameter
are not store in Ms-Access.
I store the input parameter through Standard Action <jsp:useBean>.
jsp:useBean call a property IssueData. this property exist in
SimpleBean which create a connection from DB and insert the data.
At run time servlet and server also show that loggging are saved in DB.
But when I open the table in Access. Its empty.
Ms-Access have two fields- User, Password both are text type.
Please review these code:
login.html:
<html>
<head>
<title>A simple JSP application</title>
<head>
<body>
<form method="get" action="tmp" >
Name: <input type="text" name="user">
Password: <input type="password" name="pass">
<input type="Submit" value="Submit">
</form>
</body>
</html>LoginServlet.java:
import javax.servlet.*;
import javax.servlet.http.*;
public class LoginServlet extends HttpServlet{
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException{
try
String user=request.getParameter("user");
String pass=request.getParameter("pass");
co.SimpleBean st = new co.SimpleBean();
st.setUserName(user);
st.setPassword(pass);
request.setAttribute("user",st);
request.setAttribute("pass",st);
RequestDispatcher dispatcher1 =request.getRequestDispatcher("submit.jsp");
dispatcher1.forward(request,response);
catch(Exception e)
e.printStackTrace();
}SimpleBean.java:
package co;
import java.util.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
import java.util.*;
public class SimpleBean {
private String user="";
private String pass="";
private String s="";
public String getUserName() {
return user;
public void setUserName(String user) {
this.user = user;
public String getPassword() {
return pass;
public void setPassword(String pass) {
this.pass = pass;
public String getIssueData() //method that create connection with database
try
System.out.println("Printed*************************************************************");
getUserName();
getPassword();
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
System.out.println("Loading....");
Connection con=DriverManager.getConnection("jdbc:odbc:simple");
System.out.println("Connected....");
PreparedStatement st=con.prepareStatement("insert into Table1 values(?,?)");
System.out.println("~~~~~~~~~~~~~~~~~~~~");
String User=getUserName();
st.setString(1,User);
String Password=getPassword();
st.setString(2,Password);
st.executeUpdate();
System.out.println("Query Executed");
con.close();
s= "Your logging is saved in DB ";
System.out.println("Your logging is saved in DB *****************");
return(s);
catch(Exception e)
e.printStackTrace();
return "failed";
}submit.jsp:
This is Submit page
<html><body>
Hello
Student Name: <%= ((co.SimpleBean)request.getAttribute("user")).getUserName() %>
<br>
Password: <%= ((co.SimpleBean)request.getAttribute("pass")).getPassword() %>
<br>
<jsp:useBean id="st" class="co.SimpleBean" scope="request" />
<jsp:getProperty name="st" property="IssueData" />
</body></html>web.xml:<web-app>
<servlet>
<servlet-name>one</servlet-name>
<servlet-class>LoginServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>one</servlet-name>
<url-pattern>/tmp</url-pattern>
</servlet-mapping>
<jsp-file>issue.jsp</jsp-file>
<jsp-file>submit.jsp</jsp-file>
<url-pattern>*.do</url-pattern>
<welcome-file-list>
<welcome-file>Login.html</welcome-file>
</welcome-file-list>
</web-app>Please Help me..Thanks.!!!
--Dear Sir,
Same issue is still persist. Input parameter are not store in database.
After follow your suggestion when I run this program browser show that:i.e
This is Submit page Hello Student Name: vijay
Password: kumar
<jsp:setProperty name="st" property="userName" value="userValue/> Your logging is saved in DB
Please review my code.
login.html:
{code}<html>
<head>
<title>A simple JSP application</title>
<head>
<body>
<form method="get" action="tmp" >
Name: <input type="text" name="user">
Password: <input type="password" name="pass">
<input type="Submit" value="Submit">
</form>
</body>
</html>{code}
LoginServlet.java:
{code}import javax.servlet.*;
import javax.servlet.http.*;
public class LoginServlet extends HttpServlet{
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException{
try
String userValue=request.getParameter("user");
String passValue=request.getParameter("pass");
co.SimpleBean st = new co.SimpleBean();
st.setuserName(userValue);
st.setpassword(passValue);
request.setAttribute("userValue",st);
request.setAttribute("passValue",st);
RequestDispatcher dispatcher1 =request.getRequestDispatcher("submit.jsp");
dispatcher1.forward(request,response);
catch(Exception e)
e.printStackTrace();
}{code}
SimpleBean.java:
{code}package co;
import java.util.*;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
import java.util.*;
public class SimpleBean {
private String userValue="";
private String passValue="";
private String s="";
public String getuserName() {
return userValue;
public void setuserName(String userValue) {
this.userValue = userValue;
public String getpassword() {
return passValue;
public void setpassword(String passValue) {
this.passValue= passValue ;
public String getissueData() //method that create connection with database
try
System.out.println("Printed*************************************************************");
getuserName();
getpassword();
Class.forName("oracle.jdbc.driver.OracleDriver");
System.out.println("Connection loaded");
Connection con=DriverManager.getConnection("jdbc:oracle:thin:@VijayKumar-PC:1521:XE","SYSTEM","SYSTEM");
System.out.println("Connection created");
PreparedStatement st=con.prepareStatement("insert into vij values(?,?)");
System.out.println("~~~~~~~~~~~~~~~~~~~~");
String userName=getuserName();
st.setString(1,userName);
String password=getpassword();
st.setString(2,password);
st.executeUpdate();
System.out.println("Query Executed");
con.close();
s= "Your logging is saved in DB ";
System.out.println("Your logging is saved in DB *****************");
return(s);
catch(Exception e)
e.printStackTrace();
return "failed";
}{code}
submit.jsp:
{code}This is Submit page
<html><body>
Hello
Student Name: <%= ((co.SimpleBean)request.getAttribute("userValue")).getuserName() %>
<br>
Password: <%= ((co.SimpleBean)request.getAttribute("passValue")).getpassword() %>
<br>
<jsp:useBean id="st" class="co.SimpleBean" scope="request" />
<jsp:setProperty name="st" property="userName" value="userValue/>
<jsp:setProperty name="st" property="password" value="passValue"/>
<jsp:getProperty name="st" property="issueData" />
</body></html>web.xml:<web-app>
<servlet>
<servlet-name>one</servlet-name>
<servlet-class>LoginServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>one</servlet-name>
<url-pattern>/tmp</url-pattern>
</servlet-mapping>
<jsp-file>submit.jsp</jsp-file>
<url-pattern>*.do</url-pattern>
<welcome-file-list>
<welcome-file>Login.html</welcome-file>
</welcome-file-list>
</web-app>Sir I can't use EL code in jsp because I use weblogic 8.1 Application Server.This version are not supported to EL.
Please help me...How store th input parameter in Database through Java Bean -
Passing the same input parameter twise in execute sql task
Hi All, I want to insert some values to 3 different tables in sql server. Execute sql task is used to populate three tables. Here is the sql statement.
DECLARE @Dt AS DATE
SET @Dt = ?
INSERT INTO TABLE1 SELECT ?, COL2, COL3 FROM TABLE_A
INSERT INTO TABLE2 SELECT ?, COL2, COL3 FROM TABLE_B
Input parameter is mapped as follows :
Variable name : User::EffectiveDate
Direction : Input Data Type :
Date Parameter name :0
Parameter size :-1
User::EffectiveDate is datetime variable.
When the package is executed, it throws an error.
[Execute SQL Task] Error: Executing the query " " failed with the following error: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". Possible failure reasons: Problems
with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly. I am not sure what I am doing wrong here. If anyone could point me to the right direction, I really appreciate.
Thanks
shamenTo expand on the other answers.
Your SQL command
DECLARE @Dt AS DATE
SET @Dt = ?
INSERT INTO TABLE1 SELECT ?, COL2, COL3 FROM TABLE_A
INSERT INTO TABLE2 SELECT ?, COL2, COL3 FROM TABLE_B
It using 3 input variables. I assume you didn't pass 3 variables and you want @DT to be column 1 in each. In that case you would use:
DECLARE @Dt AS DATE
SET @Dt = ?
INSERT INTO TABLE1 SELECT @Dt, COL2, COL3 FROM TABLE_A
INSERT INTO TABLE2 SELECT @Dt, COL2, COL3 FROM TABLE_B
Maybe you are looking for
-
Minor Problem with MagSafe Power Adapter
I got my MBP almost a year ago now (partially why I'm asking the question) and I've noticed that my power adapter doesn't always show the charge light. Sometimes it is not on at all, and sometimes it is less bright in color (both green and amber). If
-
I have a new 20" Intel iMac, Tiger OSX, Acrobat Reader was working just fine before installing Powerpoint, now, PP works but Reader will not launch, have tried reinstalling Reader but says unable to install, any suggestions? 20" iMac (Intel) Mac OS
-
CSS styles not displaying in Contribute CS3
On some (but not all) of the computers at this organization, when you click "Edit" in Contribute, it doesn't show the CSS styles; in other words it displays in Times New Roman, and the top menus are spread accross the page; this means that users have
-
Why is my laptop recongnizing my ipad as a digital camera?
HELP ME!!! Why is my laptop recongnizing my ipad as a digital camera?
-
When trying to start InDesign CS6 Server: command not found
Greetings, I just installed InDesign CS6 Server, but when trying to run the application from terminal I get the following error: -bash: InDesignServer: command not found I thought, maybe it had something to do with the licensing so I ran this command