Skip to Content
author's profile photo
Former Member

RAISE

Hi Experts,

Can anybody tell me what is the following syntax means....

RAISE HARD_ERROR.

I came across this statement in a method.

Regards,

Sangeeta.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Aug 20, 2007 at 09:58 AM

    Hi,

    RAISE statement we will use in function module for raise an exception (ERROR) messeges, in normal program we will write error message using messege classes like E,S,I,W,A same way we will use RAISE statement in function module.

    if it use full answer reward me a points.

    praveen

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 20, 2007 at 09:36 AM

    Hi..

    RAISE <EXCEPTION>

    This statement is used to Raise (Trigger) exceptions in Methods and Function modules.

    This statement terminates the Method or FM execution and Returns the Control to Calling Program.

    In the Calling program we have to handle the Exception.

    <b>Reward if Helpful.</b>

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 20, 2007 at 09:38 AM

    Hi sangeetha

    raise exception .

    this statement is only effective in function modules and methods ,it raises an exception which r defined at exceptions.

    Regards

    sandhya

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 20, 2007 at 09:45 AM

    Hi Sangetha,

    RAISE will be used in Exceptions and for handling events..

    If u want to catch any exceptions means u can use RAISE <Exception-name>

    In OOABAP there will be a concept called events...If u want to call the event in ur class means u need to use RAISE EVENT<event-name>

    REWARD IF USEFUL

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 20, 2007 at 09:56 AM

    Hi Friends,

    I am not asking about exceptions.

    What I want to know is <b>what HARD_ERROR STANDS for?</b>

    Is it an exception name. If it is then where it is catched?

    Or is it something else?

    Thanks,

    Sangeeta.

    Add comment
    10|10000 characters needed characters exceeded