on 2019 Jul 30 9:30 AM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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" .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 6 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.