Skip to Content
author's profile photo Former Member
Former Member

workflow container problem

hi,

i have create a workflow, it is triggering from report, i want to trigger the workflow from report, its working fine,

when i execute the report its giving short dump.

<b>short dump error</b>:

the function module 'SWE_EVENT_CREATE' is working but

Ev_container does not match the length of the field.

please let me know , what is the problem

here i mentioned my code in report.

REPORT YCHECK .

INCLUDE <CNTN01>.

Data: t_simple_container LIKE SWR_CONT OCCURS 0 WITH HEADER LINE.

data: File_container like rlgrap-filename.

t_simple_container-element = 'File_container'.

t_simple_container-value = 'c:\pdf1.pdf'.

append t_simple_container.

clear t_simple_container.

*SWC_SET_ELEMENT t_simple_container 'File_container' File_container.

CALL FUNCTION 'SWE_EVENT_CREATE'

EXPORTING

OBJTYPE = 'ybus2005'

OBJKEY = 'number'

EVENT = 'start'

  • CREATOR = ' '

  • TAKE_WORKITEM_REQUESTER = ' '

  • START_WITH_DELAY = ' '

  • START_RECFB_SYNCHRON = ' '

  • NO_COMMIT_FOR_QUEUE = ' '

  • DEBUG_FLAG = ' '

  • NO_LOGGING = ' '

  • IDENT =

  • IMPORTING

  • EVENT_ID =

TABLES

EVENT_CONTAINER = t_simple_container

  • EXCEPTIONS

  • OBJTYPE_NOT_FOUND = 1

  • OTHERS = 2

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

commit work.

Thanks

Sankar

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 02, 2006 at 07:06 AM

    Hi Sankar,

    Check whether the table t_simple_container matches with the Data type of EVENT_CONTAINER and also check for the value you have passed to the Internal Table is correct.

    Hope this would help you out.

    😊

    Cheers,

    Prashanth

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.