Assigning user dynamically

Hello,
I want to assign an Action dynamically in the following scenario:
The first action(with CO GP Interface) decides the user ...which I have mapped to the User Item of the Second action (with CO Assign user to Process Role).....then this user should carry out the 3rd Action (with CO Visual Approval)....after mapping I consolidated the 2nd and the 3rd actions to one role .....but still the workitem does not go to the right userid for Approval....
I followed the document:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0c451f8-0dc2-2b10-e286-f5be915a07f7
Any help would be highly appreciated.
Regards,
Anil

Hi Anil,
I think you need to use the option 'Assigning Users using context parameter" for both actions 2 and 3 if u don't go for consolidation of actions 2 and 3.
Other option can be, you can create a block in which you can have actions 2 and 3. In this block you can do the role assignment using "Assigning users using built-in callable object".
Do let me know how this worked for you.
Regards
Aanchal

Similar Messages

  • Problem while assigning user dynamically!!

    Hi ALL,
    I am doing a process for my understanding, I have a problem while dynamically assigning a  user to a action. These are the steps that I followed.
    I have created a process with one seq block.
    -sec block
    --Action 1(WD Form containing 3 Input/output fields)
    --Action 2(WD form with some text,1 input-User Name)
    --Action 3(wD form with some text, 1 input-User name)
    --Action 4(wD form with some text, 1 input-User name)
    I have mapped the output of the first form to the respective inputs of the actions.
    I have also set the "Fill from context" with the input for the respective action.
    When I run the process I give the unique user id as input. I get a error "Cannot complete action: The activity could not be read." I did this thinking that the user given as input will be assigned to the processor of the respective action. Correct me if I am wrong.
    Kindly help me in solving this issue.

    Hi,
    Your main requirement is to assign the user to actions dynamically. But your way is not correct. Using sequencial block you can not do it. You need to use Parallel dynamic block and dynamic user assignment. Here is the clear step by step doc. Please open and go through it.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fe43ced1-0c01-0010-10ae-bc49598b18f6
    I think your requirement will be solved.
    Thanks
    Chandan

  • Assigning Action to multiple users dynamically

    Hello,
    I have a GP Application wherein the user fills out a form which goes for approval to the Approver....the approver is determined using the 'Assign users to Process Role' Callable Object dynamically which works fine....now i want one more approver to get the same workitem in the worklist as the other....i tried to map this user to the same user identifier as done for the first user.....but it does not work.....how can i achieve this..?
    Any help would be highly appreciated..
    Regards,
    Anil

    Anil,
    Has i am not wrong are you trying to assigning a task to multiple users dynamilally?
    if so..
    Please Use parallel dynamic block and pass list of users to role.
    Reply me if you want more info.
    Regards,
    Rajesh

  • Assigning database dynamically reportwise to users in Universe

    Hi,
       In our single SQL Server, we have different databases having same schema but different data in it.
       Each individual user is having its own database in this SQL Server.
       Now, what we are trying to implement using Business Objects XI 3.0 is that each time the different different users loggs into the universe, so depending upon the username/loginname can we dynamically assign database to respective user ?
        The purpose behind implementing this is once the user looggs in and request to execute report then only data related to him i.e from his database  will come
    for example if we have sqlserver  abc
    it is having suppose three database a,b,c in it  all having the similar schema but data is different and now there are three users -user1,user2,user3 are attached to the database a,b,c respectively
    and we have single universe for each user....
    Now we want that if user1 logs in then database connection that is passed to the universe will be a

    Hi Erik,
    The PDB has built-in functionality to assign users to roles, so you actually do not need the backround action for user assignments.
    What you need to do in the PDB is:
    - Integrate a "normal" block - e.g. a sequential block in it that holds the display order details actions.
    - In this block, for the role Processor of Action3 you must set the indicator Filled from Context Parameter, and select the input parameter, which will be mapped to the user ID from the first action.
    - The output parameters of the first action must be in a structure exactly the same as the multiline input structure in the PDB, so that you can map the two structures.
    The expected behaviour is that for each user ID a separate instance of the action in the PDB is created at runtime.
    You can also have a look at the following <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/68/6182410349213ce10000000a1550b0/frameset.htm">documentation</a> (follow the link for Parallel Dynamic).
    Hope this helps.
    Zornitsa

  • Dynamically Assigning Users

    Hi,
    I am trying to dynamically assign users within my process and need some guidance with it. The following two steps briefly describe what I am trying to achieve
    1. A user starts the process by filling in data into the PDF and completes the task.
    2. Based on the information filled in by the first user, I have to determine who the user for the next task is going to be and then assign the task to the user accordingly.
    I do not have the option of using multiple assign task operations and then setting the logic within the route evaluation, as there are way too many users that can be assigned for the second task ( there are more the 50 possible users from which the second user has to be selected )
    I am fairly new to Livecycle and from the options that I have seen so far, here are few questions that I need some help with
    1. The only option within the Assign Task operation that lets you assign the user dynamically is by using an XPath expression. If I were to use this, should I be embedding the logic within the form itself and then use the XPath expression to find the user by dynamically updating the form after the first user completes the task?
    2. Is there another approach to achieve this other than having the logic for selecting the user defined in the form itself? I believe embedding the logic in the form might not be a good idea as it can have performance implications and also having user information in the form itself doesnt seem right.
    3. Is there an operation that I could use, which would contain the logic that I would need to determine the next user and then assign the task to the user based on the result of the operation?
    I am hoping someone would have definitely run into this situation before so any suggestions/thoughts will be appreciated.
    Thanks,
    Varma

    "1. The only option within the Assign Task operation that lets you assign the user dynamically is by using an XPath expression."
    Yes
    "If I were to use this, should I be embedding the logic within the form itself and then use the XPath expression to find the user by dynamically updating the form after the first user completes the task?"
    I depends. If you can get to it server side, it woulb probably better. If you need to make a change to something, you don't want to change the form.
    "Is there another approach to achieve this other than having the logic for selecting the user defined in the form itself?"
    I'm not sure where the logic for the next user is located, but you could make a database or web service call from the process to get the next user instead.
    "I believe embedding the logic in the form might not be a good idea as it can have performance implications and also having user information in the form itself doesn't seem right."
    I agree.
    "Is there an operation that I could use, which would contain the logic that I would need to determine the next user and then assign the task to the user based on the result of the operation?"
    Again, I need a bit more info as to where the info (logic) is located.
    Jasmin

  • How to assign Action to multiple Users dynamically in GP

    Hello Experts,
    I have the following scenario in GP
    I have created a Web Dynro GP Callable Object and from my Web Dynpro i need to a pass a list of Users to which a particular Action needs to be assigned.
    I am able to return a single value from web dynpro to gp.
    Can some one help me how to return a list of users to gp.
    I have done the following: In the getDescription method I have added an attribute of multiplicity 1_N:
    IGPStructureInfo outputStruct = technicalDescription.getOutputStructureInfo();
    IGPAttributeInfo list1 = outputStruct.addAttribute("List1", IGPAttributeInfo.BASE_STRING);
    list1.setMultiplicity(IGPAttributeInfo.MULITIPLICITY_1_N);
    then in the complete method I am trying to set an Arraylist to this variable:
    IGPStructure output = execContext.getOutputStructure();
    output.setAttributeValue("List1", userList);
    Here userList is an Arraylist which contains the list of User Id's..
    However I get the following exception:
    com.sap.caf.eu.gp.exception.api.GPInvocationException: Multiplicity of attribute with name List1 and namespace null does not allow single values to be set/received
    at com.sap.caf.eu.gp.structure.impl.GPStructure.setAttributeValue(GPStructure.java:114)
    Can someone help me in knowing how I can return a list as an output parameter to GP from Web Dynpro...
    Regards
    Sundeep

    Hi Srinivasan,
    Of course the Role is Runtime defined...
    I would brief you again the mapping that I have performed in the Design time at the processlevel.
    From Web Dynpro I return a List of type String and Multiplicity 1..N.
    I map this List with the leaf item User Identifier contained in the User List Input parameter of the Assign User to Process Role callable object.
    However since the User Identifier parameter is of cardinality 0..1 only the first value in the returned list is getting assigned to it. Thus the task is getting assigned to only one user.
    Now it is not possible in Design time to Group or consolidate parameters of different types. Thus the List which is of type String cannot be mapped to User List or the User_Item contained within it which are both of type Structure and multiple cardinality.
    I even created a Structure in Web Dynpro of cardinality 1..N and withing it i included a List of type String and cardinality 1..N. Now I returned this Structure from Web Dynpro and tried to map it to the User Item Structure of the Assign User to Process Role Callable object, but doint this the task did not get assigned to any user..
    One question:
    Don't you think that in order for the task assignment to happen using the Assign User to Process Role Callable Object the leaf item User Identifier parameter contained in the User_List input parameter of this callable object needs to be populated with the required User Id's.
    But if the cardinality of this parameter is always 0..1 , is it possible to achive the assignment of an Action to multiple Users at runtime using this Callable Object?
    Can you please explain the parameter mapping you followed in order to achive this...
    Regards
    Sundeep
    I want to ensure that you remain in the top 3 contributors in this forum 
    I will continue to reward points for your answers
    Edited by: Sundeep Sethi on Sep 4, 2008 1:47 PM

  • Reg:Assigning users to roles dynamically

    Hi all,
       i've different set of users for whom i can assign the roles based on their functionality. But the thing is that i can create them  and add delta links in the portal. But i don't want to do this  as manually .. and let me know in detail UME...
    Can we assign roles to users based on some logic or conditions.If yes ...Please direct me how to do it..
    Reply awaited....
    Regards,
    sitara
    Edited by: sitara kola on Mar 8, 2008 2:47 PM

    I do not know if this works for you but you can use virtual groups to automatically assign users to groups. Say you want to group users by department. Create virtual groups for the department attribute. Then assign the roles you want to assign to the marketing virtual group and the sales virtual group. When you create a new user and assign them to the marketing department, the user is automatically assigned to the marketing group as recieves the required roles.
    See the documentation: http://help.sap.com/saphelp_nw04s/helpdata/en/43/fcfa2942ed7067e10000000a1553f6/frameset.htm
    -Michael

  • How to assign a dynamic value to the value property of a button ?

    Hi Folks,
    I have a need, can i know how to assign a dynamic value to the value property of a button. Scenario is like follows...
    This is a struts based web application
    1. I have a file which consists of login user details (user name and his previlages) for a web application.
    2. I got those user details, into a List.
    3. When a user logged into the web app, in the home page there are few buttons. The type and number of buttons shown depends on the type of user/ user. (Buttons have different combination and the number of buttons available are not constant, they will vary from user to user).
    4. for each button, there will be a different action. I can pass the value of a button to an action class, but here button must have a dynamic value.
    Here is my test code:
    <%
    if (List != null)
    for (int i = 0; i <List.length; i++)
    %>
    <html:submit property="rduname" value= "<%=List%>" onclick="return submitRdu('<%=List[i] %>');"/>
    <%
    %>
    But my problem is how to assign a dynamic value to the value property of the button ( i know 'value= "<%=List[i]%>" ' will not work, just wanted show you guys).
    Thanks in advance,
    UV
    Edited by: UV_Dev on Oct 9, 2008 2:15 PM

    Let me try i know am not good at JSP but do we need double quotes here
    value= <%=List%>i think JSTL should help you about the dynamic thing                                                                                                                                                                                                                                                                                                                       

  • GP API - remove user dynamically for a task..

    I am having dynamic looping for an action, users assigned in every level.
    I am able to add user dynamically for an action using:
    rtm1.addRuntimeDefinedUserToRole(prInstance1, Next_Action, userJames, userContext1);
    Change user does not work as it will work only for running actions or tasks, for pending one it will not
    rtm.changeTaskProcessor(processInstanceID, activityInstanceID, currentProcessor, newProcessor);
    remove user is not working for me? suggest me how to use this code?
    IGPProcessRoleInstance processRoleInstance=executionContext.getProcessRoleInstance();
    processRoleInstance.removeUser(UMFactory.getUserFactory().getUserByLogonID(UserId));

    Hi
    I tried using the following for my process where the action is yet to happen
    I am calling the BG CO before my action. I need to remove the previous user.
    rtm1.removeTaskProcessor(prInstance1.getID(),activityInstanceID, userContext1);
    rtm.changeTaskProcessor(processInstanceID, activityInstanceID, currentProcessor, newProcessor);
    processRoleInstance.removeUser(UMFactory.getUserFactory().getUserByLogonID(UserId));
    but nothing is working.
    any idea when we can use them? I think changeTaskProcessor will not work for pending tasks.
    I am able to get the activityInstanceID from NWA -> GP Processes, but my GP Process is having dynamic loop where the task will generate depending on levels. How can we get the activityInstanceID of the next task/action?

  • Error assigning users to application Role in Obiee 11.1.1.7.0

    Hello
    I installed Obiee 11.1.1.7.0 both on Windows and Linux platform and after that, I successfully set Active Directory integration. I have a problem assigning users to Application Role in EM. When I'm trying to search a user on Display name, the Principal userName returned is blank and the error is : Java Null Pointer Exception
    After that I install a fresh copy of 11.1.6.0. After AD Integration, I was able to assign users to Application Role. I made 11.1.1.7.0 upgrade and same error has come. I think this is a bug because same AD settings on 11.1.1.6.0 works.
    The error:
    ava.lang.NullPointerException
    #{viewScope.emas_pagemodel_security_EditAppRole.searchPrincipal}: java.lang.NullPointerException
         Hide Additional Trace Information
    javax.faces.FacesException: #{viewScope.emas_pagemodel_security_EditAppRole.searchPrincipal}: java.lang.NullPointerException at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:103) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361) at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96) at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1086) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:434) at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:207) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:128) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.model.targetauth.EMLangPrefFilter.doFilter(EMLangPrefFilter.java:158) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119) at java.security.AccessController.doPrivileged(Native Method) at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324) at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460) at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103) at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171) at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) ... 67 more Caused by: java.lang.NullPointerException at oracle.sysman.emas.model.security.DialogAdminBean$1.compare(DialogAdminBean.java:567) at java.util.Arrays.mergeSort(Arrays.java:1270) at java.util.Arrays.mergeSort(Arrays.java:1281) at java.util.Arrays.sort(Arrays.java:1210) at java.util.Collections.sort(Collections.java:157) at oracle.sysman.emas.model.security.DialogAdminBean.fetchPrincipals(DialogAdminBean.java:563) at oracle.sysman.emas.pagemodel.security.identity.EditAppRolePageModel.searchPrincipal(EditAppRolePageModel.java:496) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.el.parser.AstValue.invoke(Unknown Source) at com.sun.el.MethodExpressionImpl.invoke(Unknown Source) at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46) ... 68 more
    Any suggestion?
    Thx
    Gabriel
    Edited by: Gabbriel on Apr 23, 2013 10:46 PM

    We received from Oracle a work-around of this problem.
    It seems to be related to the virtualize flag set to true. I f you set it to false the problem disappear (it works for me).
    (rif. http://docs.oracle.com/cd/E28280_01/bi.1111/e10543/privileges.htm#BABDCJBH)
    There's an open BUG on this problem: Bug 16808088 - 11G JAVA.LANG.NULLPOINTEREXCEPTION ADDING USER TO ROLE AFTER UPGRADE TO 11.1.1.7.
    Hope this works.
    S.

  • Error while assigning user for release approval path for payment release

    Hi everyone,
         I am trying to assign user for payment release in SPRO. I have defined upto 'Define relevant document types for release for payment', after that while assigning user in terms of position for release and save it, i am getting error 'Program error: ASSIGN with length 0 in program "MP120800" '.Because of it i can t proceed further.
    The data in details below;
    1. Create Workflow Variant for Release for Payment
       1000     SAP
    2. Assign Company Code Workflow Variant for Release for Payment
      1000     1000     SAP
    3. Define Release Approval Groups for Release for Payment
      0001     Vendor A
    0002     vendor B
    0003     Vendor C
    0004     G/L accounts
    4. Define Release Approval Paths for Release for Payment
      0001     Vendor high
    0002     Vendor middle
    0003     Vendor low
    0004     G/L accounts
    0005     Other
    5. Assign Release Approval Paths for Release for Payment
      1000     KZ     0001     0001
    1000     KZ     0002     0002
    1000     KZ     0003     0003
    6. Assign Release Approval Procedure for Release for Payment
    1000     0001     20,000.00     KES     1     WS10000052     WS00400011
    1000     0002     50,000.00     KES     2     WS10000052     WS00400021
    1000     0003     1,000,000.00     KES     3     WS10000052     WS00400022
    7. Define Relevant Document Types for Release for Payment
         1000     KR
    1000     KZ
    8. Define Users with Authorization to Payment Release
    1000     0001     1     20,000.00     KES
    1000     0001     2     50,000.00     KES
    1000     0001     3     100,000.00     KES
    here i have selected the option and tried to create Orgobject, i am getting following error
    Program error: ASSIGN with length 0 in program "MP120800"
    If any corrections in the definitions, Please let me know.
    Thanks in advance!!

    Hello,
    Please start the report RSWOGIND, set also the checkbox "generate all
    ObjTypes from new". This should solve the problem.
    Best regards, Hana

  • Error while assigning user through users_gen t code

    Dear Experts,
    While assigning user to the org structure,i am getting below error message.Please guide me.
    many thanks

    Hi Ganesh,
    Thank you for the update,i was on leave.I could not update the issue.
    Issue has been resolved,issue is due to the last name is not maintained for the user in SU01 then user trying the assign to org through users_gen t code.
    Then issue raised.
    Thank you.

  • How to generate a PDF 417 Barcode by assigning a dynamic value at runtime?

    PDF 417 Barcode Description given in the Livecycle Designer 8.2
    : PDF 417 Non-Scriptable Barcode. Value must be assigned to this barcode at design time, and this barcode will not update after form object value changes.
    And my question is how to generate a PDF 417 Barcode by assigning a dynamic value at runtime?

    All the information you described points to the problem that reports seems can't generate to a file which already exist. You can verify that by simply doing
    r30run32 C:\AC_REPORT.REP DESTYPE = FILE DESFORMAT = PDF BATCH = YES' desname=c:\temp\ac_report.pdf
    several times. If first time the report is successfully generated in c:\temp\ac_report.pdf, but not the second, third time, then it looks like there is a bug on reports r30run32 executable.
    You may try to find any latest patch for Reports 3.0 to see if patch can solve you problem. But keep in mind Reports 3.0 is de-supported, you are better to move to 6i or 9i reports.
    Thanks,
    -Shaun

  • Unable to see assign users or groups option under a groupin Shared services

    I have a bizzare issue related to Shared services.
    In Application 1 (on PROD env), after I select the group, right-click and go to properties, under "group members" and "user members" tabs, I do not see the options to assign access to any of the existings groups (we have about 50+ groups). I can only view the existing users/groups, even though I have been given admin/proviosioning rights, while the other admin can assign access to the same application.
    While for Application 2 (on DEV) I am able to see all these options and I am able to assign users and groups to any of the groups. I do not see them as a browser issue, as I have opened both these links on the same IE window, but on different tabs.
    Unfortunately, I can't test App1 on TEST/DEV, as we do not have its copy on here, it is all on PROD and App2 is only on DEV.
    Any ideas?
    Thanks,
    Paul

    I would of thought it was provision related, can you try setting up another user as a test with the correct provisioning such as provisioning manager of the different product areas and see if the new user works.
    If it does then it points an issue with your account or the way it has been provisioned.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to pass Proxy user dynamically in Toplink proxy authentication?

    Hi,
    I'm using Toplink Proxy Authentication with my ADF JSF application and want to pass the Proxy user dynamically to the preLogin(..) method of mySessionEventListener (Currently proxy user is hard coded).
    This is to make my application user as the Proxy user.
    I have tried to do this in two ways:
    1) In my Login screen Backing Bean, I retrieve the session as
    session = sessionFactory.acquireSession(); and set the application user in it as
    session.setProperty("proxyUser1", inputText1.getValue());
    But,
    session.getProperty("proxyUser1") returns null in the preLogin(..) method
    2) I add a loginUser property to the mySessionEventListener class and create a constructor to set it.
    Then I call the constructor from my Login Backing Bean as
    mySessionEventListener eventMgr = new mySessionEventListener(<proxy_user>);
    session.getEventManager().addListener( eventMgr );
    But, the loginUser property seeems to be transient and does not retain value when retrieved in preLogin(..) method.
    Please indicate if anything is wrong. Also, is there any other way to get this done?
    Thanks in advance.
    Vikas

    Hi Vikas,
    Probably your sessions.xml defines a ServerSession, and acquireSession method returns a ClientSession. ServerSession is the object that connects to the database, it may have any number of ClientSessions associated with it - all of them use connections provided by ServerSession's connection pools.
    So if you'd like to alter the serverSession before login, acquireSession is too late - it triggers login of the ServerSession and returns a ClientSession.
    To get the ServerSession before login:
    // the first param indicates that the session shouldn't be connected
    Session serverSession = sessionFactory.getSharedSession(false, false);Now you have a serverSession on which login hasn't been called yet.
    You can set the property into the session, or directly into its login.
    In fact you may choose to do whatever you wanted to do in preLogin right here - in this case no preLogin event would be required of course.
    Finally to get a ClientSession, call the same api did:
    // the first param indicates that the session shouldn't be connected
    Session clientSession = sessionFactory.getSession();On the first such call the ServerSession will be connected.
    Note that because all the ClientSessions will connect through the connections provided by the same ServerSession they will all use proxyUser1.
    If you are interested in using different proxy users for different ClientSessions http://www.oracle.com/technology/products/ias/toplink/doc/1013/main/_html/dblgcfg008.htm#BABDABCF lists several scenarios for that.
    Andrei

