on 03-12-2008 10:35 AM
Hi Experts,
I have the following mapping scenario at hand, please suggest the best way to acheive it.
I have to map from Oracle table of System A to Oracle table in System B.
Sender table A has a multiple sets of header and detail records, denoted by H or D.
For one header there may be many detail records.
Transfer number is unique to each header.
These are arranged in no particular order.
The requirement is to group them into ordered sets of same tranfer number, header followed by all the details. How can this be acheived?
SOURCE
Record Type TNo f1 f2 f3
H 100 AA * *
D 100 * BB cc
D 100 * dd ee
H 200 FF * *
D 200 * GG HH
D 100 II JJ
H 300 KK * *
D 300 * LL MM
D 300 * NN OO
D 200 * RR SS
D 300 * PP QQ
DESTINATION
Record Type TNo f1 f2 f3
H 100 AA * *
D 100 * BB cc
D 100 * dd ee
D 100 II JJ
H 200 FF * *
D 200 * GG HH
D 200 * RR SS
H 300 KK * *
D 300 * LL MM
D 300 * NN OO
D 300 * PP QQ
IN Oracle System A add a column 'flag' to the table invoice (assume)
In Msg Mapping have normal message mapping such that
Source msg can have recordtype,tno,f1,f2,f3, flag
Target msg includes statementname,tablename,action='Insert' and access have recordtype,tno,f1,f2,f3,
in Sender JDBC CC
Select Query
select recordtype,tno,f1,f2,f3 from invoice where flag=0;
Update Query
update invoice set flag=1 where flag=0;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shamly,
have u followed the standard structures that to be followed while designing JDBC receiver adapter in the receiver side, and at the same time the fields which u define the database and the fields which u define the XI must be same else the data wont be passed.
regards,
kishore
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shamly,
Whether have u got success in moni, actually where u got struck up with
regards,
sai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the links.
http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
/people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
Regards,
Phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check this JDBCXI-JDBC Scenario
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/jdbcTOJDBC&
Regards
Seshagiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.