cancel
Showing results for 
Search instead for 
Did you mean: 

Using MASSG to determine number ranges in NUMKR

Former Member
0 Kudos

Hi,

I am trying to get NUMKR to determine number ranges using reason for action(MASSG). A new business unit is coming onboard and need to keep their existing staff numbers. Therefore two number ranges were set up. 01 for external and 02 for internal.

A reason for hire action exists with the reason 99 - Data migration.

NUMKR is set as follows.

If MASSG = 99 and employee group = 1 then choose number range 01 otherwise if MASSG <> 99 and employee group = 1 then choose number range 02.

However when running PA40. This does not work and it ends up always picking the otherwise option.

Has anybody else experienced this?

Thanks in advance

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member1348745
Active Participant
0 Kudos

Oh i got the solution :

PE03->NUMKR->CHANGE->GO TO->STRUCTURE

Change the structure to PME04 instead PME01.

PME04 have Action Type and Reason for Action as decision values.

Regards,

Aman

Former Member
0 Kudos

Thanks, for all your help here, it was much appreciated. We have decide to tackle this from another angle and simplify the decision tree, removing the need for Massn and Massg.

Again Thanks

Former Member
0 Kudos

Hi David

There seem to be an error while setting the feature. You are adding another condition of EG=1 in the otherwise & that is probably causing an error. Can you set the feature as follows:

Country Code = 99 > EG =1> MASSG = 99 --> 01 otherwise 02. And the otherwise that you get at the country code level =02 unless you have other country Molga's defined. Please check that all the employees that you are trying to get into the system initially are EG =1 else it will not work. After creating the feature & ensuring that the feature is error free, activate it.

Regards

UR

Former Member
0 Kudos

Thanks for this. I tried this but can't get it working. The problem is that it seems to ignore the reason for action entirely. I'm sure that this used to work and am wondering if this is due to same SAP update.

Former Member
0 Kudos

Hi David

I think I know the problem. You need to include action type

For NUMKR, in your decision tree, follow the sequence:

1) Molga

2)Employee Group

3) Action Type

4) Action reason

and now give the NUMKR values for this and for otherwise.

This should work now

Regards

UR

Former Member
0 Kudos

Hai..

Add MASSN in Structure of the feature NUMKR.

In attributes, Strcuture, Change and add MASSN

former_member1348745
Active Participant
0 Kudos

Do you mean using development key i have to add MASSN?

Aman

Former Member
0 Kudos

Hi,

Just check by maintaining only

Country Grouping 99 and

Other .

in the Feature

Country Grouping 99 =Employee Group=1= Number Range=01

Other=Employee Group=1= Number Range=02

Dont forget to Activate.

Do you have any other then this Employee Group ?

If not you can give directly for Country Grouping 99 as 01and for Others 02

Regards

Prasanth

Former Member
0 Kudos

The feature is getting overridden by some table values. Check the corresponding table values for that number ranges.

Narasimha

Former Member
0 Kudos

Thanks, this sounds logical, but which tables should i look at?