MDG Finance Workflow-
the GLMAST idoc for MDG finance workflow is not getting triggered for finance data (GL Accounts) that is created in MDG using initial data upload
while for GL Accounts created in MDG itself, the idoc is working properly
I could trace the in workflow WS75700040, in step Activate, BOR method BUS2250-Activate is getting called
this method is subsequently calling FM USMD_DISTRIBUTE_CREQUEST
since this FM is expected to create the Idoc, which it is not, in this case, i wanted to trace where the return message of this FM is getting logged (it has to go somewhere)
so i landed to this code (if you wud trace in Activate method of BUS2250 code)
this code looks like dealing with the object instance. this object is Bus2250, but looking at container element of workflow in Swi1, i could no where trace the messages in the object instance runtime data.
i need help and inputs about basic code reading, how to understand this code ?
(its not possible to debug, ofcourse)
am I missing something to check , with a closer look, should I be able to find something in workflow container of the runtime instance?
form swo_%invoke using invoke structure swotinvoke.
invoke-invoked = 'X'.
self-header = 'OBJH'.
self-type = 'SWO '.
self-handle = invoke-object.
if object-_handle ne invoke-object.
if swo_%tabix ne 0.
if object-_handle ne 0.
modify object index swo_%tabix.
else.
delete object index swo_%tabix.
endif.
endif.
read table object with key invoke-object.
if sy-subrc = 0.
swo_%tabix = sy-tabix.
else.
clear object.
object-_handle = invoke-object.
object-_objecttypename = invoke-objtype.
object-key = invoke-objkey.
append object.
describe table object lines swo_%tabix.
endif.
endif.
if invoke-refresh ne space or object-key ne invoke-objkey.
clear object.
object-_objecttypename = invoke-objtype.
object-_handle = invoke-object.
object-key = invoke-objkey.
endif.
endform.
any inputs would be appreciated
thanks
bhakti