cancel
Showing results for 
Search instead for 
Did you mean: 

Help required in setting value for field REM_RECEIVER_TYPE in project scheduled items through scripting

Former Member
0 Kudos

I want to set value in a standard enum field “REM_RECEIVER_TYPE” of Project Scheduled Items using the following method

void setReceiverType(SchedItemReminderReceiverEnumType value)

Setter for receiverType. The receiver type could be a vendor, a collaborator, individual, or a combination of vendors and collaborators. This setter takes the enum that specifices the receiver type. (Database Column: REM_RECEIVER_TYPE)

The values possible in constructor are below,

  • VENDOR
  • COLLABORATOR

I am using the following piece of code to implement it.

newItem.setReceiverType(new SchedItemReminderReceiverEnumType(SchedItemReminderReceiverEnumType.COLLABORATOR));

But getting error

at Line: 89 : in file: inline evaluation of: ``import com.sap.eso.api.projects.ProjectIBeanHomeIfc;  import com.sap.eso.api.pro . . . '' : new SchedItemReminderReceiverEnumType ( SchedItemReminderReceiverEnumType .COLLABORATOR)

Please tell me why is the error coming and how it can be implemented.

Thanks in advance.

Sanjay

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Sanjay,

I am having the same issue but for MA schedule items.

Did you find the solution for this issue?

I really appreciate your help on this.

Regards,

Martin

Former Member
0 Kudos

newItem.setReceiverType(new SchedItemReminderReceiverEnumType(SchedItemReminderReceiverEnumType.INDIVIDUAL