Skip to Content
0
Former Member
Nov 26, 2012 at 10:57 AM

RFC to update User Master Data

222 Views

Hi Experts,

I need to create an RFC , that should be called from some external program.
When the following RFC is called, it will be provided with USERID, MOBILE NUMBER, OFFICE NUMBER from SAP HR Master Records

I am supposed to check, if the USERID exists in SAP or not.
If it exists i need to use that information and update the UserID with that data
If the user ID doesnt exist i need to pass a message that userID doesnt exist in SAP as a error message.
I am supposed to use BAPIRET2 for this.

Please help me out, on the data elements i need to use for the importing parameters and how i need to proceed on the source code.
Thanks in advance, this will be a great help.
Thanks again.

Regards,
SG