Trigger or alert on define-user form

Hi all,
Good day..
Is there any script or trigger where i can get an alert, if the define-user form is modified and what is modified and who has modified it.
thanks,
baskar.l

I do not believe such functionality exists out of the box - but it should be relatively simple to call a piece of custom code via forms personalization (on the Define User form) that stores changes to a custom table (i.e create a custom audit trail).
You could also check out the Audit Trail functionality - MOS Doc 69660.1 (Understanding Data Auditing in Oracle Application Tables)
MOS Docs 420996.1 (How to Enable the Audit Trail On the Table APPLSYS.FND_USER) and 358058.1 (Unable To Enable Audit Trail On FND_USER_RESP_GROUPS) may also be relevant
HTH
Srini

Similar Messages

  • Want to add a prepopulated User defined field in create user form

    Hi,
    I have an entity adapter which will perform a pre-insert check on the user group of the user logged in to the oim.
    If the logged in user belongs to a group say "IT ADMIN", another validation check will be imposed on the create user action performed by him.
    If not from "IT ADMIN" group then create user action will be handled normally.
    Now the catch is, how would I determine the group name of the user logged in from the adapter code I have written?
    I decided to keep an User defined field "Created by" in the create user form which will be non-editable and auto-prepopulated with the group name of the logged in user. This way I will be able to map the variable field from the User definition drop down list while mapping the adapter variables.
    May you please guide me how I can achieve this?
    Would highly appreciate suggestion/inputs.

    Thanks for all your replies!
    However I am still in dark.
    I tried to retrieve the groupname using tcUSerOperationsIntf. But iit tries to retrieve the group name of the user getting created.
    Please note, the group name I want is not of the user yet to get created, but that of the user creating it i.e., the logged in user.
    My requirement is to have this created_by field in the create user form already prepopulated with the group name of the logged in user.
    So that I can put a check based on this field value in the netity adapter.
    If the group is IT ADMIN then proceed with the validation.
    Else no validation required.
    In short, I want to know,how can I auto-prepopulate a UDF in Create USer form?

  • Not found Users Form in User Defined Field Definition!!

    I want to add new filed into Users form, As my subject, but when I query "Users" in User Defined Field Definition, no result return, just exist Orgnizations, Roles, Resource Objects,Structure Utility.
    FYI, OIM Version: oim 11g
    Thanks,
    Edited by: 793495 on 2010-10-11 上午2:53

    this you can find in Web console
    configuration>>user configuration>>action>>attributes
    I am able to add attribute but not able to make field as mandatory,while creating attribute we are not getting option like that you want this field mandatory or not but while modifying the attribute we are getting option like required field radio button if i select that i am getting error "you cant change an attribute to required unless all the user have value for this field"

  • User Defined Fields Form

    Hi Philipp,
    This is in reference to ur post Dated Jan13,2005. "Opening User Defined Fields Form via API".
    Is it possible for u to give a code snippet. what i'm unable to get is
    - Check if i can get a handle of the UDF-Form in the Mainform Activate-Event
    and
    -disable the close button
    Thanx in anticipation.
    Manu.

    Hi Manu,
    Here is a code snipet where looks for the related UDF form. The FormTypeNum´s value is the same as pVal.FormType property.
    Dim oUDFForm As SAPbouiCOM.Form
    Try
    oUDFForm = con.Forms.GetForm("-" + FormTypeNum.ToString.Trim, con.Forms.Item(FormUID).TypeCount)
    Catch ex As Exception
       con.ActivateMenuItem("6913")
       oUDFForm = con.Forms.GetForm("-" + FormTypeNum.ToString.Trim, con.Forms.Item(FormUID).TypeCount)
    End Try
    The other issue is solved in your other post.
    Regards,
    Ibai Peñ

  • Multi Value User Defined field on OIM user form

    Hi Everyone,
    I have a requirement where i need to assign multiple resources to user as per access policy. These resources should be assign by virtue of some role (custom attribute as of now). The specific requirement is that one user may have multiple roles (and hence resources) and all these values should capture in any user defined field. As the requirement contains multiple Roles so we have to create multi-value user defined field for User form to capture all these role values under single attribute. Does OIM provides any such multi-value field OOTB (lookup, drop down--any customize way we can make them multivalue)?

    He's right. Multi Valued attributes on the User Profile are not available in OIM. If you want to do this, and you have a finite number of possible roles, you can create UDFs for each and map a checkbox or something to it if the user has that value. Then base your acccess policies off those.
    -Kevin

  • Opening User defined Fields Form via API

    Hi
    Is there a posiibility to open those user defined field - forms via API. If yes is it possible to check if it is already open?
    TIA
    Phile

    Hi,
    In your eventhandler, you can use this:
    Set oSboForm = Sbo_application.Forms.GetFormByTypeAndCount(-pval.FormType, pval.FormTypeCount)
    form and udf-form are linked through a minus sign.
    I do not know of a nice way to check if they are anebled. What I'm currently doing is running the above line of code contained in an error handler. The error handler does a sendkeys of control shift u (which enables the udf-form) and displays a message. Problem is after control shift u, screen is not yet updated so your code cannot continue immediatelly. Development knows of this problem, but I never received a promise when this will be fixed.
    Hope this helps,
    Jacques

  • Prevent closure of user defined field forms

    Hi.
    I need to prevent the closure of a user defined fields form while the parent form is opened. I can trap the et_FORM_UNLOAD before event but seems is too late to prevent the closure. Have anyone some idea about it?
    Ciao. Nicola

    Hi Martella,
    You need to do two things to achieve this.
    1. Make sure that when parent form is opened, the user defined field form is always opened at that same time.
    you can do that as follows
    If pVal.FormTypeEx = [Parent form type] And pVal.EventType = et_FORM_ACTIVATE Then
       Set oForm = SBO_Application.Forms.GetForm(-Val(pVal.FormTypeEx), pVal.FormTypeCount)
       If oForm Is Nothing Then
            If applic.Menus.Item("6913").Enabled = True And applic.Menus.Item("6913").Checked = False Then
               applic.Menus.Item("6913").Activate
            End If
       End If
    End If
    2. Disable the close button(X) on the user defined field form as follows:
    If pVal.FormTypeEx = [User defined form type] And pVal.EventType = et_FORM_LOAD And pVal.Before_Action = False Then
         Set oForm = SBO_Application.Forms.GetForm(pVal.FormTypeEx, pVal.FormTypeCount)
         Set oItem = oForm.Items.Item("4") ' Item 4 is close button
          oItem.Enabled = False
    End if
    Hope this helps.
    Satish.

  • Alert based  on user defined query

    Hi
    I have defined user defined field U_Jobnumber.I need to stop /inform user if user is trying to enter the same u_Jonbnumber again .This is being done at sales order (header level)
    Can you please help me to provide solution
    (Points will be awarded based on solution or advice )
    Thank you
    Bishal

    Hi Bishal,
    Rather than using an alert, you could put validation code in the SBO_SP_TransactionNotification stored procedure to check for the same job number before the document is added. This is a permitted solution as SAP allow users to add their own sql code to this proc (provided it's not inserting or updating data in SBO system tables).
    To set up this solution (on a test system):
    1) Open SQL Studio Management
    2) In the Object Explorer expand the company database, expand Programmability and Stored Procedures
    3) Right-click the SBO_SP_TransactionNotification stored procedure and choose Modify. This will create an update script in the main window.
    4) Look for the following section in the script:
    --     ADD     YOUR     CODE     HERE
    5) Underneath the above section, paste the following code:
    if @OBJECT_TYPE = '17' and @TRANSACTION_TYPE in ('U', 'A')
         if exists(select DocEntry from ORDR where DocEntry <> cast(@LIST_OF_COLS_VAL_TAB_DEL as int)
                        and U_Jobnumber is not null and U_Jobnumber <> ''
                        and U_Jobnumber = (select U_Jobnumber from ORDR where DocEntry = cast(@LIST_OF_COLS_VAL_TAB_DEL as int)) )
              begin
                   set @ERROR = '9999' -- Set your own error code here
                   set @ERROR_MESSAGE = 'The Job Number entered has already been used on a previous sales order.'
              end
    6) Click on Execute and you should get a message stating that the update was successful
    7) Test adding a new sales order
    The above script will raise an error when the user clicks on Add if a job number has been specified on the sales order and that number has already been used. It will not check if a job number has not been specified
    Kind Regards,
    Owen

  • Window RUEKOPF is not defined for form ZWESCHEINV3

    Hi Guru,
    I have encountered an issue whose possible resolution i am not able to meet.
    The issue is like this :
    While performing MIGO for the Return Delivery user is successfully getting the maerial document number . But when user trying to perfor /n or anyother transaction following message is appearing (Note: For Good Receipt user is not getting any message)
    SAPoffice info.
    Express document "Update was terminated" received from author "User_Name".
    The detailed analysis of this error message done using SM13. which is showing there is some error occured in Function module RV_MESSAGE_UPDATE
    30     RV_MESSAGE_UPDATE     V1     Error (no retry)
    The Update Header (ctrlshftF8) Information of this error showing details like below :
    Update key      37AD64DF8023F1F1AAB2001F29E3A344
    Client          505
    User            408020
    Date            21.05.2010  Time       09:48:39
    Language        EN
    Account
    Report          SAPLMIGO
    Transaction     MIGO
    Enqueue key     20100521094825425000001277sap705..........................
    Context         :E:
    Information     (53) =  SYNC_VB, DONT_PROCESS_AGAIN, VB_WITH_ENQUEUE, VB_ENQUEUES_RELEASED,
    UD Ret. Code    9
    Status          Update was terminated
    Update server   sap705_P03_77
    UD Client       sap705_P03_77
    Local time zone CET
    Time Offset     1
    Error details   Class:     TD         Number:    426
    Window RUEKOPF is not defined for form ZWESCHEINV3
    Report     LSTXCU03             Row        101
    Here i am getting error information for that particular function module that Window RUEKOPF is not defined for form ZWESCHEINV3.
    Error details   Class:     TD         Number:    426
    Window RUEKOPF is not defined for form ZWESCHEINV3
    Report     LSTXCU03             Row        101
    The single test (ctrlshftF9) in Sm13 of that particular function module shows the following error message
    Window RUEKOPF is not defined for form ZWESCHEINV3
    After going through the help text of the above error message I have found following
    Diagnosis
    The specified window is not defined in the form
    I have checked the form ZWESCHEINV3 in SE71. The window RUEKOPF is present over there.
    So what might be the reason for getting this error and what approach we should take to resolve this.
    Thanks & regards
    Saifur Rahaman

    Hi,
    I have gone through the OSS note you have provided.. There i can able to find that  This is for error message whose TD = 427
    Symptom
    When you print a collective slip for areturn delivery, the update
    terminates in function module RV_MESSAGE_UPDATE. *The error message is TD*
    *427.*
    But if you check my case
    Error details   Class:     TD         Number:    426
    So I would like to know how far this ossnote will helpout to resolve issue like my case
    Thanks & regards
    Saifur Rahaman

  • How to run process tasks in Xellerate User form sequentially

    I have 2 tasks in the process definition of Xellerate User. One triggers on change in department and the other triggers on manager change. I want the manager task to trigger first and then the department task to run after the values have been updated in the former task. It so happens that always department task is getting triggered first.
    I cannot have task dependency in Xellerate User form. I tried setting the response code in the manager task and have it generate department task. In this case the department task is triggered twice. First time it runs before the manager task. The second time since it is a task to run in the response code of manager task.
    How to make each task run once and have it done sequentially?

    Yes that was my first instinct but I need the old and new values of department and manager. That is possible when I make it a process task.
    Heres what I want to do-
    If there is a change in department of a user, send mail to manager with old and new department values.
    If there is a change in manager when department changes, send mail to old and new manager with old and new department values.

  • How to create Lookup field in user form in OIM 11g - Urgent

    Hi Experts,
    How to create Lookup field in User Form - OIM 11g.
    Pls. provide your support on priority.
    Regards
    Karan

    Thanks all for your suggestion.
    Our requirement, is we need to have a user defined field similar to how its there in "Organisation".
    For example we need to create an user defined field like "Service Holding" which holds different services say like Service 1, Service 2, Service 3 etc.
    Under each service there are multiple roles....
    Eg:
    Service 1 - Role 1, Role 2, Role 3
    Service 2 - Role 4, Role 5
    Service 3 - Role 6, Role 7, Role 8
    Is there a way to store multi-valued attribute in OIM UDF? If so, pls. guide us
    If its not possible we would need to create a Lookup field (something similar to Organization or Manager). User clicks on the button (lens button), which should invoke an API wherein he can select specific Roles and save in User. Eg. like Service 1 - Role 1#Service 2 # Role 5 and store in the backend database.
    Is this possible. Pls. guide.
    Regards,
    Karan

  • How to rearrange field positions in the user form

    Hi all,
    I have added some fields to user creation form, i want to rearrange these fields (like i want to keep some fields which i created in the begining and some in the end ) .is it possible to rearrange the fields.If, can anybody help me by giving detailed steps.
    Thanks,
    Kishore.
    Edited by: user10457483 on Oct 22, 2008 4:08 AM

    To rearrange your User Defined Fields you just have to edit the "order" column in the UDF Form in Design Console.
    If you want to put an User Defined Field between the Default Fields, the process is a bit more complex:
    1) Set the field property VISIBLE to false.
    2) Open the FormMetadata.xml file (oim_server_home\xellerate\config\FormMetadata.xml).
    3) Declare your UDF there, just before the line <Form name="3"> (this is the create user form):
    (e.g.)
    <Attribute name="-1003" label="Country" displayComponentType="ComboBox" variantType="String" dataLength="1" map="USR_UDF_COUNTRY">
         <ValidValues lookupCode="Lookup.Country" selectionColumn="lkv_encoded"/>
    </Attribute>
    4) Finally add the reference to this field to the <Form name="3"> section, in the desired position:
    (e.g.)
    <AttributeReference editable="true" optional="true">-1003</AttributeReference>
    An important note is that (in my experience) this procedure only works for optional fields. I don't know why it fails when I do it with mandatory fields.
    Regards,

  • Disabling user form fields in Jsp..

    Hi I wrote a function to disable form fields for a resource.
    function disable(element){
        if(element != undefined){
            element.disabled = true;
            element.className="Fieldsdisabled";
            element.value="";
    when I call this method like  below , it disables textbox, textarea but not radio button field, Can anyone please help what mistake I am making.
    var element1=document.resourceObjectForm.elements["resourceFormData.parentFormData['UD_NY_'City_NAME]"];
                      disable(element1);  { This is a text field which gets disabled}
    SimilarlyTextarea, combo box gets disabled.
    But when I use it to Disable a radio Button  having two values like X,Y:
                      var element3=document.resourceObjectForm.elements["UD_NY_CITY"];
                      disable(element3); (This is radio button field}
    It is not disabling it.
    Can anybody tell what is the mistake here?

    Thanks for your reply!!!!!!!!!!
    I know about resource object form i am just asking what is the use of user define field in resource object form. How can we use it. Like when we create any user defined field in under User form those fields display on create user form but when we create any user defined field in resource object from those are not displayed in form.
    If anyone has used or worked on user defined fields in Resource Object or resource object form; please give me an overview over the same.
    Regards
    Alabhya Goel

  • How to define user roles

    I am ready to deploy the form, but I want to define user roles.  How do I do that?

    You can't defines roles for the fillers. You can however define roles for the form design, responses data and summary reports by sharing the form. For more information see http://forums.adobe.com/docs/DOC-2462.
    Gen

  • When menu item is clicked i'm unable to call user form to my b1

    hi every one,
    i'm new to b1 sdk. i have written some code to handle menuevents. when an item on menu is clicked a form should open ...such that i have written some code which is shown below....but when i'm debugging ..after entering the control into createmysimpleform() it is not moving further....
    plz provide me some help in this regard...
    ======================================================================================================
    CODE
    ===================================================================================================
      Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
    =============================================================================================
            If (pVal.MenuUID = "SM_VID_F1") And (pVal.BeforeAction = true) Then
                SBO_Application.MessageBox("Rajender")
                If (pVal.MenuUID = "SM_VID_F1") And (pVal.BeforeAction = true) Then
                    SBO_Application.MessageBox("My first Menu was clicked")
                    CreateMySimpleForm() ' to call the user form for which the code is written in another sub program
                End If
            Else
                If (pVal.MenuUID = "SM_VID13") And (pVal.BeforeAction = False) Then
                    SBO_Application.MessageBox("My Second Menu was clicked")
                End If
            End If
    Private Sub CreateMySimpleForm()
            Dim oItem As SAPbouiCOM.Item
            '// we will use the following objects to set
            '// the specific values of every item
            '// we add.
            '// this is the best way to do so
            Dim oButton As SAPbouiCOM.Button
            Dim oStaticText As SAPbouiCOM.StaticText
            Dim oEditText As SAPbouiCOM.EditText
            Dim oComboBox As SAPbouiCOM.ComboBox
            '// add a new form
            Dim oCreationParams As SAPbouiCOM.FormCreationParams
            oCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
            oCreationParams.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
            oCreationParams.UniqueID = "MySimpleForm"
            oForm = SBO_Application.Forms.AddEx(oCreationParams)
            oForm.Visible = True
            '// add a User Data Source to the form
            oForm.DataSources.UserDataSources.Add("EditSource", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
            oForm.DataSources.UserDataSources.Add("CombSource", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
            '// set the form properties
            oForm.Title = "Simple Form"
            oForm.Left = 400
            oForm.Top = 100
            oForm.ClientHeight = 80
            oForm.ClientWidth = 350
            '// Adding Items to the form
            '// and setting their properties
            '// Adding an Ok button
            '// We get automatic event handling for
            '// the Ok and Cancel Buttons by setting
            '// their UIDs to 1 and 2 respectively
            oItem = oForm.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 6
            oItem.Width = 65
            oItem.Top = 51
            oItem.Height = 19
            oButton = oItem.Specific
            oButton.Caption = "Ok"
            '// Adding a Cancel button
            oItem = oForm.Items.Add("2", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 75
            oItem.Width = 65
            oItem.Top = 51
            oItem.Height = 19
            oButton = oItem.Specific
            oButton.Caption = "Cancel"
            '// Adding a Rectangle
            oItem = oForm.Items.Add("Rect1", SAPbouiCOM.BoFormItemTypes.it_RECTANGLE)
            oItem.Left = 0
            oItem.Width = 344
            oItem.Top = 1
            oItem.Height = 49
            '// Adding a Static Text item
            oItem = oForm.Items.Add("StaticTxt1", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oItem.Left = 7
            oItem.Width = 148
            oItem.Top = 8
            oItem.Height = 14
            oItem.LinkTo = "EditText1"
            oStaticText = oItem.Specific
            oStaticText.Caption = "Static Text 1"
            '// Adding another Static Text item
            oItem = oForm.Items.Add("StaticTxt2", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oItem.Left = 7
            oItem.Width = 148
            oItem.Top = 24
            oItem.Height = 14
            oItem.LinkTo = "ComboBox1"
            oStaticText = oItem.Specific
            oStaticText.Caption = "Static Text 2"
            '// Adding a Text Edit item
            oItem = oForm.Items.Add("EditText1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oItem.Left = 157
            oItem.Width = 163
            oItem.Top = 8
            oItem.Height = 14
            oEditText = oItem.Specific
            '// bind the text edit item to the defined used data source
            oEditText.DataBind.SetBound(True, "", "EditSource")
            oEditText.String = "Edit Text 1"
            '// Adding a Combo Box item
            oItem = oForm.Items.Add("ComboBox1", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
            oItem.Left = 157
            oItem.Width = 163
            oItem.Top = 24
            oItem.Height = 14
            oItem.DisplayDesc = False
            oComboBox = oItem.Specific
            '// bind the Combo Box item to the defined used data source
            oComboBox.DataBind.SetBound(True, "", "CombSource")
            oComboBox.ValidValues.Add("1", "Combo Value 1")
            oComboBox.ValidValues.Add("2", "Combo Value 2")
            oComboBox.ValidValues.Add("3", "Combo Value 3")
            '// set the form as visible
        End Sub

    hi satish, thanks for ur reply...
    i have 1 more doubt...plz try to solve this prob as soon as possible....
    i have created a user form with some lables and textboxes... and buttons...
    if i click on "adddata" button all the data i have entered in the form is inserted to DB...
    i have placed 1 more button ...so as to make already entered data in textboxes values empty.... but it is not working when i wrote the code below.....
    If (FormUID = "TestForm") And ((pVal.ItemUID = "13") And _
       (pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) And (pVal.BeforeAction = True)) Then
                Clear() ' this is update records with respect to code value entered in form to DB
            End If
    Public Sub Clear()
      oform.Items.Item("6").Refresh()
            oform.Items.Item("7").Refresh()
            oform.Items.Item("8").Refresh()
        End Sub
    is there any other method that is should call to clear the data...???

Maybe you are looking for