hi,
i have the requirment to read out workflow containers in detail for some different workflows.
i am using FM SAP_WAPI_READ_CONTAINER to read workflow container. thats ok for single fields which are in the container. but i have e.g. the structure EKKO (purchasing document header) in the workflow container. this structure has about 150 fields, and i need some of it to read out, BUT:
the FM has the table "simple container" which comes back with the container content. this table has to fields, name and value. for EKKO structure it looks like this:
EKKO 101
EKKO 399384
EKKO 1234
EKKO xxxx
EKKO xxxxxx
EKKO xxxxxxxx
.
.
.
so for all 150 fields i have the EKKO as field name, and then the content of the field, 101 for MANDT, 399384 for field EBELN, and so on..........
But HOW do i know the field name of the structure EKKO ?
As i am using the FM for many workflows i have to use a solution working for all structures. so where do i find the name of the sturcture in the workflow container ?!?
br Martin