You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

How to Handle the system errors in peoplecode?

HI,
when i am executing a people code program i written 2 functions(no relation b/w them).when first function works fine no probs with code.
if the first function is throwing the error it is not going to the second function and coming out of that program?
how to handle these sort of problems?
can anybody help me out?

waiting for ur early reply,

thanks in advance.....

Re: How to Handle the system errors in peoplecode?

Posts: 302
Join date: 06/23/08
Lepa's picture

Have you tried working with "Try and Catch" built-in function? http://www.compshack.com/peoplesoft/peoplecode/try-peoplecode-built-func...

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

Re: How to Handle the system errors in peoplecode?

Posts: 30
Join date: 06/30/08
Nitin's picture

Yes.. you can acheive the same thru Try -Catch Block.

Thanks
Nitin

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <div> <pre> <br> <code> <a> <em> <blockquote> <strong> <ul> <ol> <li> <dl> <dt> <b> <p> <h1> <h2> <u> <img>
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>.

More information about formatting options

CAPTCHA
The question below is to prevent automated spam submissions.
7 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.