Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Exception on a select condition in a Function Module

Former Member
0 Likes
413

Abap Experts,

I have function module. The selection conditions fails sometimes. Even if it fails I want to carry out the remaining part of the function module.

Wondering how to create a exception on a selection condition.

Any suggestions appreciated.

Many thanks in advance.

BWer

2 REPLIES 2
Read only

Former Member
0 Likes
339

Don't clear your problem.

Your function module is created by you?

if so, you can check the select result of select, like this:

SELECT XXXX

FROM XXX

WHERE ....

IF SY-SUBRC = 0.

  • SELECT SUCCESS

ELSE.

  • SELECT FAILED

ENDIF.

Does it what you want? if not, please explain more details about your problem.

Read only

Former Member
0 Likes
339

hi,

your problem description is not clear, more detail, please

Regards,

Andrej.