Skip to Content
avatar image
Former Member

Exception handling in BPM and ABAP mapping

Hello all,

We have a BPM with this structure:

. REC (receiver)

. <begin BLOCK1>

. TRANSFORMATION1 (Abap Mapping)

. <begin EXCEPT> (exception branch)

. CONTROL (Cancel Process)

. <end EXCEPT>

. <end BLOCK1>

The same exception is assigned to the block; to the mapping and to exception branch.

The problem is that, when in the Abap Mapping the exception CX_MAPPING_FAULT is raised, the exception branch seems to be ignored and so, the BPM doesn't finish.

This problem only occurs in some of ours BPMs, because the same thing, when done in other BPMs, works fine.

I know i can change the BPM to turn around this problem, but i would very much like to know the solution to this.

Please, help us with this posting.

thanks in advance

Filipe Barreira

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Mar 30, 2007 at 11:25 AM

    Hi Filipe,

    could it be, that you forgot to set the exception-handling (in properties) in your mapping step?

    I sometimes forgot it. And Also: sometimes after activating the BPM the exception-handling got lost.

    Regards Mario

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 30, 2007 at 01:27 PM

    Hi Filipe,

    Refer to SAP Note 921757

    If nuthing works out, go for debugging as specified here

    Debug ABAP Multi Mapping in a BPM



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi again,

      We are in SP19, witch invalidates the note 921757 listed.

      Also, i made an abap mapping witch only raises the exception. So i think it is not an ABAP error.

      Also the XML seems to be correct, because this is a duplicates check routine. A message (with the same data) already entered previously (we trying to avoid another entry).

      In the trace analysis for the message, it is stated that the exception has occurred:

      <?xml version="1.0" encoding="utf-8" ?>

      - <MappingTrace>


      <Trace level="1" type="T">Mapping-Name:IM_SALIDAS_TESTE1</Trace>

      <Trace level="1" type="T">Mapping-SWCV:7CE651C00ABC11DBCBF0C8E8C0A901F6</Trace>

      <Trace level="1" type="T">Mapping-Step:1</Trace>

      <Trace level="1" type="T">Mapping-Type:R3_ABAP</Trace>

      <Trace level="1" type="T">Mapping-Program:ZCLTD_MM_SALIDAS_CARGA_TESTE</Trace>

      <Trace level="1" type="T">Creating Abap mapping. Classname =ZCLTD_MM_SALIDAS_CARGA_TESTE</Trace>

      <Trace level="1" type="T">CALL APPLICATION MAPPING.</Trace>

      <Trace level="1" type="T">Application error in mapping program ZCLTD_MM_SALIDAS_CARGA_TESTE, error code: , error text:</Trace>


      the problem is that the process keeps running.

      regards Filipe Barreira