‎2007 Dec 31 6:14 AM
Hi Gurus,
I am using a SAP defined function module in my program. This function module is used to load data into a table, If the table used by another user a lock occurs, and this function module displays a information message stating that a lock has occured and when i click ok on the information message furthur processing of the program occurs. What i want to do is that i should come out of the program when i click OK in the information.
Regards,
Raghavendra.
‎2007 Dec 31 6:15 AM
‎2007 Dec 31 6:16 AM
Hi,
Try THis.
Check sy-subrc after the call of FM.
if sy-subrc NE 0.
EXIT.
Else.
.........
.......
endif.
Awrd Points if Useful
Bhupal
‎2007 Dec 31 6:17 AM
Hi Ramu,
my function module is a standard SAP defined function module. In that function module the message is defined as type I. i do not have access key to change that.
Regards,
Raghavendra.
‎2007 Dec 31 6:21 AM
may i know the FM name....then we can check whether it has any exception variables or not...
‎2007 Dec 31 6:19 AM
Hi Bhupal,
the value of sy-subrc = 0 even when this message is displayed.