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.

Similar Messages

  • How to close custom form from standard form.

    Hi,
    I have the following requirement which I can not handle.
    I open custom form from menu special position which is available in standard form on particular window and block only. So custom form may be open only when the window of standard from is open.
    My requirement is to close custom form when the window of standard form is closing or when standard form is closing. I can not modifiy stanard form so I need to use forms personalization. I have problem in form personalization:
    1) to handle "when-form-exit" event / trigger (when window closing I can handle by when "new item instance" where cursor goes and appropriate conditions).
    2) to navigate to my custom form to close it, like "go_form" in Forms Builder.
    Is it possible do achieve with forms personalization or maybe in some other way?
    Kind regards,
    Marcin

    Hi,
    The standard program is list of vendors address(AQZZ/SAPQUERY/FKF1============)or we can also access through the :sapmenu->accounting->financial accounting->accounts payable->information system->reports for accounts payable accounting->master data->S_ALR_87012087-Addresslist.
    Regards,
    naresh

  • How to view concurrent program LOG from custom FORMs

    Hi,
    How to view concurrent program LOG from custom FORMs?
    Thanks
    ESL

    Hi Thanks for your response....
    lets assume there are 2 buttons, first button to submit concurrent program and second button to view concurrent program output/log.
    Actually im able to submit concurrent program from oracle custom form(6i) in ebusiness(11.5.0.2) i.e first button (WHEN-BUTTON_PRESSED buitin).
    Rather user navigating to VIEW-> REQUEST, i would like to give option to user to view concurrent program output/log when user clicks on second button (WHEN-BUTTON_PRESSED buitin)
    How can i achive this?
    Thanks,
    ESL

  • Compile all custom forms from 11i to r12

    Hi,
    I have to compile 11i forms into R12.
    Copyresource folder and fmb to local system and compile forms manually in local system is one way
    I heard there is another easy way of compiling custom forms from 11i to r12. If you have any solution for this please help me.
    Any help is big help, thanks in advance.

    Hi;
    In addition to Hussein Sawwan great post,please review:
    Custom form upgrade 11i to R12
    Planning to upgrade from 11i to R12
    Oracle Custom 11i Forms compatablity in Oracle R12
    Oracle Custom 11i Forms compatablity in Oracle R12
    How To Migrate My Customized reports & Forms To R12?
    How To Migrate My Customized reports & Forms  To R12?
    Regard
    Helios

  • Calling Custom Form from Another Form

    Hi All,
    I have created a Custom form using TEMPLATE.fmb and created functions in Apps and assigned to Responsibility etc and it all works OK.
    Now, I need to call this Custom form from another seeded(PO form) Via Tools -> Menu.
    using Forms personalization I can get the Menu Entry and Actions to execute the Form successfully from the PO Form.
    BUT, I need it to automatically query records in my CUSTOM form based on my current PO_HEADER_ID value on my PO Form.
    How can I do it ?
    Do I need to modify my Block and add some parameters and then pass a value via Personalization ?
    Please help !
    Thanks
    Shankar

    Hi ,
    I found similiar solution on another forum as below.
    http://it.toolbox.com/blogs/apps-traction-blog/how-to-create-a-zoom-using-oracle-form-personalization-12081
    This works fine for the Purchasing form and allows me to zoom to the Supplier form.
    But in my case, I want to zoom from the Supplier Form to my CUSTOM form. I replicated the exact steps as per the link.
    However, it does NOT work as expected. It gets up to the ENTER QUERY mode in my CUSTOM form and remains in Enter Query mode. If I manually then Press key F11 to execute the query it brings back all records.
    Do I need to do anything special in my CUSTOM form to make it behave in a similiar way to the Supplier Form ?
    Thanks
    Shanky

  • How to synchronise contact person data from customer master to Bus partner.

    Can someone please explain how we can synchronize contact persons from customer master to business partner data.
    Are existing contact persons of customer are automatically created as Business partners(persons) when we do the synch.
    Can MDS_LOAD_COCKPIT be used for this purpose.
    I have some existing customers whose contact persons data is not already reflected in BP. How can I do that.
    Please help.
    Thanks-Donny

    Hi,
    I think the BP data will change with the changes in the critical fields of the customer master. Try chaning certain fields in the customers where you want the data to be updated. Hope that will work. Other wise you need to look out to do a mass update on the BP.
    Best Regards,
    Jagadeesh
    Edited by: Jagadeesh G Chary on Feb 1, 2012 7:34 AM

  • To trigger ADOBE form from Custom Infotype

    hello,
    I hae create d ADOBE form and want to trigger it on "Save" record from Custom Infotype....
    I need this form to be displied as User my do some changes and save it again...
    I have used following code to trigger this from module pool...
    Data : lv_fm_name type rs38l_fnam.
    Data : gs_sfpoutputparams type SFPOUTPUTPARAMS,
           gs_sfpdocparams TYPE sfpdocparams,
           gs_formoutput TYPE fpformoutput.
    Set output parameters and open spool job
      gs_sfpoutputparams-nodialog = 'X'. " suppress printer dialog popup
      gs_sfpoutputparams-GETPDF = 'X'. " launch print preview
      call function 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = gs_sfpoutputparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          others          = 5.
    First get name of the generated function module
      call function 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = 'Z_ISR_FORM_Z017'
        IMPORTING
          e_funcname = lv_fm_name.
       EXCEPTION
       CX_FP_API_REPOSITORY = 1
       CX_FP_API_USAGE      = 2
       CX_FP_API_INTERNAL   = 3.
    Set form language and country (->form locale)
      gs_sfpdocparams-langu = 'E'.
    gs_sfpdocparams-country = SY-LANGU.
      gs_sfpdocparams-FILLABLE = 'X'.
    Now call the generated function module
      call function lv_fm_name
        EXPORTING
          /1bcdwb/docparams  = gs_sfpdocparams
       IMPORTING
         /1BCDWB/FORMOUTPUT = gs_formoutput
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          others             = 4.
    Close spool job
      call function 'FP_JOB_CLOSE'
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          others         = 4.
    But still I'm unable to get form on "Save"..
    Please help me.
    Regards,
    Yogesh

    Hi Yogesh,
       Just to test ... can you place your code in a report and call the report with submit ... return in your module pool? For the data tables in the interface, you may export them and import them.. this will ensure that everything is good with your code and the place where you call the code from. I believe the issue is Module Pool rather than anything else. But that's just a doubt and we need to do this to confirm it.
    Best Regards,
    Abd-Al-Aleem

  • How to Copy Sales Text Data from Customer Master to Sales Order.

    Hi SAP Guru's
    I have Completed Configuration for Central Text for Customer Master for two texts 1)Additional Attachments 2) Wooden Packing
    I got these two fields in Customer Master.
    I need these data to be copied from  Customer Master to sales order. But i am unable get these two in to sales order.
    Steps which  I have done for Text Determination.
    1) Text Id in for Text Object KNA1
    2)Placed Text Id  in Text Procedure  and assigned   this procedure to Customer Account Group.
    Could you please advice me
    Thanks in Advance.

    Text Control
    In this IMG activity, you define the rules for text determination. You must carry out the following steps:
    Select a text object and define the rules for text determination for this object. Text objects are, for example, the sales texts in the customer master record or the sales document header.
    Define the permitted text types for every text object. If the text types contained in the standard SAP R/3 System are not sufficient, create new ones.
    Define the access sequences. This way, you define how the SAP System should determine the texts for a text type.
    Group the text types together in text determination procedures. The SAP System then proposes the text types from the procedure when you maintain a customer master record or a sales & distribution document. The search for the respective text is carried out using the access sequence which you have stored for each text type in the procedure.
    Allocate the text determination procedures so that a procedure applies to the following criteria in each case:
    account group customer
    sales & distribution document type
    item category

  • How to call standard ITS service from custom ITS service

    Hi,
    I have a requierement in ITS where I need to call standard ITS service(CATW) from custom service upon clicking on Accept button. how to achieve this?
    Thanks in advance.

    Hi  Sarada Nukala,
    You can call the service url from first service button. To get this url, from SICF transaction, test service and a browser is opened.
    Hope this helps,
    Iván.

  • How to map sales return process from customer to mfg plant without Depot??

    Dear All
    we have a Mfg plant (mfg1) & having  seven Depot.
    regular process of STO DEPOT process
    ME21N-Purchase order STO
    VL10B - Replenishment delivery
    VL02N - PGI
    VF01- Proforma invoice
    J1IIN - Excise invoice
    MIGO - Goods Receipt
    J1IG - Excise Capture
    VA01 - sale order
    VL01N - Out bond Delivery
    J1IJ - Excise invoice
    VF01 - commercial invoice.
    J1IDEPOTSTOCK - RG23D Report.
    In Case of rejection the Sales Return is directly delivered from customer to 
    manufacturing Plant,In this process depot is not directly  billed. The transaction is
    done between customer to manufacturing plant.our question is how to MAP above scenario in sap
    (currently all this activity is done in excel sheet ) please suggest any proper method....
    Regards
    Sachin

    Hi Laksmipati,
    Thanks for your reply, however one of my clients requirment is that the returns delivery will be made directly to the mfg plant and not to the depot plant. In this case the excise calculation is going HAYWAYAA......I understand that it will make sense if the returns is 1st made to the depot and then to the mgf plant. The system wont allow me to do a returns with refernece to the invoice since it has been made from the depot to the plant. Also this will create a problem while doing A PGR. I will be grateful if you could comment on the same.
    Thanks
    Sachin

  • Cannot forward Exchange Custom Form from Exchange 2010

    We have an Exchange Calendar Custom Form that we use for our change control.  When we migrate users to Exchange 2010, they are able to view the Public Folder/Events, but when they try to forward the event, there is not attachment with it. 
    Anyone?
    Karl

    Any errors in the event logs?
    HossFly, Exchange Administrator

  • How to generate a pdf form from a webform

    HOW TO GENERATE POPULATED PDF?
    We used to fill out the forms at work longhand (yes, with a pen!)
    Now since we created the form using Acrobat 9 Pro, we just enter the data on computer, and print out the form.
    Acrobat 9 form creator was great - I found it quite easy to use.
    Now, I'd like to automate the process even further.
    Each week we receive response forms from our website (maybe about 20-25).  These response forms have about 10 fields that
    people have completed with their information.Currently I am printing  out the response form and then open up the acrobat form and I enter their information into the pdf (and then print).
    1. Is it possible to automatically populate a pdf from the response form ? (without me having to print out the response form and re-enter the data)
    2. Is it really complicated; is this something I can do with some software/learning or do i need a programmer?
    Thank you kindly for any advice or direction.

    It sounds like you are using the forms in your local shop and that e-mail may work fine. If e-mail submission works fine (not recommended for normal use, but find in a controlled environment where you can be sure each e-mail client is running MAPI), then add a submit button to submit a FDF or XML data file (I like FDF when using forms in Acrobat, Designer only uses XML forms). You can then import the FDF or XML data to the form and print it. You can even manipulate the FDF or XML data and add it to a database of some form, furthering your processing even more.

  • How to close the main window  from Popup

    hello all,
    i need to close the main window from a popup, so i create a popup and after clicking on close button of this popup, should also the main window be closed.
    how can do this please?
    BR

    Hi
    Please go through this.. check thomas reply
    Re: Close Main Window directly on action on Pop up window
    also check this..
    how to close main window on click of a button on popup window
    cheers,
    Kris.
    Edited by: kissnas on May 12, 2011 5:06 PM

  • How to remove 'Back to form' from portal page.

    How can I remove the 'Back to form' and tick from a portal page?

    I'm assuming you are creating a form from a procedure. Edit the form. The first page you see, scroll to the bottom. You'll see a text area where you can use the go('') statement. You'll redirect the submitted portlet to the page that displays your portlet. This skips the link.

  • How to invoke a infopath form from list on button click

    Hi,
    I want to put a button on either the sharePoint page or on a Infopath form and on click of button, I need to open an already submitted form from the list (say with a unique id). 
    How can we do this in Infopath 2013. Please help.
    Thanks.

    Hi,
    There is already a reply in your another similar thread:
    https://social.msdn.microsoft.com/Forums/office/en-US/632bc3f8-330d-4d8b-910e-5df7cb202934/how-to-open-a-form-on-click-of-a-button-in-infopath?forum=sharepointcustomization
    Please check if it is helpful to you.
    Thanks
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Gray Startup Question Mark.  I've tried everything!

    Ok, so my Mac has been running slightly slow these past couple days, nothing I thought I should worry about, until today when I tried to restart it, it would not start up.  It would come up with the gray screen and apple logo then just shut off.  The

  • TDMS File Creates Multiple Tabs of Data. Want to create only one.

    Hello NI Community, I am currently using the DAQ Assistant with my string pots to record displacement over a long interval of time (see attached VI). I am then using the "Write To Measurement File" vi to save the data into a TDMS file (see the "Write

  • ITunes deleted apps from my touch

    Coincidental or not, before syncing my touch I upgraded the OS to 3.1.1. Previously my iTunes wasn't backing up my apps; my touch is a couple weeks old, and I hadn't set up iTunes to do so. Tonight I set up iTunes to back up the apps. When I synced,

  • Mountain Lion Mail cannot search for non-alpha characters in Subject Lines

    Under 10.8.3, Mail 6.3 often cannot successfully find messages if the search string contains a non-alpha character. I have only tested this searching for Subject lines that are KNOWN to contain non-alpha characters Specfic examples: Subject starts wi

  • Display faux spreadsheet on front-panel

    Hey, thanks to all that have been helping me answer all my LV questions. This site is awesome. My newest question: I am writing data to a spreadsheet in my program... I recieve a measurement from my scale via rs232... then, I display the data (floati