Quantcast
Channel: SCN: Message List - SAP Manufacturing Integration and Intelligence (SAP MII)
Viewing all articles
Browse latest Browse all 4841

Calling SAP ME SDK API's in SAP MII custom action java code.

$
0
0

Hello Experts ,

 

I am trying develop an SAP MII custom action block which can call SAP ME SDK API's and manipulate business objects.

 

Current requirement is simple.

 

Input to this block will be SAP ME username and it should give output as ERP USER name of the user passed.

 

I have started with loading user configuration services as below but no success.

 

   FindUserBySiteAndUserIdRequest findReq = new FindUserBySiteAndUserIdRequest("3040","DEMOUSER");

 

   UserConfigurationServiceInterface userConfigService =  Services.getService("com.sap.me.user", "UserConfigurationService");

 

   UserBasicConfiguration user = userConfigService.findUserBySiteAndUserId(findReq);

 

Can you please help on this?

 

 

 

Thanks & Regards,

 

Uday


Viewing all articles
Browse latest Browse all 4841

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>