Skip to Content
0

Class attribute values lost in worflow

Jun 29, 2017 at 11:17 AM

34

avatar image
Former Member
  • 1.Program variables passed to contructor of the abap class ,which is then passed to the static attributes of the class.
  • 2.Worklfow event method of the same class called by program.
  • 3.Event method of abap class triggers workflow.
  • 4.Workflow is entered with event parameters.
  • 5.Event parameters has values which was passed in the first step from program to constructor and then to the attributes.
  • 6.Workflow task calls another method of the same abap class.
  • 7.The method gives dump => field symbol not assigned.
  • 8.< Field symbol > = attr_aufk_data.(attirubute).
  • 9.In this entire process , is the attribute values get lost .

Please answer !! very important!!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Mike Pokraka Jun 29, 2017 at 03:56 PM
0

It sounds like it works as expected.

Attributes are in memory. They must be filled by the constructor each time the object is instantiated. This happens many times in workflow and is done by the LPOR & FIND_BY_LPOR methods.

Please review the doco on OO workflow in the sap help, and there is also some good info in the Workflow book, as well as on SCN, see:

Why use ABAP OO in Workflow

Share
10 |10000 characters needed characters left characters exceeded