Fits attribute on user id during user creation (Cont)

Hi Experts,
A little time ago , we posted some doubt regarding of how can we fits the attribute userID during user creation on User Interface.
The previous discussion was posted here:
"Fits attribute on user id during user creation"
Link abou our issue "scn.sap.com/thread/3532549"
As the Correct Answer:
Alternative 2, add a To IdentityStore pass as part of the task workflow where your logic is implemented in a jscript:
MSKEYVALUE=%MSKEYVALUE%
****AD_USER_ID=$FUNCTION.GENADUSERID(%MX_FIRSTNAME%!!%MX_LASTNAME%)$$
The script is running very well, but when we create a new employee on HR System (No SAP) this this script is not running just for this new user but for all other users already exitents on IDM. The script increase in Mass an not just for new user.
Does anyone know if this can be related with delta configuration, or this kind of validation ( create just for new employe placed on HR) needs to be done inside the script?
THank you very much.
Miguel

Hello Miguel,
is the "Create Identity"-task called by the HR-update-job?
The screenshot in the old thread just shows the three inputs. I guess, there are some more in the used task. Did you check, if the other lines have the dot as a prefix, so that these attributes are only filled (and therefor the script only runs), when the entry is created, but not updated?
If yes and it's missing for those two attributes, just add it.
Regards,
Steffi.

