cancel
Showing results for 
Search instead for 
Did you mean: 

RMC (BAPI) in Visual Composer for an Anonymous User

Former Member
0 Kudos

Dear Visual Composer Gurus

We have setup up proper RFC connection with SAP system to get the data by executing BAPIs in Visual Composer.

It works for Authenticated users and doesnu2019t work for Anonymous User.

We get such error:

A communication error has occurred: [FaultEvent fault=[RPC Fault faultString="Error #1090" faultCode="Client.CouldNotDecode" faultDetail="null"] messageId="14F359DB-EC25-CE64-B74F-049F3475EEDA" type="fault" bubbles=false cancelable=true eventPhase=2]

How to work around this?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

To access the BAPIs the anonymous user should have the permission to access it.

as per Flex policy its not possible to access the BAPIs .

Give the following permissions:

VCRole Permissions:

1. Portal Content folder - Read

2. Visual Composer folder u2013 Owner

Govindu

Former Member
0 Kudos

1. Could you give us recommendations how to provide BAPI permissions for J2EE_GUEST (anonymous users). In our case J2EE_GUEST has SAP_ALL profile in SAP system. But we still have the same error message:

A communication error has occurred: [FaultEvent fault=http://RPC Fault faultString=\"Error #1090\" faultCode=\"Client.CouldNotDecode\" faultDetail=\"null\"] messageId=\"14F359DB-EC25-CE64-B74F-049F3475EEDA\" type=\"fault\" bubbles=false cancelable=true eventPhase=2

2. Iu2019m not sure that per Flash (Flex 2) policy itu2019s not possible to access the BAPIs. We can do that as an Authenticated User.

3. We have applied your recommendations for J2EE_GUEST (anonymous user). But we still have the same error message.

Former Member
0 Kudos

I've read Note 985983 - Anonymous portal users cannot run VC flex iviews.

Is it still an issue for Netweaver Portal 2004s SP15?

Is it any way VC iView with read only BAPI to be accessed by an anonymous user?

Former Member
0 Kudos

Hi,

yes Exactly your Views are correct.

Still the issue is there and it will be continue for Security reasons,

Govindu

Former Member
0 Kudos

Thank for the answer.

Is it any way VC iView with read only BAPI to be accessed by an anonymous user?

Ноw to set up Combobox or something like that to contain values of a BAPI to be accessed by an anonymous user (we need to pop up its list of values with data that stored in SAP system)?

Former Member
0 Kudos

Hi,

For First Question Answer is No.

Second Question.

You can display the Bapi Dat in Drop down list by creating a Dropdown Control and addinga Dynamic Entry List to it by using That Bapi.

Govindu

Former Member
0 Kudos

Govindu

>

> Hi,

>

> For First Question Answer is No.

>

Tnanks for the answer.

> Second Question.

>

> You can display the Bapi Dat in Drop down list by creating a Dropdown Control and addinga Dynamic Entry List to it by using That Bapi.

>

How to do this with the WebdynPro runtime renderer option, because the VC model should be accessed by an anonymous user (Anonymous Users group).

> Govindu

Answers (1)

Answers (1)

Former Member
0 Kudos

My first question is answered.