on 05-26-2009 11:39 AM
Hi,
we implemented a xslt-mapping (ABAP) in PI with external-functions.
It's a great feature and works fine.
Now, we have to implement an error handling:
The external-functions are reading data from an abap table. We have to stop the mapping (if a value in the table is missing).
We wanna show an error inside the PI-Monitoring (red flag) with a valid error text.
How can I raise an error inside an external-function?
regards
Wolfgang Hummel
hi,
you can always use the approach presented in my blog:
/people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michal,
thanks a lot for your answer.
Can I set dynamic configuration inside an external funktion of an ABAP-XSLT?
I added the CX_MAPPING_FAULT-Exception to my external-function method and raised an exception inside my external-funktion ... and I got an "UNCAUGHT_EXCEPTION" inside my mapping - bad
regards
Wolfgang
hi,
>>>Can I set dynamic configuration inside an external funktion of an ABAP-XSLT?
honestly I don't know
but you can always have two mappings in your interface mapping
XSTL
ABAP
and the abap will only check if the fields are mapped correctly - if not throw
an error as shown in my blog
Regards,
Michal Krawczyk
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.