How to enter SAP account & password every time when execute the SMO?

  • 9 October 2014
  • 1 reply
  • 2 views

Badge

Hi,

   I've some SMO which connect the RFC/BAPI. I want pass the SAP account & password every time when I execute the SMO in my c# program.

   Does anyone know how to do like this? Kindly advise me or provide link please.

Thank you,

siamkom.


1 reply

Badge +8

You can't do this, as identification is set on the Service Object level, not the process instance level.

 

If you choose Impersonate as the Authentication Mode on your service object, K2 will impersonate the user taking the action rather than a service account.  Then your identification policies are pushed back to the domain level rather than trying to control them at an application level.

Reply