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
Paul
Ok... 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
Similar Messages
-
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 -
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 -
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 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 -
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 -
Connecting the Sequence Operator to the Mapping Output Parameter?
my OWB Client: 10.2.0.2.8
my OWB Repository: 10.2.0.2.0
I need to obtain a sequence number (from the Sequence Operator), then output it
using the Mapping Output Parameter, if possible.
I have tried two things:
1. Connect Sequence Operator nextval variable to the Mapping Output Parameter.
This generates error:
"Table,View Or Sequence reference 'xx_SEQ.NEXTVAL' not allowed in this
context"
2. Join the Sequence Operator nextval variable with a source table, then
connect a port from the dataflow to Mapping Output Parameter.
This generates error:
"Mapping Input Parameter and Mapping Output Parameter are intended to be
executed before and after the data flow of the mapping and cannot accept
inputs from any part of the data flow."
From what I have seen so far, it appears it may not be possible to use the
Sequence Operator along with the Mapping Output Parameter. If Im wrong, please
let me know of an example of how the Sequence Operator and Mapping Output
Parameter can be connected.
ThanksUser -
Look at adding a Post-Mapping Process to your mapping, there you have a choice of built in functions or custom ones that could return a sequence value for you. You may have to create the sequence outside of OWB ...
TXB -
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 -
I have a mapping input parameter connected to a lookup table and then to a premapping process. Somehow OWB is not generating the lookup in the code. Is this a bug?
This is what owb generated, WH_DATE_PERIOD is the lookup table.
BEGIN
WH_ENABLE_PART_INDEXES((MAP_ATTEMPT."CONST_0_P_TABLE"),WH_DATE_PERIOD."DATE_KEY",1);
EXCEPTION WHEN OTHERS THEN
get_trigger_success := FALSE;
END;
END IF;
Is there any work around for this?Igor,
Not sure what you were trying to accomplish... The pre mapping process is an isolated pre-mapping procedure that is independent of the maping. If you wanted to call the procedure from within the mapping by passing the values from the lookup table, you should have used a transformation.
Regards:
Igor -
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 -
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 -
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 -
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 -
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. -
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.
Maybe you are looking for
-
External hard drive connected to airport extreme.
I have a seagate 4tb backup plus external drive and want to connect it to the airport extreme. will this let me use time machine and backup on the external drive as well as backing up on windows? i can create a partition on the drive if that is neede
-
How to make a pdf editable and save for print
Hi, I just joined Adobe Cloud and it's been a while since I have used acrobat. I have made a brochure that I need a couple of things to be editable on. See below. I need the two areas highlighted in red to be editable for different locales/people. My
-
Can I use the OCR of the Officejet 6600 on pdf files without printing and scanning them?
Product name: HP Officejet 6600 All in one Operating System: Windows 7 64-bit After scanning hundreds of pages to pdf format with the printer, I have realized that using the OCR scanning feature would have served my purposes better. (I don't have the
-
during recorded video playback as well as streaming video it stutters I have adjusted all temp storage features to max and tinkered with all viable means to improve but to no avail. This happens on my pc as well as laptop with all setting from pc wen
-
Has anyone had luck setting up ICC profiles for dual monitors? I have created ICC profiles for both my Cinema display and MacBook Pro display but cannot get them to work at the same time. Once I set up an extended desktop my Cinema display grabs onto