How to call a custom form on click of a button?

We have a requirement to call a custom form on clicking a button which is on a standard form. I cant modify the standard form. Is this possible to handle this event from CUSTOM.pll or forms personalization?
some sample code will help. Thanks in Advance,
Message was edited by: 988490e8-2268-414d-b867-9d9a911c0053

Hi,
I think you are working with Oracle EBS.
I don't think so that we can able to call the custom form on clicking button.
We can call the form from the standard form using both custom.pll and form personalization
In custom.pll using zoom function we can do this and in form personalization we can call the form by using form function, In both we call the form by creating a special menu in standard from and we used to call.
So please check further, and let me know if any i can help you any.
Regards
Sri     .

Similar Messages

  • How to call a custom form with parameter throgh apps personalization?

    Hi All,
    I have developed a custom form in 10g and register it to apps r12. I am calling this form through personalization by lauch a function associated with form.
    Issue is this, I want to pass a parameter to this form from apps eg. Receipt_num.
    I want to get Receipt_Num value from apps form and pass it to custom form.
    Pleas help me how can I do thi?
    Thanks
    Farooq

    Hi,
    So We have a standard form for example (purchase order form) and ur custom form is called by using the menu created by form personalization. So When you open the purchase order form and query for one purchase order number for example 2000, so this purchase order number need to be passed to your custom form field(purchase order number)
    Correct.
    Please follow this link,i have done the same thing and its working fine.
    http://erpschools.com/articles/forms-personalization-tutorial
    Thanks & Regards
    Srikkanth.M    

  • Help: How to call a plsql Package on click of a button in ADF

    Hi Guru's
    Please provide your suggestions, how to go ahead in ADF to call a plsql package when a button i clicked.
    I do have a knowledge of oracle callable statment to call the plsql package but not having any idea how to relate button click event in ADF.
    Thanks,
    SPC

    Create a service method in your Application Module to [url http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcadvgen.htm#sm0297]call the stored package, expose that service method on the client interface, and then drag the service method from the data control palette on to your page as a button.
    John

  • Calling a smart form on click of a button in web dynpro abap

    Hi experts,
    I have a requirement like if I click a button in a view i need ti generate a PDF through smart form.
    Is this possible. If so please tell me the way..
    Thanks & Regards

    Hi Sharma,
    Create Interactive form in your view, create one node say PDF_SOURCE under this one attribute PDF_SOURCE of type XSTRING.
    Bind this to IF form Datasource and pdfsource.
    in your button action write code to call your smartform
    using SSF_FUNCTION_MODULE_NAME
    using FM  CONVERT_OTF and attach_file_to_response
    *convert to pdf
      call function 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
        IMPORTING
          bin_filesize          = lv_bytecount
        TABLES
          otf                   = ls_job_output_info-otfdata
          lines                 = lt_lines
        EXCEPTIONS
          err_conv_not_possible = 1
          err_bad_otf           = 2.
      loop at lt_lines into ls_line.
        lv_string = ls_line.
        export mydata = lv_string to data buffer lv_buffer.
        import mydata to l_xline from data buffer lv_buffer in char-to-hex
        mode.
        concatenate l_pdfstring l_xline into l_pdfstring in byte mode.
      endloop.
      call method cl_wd_runtime_services=>attach_file_to_response
        EXPORTING
          i_filename      = 'ZWTY_PACKINGSLIP'
          i_content       = l_pdfstring
          i_mime_type     = 'BIN'
          i_in_new_window = abap_false
          i_inplace       = abap_false.
    also check this..
    http://abapcodexperiments.wordpress.com/2011/03/20/smartform-pdf-webdynpro-abap/
    Call smartform in web dynpro abap
    Cheers,
    Kris.

  • How to call sub-vis with a click of a button?

    Is there any block that functions llike "System Exec" ?
    "System Exec" calls only .exe file.
    I need a block that can call a Sub-VI.
    TQ

    Here is a way to do it with the example I first showed.  I don't know why you could not get it to work, it does.  I changed your diaglog vi to have a stop button to close its window.  Closing the subvi does NOT close the main.
    Message Edited by tbob on 05-18-2010 04:46 PM
    - tbob
    Inventor of the WORM Global
    Attachments:
    dialog[1].vi ‏7 KB
    Program3[1].vi ‏9 KB

  • How to close a custom form from CUSTOM.pll

    Dear Friends,
    We need your help on the following issue related to Oracle Apps Forms.
    We have a requirement to show a popup message (message should remain open and user should be able to continue working in the order entry form. User use this message as a reference while entering order details) when user enters a customer name or number in the order entry form . This is similar to the Stock Availability form which gets opened automatically when control enters into Order Entry Lines form, where the stock availability form remains open while entering line details.
    To fullfil the requirement, we have designed a custom form with a single text field in which the message text (some customer information) will be shown.
    We are using custom.pll to call this custom form (thru FND_FUNCTION.EXECUTE) when the control leaves customer number field. User could leave this custom form open and continue with entering order details. Till this point we could achieve what we want. i.e. we could show the popup message in the custom form after user enters a customer number.
    The problem is, after the custom form is opened, when we enter a new order for different customer, we need to close the custom form (which is opened for the previous customer) if the customer is not qualified.
    we could not achieve this. We tried using CLOSE_FORM, CLOSE_WINDOW, but did not help.
    Any body have any suggestions on achieving this... Basically, we need your help to know how we can close the custom form from CUSTOM.pll.
    Thanks,
    Uma

    I thing you haven't any (supported) option to close a form via custom.pll.
    For a long time, we have search a solution for the same problem without any result.

  • Personalize Form to call anothet custom Form

    Hi,
    In the Invoice form(APXINWKB), when I select the matching method as Purchase Order and click Match, it opens the matching form(APXPMTCH) and I enter the PO number and click Find, it should open the customized form. I customized the form APXPMTCH. Can I call the custom form using personalization. Can anyone give me the steps for this.
    Thanks,
    HC

    You can user personalization to call another form. However, that approach involves using the tools menu.
    It seems you would like to change the form that is opened when you try to match.
    In that case, try the following.
    Go to the FORM screen in Application Developer responsibility and create a new record for the new form you have developed.
    And then go to the FUNCTION screen and change the form that is attached to the "AP_APXPMTCH" function.
    This way, when the invoice workbench calls the PO matching form, it should open your custom form.
    It might help if you look at Oracle Application Developer's guide. http://download.oracle.com/docs/cd/A91568_01/acrobat/115devg.pdf
    Hope this helps,
    Sandeep Gandhi

  • Urgent!!  How to call a custom transaction or an ABAP program in BSP?

    Urgent!!  How to call a custom transaction or an ABAP program in BSP?
    We are pretty new on BSP.  Would be very appreciated if any expert here give us the detailed steps on how to build up the application to just call a custom transaction (e.g., t-code: ztest) or an ABAP program.  Would we have to create a button or event handler to do that?  And the detailed steps?
    Thanks in advance and we will definately give you reward points!

    hi Durairaj,
    During the time to wait for your answer, we copied Bernd's code from your last link, but when activating it, get the 1st error msg:
    Field "CLIENT" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. "DATA" statement."DATA" statement. The error shows up here:
    <td>
    <htmlb:inputField id = "client"
    value = "<%= client %>" />
    </td>
    Then we added Client to the page attribute and define it as type String, then get another error:
    The field "EVENT" is unknown, but there is a field with the similar name "EVENT_ID"."EVENT_ID". This error shows up at the beginning in the Event Handler:
    OnInputProcessing:
    code
    • event handler for checking and processing user input and
    • for defining navigation
    • event handler for data retrieval
    event = cl_htmlb_manager=>get_event( runtime->server->request ).
    IF event->name = 'button' AND event->event_type = 'click'.
    button_event ?= event.
    How to resolve this unknown Event error, need to define in Page Attribute tab? but with what type?
    Actually we only want to run an ABAP4 program in BSP, the code is complicated, could you show us an easy way of doing this in BSP?

  • How to call a custom controller method from view

    Hi,
    I ve created a simple web service and consumed it in a model. Mapped the input & output parameters to custom controller context which in turn mapped to component controller's context which in turn to view's contexts.
    How to call a custom controller method from view?
    Please explain the syntax.
    Regards,
    Manoj.

    Hi Patralekha,
    Give some idea for the below scenario:
    I ve created a simple web service and consumed it in a model. What I did was
    1) for the input parameters, mapped the node from view->custom controller->model
    2)for the output parameter, mapping from model->custom controller->view.
    It works fine.
    But I don't want to access model nodes directly, rather I want to set the input param in somewhere else (like custom controller) before calling the appropriate method, same for the response also.
    Share me your thoughts.
    Regards,
    Manoj.

  • How to call to another form declare in different class ???????

    hi, i'm beginner in j2me...
    I was wondering how to call to other form(class) in the current form...
    For example,
    public class A extends MIDlet implements CommandListener
    public void commandAction(Command d,Displayable s)
    if (d==*OKCommand*)
    if press this OK command, it will be able to show another form declared in the different class...
    How to make it able to call to other form/class(eg.classB)????
    public class B
    //form that will be shown after pressed command OK in class A
    please help if you know...Thanks a lot..... =)

    you MUST have a reference to the other class or MIDlet in the current MIDlet ...
    i think that i have answered to these kind of questions a few month ago.. you should use the 'search' engine to find the topic..
    CLDC and MIDP forum is not a huge forum compare to Java Programming forum so it will be easy !

  • Help on how to call a new form

    Anyone there that can help me how to call a new form...
    Actually I have 3 forms.... the Parent, and 2 child...
    child a
    child b
    I used JFrame to the Parent...
    I used JDialog to the child....
    I want to know how to call child a by the child b.....
    this is my code in calling them....
    when i'm in the form_b, i used this code to show form_a....
    form_a a = new form_a();
    a.setVisible(true);
    when i'm in the form_a, i used this code to show form_b....
    form_b b = new form_b();
    b.setVisible(true);
    but the problem is when i call either of the two, there's always a new form for form_a and also for form_b....
    I want to call the form without opening a new form... that form also will be visible... is there anyways i can do this.... any help will do.... tenks....

    One way would be to have the parent maintain instances of A & B and have public methods for accessing A & B. Something like this. You would have to pass a reference to the parent class to A & B so that they can call the access methods.
    public class form_a extends JDialog{
       public form_a (Parent parent){
    public class Parent extends JFrame{
       form_a a;
       form_b b;
       public Parent(){
          a = new form_a (this);
          b = new form_b (this);
       public form_a getFormA(){
            return form_a;
       public form_b getFormB(){
           return form_b;
    }

  • Help how to Call a New Form

    Anyone there that can help me how to call a new form...
    Actually I have 3 forms.... the Parent, and 2 child...
    child a
    child b
    I extend JFrame to the Parent...
    I extend JDialog to the child....
    I want to know how to call child a by the child b.....
    this is my code in calling them....
    when i'm in the form_b, i used this code to show form_a....
    form_a a = new form_a();
    a.setVisible(true);
    when i'm in the form_a, i used this code to show form_b....
    form_b b = new form_b();
    b.setVisible(true);
    but the problem is when i call either of the two, there's always a new form for form_a and also for form_b....
    I want to call the form without opening a new form... that form also will be visible... is there anyways i can do this.... any help will do.... tenks....

    One way would be to have the parent maintain instances of A & B and have public methods for accessing A & B. Something like this. You would have to pass a reference to the parent class to A & B so that they can call the access methods.
    public class form_a extends JDialog{
       public form_a (Parent parent){
    public class Parent extends JFrame{
       form_a a;
       form_b b;
       public Parent(){
          a = new form_a (this);
          b = new form_b (this);
       public form_a getFormA(){
            return form_a;
       public form_b getFormB(){
           return form_b;
    }

  • Loading and displaying other  form on click of a button using swing

    hi,
    i've just started with my first ever swing program. i want to load another UI form on click of a button . how can i do that.

    Sorry for posting last message
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class MainCl extends JFrame
    public MainCl()
    this.setBounds(100,100,400,300);
    btn = new JButton("Click me to show another fframe");
    btn.setBounds(10, 20, 250, 30);
    this.getContentPane().setLauout(null)
    this.getContentPane().add(btn);
    btn..addActionListener(new ActionListener()
    JFrame frm2 = new SecondFrame();
    frm2.setVisible(true);
    public static void main(String [] args)
    JFrame frm1 = new MainCl();
    frm1.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frm1.setVisible(true);
    JButton btn;
    class SecondFrame extends JFrame
    public SecondFrame()
    this.setBounds(200,200,200,100)
    this.getContentPane().add(new JLabel("This is NEW FORM"));
    }

  • How to Validate a User on the click of a button in Oracle APEX

    Hi,
    How to Validate a User on the click of a button in Oracle APEX.
    say for e.g: I want to allow only a specific user to go beyond after clicking on a button and restrict all the other Users. Any ideas please.
    Thanks in Advance,
    Af

    Well , the actual idea was to hide the button for specific users and show the button only for some specific users... is this possible...?
    @ AndyH: yeah, what you have suggested also fits well for my requirement... Could you please let me know how can i achieve it...
    Regards,
    Af

  • How to close the detach popup on click of a button in the panel collection

    Hi,
    I'm using Jdeveloper 11.1.2.3.0.
    I have an af table surrounded by panel collection. There is a button on panel collection to commit the changes in the table.
    Clicked detach button to view the table in full browser.
    On click of Commit button, the detach popup is not closed. I have set partialSubmit of that button to false. Then also detach popup is not closed.
    Can anybody suggest me how to close the detach popup on click of a button in the toolbar.
    Thanks,
    Vinod

    Hi Frank,
    Thanks for your response. Popup is not closed.
    I tried this approach, when the view tree is navigated on the Detach, I see that the tree is same as if it is traversed on the page without detach.
    Printed client id and UI component class in the while loop, result is as below.
    r1:0:pc1:t3 class oracle.adf.view.rich.component.rich.layout.RichToolbar
    r1:0:pc1 class oracle.adf.view.rich.component.rich.output.RichPanelCollection
    r1:0:ph2 class oracle.adf.view.rich.component.rich.layout.RichPanelHeader
    r1:0:pgl1 class oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout
    r1 class oracle.adf.view.rich.component.rich.fragment.RichRegion
    pgl1 class oracle.adf.view.rich.component.rich.layout.RichPanelGroupLayout
    db2 class oracle.adf.view.rich.component.rich.layout.RichDecorativeBox
    db1 class oracle.adf.view.rich.component.rich.layout.RichDecorativeBox
    psl1 class oracle.adf.view.rich.component.rich.layout.RichPanelStretchLayout
    ps1 class oracle.adf.view.rich.component.rich.layout.RichPanelSplitter
    f1 class oracle.adf.view.rich.component.rich.RichForm
    Tried with setting partialsubmit property to false on the command button, still the popup is not closed and my Faces Message are shown behind the detach popup.
    Thanks,
    Vinod

Maybe you are looking for