Add Infotype Using Infogroup Modifier 

Is there a way to add an infotype into my Hiring action based on the users personnel area?

Answer:

You can accomplish this in two ways:

1. Infogroup Modifier 

Copy the existing hiring action infogroup and add new infotypes as needed. Save it as new combination of user group and infogroup modifier. This is table V_T588D. Then modify feature IGMOD to have WERKS as one of the field for decision operator -> personnel area value -> infogroup modifier (return value).

2. Dynamic Actions - Sample code:

0000 P PSPAR-MASSN='XX' (Hiring action code)
0000 P PSPAR-WERKS='XXXX' (Personnel Area)
0000 I INS,NNNN,,, (Infotype)

Notes:

Under SPRO..... Go to actions --> Define infogroups --> execute and choose infogroup (3rd option)) and enter your infogroup no. in determine work area..... check if the 2nd column infogroup modifier is filled with a value... you have to have this value maintained as a return value in IGMOD feature. 

You can add IT0041 for your recruitment action by using below path.

SPRO -> PM -> PA -> Customizing procedure -> Actions -> Define infogroup -> Execute -> Infogroup -> In the determine work area select your infogroup from drop down -> check your country grouping -> then add IT0041 in sequence.

Infogroup modifier is nothing but you can restrict giving access to certain infotype based on PA, PSA , Eg & ESG

Example:- You need to give access IT0442 (Company car) only for executive employees but not for all employees. You can restrict through Infogroup modifier.

SAP Human Resource Books
SAP HR Books - Certification, Interview Questions and Configuration

SAP Human Resource Tips
SAP HR Tips and Human Resource Management

Best regards,
SAP Basis, ABAP Programming and Other IMG Stuff
http://www.erpgreat.com

All the site contents are Copyright © www.erpgreat.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies.  The site www.erpgreat.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
 The content on this site may not be reproduced or redistributed without the express written permission of
www.erpgreat.com or the content authors.