Skip to Content
avatar image
Former Member

Class attribute values lost in worflow

  • 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!!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 29, 2017 at 03:56 PM

    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

    Add comment
    10|10000 characters needed characters exceeded