Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RFC Prep Steps

sumeyye_1634
Participant
0 Likes
1,215

Hi all,

I need to create a very simple RFC by extracting data from MARA.

I am gonna use 5 fields of MARA; I have difficulty to prepare the source code part. Do u have any special resource to follow while preparing my RFC.

(PS: Do i have to use more than one table while preparing my RFC. I reckon i dont need any other table rather than MARA.)

Best Regards

1 ACCEPTED SOLUTION
Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Likes
1,122

Hello sumeyye_1634

If you need to expose a handful of MARA fields through an RFC function, then all you need to do is to implement a function module with relatively simple SQL statement against the MARA table. However you need to have at least rudimentary ABAP skills to do that.

RFC_READ_TABLE function would be the most straight forward approach. I'd not recommend it though - see the note 382318 - FAQ | Function module RFC_READ_TABLE for details.

Best regards

Dominik Tylczynski

3 REPLIES 3
Read only

FredericGirod
Active Contributor
1,122

check FM RFC_READ_TABLE

Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
0 Likes
1,123

Hello sumeyye_1634

If you need to expose a handful of MARA fields through an RFC function, then all you need to do is to implement a function module with relatively simple SQL statement against the MARA table. However you need to have at least rudimentary ABAP skills to do that.

RFC_READ_TABLE function would be the most straight forward approach. I'd not recommend it though - see the note 382318 - FAQ | Function module RFC_READ_TABLE for details.

Best regards

Dominik Tylczynski

Read only

1,122

Thank u so much

Dominik Tylczynski