Maybe you are looking for

  • ITunes quits when I see the "terms of service changes" screen

    I recently added two music files to my cart at the iTunes music store. When I tried to purchase them, I clicked on "Buy Now" at the cart screen. After a few seconds, iTunes presented me with a screen which detailed new changes in the terms of service

  • Authorize a Computer for Family Sharing - Is It Possible?

    For the past seven years or so my family and I have been using the same AppleID for all of our purchases, and all of our computers are authorized with Home Sharing to one account. With the creation of the Family Sharing option - and issues we've been

  • Declarative ADF Security with LDAP provider other than OID possible  ?

    All samples I found regarding declarative security in ADF are done with an .xml repository or mention the possible use of OID as such repository. Thing is that client will not have OID but other LDAP v3 compilant provider. In this scenario is it poss

  • How do I go back to 4.0 after upgrading to 4.0.1 ?

    I upgraded to version 4.0.1 two days ago. I haven't been pleased with the performance (frequent freezes, slow loading), and one of my favorite tools that I need for work doesn't work properly. I'd like to uninstall the upgrade and go back to 4.0. How

  • Application designer issue - Cannot display image preview

    Hi guys, When I attempt to use an image icon as the label for a pushbutton, I receive this message in App Designer: "Cannot display image preview. The ImgDisplay ActiveX control may not be properly registered. Use the Install Workstation functionalit