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

Creating function Module in HR

Former Member
0 Likes
761

Hi Experts,

Can you please help me in the following steps:

  • Create
    a function module in HR which accepts candidate number or select all candidates
    who meet the selection criteria below,
  • Select
    all the employee from PA0001 where the PERSG is ā€˜4’, PESRK is marked as
    required in table above, status is PA0000 is ā€˜3’,
  • In
    e-Recruiting for the selected PERNRs or PERNR, get the candidate number/s,

Regards,

Vinith.

4 REPLIES 4
Read only

venkateswaran_k
Active Contributor
0 Likes
730

Hi Vinith,

Do you want to know how to create a Function module in SAP ?   Or you want the functional help?

Regards,

Venkat

Read only

0 Likes
730

Hi Venkat,

I know how to create function module may some body have experience is there any standard function module to use it . I need also help in functional side.

Regards,

Vinith

Read only

0 Likes
730

Hi Vinith,

Why you want to create a FM?

You can use the Logical Database PNPCE. So that you can use the default logical database screen.

And in the Initialization part you can provide the default values for Employment Status, Employee Group and Employee Subgroup.

So that system will provide you the personnel numbers which satisfy your default values in the selection screen.

Later, Inside the Get Peras try to use Macro Statements or HR_READ_INFOTYPE Function Module to fetch the valid record based upon the Begin Date & End Date.

SKR

Read only

0 Likes
730

Hi Suddess,

I have two system on E-Rec System which doesn't have PAs table how select persg pesrk  I will make function module in HR System to select them and call it in E-Rec system

Regards,

Vinith