‎2009 Nov 23 9:21 AM
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
‎2009 Nov 23 9:30 AM
‎2009 Nov 24 5:23 AM
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
‎2009 Nov 24 8:48 AM
‎2009 Nov 24 6:34 AM
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