on 2005 Sep 25 11:58 AM
Hi,
I have a scenario where i have a RFC adapter as receiver and JDBC as sender.I wanted know how should i go about for the mappings of the two structure.to which field i should specificall map the fields?
Thanks and Regards,
Jishi
Jishi,
Whether its JDBC or RFC, its all XML in XI i.e. everything gets converted to XML.Now if you have one to one map i.e. 1 JDBC message to 1 RFC message then I guess you should map topmost node of the source to topmost node of the target.
Regards
Rajeev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>to which field i should specificall map the
> fields?
In your question do you mean in the "business" way e.g.. Which fields are to be filled in the RFC structure or technically ?
A Business person should specify which fields are to be filled and in what order\logic in order to activate the function correctly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jishi,
>><i>i was asking where should i map the complex type field of my JDBC data type</i>
You perform Message Mapping between Message Types and not Data Types, So you need not worry about Complex type filed in your Data type
Moreover I just checked with Mapping part of your scenario, you can very well do <b><i>without the mapping</i></b> of message type's name also.
Just map the required fields and carry on.
Thanks & Regards,
Varun Joshi
Hi Varun,
I have done the mappings for only the required fields.and then tested my scenario in SXMB_MONI i get a processed successfuly message but when i check the details of the message,in the node RESPONSE -> PAYLOADS -> MainDocument(application/xml),i only get this message in it
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:ZJISHI xmlns:ns0="urn:sap-com:document:sap:rfc:functions">
<IT_POTOSAL />
<IT_RETURN />
</ns0:ZJISHI>
The data which i passed should be displayed under the IT_POTOSAL xml tag right??
Thanks and Regards,
Jishi
Hi Jishi,
Check whether data is coming in the Monitor and also check whether you have mapped your row (0..unbound) with the corresponding tag(0..unbound) in the receiver side?
eg :
<b>Source :</b>
<?xml version="1.0" encoding="UTF-8"?>
<resultset>
<row>
<VENDORNAME/>
<STREET/>
<CITY/>
<ZIP/>
<COUNTRY/>
</row>
</resultset>
<b>Target:</b>
<?xml version="1.0" encoding="UTF-8"?>
<ns:FileReceiver_MT xmlns:ns="urn://dbtofile">
<Information>
<VENDORNAME></VENDORNAME>
<STREET></STREET>
<CITY></CITY>
<ZIP></ZIP>
<COUNTRY></COUNTRY>
</Information>
</ns:FileReceiver_MT>
Map <b><row></b> to <b><Information></b>
Regards
Suraj
Hi Jishi,
>>but when i check the details of the message,in the node RESPONSE -> PAYLOADS -> MainDocument (application/xml)
Your checking the data in the Respnose Tab, if u want to see the Data that you are sending, see at Request Tab.
To check the Data in the Response Tab of SXMB_MONI you need to have some exporting parameters in your RFC. Also you need to perform Response Message Mapping.
Please check at the RFC end.
Thanks & Regards,
Varun Joshi
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.