03-04-2008 8:14 AM
Hello When I do extended check to a Z include inside another Include SAPMV45A...
Messages for Syntax check warnings(Error)
Program: SAPMV45A Include: ZV841INC Row: 122 Prio 1
Syntax check warning
The exception CX_AI_SYSTEM_FAULT is neither caught nor is it declared in the
RAISING clause of "USEREXIT_SAVE_DOCUMENT_PREPARE".
Internal Message Code: MESSAGE G-Q
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON)
DATA fault TYPE REF TO cx_ai_system_fault .
CATCH cx_ai_system_fault into FAULT.
WRITE 😕 fault->errortext.
ENDTRY.
Could you please suggest any solution
03-04-2008 8:47 AM
Please post the entire code of the include within { c o d e } tags (without the separating spaces), so that formatting is retained.
matt
03-04-2008 9:06 AM
03-04-2008 6:08 PM
I can't see anything obviously wrong with the code you have posted on this forum. I think I need to see all the code of the include.
If you look to the right of your screen, when you reply to this message, you'll see "Plain Text Help". Underneath that you'll see Further Markup Possibilities. The first of those is the word code surrounded by curly brackets - that is { and a }. This I call a "code tag". If you post your ABAP into this forum and surround the ABAP with a code tag before and a code tag afterwards, it's a LOT easier for me to read, and therefore help you.
Without tags, you get:
Sample code
IF mycondition. " Without tags
PERFORM something.
ELSE.
PERFORM something_else.
ENDIF.
* Sample code
IF mycondition. " With { code } tags
PERFORM something.
ELSE.
PERFORM something_else.
ENDIF.
matt
Edited by: Matthew Billingham on Mar 4, 2008 7:08 PM