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: 

Error raise OPERATION_NO_AUTHORIZATION. in FM SO_OBJECT_SEND

Former Member
0 Kudos
153

Hi Experts,

Any idea why the FM is raising an exception OPERATION_NO_AUTHORIZATION.

I have coded :

CALL FUNCTION 'SO_OBJECT_SEND'

EXPORTING

FOLDER_ID = FOLDER_ID

  • FORWARDER = ' '

  • OBJECT_FL_CHANGE =

  • OBJECT_HD_CHANGE = ' '

OBJECT_ID = object_id

  • OBJECT_TYPE = ' '

OUTBOX_FLAG = 'X'

OWNER = sy-uname

  • STORE_FLAG = ' '

  • DELETE_FLAG = ' '

  • SENDER = ' '

  • CHECK_SEND_AUTHORITY = 'X'

  • CHECK_ALREADY_SENT = ' '

  • GIVE_OBJECT_BACK =

ORIGINATOR = ''

ORIGINATOR_TYPE = 'J'

LINK_FOLDER_ID = link_folder_id

  • SEND_REQUEST_OID = ' '

  • IP_ENCRYPT = 'U'

  • IP_SIGN = 'U'

  • IP_REC_COUNT_ADD =

  • IMPORTING

  • OBJECT_ID_NEW =

  • SENT_TO_ALL =

  • ALL_BINDING_DONE =

  • OFFICE_OBJECT_KEY =

  • ORIGINATOR_ID =

  • E_SEND_REQUEST_OID =

TABLES

  • OBJCONT =

  • OBJHEAD =

  • OBJPARA =

  • OBJPARB =

RECEIVERS = it_RECEIVERS

  • PACKING_LIST =

  • ATT_CONT =

  • ATT_HEAD =

  • NOTE_TEXT =

  • LINK_LIST =

  • APPLICATION_OBJECT =

  • EXCEPTIONS

  • ACTIVE_USER_NOT_EXIST = 1

  • COMMUNICATION_FAILURE = 2

  • COMPONENT_NOT_AVAILABLE = 3

  • FOLDER_NOT_EXIST = 4

  • FOLDER_NO_AUTHORIZATION = 5

  • FORWARDER_NOT_EXIST = 6

  • NOTE_NOT_EXIST = 7

  • OBJECT_NOT_EXIST = 8

  • OBJECT_NOT_SENT = 9

  • OBJECT_NO_AUTHORIZATION = 10

  • OBJECT_TYPE_NOT_EXIST = 11

  • OPERATION_NO_AUTHORIZATION = 12

  • OWNER_NOT_EXIST = 13

  • PARAMETER_ERROR = 14

  • SUBSTITUTE_NOT_ACTIVE = 15

  • SUBSTITUTE_NOT_DEFINED = 16

  • SYSTEM_FAILURE = 17

  • TOO_MUCH_RECEIVERS = 18

  • USER_NOT_EXIST = 19

  • ORIGINATOR_NOT_EXIST = 20

  • X_ERROR = 21

  • OTHERS = 22

.

IF sy-subrc <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Thanks

Papiya

1 REPLY 1

Former Member
0 Kudos
81

Hi,

I presume you dont have authorization to access the particular object.