Skip to Content
avatar image
Former Member

Reading workflow container Data

Hi All,

I have a workflow setup in our system. I have to read its container data.

The container contains a BOR Object of type ZAFVC_AGNT, whose data is like

1) Routing number

2) Counter

3) Agent

4) Event Key

5) Object id

I have used SWW_WI_CONT_READ_SINGLE_OBJECT, SAP_WAPI_READ_CONTAINER to read the container data.

When ever I read the container, I am able to read the object type, but the object data is always concatenated in the form of a char of length 70.

Is there a way to retrieve the distinct values by forming a structure?

Thanks,

Anand

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Aug 20, 2007 at 11:55 AM

    Yes. Create a structure (either in dictionary or internally in your program) where the elements have the same types and ordering as the object type. Then simply move the contents of the key (e.g. a variable of type SWOTOBJID-OBJKEY) to your variable which has the structured type corresponding to the key fields.

    That should be it.

    Add comment
    10|10000 characters needed characters exceeded