Attribute filled in SWO1 but not in workflow container

Robert.vande.Berg@nuon.com Robert.vande.Berg at nuon.com
Tue Apr 13 11:49:42 EDT 2004


Hi all.
 
 
 
I created an attribute LOGID and a method SET_LOGID.
 
The attribute is virtual.
 
 
 
The method works fine when I test it in SWO1, the attribute is filled and it
can be used in a secondary method for the workflow.
 
But when I test it in the workflow, the attribute is NOT filled. Bindings
are right, so what could be the problem??
 
 
 
The method:
 
BEGIN_METHOD SET_LOGID CHANGING CONTAINER.
 
 
 
DATA:
 
      LOGNUMBER LIKE BALHDR-LOGNUMBER.
 
  SWC_GET_ELEMENT CONTAINER 'LogNumber' LOGNUMBER.
 
  OBJECT-LOGID = LOGNUMBER.
 
*  swc_set_element container LOGNUMBER OBJECT-LOGID.
 
 
 
END_METHOD.
 
 
 
Does anybody know??
 
 
 
Regards,
 


More information about the SAP-WUG mailing list