2013 Mar 06 11:11 AM
Hi,
I am facing authorization issue for 'BAPI_MATERIAL_MAINTAINDATA_RT'.
We also found out a SAP note 1227242 for the solution.Even after implementing the solution as propesed in the note,the authorization issue still persists.
I checked in the net and found out some relevant material in SDN threads,someone has successfully proposed the solution by maintaining RFC destination.
But i also found out that RFC destinations are maintained in my system.
Please suggest something..
Thanks and regards,
Raka.
2013 Mar 06 12:49 PM
Hi Raka,
1st Check what are Role's are Assign with that SAP User ID where you find authorization issue .
Table Name : "AGR_USERS"
Pass user name "UNAME" Field , and Find what are the role are assigned .
Table Name : Finding Authorization Objects are assigned to Particular role
which you picked from above table .
"AGR_1251" and pass "AGR_NAME" = your role name which you find from "AGR_USERS" for Respective User .
======================================================
2nd for RFC Destination Authorization Object are available in "AGR_1251" Table .
| Client | Role | ID | Object | User Master Maint.: Authorization Name | Field name | Authorization value |
| 220 | XYZ | 1 | S_RFC | t-xyz001 | ACTVT | 16 |
| 220 | XYZ | 2 | S_RFC | t-xyz001 | RFC_NAME | RFCPING |
| 220 | XYZ | 3 | S_RFC | t-xyz001 | RFC_NAME | your function group name |
| 220 | XYZ | 4 | S_RFC | t-xyz001 | RFC_TYPE | FUGR |
| 220 | XYZ | 5 | S_RFC | t-xyz001 | RFC_TYPE | FUNC |
| 220 | XYZ | 6 | S_RFC | t-xyz001 | RFC_NAME | DDIF_FIELDINFO_GET |
| 220 | XYZ | 7 | S_RFC | t-xyz001 | RFC_NAME | RFC* |
| 220 | XYZ | 8 | S_RFC | t-xyz001 | RFC_NAME | RFC_GET_FUNCTION_INTERFACE |
| 220 | XYZ | 9 | S_RFC | t-xyz001 | RFC_NAME | SYSTEM* |
==============================================================
3rd Check all MM Respective authorization are assigned to that user , you can find any T-code authorization object for particular T-code in SU24 T-code check with Functional Consultant what object are required to modify using above BAPI which you mention above ..
Regard's
Smruti