Skip to Content
avatar image
Former Member

ERROR HANDLING USING WORKFLOW

Hi Gurus,

Please find the solution in the below quiery.

I am working on OUTBOUND IDOC, whenever idoc fails, workflow should be trigger & mail should send to IDOC administrator,later he will check & reprocess the idoc.

Mainly , i have bussiness object & standard task.

By using these, please tell me procedure to trigger workflow whenerver idoc fails. Please reply me soon.

Regards,

Chiranjeevi.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 04, 2008 at 05:26 AM

    Hi,

    pls try out this-

    we have got Tcode WE19 for testing Idocs right. For this Tcode we can trigger the workflow to send a mial using the events.

    PLs check out the apt BOR object in SW01 for this and try to trigger the event in that BOR.

    IN the workflow design, give this BOR, Event and the in teh SEND MAIL sttep give the user as the IDOC Administrator (User id if any), as you want to send the IDOC number tha was failed to process then create the workflow container element for this IDOC number and send the same in the mail and doing the bimding appropriately.

    Check the BOR in table TOJTB and select the apt BOR for IDOC for the type of data you want to send.

    check out this BOR ICLIDOCEVT if if helpful.

    Regards

    Lekha

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Lekha,

      Thanks for giving me reply. I have 5 error handling scenarios , error handling should be done using workflow.

      I am not worked on WORKFLOW , but i have an idea.

      Below are the 5 points need to do error handling using workflow.

      1. Value not found for Custom IDoc fields.

      2. Partner Profile not maintained correctly

      3.Syntax error in IDoc.

      4.IDoc ready for dispatch (ALE Service)

      5.Error in Sending FI Change IDoc out from the BTE in FB02 using the function module u2018MASTER_IDOC_DISTRIBUTEu2019. This is not expected to happen and would really be exceptional.

      \[removed by moderator\]

      Thanks & Regards,

      Chiranjeevi.

      Edited by: Jan Stallkamp on Sep 4, 2008 1:21 PM