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

How to pass table data in Function modules?

Former Member
0 Likes
585

Hi,

I have a remote enabled function module in 4.7. I am using this is a program written in 5.0. How to get the data from RFC enabled FM into an internal table in this case?

4 REPLIES 4
Read only

Former Member
0 Likes
555

Hi Prabhu,

Kindly tell the FM Name.

Rohit G

Read only

Former Member
0 Likes
555

hi rohit,

FM name: ZBAPI_FMT001.

Read only

Former Member
0 Likes
555

Hi Prabhu,

Since it is a Custom Fm i cant see it in my system.

Look if u want to bring data in internal table then there could be two ways::

1) your FM should contain itab in CHANGING option , so that u can have internal table of same type and pass through FM,

2) read values one by one and append to internal table.

Thanks

Rohit G

Read only

Former Member
0 Likes
555

Hi,

Create the itab with the structure as that of Table structure given in the RFM.

Call the RFM into your progam. Accept the records one by one into the itab.

thansk