cancel
Showing results for 
Search instead for 
Did you mean: 

Roles

Former Member
0 Kudos

I am invoking an RFC from within my Web DynPro application.

The RFC - BINARY_REL_DELETE is used to remove a

link between a business object and an attachment.

Specifically, I am using the function to delete a relationship

for a Purchase Requisition -- BUS2105. When I invoke the

function it throws a NO_ROLE exception. But if I log on

to my ABAP workbench and invoke the function using the

same parameters, the function executes successfully.

I also created a Web DynPro iView and launched the application

from within the portal, but the same exception was thrown.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

Gregory if you are using logon ticket please see if the user for which u are logging in have the authorizarion and please check that while using logon ticket your RFC destination should be user/pwd not logon ticket.

Regards

Nidhideep

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You might want to check if the user which is declared in the JCO destinations has S_RFC authorizations in the backend.

Regards,

Satyajit.

former_member182294
Active Contributor
0 Kudos

Hi Gregory,

Are you using Logon Tickets or User Mapping to execute the BAPI?

Which user you are using to execute Web Dynpro Application?

If you are using common user to execute the BAPI then change the logon credentials for JCO destination with same user/pwd of SAP R/3 logon credentials through which you are able to execute succesfully.

If you still get problem then write the sample code using JCO and execute BAPI and check the results.

Regards

Abhilash