cancel
Showing results for 
Search instead for 
Did you mean: 

PA40 - hire ONLY if data for infotype 0002 is filled

Former Member
0 Kudos

Hi there,

User wants to hire an employee using PA40.

Steps:

1. User executes PA40.

2. User goes through infotype 0000, presses Save.

3. User goes through infotype 0001, presses Save.

4. User aborts infotype 0002.

So far it works this way:

After step 2, entry in 0000 is created and stored in DB.

After step 3, entry in 0001 is created and stored in DB.

What I want to achieve is to store data in 0000, 0001, 0002 if and only if the user fills data in 0002 infotype.

So if user aborts after i.e. 0001, no data should be stored in infotypes. Simply speaking I need to make 0002 infotype mandatory in order for hiring process to be performed successfully.

Is it possible if yes, how ?

Thanks,

Bart

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Check whether "Fast entry of personnel actions" be of any help to you

In a fast entry action, only the required fields for each infotype record are displayed for you to enter data. Tcode PA42

http://help.sap.com/saphelp_46c/helpdata/en/48/35c86c4abf11d18a0f0000e816ae6e/frameset.htm

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Thanks for suggestions.

@Anantha Prakash:

Nice idea, sounds like a way to go. Unfortunately I am not able to configure this transaction properly using OG42. Having short dumps in auto generated code

@Magesh Varan S:

No clue here. Care to elaborate ?

@Federico Montanana:

Clever idea. It's a partial solution. User can't go back or exit, but can kill sap logon or power might die etc etc (I know it's a rare condition, but end users tend to generate a vast number of different irrational scenarios )

Cheers,

Bart

Former Member
0 Kudos

Bartosz, you are right in your observation, there is a slight chance that the user shut down or the power goes off, but based on my experience after implementing this solution is that our problem of employees hired with no infotypes XXXX no longer happened, and no tickets about users shuting down the computer because they cant go on with the action.

Have a good day!

Federico.

Former Member
0 Kudos

I had this requeriment to make some infotypes mandatories during the hiring process; what I did was using transaction SHD0 to create standar variants and grey out the buttons 'cancel' 'back' and 'exit' for the mandatory infotypes, it worked perfect

Hope that helps

Best regards,

Federico.

Former Member
0 Kudos

Hi Bart,

To make Infotype 0002 mandatory, Enhance the infotype 0002 and give the validation condition for the user input.

Regards,

Magesh