cancel
Showing results for 
Search instead for 
Did you mean: 

Execute BAPI Using Current User ID, Not JCo Connection User ID (v7.0)

Former Member
0 Kudos

Currently when I call a BAPI, it executes under the username of the JCo Connection. User management is done via ECC, and not portal, so the User IDu2019s are identical.

Is it possible to call a BAPI from Web Dynpro using the current portal user User ID?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Select the model which is created for the Bapi (in the webdynpro content Administrator), edit the JCO connection(modeldata) and select user method - Ticket, for the metadata you ca use a common communication userid.

By this the BAPI is executed with the current logged in portal userid.

Note: For using this your portal as to be configured with SAP ECC with SSO.

Hope this solves your issue.

Regards,

Manjunath

Former Member
0 Kudos

Thank you both for your prompt responses - That did it

Answers (1)

Answers (1)

Former Member
0 Kudos

Configure a SSO ticket between the ECC and the portal.

In the JCO use ticket as an authentication method.