Attribute filled in SWO1 but not in workflow container

Robert.vande.Berg@nuon.com Robert.vande.Berg at nuon.com
Wed Apr 14 02:51:40 EDT 2004


But that sets the element back into the container, not as an attribute, does
it??
 
-----Oorspronkelijk bericht-----
Van: 'Mark Pyc' [mailto:Mark.Pyc at bhint.com]
Verzonden: dinsdag 13 april 2004 18:07
Aan: SAP-WUG at MITVMA.MIT.EDU
Onderwerp: Re: Attribute filled in SWO1 but not in workflow container
 
 
Maybe the commented out set of the container element?
 
 
 
 
 
Robert.vande.Berg at nuon.com
Sent by: SAP Workflow <Owner-SAP-WUG at MITVMA.MIT.EDU>
13/04/2004 16:49
Please respond to SAP Workflow Users' Group
 
 
        To:     SAP-WUG at MITVMA.MIT.EDU
        cc:
        Subject:        Attribute filled in SWO1 but not in workflow
container
 
 
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