Similar Messages

  • User exit during project creation

    Dear ALL,
    I want to know is there any user exit at the time of project Creation  ( CJ20N / CJ01). Actually the requirement is the system should restrict the user if the user selects  the wrong project profile during the  initial screen and not during saving .
    Thanks in advance.
    Regards
    Nitin

    Hi Virendra,
    I am new to PS , can you please help me to get prepopulated project profiles .
    Thanks
    Nitin

  • Chek System and User status during Equipment creation (IE01)

    Hi gurus
    I need to check if the system state I0180-NPRT is set by teh use during the creation of an equipment.
    I tried to use the FM BAPI_EQUI_GETSTATUS and ITO3_EQUIPMENT_READ_STATUS with the exit IEQM0003, but both FM doesn't retrieve any status during the creation of the equipment (IE01), while both work fine during change operation (IE02).
    Someboday has an idea, regarding the right FM to use for solve my issue ???
    Thanks in advance for your help.
    Claudio

    For the first part of your query refer to the technical forums.
    For the second part - refer to Idoc - LOIPRO01, it has a segment for Order status, that should be of interest.
    Attn Moderators
    I think it would be better to move this thread to a technical forum, so the requester can get the most relevant information.

  • User Exit/ Badi for Changing Quant parameters during TO Creation

    Hi Gurus,
    Could you please guide me to advice the User Exit/Badi which can be used for changing Quant Data during TO Creation.
    User Requirement: Using "Recepient Field" in MIGO as a Key Value for FIFO in WM during goods issue. Receipient is copied into TR and TO (Standard SAP Functionality). For the purpose of Stock Removal based on Receipient Value, we need to copy this value into Quant Data field named Certificate Number ("LQUA-ZEUGN").
    I will highly appreciate reply from Gurus.
    Regards,
    Gupta M

    Hi manish,
    Use the Exit MWMTO001 for this purpose and modify the table accordingly. This will solve your problem.
    Thanks,
    Shibashis

  • LC Rights Management End User can not find groups or users during policy creation process

    hello,
    I'm using LC8.0.1 turnkey install on win2003 box.
    Problem is LC Rights Management End User can not find groups or users (search result is empty) during policy creation process, thus can not apply specific restriction to certain groups or users.
    I have create a user in the DefaultDom and assigned the following roles:
    Live Cycle Rights Management Invite User
    Live Cycle Rights Management End User
    How can I allow the above created user to search for groups and user during policy creation? Thanks.

    Good catch Phuc. Make sure you do this for each Policy Set as well as My Policies.
    Here's an overview of Policy Sets:
    http://blogs.adobe.com/security/2008/04/delegating_control_over_policy.html
    Cut and paste the URL.

  • Approver, certifier, fulfillment user set to oiminternal during role creation through scheduled job

    Hi all,
    We are running 11gR2 PS1 (BP01). We have a scheduled job that creates role and then populates approver_user attribute (with user ID) in the catalog entry of this role. We only want the approver_user to be populated and not the certifier and fulfillment user on the catalog.
    When i view the role in catalog, the approver user is correctly set with the user ID provided by the scheduled job however I see that certifier user and fulfillment user are automatically set to oiminternal.
    We did not see this behavior in R2.
    Are there any configurations that will prevent certifier user and fulfillment users to be auto populated with the identity of the user running the scheduled job (oiminternal)?
    Thanks.

    So while this certainly isn't the most elegant of solutions, and most assuredly isn't in the realm of supported by Oracle...
    I've used the DBMS_IJOB.DROP_USER_JOBS('username'); package to remove the 194558 orphaned job entries from the job$ table. Don't ask, I've no clue how they all got there; but I've prepared some evil looks to unleash upon certain developers tomorrow morning.
    Not being able to reorganize the JOB$ table to free the now wasted ~67MB of space I've opted to create a new index on the JOB$ table to sidestep the full table scan.
    CREATE INDEX SYS.JOB_F1_THIS_NEXT ON SYS.JOB$ (FIELD1, THIS_DATE, NEXT_DATE) TABLESPACE SYSTEM;The next option would be to try to find a way to grant the select privilege to the role without using the aforementioned "after CREATE on schema" trigger and dbms_job call. This method was adopted to cover situations in which a developer manually added a table directly to the database rather than using the provided scripts to recreate their test environment.
    I assume that the following quote from the 11gR2 documentation is mistaken, and there is no such beast as "create or replace table" in 11g:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/statements_9003.htm#i2061306
    "Dropping a table invalidates dependent objects and removes object privileges on the table. If you want to re-create the table, then you must regrant object privileges on the table, re-create the indexes, integrity constraints, and triggers for the table, and respecify its storage parameters. Truncating and replacing have none of these effects. Therefore, removing rows with the TRUNCATE statement or replacing the table with a *CREATE OR REPLACE TABLE* statement can be more efficient than dropping and re-creating a table."

  • User exit for during SO creation

    Hi guys,
    I'm looking for the user exit during the very initial step when SO is to be created. That is, after the user maintain the "order type" and some organizational data, and right after they click the 'create' button.
    Can somebody help pls?

    Hu Teck,
           Please go throuh these User Exits it may help you
    USEREXIT_FIELD_MODIFICATION
    USEREXIT_MOVE_FIELD_TO_VBAK
    USEREXIT_PRICING_PREPARE_TKOMK
    USEREXIT_PRICING_PREPARE_TKOMP
    Cheers,
    Murali

  • User Exit  for Equipment Creation

    Hi all,
    During Equipment creation I want to check whether the equipment for the current licence number or chassis number is already available,if yes i want through an error message as 'Equipment already created for this license number',else i want to proceed for the equipment creation..is there any USER EXIT or BADI to do this...
    Regards
    Sugumar G

    Hi
    cut and paste the code in se38 and execute and give the transaction code for which u need the exit
    *& Report  ZVBUSEREXIT                                                 *
    REPORT  ZVBUSEREXIT .
    TABLES : TSTC, "SAP Transaction Codes
             TADIR, "Directory of Repository Objects
             MODSAPT, "SAP Enhancements - Short Texts
             MODACT, "Modifications
             TRDIR, "System table TRDIR
             TFDIR, "Function Module
             ENLFDIR, "Additional Attributes for Function Modules
             TSTCT. "Transaction Code Texts
    *& Variables
    DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
    DATA : FIELD1(30).
    DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK A01 WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : P_TCODE LIKE TSTC-TCODE OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK A01.
    *& Start of main program
    START-OF-SELECTION.
    * Validate Transaction Code
      SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
    * Find Repository Objects for transaction code
      IF SY-SUBRC EQ 0.
        SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
                                     AND OBJECT = 'PROG'
                                     AND OBJ_NAME = TSTC-PGMNA.
        MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
        IF SY-SUBRC NE 0.
          SELECT SINGLE * FROM TRDIR WHERE NAME = TSTC-PGMNA.
          IF TRDIR-SUBC EQ 'F'.
            SELECT SINGLE * FROM TFDIR WHERE PNAME = TSTC-PGMNA.
            SELECT SINGLE * FROM ENLFDIR WHERE FUNCNAME = TFDIR-FUNCNAME.
            SELECT SINGLE * FROM TADIR WHERE PGMID = 'R3TR'
                                         AND OBJECT = 'FUGR'
                                         AND OBJ_NAME = ENLFDIR-AREA.
            MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
          ENDIF.
        ENDIF.
    * Find SAP Modifactions
        SELECT * FROM TADIR INTO TABLE JTAB WHERE PGMID = 'R3TR'
                                              AND OBJECT = 'SMOD'
                                              AND DEVCLASS = V_DEVCLASS.
        SELECT SINGLE * FROM TSTCT WHERE SPRSL EQ SY-LANGU
                                     AND TCODE EQ P_TCODE.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) P_TCODE,
        45(50) TSTCT-TTEXT.
        SKIP.
        IF NOT JTAB[] IS INITIAL.
          WRITE:/(95) SY-ULINE.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 SY-VLINE,
          2 'Exit Name',
          21 SY-VLINE ,
          22 'Description',
          95 SY-VLINE.
          WRITE:/(95) SY-ULINE.
          LOOP AT JTAB.
            SELECT SINGLE * FROM MODSAPT WHERE SPRSL = SY-LANGU AND
                                               NAME = JTAB-OBJ_NAME.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 SY-VLINE,
            2 JTAB-OBJ_NAME HOTSPOT ON,
            21 SY-VLINE ,
            22 MODSAPT-MODTEXT,
            95 SY-VLINE.
          ENDLOOP.
          WRITE:/(95) SY-ULINE.
          DESCRIBE TABLE JTAB.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , SY-TFILL.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    * Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD FIELD1.
      CHECK FIELD1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    Regards,
    V.balaji
    Reward if usefull

  • Restricting Users in 'Search Users' List while request creation.

    Hi All,
    We are working on OIM Version : 11.1.1.5.7
    When a requester wants to raise any request for provisioning resource, he selects a request template and then he selects the user to whom he want to provision the resource.
    Also, We have an user attribute "Company" with four possible values.
    Now acc to requirement,during request creation the requester should only be able to see list of those users who belongs to his company only.
    How can this be achieved?
    Please help..
    Thanks & Regards,
    Aparna

    Ashan,
    Except 'Users' search all other option in search can be restricted by use of Book.
    Currently we do not have option of searching Users by book.
    Please register enhancement request.
    Santosh

  • MIRO - User Exit during SAVE: Read items & Update header

    Hi there!
    During MIRO after pressing save...
    I search for an user-exit or BAdI, to READ ITEM DATA and UPDATE HEADER DATA (XBLNR) after SAVE but before UPDATE.
    I have searched this forum, but with no luck. Many more then me seem to have the same problem. The most common answer have been to try BAdI INVOICE_UPDATE, but that BAdI only give READ access and NO UPDATE, so no luck there..
    To summarize all my searching here and findings... I list all exits I have tested...
    User-Exits
    LMR1M001 User exits in Logistics Invoice Verification
    LMR1M002 Account grouping for GR/IR account maintenance
    LMR1M003 Number assignment in Logistics Invoice Verification
    LMR1M004 Logistics Invoice Verification: item text for follow-on docs
    LMR1M005 Logistics Inv. Verification: Release Parked Doc. for Posting
    LMR1M006 Logistics Invoice Verification: Process XML Invoice
    MRMH0001 Logistics Invoice Verification: ERS procedure
    MRMH0002 Logistics Invoice Verification: EDI inbound
    MRMH0003 Logistics Invoice Verification: Revaluation/RAP
    MRMN0001 Message output and creation: Logistics Invoice Verification
    BADI - When saving in MIRO the following BAdI were passed...
    PPA_CUST_BADI
    /CCIS/FICLRDC_ENH
    INVOICE_UPDATE  << only read no update
    ME_DP_CLEARING
    AC_DOCUMENT
    FI_LIMIT_PROCESS
    AC_QUANTITY_GET
    FMRE_BUS_PROCESS
    EXIT_XFMPRI_001
    CO_DOCUMENT_INFO
    INVOICE_UPDATE (method change_before_update ) << only read no update
    MRM_RANSACT_DEFAULT
    MRM_HEADER_DEFAULT
    Other BAdI's
    MRM_HEADER_CHECK - Bara ingående värden för kontroll
    MRM_HEADER_DEFAULT - Tyvärr sätter bara XBLNR precis när man går in i MIRO...dvs för tidigt.
    MRM_ERS_HDAT_MODIFY  - EJ anropad...
    Would be greatful for any ideas on this matter...
    Best regards
    Henrik

    Hello Henrik,
    In BADI INVOICE_UPDATE there are 3 methods CHANGE_AT_SAVE, CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE.
    Of these CHANGE_AT_SAVE is called before INSERT / UPDATE statements are executed. We can use this to update RBKP-XBLNR.
    We can't use CHANGE_BEFORE_UPDATE and CHANGE_IN_UPDATE methods as they are called after INSERT / UPDATE statements are executed and before COMMIT.
    You can update RBKP-XBLNR through INVOICE_UPDATE~CHANGE_AT_SAVE method using call stack technique like below. You can replace 'VALUE' in the below code with the value based on your calculation using other variables like s_rbkp_new, ti_rseg_new etc.
    method IF_EX_INVOICE_UPDATE~CHANGE_AT_SAVE.
      DATA: lv_name_xblnr(30) TYPE c VALUE '(SAPLMRMP)RBKPV'.
      FIELD-SYMBOLS: <fs_rbkpv> TYPE mrm_rbkpv.
      ASSIGN (lv_name_xblnr) TO <fs_rbkpv>.
      IF <fs_rbkpv> IS ASSIGNED.
        <fs_rbkpv>-xblnr = 'VALUE'.
      ENDIF.
    endmethod.
    Best regards,
    Vishnu Tallapragada

  • Transformation of Data During User Reconciliation

    Hi all,
    I'd want transform data during user reconciliation from a trusted source SAP HR.
    In my case I have to transform the userid coming from SAP to generated a custom OIM User Login attribute.
    As described in the "Connector Guide for SAP Employee Reconciliation", I wrote a java class that implements the Transformation interface,
    the method "transform" has the code to generate the userid; then I created a jar, unploaded it, and finally I changed the following lookup definitions as described in the doc guide:
    - Lookup.SAP.HRMS.Configuration
    COD KEY = Use Transformation For Recon
    DECODE = YES
    - Lookup.SAP.HRMS.ReconTransformation
    COD KEY = User ID
    DECODE KEY = com.mycompany.custom.ReconUserLoginGenerator
    When the reconciliation process ends the OIM user login is created but it isn't trasformed; in the log I did't see any excpetion of my class and it seems that no trigger has been triggered for the class.
    Someone has suggestion about the Transformation data during user recon? I forgot something in order to transform data?
    Thanks a lot,
    Ettore

    Hi Martin,
    I uploaded the jar using the "Upload" utility as described in the doc, (the version of OIM system is 11g).
    Ettore

  • Can the SidHistory attribute be moved from one User account to a different User account in the same Forest/Domain?

    Hello,
    Can the SidHistory attribute be moved from one User account to a different User account in the same Forest/Domain manually with  Active Directory Users and Computers or with something like Powershell?  it would seem to me this is a safe operation.
    Thanks for your help! SdeDot

    Hi,
    In addition, please also take a look at the below thread:
    copy SIDHistory from one account to another in the same domain
    http://social.technet.microsoft.com/Forums/en-US/2ca8727c-b3fd-4ef8-9747-99295f0cd61c/copy-sidhistory-from-one-account-to-another-in-the-same-domain?forum=winserverDS
    Hope this helps
    Best regards
    Michael
    If you have any feedback on our support, please click
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • BAdI: or User Exit for Campaign Creation   IN CRM 5.0

    Hi all,
    we are working in CRM 5.0,
    we have a Requirement like :
    when we create the campaign it should check higher level project ID (marketing Plan ID)
    if it is there it should permit for create campaign else it ll show error...
    Any BAdI: or User Exit for Campaign Creation?
    I ll geive reward points....
    Rhanks & Regards,
    Ganesh

    IN WHICH TRANSACTION U R CREATING CAMPAIGN ??

  • How to show register attribute value in my register users report in FIM 2010 R2

    Hi,
    How to show register attribute value in my register users report in FIM 2010 R2?
    Please suggest on this.
    Regards
    Anil Kumar

    hello,
    the only way I know is manage the attribute descriptiona s a property and then enable the pivot table option "Show properties in tooltip".
    But I'm interested in what you mean with  "using
    "OLAP pivot table extension" is an option". How this works?
    Thanks
    bye
    Norman

  • How to Pre-Populate the user information during Assign Task operation

    Hi ,
    I have a requrirement to Pre-Populate the form fields (Name, Email, Phone etc...) when a task is assigned to a user. The users are dynamically assiged, so I am using the Find User and the Assign Task services to locate and assign the task to the user. Since I have a User variable that is a result from the Find User operation, I was hoping to retrieve the user information with the attributes of the User type.
    I tried to use the Set Value service to set the form field (Email) with the email attribute of the User object type i.e.
    /process_data/MyForm/object/data/xdp/datasets/data/Form/User/Email   ->  /process_data/facilityAuthority/object/@email
    However I get the following error when I try to do this - com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object: [B@335d of type: [B to type: interface org.w3c.dom.Document.
    Is it possible to retrieve the user information from the User object? If so how do I get the values for the User attributes (Name, Email & Phone etc...) so that I can populate them in the form?
    Thanks,
    Samanthapudi

    Hi Han Dao,
    If you are facing an exception of the form "com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object: [B@335d of type: [B to type: interface org.w3c.dom.Document.", It is because the system is trying to cast a Byte Stream into w3c Document and failing. To resolve this we can explicitly cast this byte stream to appropriate data type (String in previous example). To do so we can use a SetValue operation.
    As an example
    Setting
    /process_data/MyForm/object/data/xdp/datasets/data/Form/User/Email   -> /process_data/facilityAuthority/object/@email
    results in the exception
    so we can modify it to
    /process_data/MyForm/object/data/xdp/datasets/data/Form/User/Email   -> string(/process_data/facilityAuthority/object/@email)
    Please let me know if this does not resolve your issue.
    Thanks

Maybe you are looking for

  • Performance tuning in BDB Replication

    Hi, I have set up Berkeleydb replication with 1 master and 5 slaves for session management in our web application with webservers behind load balancer. Somehow i get stale session data from same of the slaves. Our application cannot live with stale d

  • Component Video to Scart Cable

    Hello Has anyone in the UK tried to connect an Apple TV to regular TV with Scart? Component Video to Scart Cables cabled can be bought for around £20, has anyone tried this with success? I'd welcome comments.

  • Calling main method of a class

    Hi I have to call the Main method of a class in some other class becuass that class is accepting command line aurguments. I test it and everything is working fine.            String[] strings = new String[3];            strings[0] = "E:/practice.cap"

  • Regenrate STACK XML  for EHP5

    Hello Guys! I have issue here, there is difference file loaded while i regenrate the XML with addtional technical usage. How will i knows which files are added today while i regenrate the XML, so that i can download those files instead of downloading

  • A Fix for Wireless Connection Problems

    I've been struggling with connection problems for a week. Thankfully, I found a fix. Your mileage may vary, but this may be your answer: Fix for Wireless Connection Problems on MacBook Pro