Skip to Content
0

Import container contains errors (are any obligatory elements missing?) from SWE_EVENT_CREATE

Nov 06, 2017 at 02:33 PM

89

avatar image
Former Member

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

pr-event-error.jpg (28.4 kB)
10 |10000 characters needed characters left characters exceeded

Hi MP,

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.

Hope it helps.

Aditya V

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Susan Keohan
Nov 06, 2017 at 02:53 PM
0

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'.

Good luck.

Share
10 |10000 characters needed characters left characters exceeded