Import container contains errors (are any obligatory elements missing?) from SWE_EVENT_CREATE
Nov 06, 2017 at 02:33 PM|200 Views
Created a custom WF using WS00000038 for event RELEASESTEPCREATED which is working fine if i create a PR using ME51.
My requirement is to trigger the custom WF from ABAP Program if the PR is not approved within the specified interval. To trigger the custom WF, the FM SWE_EVENT_CREATE was used in the ABAP program. After executing the program, i checked the event trace using SWEL the below error was recorded
Import container contains errors (are any obligatory elements missing?) and the event was deactivated pr-event-error.jpg
are there any mandatory container (like Release Code)? may be this container value was empty.
my question why triggering custom WF again from a program after certain interval? why didnt you use 'deadline monitoring' in the WF itself to send intimation that PR is not approved.
It looks like you should check your workflow container and ensure that your call to SWE_EVENT_CREATE is passing the obligatory import parameters. In SAP_WAPI_EVENT_CREATE, you would fill the 'input container'.
Add comment