Skip to Content
0
Former Member
Aug 10, 2011 at 11:17 AM

PA40 - hire ONLY if data for infotype 0002 is filled

274 Views

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