cancel
Showing results for 
Search instead for 
Did you mean: 

Implemented GP Callable object works fine only in Test Mode

Former Member
0 Kudos

Hi!

I´m having a weird problem, i have implemented the GP Interface and succesfully created a callable object.

Then I modified the CO so to show the initiator of the process using this code:

IUser initiator = executionContext.getInitiator();
		contextElement.setIniciador(initiator.getUniqueName());

When i deploy the CO and use the TEST function GP provides in its desing time, it works fine: it shows in an input field the value of: initiator.getUniqueName() .

But if i create a process and use that CO it throws an error. I´ve searched the default trace and this is what it says:

/System/Security/Audit/J2EE#Java###: Authorization check for caller assignment to J2EE security role .#3#ACCESS.ERROR#SAP-J2EE-Engine#administrators#

at com.sap.security.core.imp.RoleFactory.getRoleByUniqueName(RoleFactory.java:1740)#

at com.sap.pct.pdk.navigationconnector.NavigationFileConnector.hasUserNavigationTestRole(NavigationFileConnector.java:162)#

Any clue??

Regards.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

assign a default user for the process and check.......

with regards

shanto aloor

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Shanto Aloor,

I tried assigning a default user(using initiation defined) to the process , also tried settting the processor as "initiator", but still not working..

I have been searching for documentation on this issue , but I couldn´t find anything..

Any other clue?

Thanks in advance,

Marco.