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

Issue In workflow?

Hello

Experts

I an new to workflow when i am going to create a simple work flow with user desc and send ing mail but when i am trying to execute it it is ginving a adump. How to recover the dump.

The dump is like this

The current application program detected a situation which really

should not occur. Therefore, a termination with a short dump was

triggered on purpose by the key word MESSAGE (type X).

ETHOD if_swf_run_wim_utl_internal~get_system_user .

DATA: l_excp TYPE REF TO cx_swf_run_wim.

TRY.

IF me->m_int_state-system_user IS INITIAL.

me->m_int_state-system_user = cl_swf_run_workflow_propertie

ENDIF.

re_user = me->m_int_state-system_user.

CATCH cx_swf_run_wim INTO l_excp.

MESSAGE ID l_excp->t100_msg-msgid

TYPE 'X'

NUMBER l_excp->t100_msg-msgno

WITH l_excp->t100_msg-msgv1 l_excp->t100_msg-msgv2

l_excp->t100_msg-msgv3 l_excp->t100_msg-msgv4.

ENDTRY.

NDMETHOD. "

plz help.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Feb 26, 2009 at 07:23 AM

    why you are not using the standard send mail step in workflow ?

    if you are sending mail in the backgound you can use the standard send mail step .

    and if you want to send the mail in foreground use task TS20000547 .

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 26, 2009 at 07:24 AM

    Hello,

    Shortdumps in tx ST22.

    regards

    Rick Bakker

    Hanabi Technology

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 26, 2009 at 07:28 AM

    Hi,

    Please state the exact steps you followed while creating this workflow. Did you assign agents to the user decision task? Also check the recipient for the send mail step.

    Do a syntax check of the workflow and see if you find any errors in that.

    Regards,

    Saumya

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Before creating your first workflow you have to the basic workflow customizing in SWU3 tcode.

      Here you have to press on generate button for automatic customizing. You have to do the following whne u r creating a new workflow for the first time

      1) Maintain Runtime Environment ->Configure RFC Destination . right click -> auto-customizing.

      When you execute this activity, WF-BATCH user is created automatically. For this u should have SAP-ALL authorization.

      2) Maintain Definition Environment ->Maintain Prefix Numbers -> Execute-Activity-> specify the 3-digit prefix number for the workflow for the client.

      Regards,

      Sivagami

      Edited by: sivagami rathinam on Feb 26, 2009 9:55 AM

  • author's profile photo Former Member
    Former Member
    Posted on Feb 26, 2009 at 09:24 AM

    Thanks The dump is not giving

    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.