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: 

User "abadev" is not allowed to send messages for party '', service

Former Member
0 Kudos

Dear All

when we try to run a program removing " in back ground task " we are getting a runtime error

"User 'ABAPDEV2' is not allowed to send messages for party '', service

.........

Error analysis

An error occurred when executing a REMOTE FUNCTION CALL.

It was logged under the name "RFC_EXTERNAL_ABORT"

on the called page.

................................................

this is the part of the code which we have modified..

this RFC programn coneting to SAP XI

  • CALL FUNCTION 'BAPI_ZGOODSMVT_CREATE' IN BACKGROUND TASK DESTINATION

CALL FUNCTION 'BAPI_ZGOODSMVT_CREATE' DESTINATION 'XITCP'

TABLES

goodsmvt_header = it_header

goodsmvt_items = it_items.

Regards

Buddhike

1 ACCEPTED SOLUTION

Former Member
0 Kudos

You need to assign the roles of background user to ABAPDEV2.

Becaz previuosly background user is running that FM, has the authorization to that destination. U need to have that auth.

Regards

5 REPLIES 5

abdul_hakim
Active Contributor
0 Kudos

Hi,

You need to specify the destination after DESTINATION parameter.

For eg CALL FUNCTION func1 DESTINATION dest.

Cheers,

Hakim

0 Kudos

HI

we have maintained the destination ..please see the acreen shot

CALL FUNCTION 'BAPI_ZGOODSMVT_CREATE' DESTINATION 'XITCP'

what are the roles should this abpdev to should have

?

Rergards

Buddhikje

Former Member
0 Kudos

You need to assign the roles of background user to ABAPDEV2.

Becaz previuosly background user is running that FM, has the authorization to that destination. U need to have that auth.

Regards

0 Kudos

Hi

waht are the rolse need for this abapdeve user?

can you specify me some standard SAP roles

Regards

Buddhike

0 Kudos

You need authorization to connect with the destination. Do you have?

Ask your BASIS security people to provide that role to you.

Regards