Dump in Workflow

Dear Gurus,
When I execute a workflow it is giving me the below dump,
Short text of error message:
Unable to read RFC destination WORKFLOW_LOCAL_654
Technical information about the message:
Message classe...... "SWF_RUN"
Number.............. 617
Variable 1.......... "WORKFLOW_LOCAL_654"
Variable 2.......... "RFC_READ_DESTINATION_TYPE"
Variable 3.......... "DESTINATION_NOT_EXIST"
Variable 4.......... " "
Variable 3.......... "DESTINATION_NOT_EXIST"
Variable 4.......... " "
Can anyone give me the solution.
Thanks

Hi ContactSanku,
as our friend Vijay said, contact BASIS and check the RFC destination for Workflow.
Also check SWU3 tcode and check if the RFC connection node is green.
Hope it helps.
Aditya
Edited by: Aditya Varrier on Jan 11, 2010 1:16 PM

Similar Messages

  • DYNPRO_SEND_IN_BACKGROUND dump when workflow executes a background task

    Hi,
    My project is currently in version 4.6. I have a custom version of the PO release workflow and in here I created an activity calling a Custom Task, which then calls a Custom Business Object Method and then calls a program (using Submit RSWUWFML2). Unfortunately everytime the workflow goes to the said activity it hits a dump -- DYNPRO_SEND_IN_BACKGROUND.
    I've tried unchecking the flag "Advance with Dialog" inside the task but it didn't work. I know RSWUWFML2 most of the time should be scheduled in background but it just so happens that we have a certain scenario in which it should have a different body and subject. This is the reason why I opted to call it inside the workflow.
    Do you have any idea what caused this? Thanks!

    Hello Dan,
    DYNPRO_SEND_IN_BACKGROUND is an exception which occurs when system tries to call screen in background. Calling screen in background is not possible.
    Report RSWUWFML2 creates LIST at the end of this report which is nothing but a special type of screen. If you run this report as background task, definitely above exception will occur. 
    Schedule this report as job instead of using it in task.
    Regards,
    Sagar

  • Error code -38... why?

    Ok, this keeps happening randomly (or perhaps not...) when I'm working with an audio region i.e slicing, moving, copying etc. The project is a TDM based Logic 7 file that's been working fine up until now. I've just started using Leopard so that might the problem but I don't think so. I know that 'error code -38 returned by the audio driver' means '(system) file not open' according to a google search but how can that be? I re-boot LP8 and it starts to work fine again until perhaps 5-30 mins' later it pops up again and is very persistent until I re-boot.
    This is dumping my workflow down the toilet!
    Help would be greatly appreciated as always guys, many thanks in advance for taking the time.
    Acoma

    I keep getting error-39.
    It's annoying.

  • Dump error while Testing the Workflow

    Hi Friends,
    I have developed workflow for Approve and Reject Scenerio. But when i press Approve, the user should get the mail, same for Rejected also. When Test the Workflow, I am  getting the Dump Error as
    *Dump Error*********
    Unable to read RFC destination WORKFLOW_LOCAL_320
    Long text of error message:
    Technical information about the message:
    Message class....... "SWF_RUN"
    Number.............. 617
    Variable 1.......... "WORKFLOW_LOCAL_320"
    Variable 2.......... "RFC_READ_DESTINATION_TYPE"
    Variable 3.......... "DESTINATION_NOT_EXIST"
    Variable 4.......... " "
    Thanks in Advance. Rewarded if useful.
    Naveen

    Naveen,
    It seems someone might have deleted the corresponding RFC destination (which is created automatically). Check in SM59.
    ss

  • Process-controlled workflow hang due to dump

    Hi all,
    due to a temporary dump in an SRM 7 system, some document-related workflows are stucked... in other terms, these workflow processes have been started, the the dump occoured and by now, they seems to be stucked in "in process" state.
    Tecnically, these are not workflow in error, so SWI2_DIAG is not helpful.
    We'd like to unlock this situation and -eventually- restart the workflow process. How can we do it?
    Thanks in advance for your help and support.
    edit: system dump is now solved, which means, triggering the same workflow process will result in a success.
    Edited by: Matteo Montalto on Jun 30, 2011 4:34 PM

    Ok. There used to be OSS Note 1458380 - Process Controlled Workflow Restart Program, if the document is in "Awaiting Approval" Status.
    Or do the manual restart by using tcode SWUE (Event trigger)
    Object Category - ABAP Class
    Object Type - /SAPSRM/CL_WF_PDO_SC
    Event - READY_FOR_WORKFLOW
    Object Key - <DOCUMENT_GUID>
    Event Parameter - <SC Creator User ID>
    and Click "Create Event" button
    Use SWI1 to check whether the event is created and see whether the document is submitted for workflow triggering or use SWI6 to check for that SC document

  • Dump on screen when configuring Process controlled workflow

    Hi Experts,
    I am facing 1 problem in SAP SRM 7 ehp1.  I am configuring Process controlled workflow. Previous workflow settings was Application controlled workflow as its been upgraded from SRM 5. If i run a RFX (BUS2200) cycle in application controlled workflow environment, it works flawlessly.
    But when i change my workflow framework to process controlled workflow for all Business Objects. I face a dump when I am creating an RFX. The dump on the portal is:
    http://dl3803.ltisap.com:8040/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif
    DATREF_NOT_ASSIGNED
    No access possible via the 'NULL' data reference
    Method: PARTICIPATING_IN_ACTIVE_WF of program /SAPSRM/CL_PDO_DYN_MDA_WF_ADJ=CP
    Method: EDIT_DURING_WORKFLOW of program /SAPSRM/CL_PDO_DYN_MDA_WF_ADJ=CP
    Method: /SAPSRM/IF_PDO_META_CONF_BO~GET_BO_HDR_ACTION_METADATA of program /SAPSRM/CL_PDO_META_CONF_PROV=CP
    Method: /SAPSRM/IF_PDO_META_CONSUMER~GET_ACTION_METADATA of program /SAPSRM/CL_PDO_META_BO_RFQ====CP
    Method: /SAPSRM/IF_PDO_META_CONSUMER~GET_ACTION_METADATA of program /SAPSRM/CL_PDO_META_BO_RFQ_ADVCP
    Method: /SAPSRM/IF_PDO_META_CONSUMER~GET_ACTION_METADATA of program /SAPSRM/CL_PDO_META_HANDLER===CP
    Method: UPDATE_ACTIONS of program /SAPSRM/CL_CH_WD_MAP_IDENT====CP
    Method: /SAPSRM/IF_CLL_MAPPER~REFRESH of program /SAPSRM/CL_CH_WD_MAP_IDENT====CP
    Method: /SAPSRM/IF_CLL_MAPPER~REFRESH of program /SAPSRM/CL_CH_WD_IDEN_MAP_RFQ=CP
    Method: OVERRIDE_LEAVE_INIT_SCREEN of program /SAPSRM/CL_FPM_OVRIDE_OIF=====CP
    & when i check in st22. I get the dump as:
    Category               ABAP Programming Error
    Runtime Errors         DATREF_NOT_ASSIGNED
    ABAP Program           /SAPSRM/CL_PDO_DYN_MDA_WF_ADJ=CP
    Application Component  SRM-EBP-PD
    Date and Time          17.12.2011 15:46:56
    and get dump at:
      1 method PARTICIPATING_IN_ACTIVE_WF.
      2   " this method returns ABAP_TRUE if the logon user has an active work item,
      3   " i.e. he participates in an active approval workflow process.
      4
      5   DATA lv_curr_workitem_id    TYPE /sapsrm/wf_workitem_id.
      6   DATA lr_process_info        TYPE ref to /SAPSRM/S_PDO_WF_PROCESS_INFO.
      7
      8   " the default:
      9   rv_participates_in_active_wf = abap_false.
    10
    11   " The scenario is not valid for application-controlled workflow:
    12   " Any agents who may edit the document (approver and requester)
    13   " enter "Edit" mode right-away. No special handling possible.
    14   lr_process_info = io_apf_md_context->get_process_info_ref( ).
    >>>   IF lr_process_info->wf_version NE /sapsrm/if_wf_process_c=>GC_APF_VERSION_0200.
    16     return.
    17   endif.
    18
    19   " check if a valid workitem exists
    20   lv_curr_workitem_id = io_apf_md_context->get_workitem_id( ).
    21   IF lv_curr_workitem_id IS INITIAL.
    22     RETURN.
    23   ENDIF.
    the only configuration I change in the system is I changed the workflow framework to process controlled workflow.
    Kindly help.
    Thanks
    Anand

    Hello Anand,
    As per standard SAP recommendations the application-controlled workflow framework is only intended to be used if you are upgrading from SAP SRM 5.0 or earlier and you need to continue using your existing work-flows.
    The default workflow framework setting is the process-controlled workflow from SRM 6.0 on-wards and the user will be provided a option to switch to the application-controlled workflow framework.  The option to switch to process-controlled workflows is available only after you have once switched to application-controlled work flows but there will be a big caution that " If you switch from the application-controlled workflow framework to the process-controlled workflow framework; once a process-controlled workflow has been run, it is not supported that you switch back to application-controlled work-flows".
    As per the details given i got a feel that we have tried executing the scenario by switching between application and process controlled workflow and hence the system have become inconsistent and its dumping.
    I suggest you to raise a OSS ticket to SAP to resolve the issue.
    Best Regards,
    Rahul

  • Dump while running Workflow

    Hi Gurus,
    I get the following dump whenever I execute my workflow :
    The following syntax error occurred in the program                     
    CL_SWF_RUN_WIM_LOCAL==========CP :                                    
    "You can only define attributes in the PUBLIC, PROTECTED or PRIVATE section"
    Error in ABAP application program.                                                                               
    The current ABAP program "CL_SWF_RUN_WIM_FACTORY========CP" had to be  
    terminated because one of the                                         
    statements could not be executed.                                                                               
    This is probably due to an error in the ABAP program.                  
    I have checked the workflow config in SWU3 and find all green tick marks.
    As suggested in the Dump I did the syntax check on the  Class Interface CL_SWF_RUN_WIM_LOCAL
    I get the following  Syntax error.
    Include <SWFCNTN01>
    You can only define attributes in the PUBLIC,PROTECTED or PRIVATE section.
    Can  anybody  advice me on how should I go ahead and  rectify this Syntax error.
    I have checked that the  Include <SWFCNTN01> is defined in the Program SAPLSWUS and the Include
    LSWUSTOP.
    Any help is appreciated.
    Thanks,
    Bluesh

    Include <SWFCNTN01>
    Why are you using the above include? to use the macros for creating conatiner and passing teh elements.
    Then instead of the above one try to use INCLUDE cntn01_swc

  • DYNPRO_SEND_IN_BACKGROUND dump workflow

    Hello,
    I have made a upgrade to ECC6 and when i try to run workflow and it stay stuck on a task and gives the follow dump:
    Runtime Errors         DYNPRO_SEND_IN_BACKGROUND
    Short text
        Screen output without connection to user.
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPMSSY0" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        During background processing, the system attempted to send a
        screen to a user.
        Current screen: "SAPMSSY0 " 0120.
    I already check the logical connections in SM59 and i have rfc destination WORKFLOW_LOCAL_010 with user logon WF-BATCH, i run also SWU3 transaction to configure workflow.
    Anyone could help me.
    Best Regards,
    Eduardo Paiva

    Hi,
    In SWEL find out for which step this Error is being raised. Most probably this step or activity is set as a background process, so get into the task and uncheck the 'Background processing'  under section Execution.
    Regards
    Anik
    Edited by: ANIK SIRCAR on Sep 21, 2011 1:09 PM

  • Reg : Short Dump While Activating Workflow

    Hi All,
    This morning I added a condition step in my workflow and created two custom methods in the corresponding BO and used them in the task. Initially when i made the changes in the workflow and tested it, it was working fine. But after sometime, when I did the necessary binding and tried to activate the workflow, the workflow started resulting in short dump.
    Below is the dump analysis.
    SAPSQL_ARRAY_INSERT_DUPREC
    The ABAP/4 Open SQL array insert results in duplicate database records.
    000310        L_OTYPE EQ ORG_OBJTYPE_WORKFLOW.
    000320       LOOP AT ACT_LINES.
    000330         MOVE-CORRESPONDING ACT_WFDKEY TO ACT_LINES.
    000340         MOVE ACT_CLIENT TO ACT_LINES-CLIENT.
    000350         MODIFY ACT_LINES.
    000360       ENDLOOP.
    000370     ELSE.
    000380       MESSAGE E280 WITH L_OTYPE RAISING INVALID_OBJECT_TYPE.
    000390     ENDIF.
    000400
    000410   *- insert lines table
    ------>     INSERT SWD_LINES CLIENT SPECIFIED FROM TABLE ACT_LINES.
    000430     IF SY-SUBRC NE 0.
    000440       MESSAGE E281 WITH SY-SUBRC 'SWD_LINES'
    000450                    RAISING INTERNAL_DATABASE_ERROR.
    000460     ENDIF.
    000470
    000480   *- commit
    000490     IF DO_COMMIT NE ' '.
    000500       COMMIT WORK.
    000510     ENDIF.
    000520
    000530   ENDFUNCTION.
    I tried searching sdn. But all other posts were related to passing entries from internal table to DB. Also I'm not even sure if i can raise a OSS, because a few minutes back the system was working fine and all of sudden this started happening.
    So can you please guide me what I am missing and how can i fix this?
    Thanks & Regards,
    Raj

    Hi Rick,
    When I get acitvate the workflow, the workflow template is gettign active & saved and after that the system results into short dump. And also when i try creating a PR and test this workflow, in SWEL, i can see the below message in RFC status field.
    The ABAP/4 Open SQL array insert results in duplicate database records..
    I haven't done any duplicate binding. Also I checked what you suggested. Didn't work. Also checked my newly added code. But I'm not accessing database directly anywhere. All is done via SAP standard function module.
    Even if i try to display this workflow in PFTC, the system is resulting in the same short dump.
    What could be the reason?
    Regards,
    Raj
    Edited by: Raj  Karunanidhi on Feb 23, 2010 5:30 AM

  • SC - Workflow DUMP

    Hi,
        Could someone help me in this dump?
        Thank you
    http://sap05.brde.com.br:8000/sap/bc/webdynpro/sapsrm/wda_l_fpm_oif
    DATREF_NOT_ASSIGNED
    No access possible via the 'NULL' data reference
    Method: PARTICIPATING_IN_ACTIVE_WF of program /SAPSRM/CL_PDO_DYN_MDA_WF_ADJ=CP
    Method: EDIT_DURING_WORKFLOW of program /SAPSRM/CL_PDO_DYN_MDA_WF_ADJ=CP
    Method: /SAPSRM/IF_PDO_META_CONF_BO~GET_BO_HDR_ACTION_METADATA of program /SAPSRM/CL_PDO_META_CONF_PROV=CP
    Method: /SAPSRM/IF_PDO_META_CONSUMER~GET_ACTION_METADATA of program /SAPSRM/CL_PDO_META_BO_SC=====CP
    Method: /SAPSRM/IF_PDO_META_CONSUMER~GET_ACTION_METADATA of program /SAPSRM/CL_PDO_META_BO_SC_ADV=CP
    Method: /SAPSRM/IF_PDO_META_CONSUMER~GET_ACTION_METADATA of program /SAPSRM/CL_PDO_META_HANDLER===CP
    Method: UPDATE_ACTIONS of program /SAPSRM/CL_CH_WD_MAP_IDENT====CP
    Method: /SAPSRM/IF_CLL_MAPPER~REFRESH of program /SAPSRM/CL_CH_WD_MAP_IDENT====CP
    Method: OVERRIDE_LEAVE_INIT_SCREEN of program /SAPSRM/CL_FPM_OVRIDE_OIF=====CP
    Method: /SAPSRM/IF_FPM_OVRIDE_EVT_OIF~OVERRIDE_EVENT_OIF of program /SAPSRM/CL_FPM_OVRIDE_OIF=====CP

    Hi,
    The dump comes from a workflow class so probably there is something
    missing in the WF configuration.
    Please check if there are Process Schemas configured for SC (BUS2121).
    You configure this here:
    SRM Server > Cross-Application Basic Settings > Business Workflow >
    Process-Controlled Workflow > Business Process Configuration > Define
    Process Levels
    In case there are no Process Schemas maintained you should add a Process
    Schema containing at least an automatic level.
    You can try to activate the delivered BC sets:
    /SAPSRM/C_SC_600_000_SP04 - Without approval
    /SAPSRM/C_SC_600_001_SP04 - One-step approval
    If you configured by using own responsible resolver Badis and BRFs, please check if this is not causing the issue.
    Cheers,
    Melina

  • Getting dump during opening the workflow definition

    Hello Experts
    I created one Workflow 2 months before and it was working fine till yesterday. when I check the workflow definition by clicking on push button 'Workflow builder' from transaction 'PFTC', I got dump.it is not opening workflow definition.
    I tried to open the workflow definition is from transaction 'SWDD' but I got dump from there as well.
    the short text of the short dump is  'Access via 'NULL' object reference not possible'
    I check the tables and all the steps included in workflow is present.
    Could you please let me know what could be the issue and how can I resolve it.
    Thanks in advance for your help.
    Edited by: Vibhor Goyal on Jan 11, 2011 11:50 AM

    Hi Vibhor,
    Is this issue happening with all the users trying to open this particular workflow?
    If this is a user specific issue, then it could be authorization or roles related. Else it could be more serious than it looks like.
    Also, check with the basis team if there were any OSS notes / patches applied in the system since yesterday which could have resulted in this issue.
    Hope this helps!
    Regards,
    Saumya

  • Problems with Workflow (stoppings, dumps)

    Hello all.
    The problem description:
    In our client system (ERP 701 Win Oracle 10.2, sap_aba - 5, sap_basis - 5, sap_appl - 14) we have this problem from time to time (1 time to 30 processes).
    We have developed our own workflow. In all other client's systems all are ok.
    But here the workflow process has hanged at the step of creation
    business object instance (status waiting). We have dump from user WF-BATCH (MESSAGE_TYPE_X - "Termination occurred in the ABAP program "CL_SWF_RUN_TRANSACTION_MANAGERCP" -  in "SAVE".The main program was "SAPMSSY1 "). SWU3 is whole customized. In transaction SWIA I can perform this background step and our Workflow will be continued.
    How can we decide this problem?

    Hi,
    Please check settings required for WF-BATCH  on the server from below link.
    [Re: Use of SWU3 & WF-BATCH;

  • Workflow Forwarding is giving dump in webdypro.

    Hello Experts,
    I am working with some workflow tool with WD ABAP. And i want to forward workitem to another user and i m using
    SWL_WI_DISPATCH funtion module for forwarding . But its giving me dump in my web dynpro application. If there any alternative FM for workflow forwarding from WD application please advice.
    The error i am getting like below.
    The following error text was processed in the system R3D : Screen output without connection to user.
    The error occurred on the application server AUSR3DEVDC02_R3D_00 and in the work process 1 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Function: RH_TASK_AGENTS_SEARCH of program SAPLRHW0
    Function: SWL_WI_DIALOG_FORWARD of program SAPLSWL3
    Function: SWL_WI_DISPATCH of program SAPLSWLD
    Method: FORWARD of program /1BCWDY/88CYALX665AYO7GJA2M1==CP
    Method: IF_DETAILS~FORWARD of program /1BCWDY/88CYALX665AYO7GJA2M1==CP
    Method: ONACTIONACTION of program /1BCWDY/88CYALX665AYO7GJA2M1==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/88CYALX665AYO7GJA2M1==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    Method: IF_WDR_ACTION~FIRE of program CL_WDR_ACTION=================CP
    Method: DO_HANDLE_ACTION_EVENT of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Thanks,
    Satya
    Edited by: satya pujahari on Jun 15, 2010 1:01 PM

    Thanks..but all the parameter i have to pass except WI_ID, bcuz i am getting some dump " Incorrect parameter with CALL FUNCTION ".
    Thanks,
    Satya

  • Problem with workflow manager after restore from dump

    Hi,
    I updated my development environment from my dump production (restore full from dump). I restore my applicative schemas and aslo the schema owf_mgr which is used by my application.
    I've got a problem with three views that I cannot recompile....
    WF_USERS, WF_ROLES, WF_USER_ROLES
    The errore message is ORA-00942 : Table or view doesn't exist.
    How can I solve my issue ? Do I miss something
    Thanks for your help !

    Which version of Oracle Workflow Standalone do you use?
    The views are based on workflow tables such as WF_LOCAL_USERS, WF_LOCAL_ROLES, WF_LOCAL_USER_ROLES and DBA dictionary DBA_USERS. Please check if these are available in OWF_MGR schema.
    Hope this helps.
    Vijay

  • Training workflow giving dump

    Dear Experts,
      When I am booking a course in training and event management its giving a dump. Kindly go through the screenshots and suggest me a solution. In this workflow I have to send the notification to approver when employee booking the course.
    Regards,
    Jeena George

    Hi,
    When I create a booking , I am expecting one of the following workflows to trigger.
    WS 01200147     Approve Employee Attendance Cancellation
    WS 01200151     Approve Employee's Attendance Booking
    WS 01200160     Approve Employee's Rebooking
    But workflow WS 00400120 (Correspondence error handling) is triggered. I am having
    SAP_ALL authorization for the user.
    Can anyone guide me?
    Regards,
    Jeena George

Maybe you are looking for