How to Map N number of columns from input to output schemas at a time?
Hi,
I am new to BODI. In my project we are using DAT files, which contains more than 100 columns, as Source. At the Data Flow Level, in Query Transformation we are manually mapping columns from INPUT Schema to OUTPUT Schema one by one.
Is there any way to MAP all the columns at a time from INPUT schema to OUTPUT schema.
Hope I am clear with my question.
Thanks for your support.
Sudhakar
Hi,
Thanks for your answer.It's really helpul.
But in my case, Source Filed names and Target Field names are different. As we know, OUTPUT column names should be same as Target Field names.
I am just wondering is there any option to MAP columns between INPUT schema and OUTPUT Schema at a time, like Informatica.
In Informatica you can MAP all the columns at a time between any 2 Transformation by using their port order, even though the Filed names are different .
Do we have any option like this in BODI?
Regards,
Sudhakar
Similar Messages
-
How to fetch less number of columns from a ref cursor
I have a ref cursor which has 10 columns. After "OPEN"ing the ref cursor I want to "FETCH" only 3 columns. When I try that I am getting error. How to achieve that?
Regards.
Shantanu.Supposing your first 3 columns are "stable" in name and type for any SQL statement you use, you can do something like:
SQL> create or replace procedure stable (sql_s in varchar2)
2 is
3 empno emp.empno%type;
4 ename emp.ename%type;
5 a sys_refcursor;
6 begin
7 open a for 'select empno, ename from (' || sql_s ||')';
8 fetch a into empno, ename;
9 while(a%found) loop
10 dbms_output.put_line(ename || '/' || empno);
11 fetch a into empno, ename;
12 end loop;
13 close a;
14 end;
15 /
 
Procedure created.
 
SQL> set serveroutput on;
SQL> exec stable('select * from emp');
SMITH/7369
ALLEN/7499
WARD/7521
JONES/7566
MARTIN/7654
BLAKE/7698
CLARK/7782
SCOTT/7788
KING/7839
TURNER/7844
ADAMS/7876
JAMES/7900
FORD/7902
MILLER/7934
 
PL/SQL procedure successfully completed.
 
SQL> exec stable('select empno, ename, sal from emp');
SMITH/7369
ALLEN/7499
WARD/7521
JONES/7566
MARTIN/7654
BLAKE/7698
CLARK/7782
SCOTT/7788
KING/7839
TURNER/7844
ADAMS/7876
JAMES/7900
FORD/7902
MILLER/7934
 
