cancel
Showing results for 
Search instead for 
Did you mean: 

Get value of UME field in WebDynpro

Former Member
0 Kudos
67

Hi all,

i'm developing a WebDynpro and i need to read 'Position''s value field stored in UME('Create user' funcionality);

any ideas ?

Please it's URGENT !!!

Regards,

Francesco.

Accepted Solutions (1)

Accepted Solutions (1)

detlev_beutner
Active Contributor
0 Kudos

Hi Francesco,

I expect you know in general how to access the UME API from WebDynpro, if not, see

For the "Position", getJobTitle() on the IUser instance should result in what you expect; see http://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/ume/com/sap/security/api/IUser.html#get...

Hope it helps

Detlev

Former Member
0 Kudos

Hi Detlev,

when i try to call 'com.sap.security.api', i see that this package missing in my NWDS !!!

so, what can i do for get this package ?

Thanks a lot,

regards,

Francesco.

Former Member
0 Kudos

Hi,

The jar will be available in this path, in ur eclipse folder.

Add it in the build path.

C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.security\lib

Regards

Bharathwaj

detlev_beutner
Active Contributor
0 Kudos

Hi Francesco,

as stated in the weblog given, you have to add appropriate references into your project. There are different ways to do this.

See for more details.

Hope it helps

Detlev

Former Member
0 Kudos

Detlev,

i did as it is wrotten in your link:

'Note: Defining the IUser will show an error. To resolve this, within the properties of

the project, choose Java build path -> Libraries -> Add external jars ->

com.sap.securities -> lib -> com.sap.security.api. Open this file and retype the code.'

After, i tryed to get JobTitle value, but whe i deploy WebDynpro, i get some errors:

15-nov-2005 13.41.49 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] WARNING:

[008]Deployment finished with warning

Settings

SDM host : liposv01

SDM port : 50018

URL to deploy : file:/C:/DOCUME1/MATTEO1.SAN/LOCALS~1/Temp/temp2052Consulta_Ordine.ear

Result

=> deployed with warning : file:/C:/DOCUME1/MATTEO1.SAN/LOCALS~1/Temp/temp2052Consulta_Ordine.ear

Finished with warnings: development component 'Consulta_Ordine'/'local'/'LOKAL'/'0.2005.11.15.13.41.34':Caught exception during application startup from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Error occurred while starting application local/Consulta_Ordine and wait. Reason: Clusterwide exception: server ID 8984950:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application ''local/Consulta_Ordine'' for startup. Reason=Clusterwide exception: Failed to start dependent library ''com.sap.security.api'' of application ''local/Consulta_Ordine''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine? at com.sap.engine.services.webdynpro.WebDynproContainer.prepareStart(WebDynproContainer.java:1413) at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:370) at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:318) at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:299) at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:301) at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:110) at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:212) at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4605) at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4512) at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4485) at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1163) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:294) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:183) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:119) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159) (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)

Deployment exception : Got problems during deployment

May you help me ?

Regards,

Francesco.

detlev_beutner
Active Contributor
0 Kudos

Hi Francesco,

here comes the official SAP documentation, first about a "normal" WD project: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/958fcd90-0201-0010-38aa-d82... page 8 (and around)

or for using a DC - WD-style: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3f07a7a-0601-0010-ebbd-b9c... page 1-2 (referring to the page numbers on the page buttom, i.e. PDF pages 5/6).

Hope it helps

Detlev

Former Member
0 Kudos

Hi Detlev,

we don't have KM on our Portal, so about 'using a DC - WD-style', in page 6, under 'Procedure', point 'b', we don't see DC caf/eu/gp/api/wd.

in this way we can't go on.

Please, help me !!!

Regards,

Francesco.

detlev_beutner
Active Contributor
0 Kudos

Hi Francesco,

of course you don't need <i>caf</i>, only check as far as com.sap.security... is concerned...

Hope it helps

Detlev

Former Member
0 Kudos

Hi Francesco,

try it with library com.sap.security.api.sda

Jannis

Answers (0)