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 function module creation

Former Member
0 Likes
643

Hi Experts,

I want to create one RFC function module in my SAP R/3 System.

Actually from non sap system they will provide the following inputs

a) Employee NUMBER

b) company code

c) personnel area

d ) personnel sub area

e ) chage date

f ) birth date

g ) status

Based on this inputs by using RFC function module in SAP R/3 , HR MASTER data should be fetched.

Such as employee number , employee name , fathers name and so on ( from PA0001, PA0002, PA0000).

For this i created one structure with above fields.

kindly suggest me how to write the source code logic FOR RFC function module.

REGARDS,

RAGHUL

4 REPLIES 4
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
586

Use fm HR_READ_INFOTYPE in your rfc function module

Read only

0 Likes
586

hi ksd,

thanks for your reply.

Can u explain briefly how to use that function module . I need to fetch master data based on change date , birth date of employee.

kindly give me suggestions.

thanks & regards,

Raghul

Read only

0 Likes
586

Please check the documentation..

Read only

Former Member
0 Likes
586

Hi,,

A RFC is a normal Function module with RFC enabled , for example if u see any fm attribute tab ,u can see the second radio button as Remote -Enable module.

So u have to select that instaed of normal module .

And in import parameter of the fm u have to select the check box pass value for each of ur parameters in import tab.

Inside that u can call ur Standard FM if u have or u can write ur own logic to get th data.

Regards