12-22-2008 8:10 AM
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
12-22-2008 9:03 AM
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
12-22-2008 8:57 AM
Hi,
You need to specify the destination after DESTINATION parameter.
For eg CALL FUNCTION func1 DESTINATION dest.
Cheers,
Hakim
12-22-2008 9:23 AM
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
12-22-2008 9:03 AM
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
12-22-2008 9:25 AM
Hi
waht are the rolse need for this abapdeve user?
can you specify me some standard SAP roles
Regards
Buddhike
12-22-2008 9:41 AM
You need authorization to connect with the destination. Do you have?
Ask your BASIS security people to provide that role to you.
Regards