cancel
Showing results for 
Search instead for 
Did you mean: 

Elements passing in event container in workflow

0 Kudos

Hi ,

I have been raising an event in an MM Invoice posting exit (cl_swf_evt_event=>raise() and passing all the internal table data( bKPF, BSEG etc ) via container elements . I could successfully pass the data to event handler class when tested via MIRO . But same code is not working when I triggered the exit via F-47 .

I could see the tables data in MT_ELEMENTS when container is set in my exit . But when the control goes to event handler class , I couldn't see those elements in container and exception CX_SWF_CNT_ELEM _NOT_FOUND is raised when get statement is used .

This looks weird for me as the same code works for one transaction but not for another .

Please help me what could be the issue here .

Thanks ,

DR.

Accepted Solutions (0)

Answers (1)

Answers (1)

anjan_paul
Active Contributor
0 Kudos

Hi,

Please share both the code .

Thanks