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

FOREIGN_LOCK Temporary Exception

Former Member
0 Likes
943

Hi,

There's a call to the FM ISU_OUTSORT_INVOICE_RELEASE in one of the objects. It has one of this exceptions 'FOREIGN_LOCK'. Its required that a temporary exception be raised, so that it doesn't terminate but tries again, continuing from the same point. How can i do that?

Thanks in advance..

3 REPLIES 3
Read only

Former Member
0 Likes
641

Hi munish,

1. Are u calling this FM from your z program,

or is it a part of standard program ?

2. If its a part of standard program,

then u have to change the code,

so that ITS CALLED TWICE,

(call it twice by checking sy-subrc of 1st)

3. If its your own z program, follow the same logic.

4. There is no direct facility, to achieve

this thru configuration.

regards,

amit m.

Read only

0 Likes
641

Hi Amit,

Its a Z program. I'll try this 'call the function again' solution..

Thanks,

Munish

Read only

0 Likes
641

Hi Amit,

Actually I had to just raise a temporary exception. Thanks for your help.

Munish