cancel
Showing results for 
Search instead for 
Did you mean: 

Receiver Adapter

Former Member
0 Kudos
293

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

>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.

Former Member
0 Kudos

Hi Nimrod,

I dint ask about the Fields,which is surely according to the business logic.i was asking where should i map the complex type field of my JDBC data type to name of the

RFC called?or to the complex type structure of the rfc?

Thanks and Regards

Jishi

Former Member
0 Kudos

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

Former Member
0 Kudos

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

former_member187339
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Suraj,

I have just done as u have told but still the data is not coming.

Thanks and Regards

Jishi

former_member187339
Active Contributor
0 Kudos

Hi Jishi,

Refer following thread

And see my last reply, check that in your scenario also.

Are you able to retrieve any value from DB? Can you see the retrieved result in Moni? Check that also.

Regards

Suraj

Former Member
0 Kudos

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