How to create user using Form Builder

How can use Oracle Developer2000 Form6 to create user in database (oracle 8i) from Trigger of Form6. I've try to use statement "create user ..... identified by ...." in PL/SQL editor of When-Button-Pressed trigger and it had complilation error with that statement.

Probably best not to create the user directly from Forms.
Create a DB Package with a procedure to create a user. This proc should take, e.g. username & password as parameters (& maybe other things - default tablespace, etc.):
PROCEDURE cre_user(p_username VARCHAR2, p_password VARCHAR2) IS
BEGIN
EXECUTE IMMEDIATE('CREATE USER '||p_username||' IDENTIFIED BY '||p_password);
END cre_user;
Give the package the correct user creation privileges & DEFINER or INVOKER s rights.
Grant EXECUTE on the package (or its SYNONYM) to the appropriate end-users
Finally, call the packaged procedure from your Form with the appropriate parameters.
If you need to return info. to the Form, use OUT parameters.
Also, consider the security implications of sending the password in an unencrypted form.

Similar Messages

  • How to create PDF with Form Builder (T-Code:SPF) and how to use it?

    How to create PDF with Form Builder (T-Code:SPF) and how to use it? Is there anyone can show me some doc. or PA material ? << removed >>  Thank you very much!!
    Edited by: Rob Burbank on Nov 11, 2010 1:04 PM

    PDF forms also known as Adobe From or Interactive Forms.
    Check this link -
    Interactive Forms
    REG:ADOBE FORM
    Adobe forms
    Regards,
    Amit

  • How to create user using ESSCMD

    <p>hi</p><p>i am wondering</p><ul><li>How to add users ESSCMD</li><li>how can i provide users with external authentication</li></ul><p>thanks for your time.</p><p> </p>

    I would suggest using MaxL, not Esscmd. Here is a sample from the online help.<BR>With MaxL, you can pass in parameters using 1 script instead of creating multiple Esscmd scripts.<BR><BR>create or replace user Fred type external with protocol 'LDAP' identified by 'cn=Engineers, ou=Groups, dc=yahoo, dc=com';<BR><BR>Creates a user called Fred who is externally authenticated with the LDAP protocol.<BR>

  • How to create users using SECATT

    Hi ,
    Can anybody help me, In ECC 6 how to create using tcode SECATT.
    thanks & regards
    siva

    Check these links:
    1) http://www.*********************/tutorials.htm
    2) http://www.sap-img.com/bc021.htm
    Regards
    Chaitu
    PS: Please award points, if this answer is useful to you.

  • How to create shortcuts using Form 10g

    hi all,
    my problem is that i want to perform some task by pressing 1 a key.
    for e.g., i want to do a certain job by pressing F3.
    how can i implement it.
    thanks and rgds
    Aml

    all keys are mapped to KEY-trigger. The mapping can be found in the fmrweb.res - file in the forms-home-directory.
    Example:
    The mapped key-trigger for F6 is normally KEY-CREREC (create-record)
    If you write your code in this trigger on form-level, then each pressed F6 starts your code.
    If some trigger are not mapped, then map them to hotkeys you like in the fmrweb.res.
    Best practice: Don't change them, because this hotkeys are known from most oracle-user and if you change F 10 (commit) to some other functionality, then the user runs crazy because his hotkey has changed :-)

  • How to create hyperlink using form

    if a user click on button then
    oulook express open for sending mail but i want to create hyperlink on it automatically.
    actually when user click then a word file created on server i want to hyperlink this file the file name is my form serial_no

    when i click on button outlook express is opening know and i can send text on body through forms
    i need it to send hyperlink on outlook express so i can open document through this link which is on outlook express file

  • How to Create User define forms.

    Hi,
    We are replace old system of our Client. Client has some Exit form,approval form for terimination of employee and approval to access various resource respectively.
    Can any one tell me how to achive this in OIM.

    Go through some OIM Document first and you'll be able to find out exact components to achieve the same.

  • How to create a LOGIN Form & LOGIN ID & PASSWORD for END USERS

    hi,
    i have just created a Database and Forms & Reports using developer 6i.
    now i want to deleiver that Database to end users, but i dont know that how to create a LOGIN Form for the end users and also i want to assign each user a Login ID & Password.
    Plz help me to solve out this problem.

    1. Create the user accounts on the database CREATE USER ... IDENTIFIED BY...
    2. Grant CONNECT Role to the Users
    3. in the main form (the one which is being called initially at runtime) in the ON-LOGON-Trigger create a CALL_FORM() to the Login Form
    4. The Login Form will be called; build a Block with username, password and a Button
    5. In the Button call the LOGON Built-In
    6. Control will be passed to the initially called form again
    I also noticed a thread in here explaining this in more detail...
    Message was edited by:
    user434854

  • How to create users and groups using WLST Offline with Weblogic 8.1.4

    How to create users and groups using WLST Offline with Weblogic 8.1.4?
    Any ideas?

    Hi this is how i created a user using WLST Offline?
    cd('/Security/' + domainName)
    # Delete the default user name weblogic
    # incase you want to remove the defualt user weblogic
    delete('weblogic','User')
    # Creating a new user defined
    create(userName, 'User')
    # Setting the password of the user you created.
    cd ('/Security/' + domainName + '/User/' + userName)
    cmo.setPassword(password)
    Regards
    Makenzo

  • How to create Reports and Forms using JSP

    Hi,
    How to create reports using JSP. And how many types of reports can be created using JSP.Can anyone explain with example please.
    Thanks,
    Vijayalakshmi.M

    Here is some code that creates xml for any SQL that returns a ResultSet. Note this uses my default out-of-the-box XML template, but you can quickly create and use your own templates to generate xml to look anyway you desire.
    FormattedDataSet fds=FormattedDataSet.createInstance();
    Map miscData=new HashMap();
    map.put("rootElement", "musicgroups");
    String xml=fds.getFormattedDataSet("select * from groups", miscData, "xml1");
    String xml has the value:
    <musicgroups>
    <row rowID='1'>
      <group_id>1</group_id>
      <group_name>Rolling Stones</group_name>
      <type>Rock</type>
    </row>
    <row rowID='2'>
      <group_id>2</group_id>
      <group_name>Beatles</group_name>
      <type>Rock</type>
    </row>
    <row rowID='3'>
      <group_id>3</group_id>
      <group_name>Led Zepplin</group_name>
      <type>Rock</type>
    </row>
    </musicgroups>steve -
    http://www.fdsapi.com - The easiest way to generate dynamic HTML and XML
    http://www.jamonapi.com - A performance tuning and scalability measuring API

  • How to access database module when i use forms builder 9.02

    hello all:
    i'm migration forms 6i application to 9ias r2.
    My application use a module saved in database and it was referenced by all other forms ,when i use forms builder 9.02,i can't access it .Online help hint :
    open form builder,select edit--preference--access tab,select ask,but i can't find it .Who can help me ?

    Forms modules in the database are not supported in 9i - you will have to extract the module in 6i to the file system and adjust the reference before upgrading the form.
    See the following document on OTN for useful information when upgrading.
    http://otn.oracle.com/products/forms/pdf/forms_upgrade_reference.pdf

  • [Help] Error when using Form Builder

    When using Form Builder to create a new form from TEMPLATE.fmb, there is an error like this:
    FRM-18108:Failed to load the following objects:
    Source Module:APPSTAND
    Source object:STANDARD_PC_AND_VA
    Source Module:APPSTAND
    Source object:STANDARD_TOOLBAR
    Source Module:APPSTAND
    Source object:STANDARD_CALENDAR
    Then, I found an file incuding the error message in the directory where I placed the TEMPLATE.fmb and APPSTAND.fmb.
    Here is the main point:
    FRM-30064: Unable to parse statement select timezone_code,name
    ,to_char(trunc(gmt_offset),'S09') || ':' || to_char(abs(gmt_offset - trunc(gmt_offset))
    *60,'FM900') offset
    ,decode(daylight_savings_flag,'Y','*',null) dst_flag
    from fnd_timezones_vl
    where enabled_flag = 'Y'
    order by gmt_offset.
    ORA-00942: table or view does not exist
    Record Group TIMEZONES
    Form: STANDARD_OBJECTS
    FRM-30085: Unable to adjust form for output.
    How can I fix this error?
    Thanks a lot,
    Mike Cui
    PS: I have intalled the Oracle EBS VIS, and the OS is WinXP(ZHS).

    You have to connect with a database user who has right to select on the table.

  • How to create user defined button in alv report

    how to create user defined button in alv report
    thnks in advance.

    Hi,
    U can define it the the PF-STATUS ( Menu for ALV ).
    For that u have to define it in the EVENTCAT.
    form z_eventcat  using    p_i_eventcat type slis_t_event.
      data: i_event type slis_alv_event.
      call function 'REUSE_ALV_EVENTS_GET'
        exporting
          i_list_type     = 0
        importing
          et_events       = p_i_eventcat
        exceptions
          list_type_wrong = 1
          others          = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      clear i_event.
      read table p_i_eventcat with key name = slis_ev_top_of_page into
      i_event.
      if sy-subrc = 0.
        move 'TOP_OF_PAGE' to i_event-form.
        append i_event to p_i_eventcat.
      endif.
      read table p_i_eventcat with key name = slis_ev_pf_status_set into i_event.
      if sy-subrc = 0.
        move 'SET_PF_STATUS' to i_event-form.
        append i_event to p_i_eventcat.
      endif.
      clear i_event.
      read table p_i_eventcat into i_event with key name = slis_ev_user_command .
      if sy-subrc = 0.
        move 'USER_COMMAND' to i_event-form.
        append i_event to p_i_eventcat.
      endif.
    And in the DISPLAY
    call function 'REUSE_ALV_GRID_DISPLAY'
       exporting
         i_callback_program                = v_progname
         i_callback_pf_status_set          = 'SET_PF_STATUS'
         i_callback_user_command           = 'USER_COMMAND'
         i_callback_top_of_page            = 'TOP_OF_PAGE'
         i_grid_title                      = v_gridtitle
         i_save                            = 'A'
         is_layout                         = i_layout
         it_fieldcat                       = i_fieldcat[]
         it_sort                           = i_sortinfo
         it_events                         = i_eventcat
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER           =
      ES_EXIT_CAUSED_BY_USER            =
        tables
          t_outtab                          = it_final
       exceptions
         program_error                     = 1
         others                            = 2
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    *MENU SETTINGS.
    form set_pf_status using rt_extab type slis_t_extab.
      set pf-status 'ALV_MENU'.
    endform.                    "SET_PF_STATUS
    endform.                    " Z_EVENTCAT
    Now double click on ALV MENU nad u can create a button in the application bar.
    Regards,
    Pritha.

  • How to create user in UME,

    HI gurus,
    In requeriment for project, the customer request is about a aplication to create user in the UME automaticall after fill a survey with questions of security, my questions are;
    1. Exist a way for create users automatically ??, a RFC ? a Web Service ? or this step is strictly done for a human
    (UME isn´t integrated with abap data source).
    2. ¿ In KM exist a application that permit show a questionary, and questions and answers were filled from information hosted in tables z in R3 ?
    THanks in advance

    Hi Pacheco Mauricio,
    1. Exist a way for create users automatically ??, a RFC ? a Web Service ? or this step is strictly done for a human
    (UME isn´t integrated with abap data source).
             It is already answered by Erhan
    1- There isnt a standart way to create user in portal. You can code a web service to create user using portal apis
             using API's only you can create Application which help to create Users in Portal UME.      
    2. ¿ In KM exist a application that permit show a questionary, and questions and answers were filled from information hosted in tables z in R3 ?
    2- And also there isnt a standart way to create a poll using ecc tables. But there is a way to create poll in portal.
              SAP had provided a Poll Facility in Portal what Erhan suggested, but problem is you can at a time put only one question in a poll, but if you want some more functionality along with polls, you can go for Sweetlets which is third party tool.
             But if you want to develop a Survey kind of application where you want different type of questions along with different answer options than you have to build application from scratch like how we develop Custom Web Dynpro Java Applications.
    Regards,
    Tushar Shinde.

  • Error when using Form Builder

    When using Form Builder to create a new form from TEMPLATE.fmb, there is an error like this:
    FRM-18108:Failed to load the following objects:
    Source Module:APPSTAND
    Source object:STANDARD_PC_AND_VA
    Source Module:APPSTAND
    Source object:STANDARD_TOOLBAR
    Source Module:APPSTAND
    Source object:STANDARD_CALENDAR
    Then, I found an file incuding the error message in the directory where I placed the TEMPLATE.fmb and APPSTAND.fmb.
    Here is the main point:
    FRM-30064: Unable to parse statement select timezone_code,name
    ,to_char(trunc(gmt_offset),'S09') || ':' || to_char(abs(gmt_offset - trunc(gmt_offset))
    *60,'FM900') offset
    ,decode(daylight_savings_flag,'Y','*',null) dst_flag
    from fnd_timezones_vl
    where enabled_flag = 'Y'
    order by gmt_offset.
    ORA-00942: table or view does not exist
    Record Group TIMEZONES
    Form: STANDARD_OBJECTS
    FRM-30085: Unable to adjust form for output.
    How can I fix this error?
    Thanks a lot,
    Mike Cui
    PS: I have intalled the Oracle EBS VIS, and the OS is WinXP(ZHS).

    Yes, that's right.
    I have fixed this error.
    At the same time, I found a bug when installing Oracle EBS DEMO. That is,
    FORM60_PATH in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE,is $AU_TOP\11.5.0\resource;$AU_TOP\11.5.0\form\us; But another one in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME2 is $AU_TOP\11.5.0\resource;$AU_TOP\11.5.0\plsql. I think the second one is the working path used by Form Builder. Correcting it to be same with the first one will be OK. Or you can change all of them to your own working path.
    PS: Form builder is installed in the server PC which I only have:)
    Message was edited by:
    Mike Cui

Maybe you are looking for

  • About my earlier post

    i tried to respond to it, unfortunately, because of this program, adobe flash player 11, i am unable to do so. i un-installed it and downloaded and re-installed version 10.3 and still i'm having the same problems. i am also unable to see what is in t

  • KE51 - Maximum Number of Profit Centers

    Is there a real or practical limit to the number of profit centers we can create for PCA?  Our standard hierarchy (KCH3) has over 2100 items today and we are likely to double that over the next 2-3 years.  I do not expect to run into problems at this

  • Java library for Translating text

    I need to translate texts.. english <-> german.. english <-> french and so on. I would like to know if you know any Offline, software (commercial too!) that offers some java library to translate text strings. Thank you!

  • Upload other maps to Nokia N95 for GPS use

    As you all know (I hope you do) Nokia maps does not supply maps for Bolivia, yes, I live in a big, but small country in the heart of South America. Yesterday, a Garmin local representative offered me a copy (legal copy) of Bolivian maps ($20 per city

  • Order of secondaries

    Hi All Does anyone know whether the secondary 'rooms' work in the same way as photoshop/fcp layers, or are they independent of each other. In other words: will the actual order the secondary corrections are applied in affect the final product, or do