Skip to Content
0
Mar 25, 2014 at 01:32 PM

class attribute in technical workflow log not updated

202 Views

Hi Gurus,

I built a workflow analogous to the famous demo workflow "demoformabs" but with the demo class: CL_SWF_FORMABSENC instead of the BOR: FORMABSENC.

In the BOR Formabsenc there is also an attribute for the "Approver" (USR01) in addition to "Creator" (USR01).

This attribute "Approver" is missing in the class "CL_SWF_FORMABSENC".

So I added this attribute "Approver" also in the class "CL_SWF_FORMABSENC":

data APPROVER type SIBFLPORB value CL_SWF_BOR_TYPES=>MC_USR01.

Finally in the method "approve" I set the value for the attribute "APPROVER".

me->approver-instid = me->APPROVBY.

I can see that the value has been successfully set by setting a binding from this class attribute to a workflow container element.

BUT, in the technical workflow log (container) I can not see the class attribute "Approver" populated.

Here it´s still displayed as < no instance >.

What do I need to do, to make this value appear also in this class attribute in the technical workflow log?

Albeit I know, that it´s working, I am getting confused, that it´s still displayed as empty.

Cheers,

Dominik