cancel
Showing results for 
Search instead for 
Did you mean: 

how to access table data from other system in ODATA

vikash_pathak
Participant
0 Kudos

Hello Friends,

I am new to ODATA, and I have a requirement,

I have one table in ABC system Table name ztt_ids it contain four field id name uname email_id,

now I have to access these data from other system DEF ,

so, please help me out how could I do this functionality in ODATA?

Thanks in Advance

Vikash

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185414
Active Contributor
0 Kudos

It's not about oData. In general if you want to access data from another system create a RFC enabled function module in source system and from destination system invoke the same RFC. Just take care that you enable RFC connection between the system for data exchange.

vikash_pathak
Participant
0 Kudos

Hello Ankit,

I found some code to access the table, but i am not able to understand it well.

if you can understand , please explain. the use.

Thanks

former_member185414
Active Contributor
0 Kudos

The current class has an attribute mr_request_details which in turn has another property parameters which further has two properties - Name and Value. Name in this case is 'Customer' and Value is a concatenation of four fields namely customer name, customer number, plant and email address which is separated by a comma.

vikash_pathak
Participant
0 Kudos

Hello Ankit,

This code is used to access these details from another system, as i asked in question,

but still i am not able to understand how this code is getting value from the table which resides in another system.

Vikash

former_member185414
Active Contributor

This code on its own cannot read data from another system. There will be some preceding code which will populate data in mr_request_details->parameters attribute of the current object.