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: 

problem of number range object

Former Member
0 Kudos
69

hi experts,

the user use PA40 to record events and create an employee, the user wants the system to warn if the total number of employee beyond limits.

so i found an exit 'PBAS0001' and implements it, if the total number beyonds limits, and popup to warn user and exit. But the number of employee is got from the number range object. when the program runs to the PBAS0001, the number range object has already add one, and next time when employee created, the employee number wouldn't be continuous.

if the employee number must be continuous, so how to solve this problem? or is there other exit fm runs before the number range object adds? i found an exit named HRBAS00_STRUAUTH runs befor the range object but the necessary parameter is not all ready.

hunger for your advices, and thanks a lot.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
54

hi,

please describe in a more detailed way ....

when you start the transaction the numer is for examle 2000 you save the employee. And now you start your transaction again which number is shown now ?

regards

1 REPLY 1

Former Member
0 Kudos
55

hi,

please describe in a more detailed way ....

when you start the transaction the numer is for examle 2000 you save the employee. And now you start your transaction again which number is shown now ?

regards