cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

value of characteristics is not included in the selection

0 Kudos
1,145

Hi all,

I created a custom planning function of abap class. I want to append a record which is not included in my selection of planning filter. The characteristics name is zparam.Here is the error message

Please see that the char zparam is marked as "fields to be changed" in planning filter.Therefore this error message should not be appeared.Is there anything else needed to be marked to solve this error ?I am giving additional info below

Here is the planning function type:

And here is the class called in this function type

I use the interface below in the class and all I do is writing the code in execute method of that interface.

IF_RSPLFA_SRVTYPE_IMP_EXEC

Accepted Solutions (1)

Accepted Solutions (1)

gregor_dieckmann
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Gunes,

this is no error but by design. The filter describes data region where data can be changed/created/deleted and this data area is locked. To create records outside this range would mean to create records without the protection of locks and thus allow data inconsistencies to happen. This is why the system checks that data records have to be contained in the filter.

Regards,

Gregor

Answers (1)

Answers (1)

0 Kudos

Hi Gregor,

Thanks for the reply.

May I know the purpose of "fields to be changed " here ? If I select parameter as fields to be changed, what is the benefit in this case?In F1 help of this field, it says :

You want to copy actual data for the previous year to the plan data for the current year. The system uses the Version characteristic to distinguish between actual data and plan data. In the copy planning function, characteristics Version and Year are selected as to be changed

In this case, zparam has to be "fields to be changed" .