0% found this document useful (0 votes)
49 views1 page

Sap 1 PDF

An exception is a situation that arises during program execution where normal program flow cannot continue. SAP introduced a new class-based exception concept in Web AS 6.10 as an enhancement to the traditional sy-subrc method. Class-based exceptions represent errors using exception objects that are instances of exception classes, containing attribute values about the error. Exceptions can be raised or caught within TRY...CATCH blocks, and handling involves evaluating the exception object's attributes.

Uploaded by

Chaitanya Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views1 page

Sap 1 PDF

An exception is a situation that arises during program execution where normal program flow cannot continue. SAP introduced a new class-based exception concept in Web AS 6.10 as an enhancement to the traditional sy-subrc method. Class-based exceptions represent errors using exception objects that are instances of exception classes, containing attribute values about the error. Exceptions can be raised or caught within TRY...CATCH blocks, and handling involves evaluating the exception object's attributes.

Uploaded by

Chaitanya Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

6/8/2016

SAP

ClassBasedExceptions
AudioTranscript
Anexceptionisasituationthatariseswhileaprogramisbeingexecutedduringwhichthereisnopointtocontinuethenormal
programflow.SAPWebAS6.10introducedanewABAPObjectsexceptionconceptthatexistsparalleltotheexistingconcept
basedonsysubrc.Exceptionsandexceptionhandlingarenowbasedonclasses.ThisnewABAPObjectsexceptionconcept
enhancedtheclassicwayofhandlingexceptionusingsysubrc.
Inthenewexceptionconcept,anexceptionisrepresentedbyanexceptionobject.Anexceptionobjectisaninstanceofan
exceptionclass.Theattributevaluesoftheexceptionobjectcontaininformationabouttherespectiveerrorsituation.Raisinga
classbasedexceptionnormallymeansinstantiatinganexceptionclassandsettingtheattributes.Handlingaclassbased
exceptioninvolvesevaluatingtheexceptionobjectanditsattributevalues.
ClassbasedexceptionsareraisedeitherbytheRAISEEXCEPTIONstatementorbytheruntimeenvironment.Youcancatchand
handleclassbasedexceptionswiththeTRY...CATCH...ENDTRYstructure.

https://saplearninghub.plateau.com/icontent_e/CUSTOM_eu/sap/selfmanaged/elearning/TAW12_1_EN_Col10/lgroup9/frameset.htm

1/1

You might also like