Application Development 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: 

PA30 - Validate Creation of infotype depending on Employee Subgroup

Former Member
0 Kudos

Hello everyone,

I have a requirement as follows:

- user accesses PA30 transaction.

- user inputs valid employee number PERNR, displaying main info.

- user tries to create infotype 0713 to this employee.

- if employee has subgroup A or B, then an error message should be sent informing that employees with such subgroups cannot have infotype 0713 created.

Is there an user-exit i can use to add this validation?

Thank you in advance to everyone,

Nuno

1 ACCEPTED SOLUTION

former_member182426
Active Contributor
0 Kudos

hi,

you can use ZXPADU02

Regards,

Shankar.

4 REPLIES 4

former_member182426
Active Contributor
0 Kudos

hi,

you can use ZXPADU02

Regards,

Shankar.

0 Kudos

Thank you, Shankar. Problem solved with that exit.

Former Member
0 Kudos

Hi

You can write logic to display error message user exit ZXPADU01, but it will show error message as a pop screen and it will exit from the PA30 screen once you enter.

~~~Ganesh Kumar K.

0 Kudos

Hello Ganesh,

Interesting what you said. The question is that it doesn't happen to us. We get an error message in the bottom status bar. I wonder if it's because were doing a PERFORM to an outside program, and then invoking a method that displays the error message. We did it for modularization purposes, but nevertheless, it may resolve that issue.

Regards,

Nuno