Skip to Content
0

how to access table data from other system in ODATA

Oct 20, 2017 at 04:14 AM

61

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Ankit Maskara
Nov 02, 2017 at 06:12 PM
0

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.

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

capture.png (12.0 kB)
0

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.

0
Former Member
Ankit Maskara

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

0

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.

1