Application Development 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: 

SAP lock objects and sy-subrc values

Former Member
0 Kudos

Hi All,

Can anyone please help me to find the SAP lock objects and corresponding sy-subrc values?

I have created a lock object and used the same in my program. While debugging the program, sy-subrc is value is 12. Please let me know what it means.

Thanks in advance

Vijay

1 ACCEPTED SOLUTION

Former Member
0 Kudos

This message was moderated.

5 REPLIES 5

FredericGirod
Active Contributor
0 Kudos

Hi

that depends the last statement proceed in your program.

Could you provide a part of the code ?

regards

Fred

nishantbansal91
Active Contributor
0 Kudos

Hi vijay,

IF you are using the Function module inside lock object, then the Subrc value is depend on the exception generated in the function module or any error generated in the F.M.

Automatic Subrc exception sequence value is assigned to the SUBRC value.

Let me known which function module you are using for the lock object.

Regards,

Nishant Bansal.

Former Member
0 Kudos

This message was moderated.

0 Kudos

Thnak you Dipin,

This solved my issue.

Regards,

Vijay

nabheetscn
Active Contributor
0 Kudos

Check the contents of SYST structure it will contain the detail

Nabheet