cancel
Showing results for 
Search instead for 
Did you mean: 

proxy....

Former Member
0 Kudos

Iaw the try and end try statements inthe proxy coding. what is the purpose of these statements?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This allows you to CATCH exceptions inside the TRY....ENDTRY.

Exceptions can be raised when calling proxies. For example, System faults and Application faults.

The CATCH statement allows the exceptions to be caught.

TRY

Proxy call

CATCH System Fault

CATCH Application Fault

ENDTRY

Hope this explains the use.

Thanks

Colin.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

try{

}

Catch()

This is used to catch the exceptions in the coding,in my senario i ahve to check the data is in integer format,if it come other then that i have to raise the exception.

in that i case used this try and catch option.in ABAP u have lot of standard option which can raise exception.

Regards,

Phani

Reward Points If Helpful

ravi_raman2
Active Contributor
0 Kudos

Sudhakar,

Basic java........

try{

//do stuff

}

Catch(Exception e)

{//do stuff}

Regards

Ravi Raman