PL/SQL procedure successfully completed.Rgds. -
How to find the number of columns in an internal table DYNAMICALLY ?
Hi,
How to find the number of columns in an internal table DYNAMICALLY ?
Thanks and Regards,
saleem.Hi,
you can find the number of columns and their order using
the <b>'REUSE_ALV_FIELDCATALOG_MERGE'</b>
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = sy-repid
I_INTERNAL_TABNAME = 'ITAB'
I_INCLNAME = sy-repid
changing
ct_fieldcat = IT_FIELDCAT
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 2
OTHERS = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif
now describe your fieldcat . and find no of columns.
and their order also..
regards
vijay -
How can I remove the Location column from the search results in a .chm file?
How can I remove the Location column from the search results in a .chm file?
I generated the file in Robohelp HTML 9.
As far as I know it's used when you've combined more than one source into the final help file. It is possible (though I don't remember doing it) that I did that once a couple of years ago but now I'm only using one source - the project that's generating the .chm.
Can anyone tell me how I can remove it?
Thanks
TomIn Project Setup look at the Window properties. I think you will find Advanced Search is ticked.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge -
How to get customer number and name from the SD document
Hi All,
Can you please let me know how to get Customer Number and Name from the SD Document?
Thanks a lot....
AnilHi,
It will be displayed in the SD (BIlling document) itself, you clikc on the VF03. The customer name and number will also appear in the SO document also Tcode VA03
regards,
radhika
Edited by: kolipara radhika on Jul 10, 2009 5:32 AM -
How to read particular number or word from lengthy serial data
Serially getting lengthy data...how to get particular number or word from Tht
Omi_30 wrote:
I am getting continusly 3 measured voltages,currentso,powers over serial..those values over serial are separated by spaces
Are the numbers in ASCII? Use the Spreadsheet String to Array function. Wire in a space constant to the delimiter and a 1D array of doubles to the array type. You can then use Index Array to get the value you want.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
How can I edit the SamAccountName column from the list or be able to edit it?
Hello,
In my view for a SharePoint list, I see three columns for SamAccountName. This list is for listing staff as a directory, so there are phone numbers, names, emails addresses, division, department and such. The SamAccountName
column for some people has incorrect username or is blank. When I edit a record in the list, the SamAccountName column is not available to edit.
How can I edit the SamAccountName column from the list or be able to edit it?
I do have user profiles working and importing profiles from AD, but the list still shows empty or incorrect SamAccountName for some records.
PaulIf the user does not remember the encryption password there is no way to use the backup.
The password cannot be removed or reset.
Delete the backup, restore as new. Sync the desired content to the device. -
How to map the bulk users with the required roles in portal at one time
Hi,
Would anyone tell me how to map the bulk users with the required roles in portal at one time?Thanks for all the reply.
<b>I need to assign 1 or 2 group to n((eg) 1000)number of users</b>
I tried the first option like
[group]
gid=
gdesc=
user=
Thr problem with this is I could n't put more no of users in the notepad.
I would be able to put only 150 users in the single line of notepad. If it goes to next line it is not working.
I tried creating seperate notepad but in Import it says "exists"
I'm not sure about LDAP. Would anyone explain me the best approach to do this. -
How do i unlock an ipod touch from putting the password in too many times?
How do I unlock an iPod touch from putting the password in too many times?
Restore...
From iTunes, select the iPad/iPod and then select the Summary tab. Follow directions for Restore and be sure to say "yes" to the backup. You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod. -
How does one prevent all email received, from being sent to the cloud at time of receipt?
leisurestreetWelcome to the Apple Community.
That's how it's supposed to work, you can't stop it. If this isn't what you want you should get yourself a POP based email account. -
How to change the input and output schema in BPEL process
hi',
Please tell me how to change the input and output schema in BPEL process after the process is made.
thanks
YatanIf your intention is just changing the content you are passing to bpel/returning from bpel
Here is another way
just update your default created xsd files with new elements, update wsdl elements in message definition and chnage bpel code to reflect new elements in activities
Regards,
Praveen -
How to get the sine wave sample of the input and output in the same time?
I discovered that the samples were acquired did not in the same time in my vi.Could you tell me how to get the sine wave sample of the input and output in the same time?
Output:9263;
Input:9201
Attachments:
singal requency.vi 104 KBHello Yun_Zhu,
Your VI looks like you started from an example, and you are on the right track.
To clarify are you trying to synchronize the input and the output waveforms? If you you will need to share a time base and a start trigger. Check out the synchronization examples from LabVIEW
Anthony F.
Product Marketing Engineer
National Instruments
Attachments:
HIODAQmxSyncMultiDev.png 70 KB -
How to get the number of columns in a result set???
hi everyone..
i am trying to establish a servlet applet communication....
my applet send the sql query to the servlet as serialised string and then the servlet executes the query...
Since i need to pass the result back to the applet, i thaught of passing the whole reult set to the applet..but that seems to be not possible..
so i thaught of storing my result set data in a vector and then pass the vector,but the first problem that i came across is that how to get the number of colums in a result set....
so is there a way to get the number of columns in a result set...???
and also i would like to know if it possible to send my whole result set to the applet bye serialization or by any method...???
thanx in advanceYou shouldn't do. It expenses resources (you should always close the ResultSet and the Statement as fast as possible). Simply gently process it into a Collection or Map of DTO's. Those are serializable.
-
How to access variable number of columns using ref cursor !
Hi,
I am trying to get variable number of columns using ref cursor.
Declare
mySzSql varchar2(2000);
Type dynSqlRC is Ref cursor;
current_cur dynSqlRC;
tbl_rec alt_42_consolidated%Rowtype;
Begin:
/* This works */
mySzSql := 'select *
from
Table1
Where
rowid = ''AAEWNEABXAAAAkxAAA''';
/* i want something like this to work, this is not working, giving missing variable name error */
mySzSql := 'select col1, col2, col3
from
Table1
Where
rowid = ''AAEWNEABXAAAAkxAAA''';
open current_cur for mySzSql;
fetch current_cur into tbl_rec;
close current_cur;
End;
I do have the list of desired columns which I am looking to fetch, so after taking that in the record type, how should i get their values. Is it possible to traverse tbl_rec declared above and if column name matches then I will store the value in the array and finally return this array.
Can somebody please tell me how to do this.
ThanksIt appears that this is a followup to How to loop through columns selected by select clause which is itself a followup to [url="
How to execute dynamic sql"]this earlier thread.
Assuming these are intended to be followup questions, can we please stick to a single thread? That makes it a lot easier to understand the situation and follow the conversation. Starting multiple threads makes it harder to follow the conversation.
Thanks,
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
How to send a number by SMS from contact list on 2...
Guys, I cracked my brains to solve how to send a number from contact list by SMS in 2630.
Maybe there's no such option at all?
Please help!!!
Message Edited by berzerk on 16-Dec-2008 09:24 PMI don't think there is such an option on a limited phone like the 2630.
On phones running S60 such as the Nseries and Eseries devices (and a few others) there is an option to copy a number from the contacts into the clipboard and you can subsequently paste it into a new message. Older S40 phones like the 2630 don't have a clipboard facility to do copy/paste actions.
Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!
Maybe you are looking for
-
"Your disk could not be partitioned" error in bootcamp
I'm attempting to load Windows 7 home premium 64-bit on an early 2011 15" MBP with Bootcamp 5.0.2 and am getting the error "Your disk could not be partitioned. An error occurred while partitioning disk." No other information leads me to understand th
-
ThinkPad Themes - Wallpapers - Screensavers - Win7 logon - icons .. here u have
Hi there , i wanted to share with u themes - screensavers - wallpapers - icons - sounds ..etc. DOWNLOAD - Think7 Theme which i did by myself for windows 7 , icons are totally my design inspired from old ibm tp and new icons. but as u ll see i cou
-
Control Design and Simulation Tutorial
Hi I'm starting off with a coursework which requires use of the Control Design and Simulation functions. Before I ask any silly questions i'd like to see the hand on tutorial, it's referenced in this white paper. http://www.ni.com/white-paper/5855/en
-
Tax info. PLEASE HELP!!
I signed up as an individual for "standard developer program". But when i go to iTunes Connect to edit "Contact Info", it asks for company contact, like: Senior Management, Finance, Technical, Legal, Promotions. I'm not working for a company right no
-
Hello all, Suppose I have two separate datatables in one page. How can I make it so that both tables are aligned (i.e, one on the left and one on the right). I tried doing this with <hx:panelLayout> <f:facet name="left"> // Code for Ta