Skip to Content
avatar image
Former Member

Binding from method of a class to task container in workflow

Hi all,

I am trying to bind multi line export parameter of method(class based) to a task in workflow. binding is perfectly defined and step is activated.

when i run the workflow, work item hangs with status 'In progress', and dump is thrown. i have defined a table type for muti line and used the same data type inside method and task container definition. i tired looking all the available resources with out much success. your inputs would be highly help full.


DUMP Description


Category ABAP programming

error Runtime Errors MESSAGE_TYPE_X


Application Component BC-BMT-WFM

Date and Time 27.11.2017 16:59:38

Short Text The current application has triggered a termination with a short dump.

What happened? The current application program has detected a situation that should not occur. A termination with short dump has therefore been triggered by the key word MESSAGE (type X).

What can I do? Note which actions and entries caused the error to occur.

Consult your SAP administrator. Using transaction ST22 for ABAP dump analysis, you can view, manage, and retain termination messages for longer periods.

Using Transaction ST22 for ABAP Dump Analysis, you can look at and manage termination messages, and you can also keep them for a long time. Error analysis Short text of the error message:

System error: Database table CONTAINER could not be written to Long text of the error message:

Diagnosis A modifying operation on the database table CONTAINER ended with an error. The problem occurred with instance 000050076677.

System Response The workflow system has canceled further processing and executed a rollback. Procedure Contact your system administrator.

Procedure for System Administration Check the current status of the workflow databases and then try a restart. Technical information about the message:

Message class....... SWF_RUN

Number.............. 661

Variable 1.......... CONTAINER

Variable 2.......... 000050076677

Variable 3..........

Variable 4.......... " "

"MESSAGE_TYPE_X" "CL_SWF_RUN_WIM_LOCAL==========CP" bzw. CL_SWF_RUN_WIM_LOCAL==========CM051 "IF_SWF_RUN_WIM_PERS_INTERNAL~SAVE" If you cannot solve the problem yourself, please send the following

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Nov 28, 2017 at 07:38 AM

    Could you please attach the whole short dump as a text file?

    What is the definition of the table type ZTFIAP_PAYBLK_APP? Is it sorted or hashed or has unique primary or secondary keys?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sandra & Mike,

      Thanks a lot for your inputs.

      "a far better solution would be to look at the source of the data and implement checking / conversion / validation there. Catching a problem as early as possible is always good".

      I do agree with mike, This particular case i have missed checking data quality. My initial design was with BOR and all worked fine with BOR. So i have over looked into data quality. Till i see this dump i didnt realize my data was corrupted. good lesson learnt.

      If anybody facing this problem please check method SAVE_CONTAINER. it has all the validation written on data.

  • Nov 27, 2017 at 08:59 AM

    You write about table type and multi line. Don’t use multi line container elements. A multi line structure is a table, a table type is a table, but a multi line table type is a table of tables.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hey mike,

      when we specify type as table type for a container element, muti-line is ticked by default and we can not un-tick as it is graded out..

      I am sure the issues is not because of container element properties...

  • Nov 27, 2017 at 08:22 AM

    Hi Rakesh,

    hope taskcontainer is import & export?

    try running the BOR for the method and see if method-parameter fetches the value correctly.

    Unable to understand the dump you have mentioned.

    Aditya V

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Aditya,

      Thanks for the response. yep task container is marked as both import and export parameter.

      I have tried with BOR method, it is successful. Unfortunately i can not call BOR methods as per the coding standards at client site.

      attached the dump section below. looking forward to your response..

      error1.png (53.0 kB)
      erro5.png (24.1 kB)