2006 Nov 02 10:31 AM
Hi experts,
i created the authorization class called zloc in this class i created the authorization object callod zlockobj with field ACTVT and value '02'.Now i used this object in the program but i am getting sy-subrc = 12.please tell me what ihave to do to remove this error.i know that we will get this error when object does not exist in the list.
Thanx in advance.
Giri
Yes i checked it in the Debug mode.There only found that sy-subrc = 12.please help me.
2006 Nov 02 10:34 AM
Hi,
You need to include this authorization object in the users authorization profile.
Regards,
Sesh
2006 Nov 02 10:39 AM
Hi Giri,
You said, created the authorization object 'Zlockobj' with field ACTVT. That is fine but for this i think you have to ceate one more entry to this object for the any field to which you want this object to be applied.
EX :
Authority check for company code
AUTHORITY-CHECK OBJECT 'V_KNA1_VKO'
ID 'ACTVT' FIELD '03'
ID 'BUKRS' FIELD p_BUKRS.
Regards,
Satya
2006 Nov 02 10:46 AM
hi
good
did you debug your report, did you check what is the why the value of sy-subrc become 0, try to check your select statement , wheather it is getting the data properly or not. if not change the select query so the the sy-subrc value would be 0, so that you ll get the correct result.
thanks
mrutyun^
2006 Nov 02 10:53 AM
Yes i checked it in the Debug mode.There only found that sy-subrc = 12.please help me.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |