Form personalization - new custom function - how to pass parameters?

Hi,
My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
Thanks.
Paul

Post your question in below forum:
General EBS Discussion
-Anand

Similar Messages

  • Form Personalization - Custom Function - How to pass parameters?

    Hi,
    My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
    I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
    On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
    My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
    Thanks.
    Paul

    Hi paul;
    There are many usefull link avaliable if you googling
    http://www.google.com.tr/#hl=tr&biw=1259&bih=793&&sa=X&ei=4wxQTZmYEISRswaNktWSDQ&ved=0CC4QBSgA&q=How+to+pass+parameters%2Bform+personalization&spell=1&fp=64d53dfd7a69225a
    Regard
    Helios

  • Forms Personalization or custom.pll

    I need to make the 'One Time' check box default to yes for the supplier window when I login through a custom responsibility One Time Supplier !
    either by forms personalization or custom.pll
    Can any one advise me ?

    Ok.
    I’m on EBS 11.5.10.2 R3
    I’m not sure if it will work for a different version
    1.Open the Suppliers and the Forms Personalization windows.
    2. Seq=1, Description: Activate One_Time flag
    3.Level = Function
    Condition:
    Trigger Event = WHEN-NEW-RECORD-INSTANCE
    Trigger Object = VNDR
    Condition = :SYSTEM.RECORD_STATUS = 'NEW'
    Actions
    Seq=1, Type = Property
    Description = One Time
    Object Type = Item
    Target Object = VNDR.ONE_TIME_FLAG_MIR
    Property Name = VALUE
    Value= Y
    4.In the Context area enter the responsibility you want to be affected by this personalization.
    5.Save your work and close all windows. Using the responsibility on 4, open the suppliers window again, go to the Classification tab and see if it is checked.
    Hope this helps
    Octavio

  • Trigger events are notvalidated the lov  form personalization or custom.pll

    Hi all,
    The trigger events are not validated the LOV in forms personalization or custom.pll
    any one help me
    Regards,
    M.Soundrapandian
    Edited by: user588510 on Dec 15, 2008 9:27 PM

    i have checked with the new item instance and now i have given
    In the message text when i have given this query it is displaying me with blank message box when there are no records which i dont want.and also saving it when i click ok .where should i modify my query so it displays message only when there are more than 3 records but should not save
    trigger event : when new item instance
    trigger object :repairs.lot_number
    condition : :SR.ACCOUNT_NUMBER IS NOT NULL
    AND :REPAIRS.SERIAL_NUMBER IS NOT NULL
    Message text :
    =SELECT 'There are a total of '||COUNT (*)||' Previously Repaired Records' "A" FROM CSD_REPAIRS CR, CS_INCIDENTS_ALL_B CS, CSD_PRODUCT_TRANSACTIONS CP
    WHERE (
    SELECT COUNT(*)
    FROM CSD_REPAIRS CR, CS_INCIDENTS_ALL_B CS, CSD_PRODUCT_TRANSACTIONS CP
    WHERE CR.REPAIR_LINE_ID = CP.REPAIR_LINE_ID
    AND CR.INCIDENT_ID = CS.INCIDENT_ID
    AND CS.ACCOUNT_ID = :SR.ACCOUNT_NUMBER
    AND CP.prod_txn_status = 'RECEIVED'
    AND CR.STATUS = 'Closed'
    AND CP.SOURCE_SERIAL_NUMBER = :REPAIRS.SERIAL_NUMBER)>=3
    Edited by: user10755387 on Aug 5, 2009 11:31 PM

  • How to pass parameters between two xterm windows?

    Hi,
    I would like to know how to pass parameters between two xterm windows where there are two independence processes running on them respectively ? Would appreciate if any one out there can advise me . Thanks.

    Global variables can be used, but you can do what the online help
    says ...
    Parameters are passed to called forms by means of a parameter
    list. A parameter list is a named programmatic construct that is
    simply a list of parameter names (called keys) and their values.
    You can pass parameter values to forms invoked by the built-in
    subprograms CALL_FORM, OPEN_FORM, and NEW_FORM. In addition, you
    can pass parameter values to other Oracle tools with the
    RUN_PRODUCT procedure.
    A parameter you include in a parameter list can be either a text
    parameter or a data parameter. The parameter type determines how
    its value is interpreted.
    Text Parameters The value of a text parameter being passed to a
    called product is a CHAR string that can represent the following:
    n a user-defined form parameter defined in a form invoked
    by the CALL_FORM, OPEN_FORM, or NEW_FORM built-in subprograms
    n a command line or user-defined parameter for a product
    invoked with the RUN_PRODUCT built-in subprogram
    Data Parameters The value of a data parameter being passed to a
    called product is always the name of a record group defined in
    the current form. (A record group is a data structure that
    stores records derived from a query or through programmatic
    assignment.) Data parameters are used to pass data to products
    invoked with the RUN_PRODUCT built-in subprogram. You cannot
    pass data parameters to forms.
    The following table shows the structure of a parameter list that
    contains four parameters:
    Key Paramtype Value
    CITY Text_Parameter 'BOGOTA'
    CATEGORY Text_Parameter 'EXPORTS'
    MULTIPLIER Text_Parameter '.0275'
    NEW_DATA Data_Parameter 'RECORD_GROUP8'
    arun reddy (guest) wrote:
    : im trying to do this but i could not find any way for this.
    : can any one help me how can i pass parameters between two forms
    : in forms4.5. any help will be appreciated
    : thanks.
    null

  • Form Personalization: Calling custom form

    Hi Folks,
    I need to call a custom form from a seeded form using "Tools" menu and also need to pass parameter.
    Here I was able to achieve this using "SPECIAL 1" from personalization, but the problem here is I was not able to pass parameter from seeded form to my custom form. version of EBS is R12
    Would be vey greatful if someone could help me on same.
    Thanks,
    gvk
    Edited by: gvk on Mar 13, 2011 11:53 PM

    You can pass the parameter only if the called form accepts a parameter.
    If it does, you define a global variable and use it on the called form.
    The following link gives a great example of passing vendor_id.
    http://it.toolbox.com/blogs/apps-traction-blog/how-to-create-a-zoom-using-oracle-form-personalization-12081
    Hope this answers your question,
    Sandeep Gandhi

  • Forms Personalization using DB function

    Hi,
    In Shipping transaction form If the shipping quantity is more than ATR quantity then I have to show a message box.
    I created a DB function using inv_quantity_tree_pub.query_quantities API to get ATR quantity. for this function item number and organization code is the two in parameters and it returns ATR quantity.
    I used this function in forms personalization.
    Trigger Event - WHEN-VALIDATE-RECORD
    Trigger Object - DVLB
    Condition - :DLVB.SHIPPED_QUANTITY<= ATR_QTY(:DLVB.ITEM_NAME,:DLVB.ORGANIZATION_CODE)
    Processing Mode - Both
    Level - Responsibility
    Message - Shipping quantity is more than ATR quantity.
    I created the above but it is not showing any message or error. I don't know what I missed.
    Thanks in advace for your help.

    922627 wrote:
    Hi,
    In Shipping transaction form If the shipping quantity is more than ATR quantity then I have to show a message box.
    I created a DB function using inv_quantity_tree_pub.query_quantities API to get ATR quantity. for this function item number and organization code is the two in parameters and it returns ATR quantity.
    I used this function in forms personalization.
    Trigger Event - WHEN-VALIDATE-RECORD
    Trigger Object - DVLB
    Condition - :DLVB.SHIPPED_QUANTITY<= ATR_QTY(:DLVB.ITEM_NAME,:DLVB.ORGANIZATION_CODE)
    Processing Mode - Both
    Level - Responsibility
    Message - Shipping quantity is more than ATR quantity.
    I created the above but it is not showing any message or error. I don't know what I missed.
    Thanks in advace for your help.Please see if these docs help.
    How To Use Custom PL/SQL API In Forms Personalization? [ID 456407.1]
    OM: Sample Codes For Form Personalization In Order Management [ID 1266606.1]
    Thanks,
    Hussein

  • How to pass parameters to Responder functions?

    Hi guys,
    Im using AMFPHP, and would like to pass some paramteres to Function in Responder, how can i do that?
    new Responder('success', 'fault'); // I would like to pass few simple parameters to success function.
    Saludos
    marcin

    try following, you may provide the type for event argument in function(event)
    new Responder(function(event):void{actualFunction(evnet,yourParam);}, 'fault');

  • How to pass parameters to concurrent program report from Forms Personalizn

    Hi All,
    I am trying to run a report from a menu entry in the AP Invoice entry form. For this I have done the necessary steps of creating the menu entry and am assigning the values for the 2 parameters to a global variable and then launching SRS form.
    In SRS form created an action to assign the global variable value to work_order.parameters. I can invoke the SRS OK except that my 2 parameter values appear concatenated in the first parameter itself and are not getting assigned to each of them seperately.
    my global variable assignment is as follows :
    =${item.inv_sum_folder.vendor_name.value}||'.'||${item.inv_sum_folder.vendor_site_code.value}
    and my work_order.parameters value assignment is as follows :
    =select nvl(${global.kmg_invalid_po_gv.value}, ${item.work_order.parameters.value}) from dual
    It passes parameters OK if i replace custom report with standard AP report. I also made my parameters to be free text (17 character value set) to not validate input, but still no joy.
    Any ideas why this is not working ?
    Thanks in advance.
    Shankar

    As Francois said in his answer:
    e.g.:Form A call FORM B
    In form A (Button's or menu's Trigger code)
    DECLARE
    param_list_id  ParamList;     
    BEGIN
    param_list_id := GET_PARAMETER_LIST('EMPNO');
    IF NOT ID_NULL(param_list_id) THEN 
    DESTROY_PARAMETER_LIST(param_list_id);
    END IF;
    param_list_id := CREATE_PARAMETER_LIST('empno');
    ADD_PARAMETER(param_list_id, 'EMPNO', TEXT_PARAMETER, EMPNO);
    CALL_FORM ( 'FORM B.FMX',HIDE,DO_replace,NO_QUERY_ONLY,param_list_id);and in FORM B create a parameter EMPNO (e.g.: varchar2) in node tree(parameter) and at Form level (e.g. WHEN NEW FORM INSTANCE read parameter-
    or you could create a GLOBAL variables
    or, still,Global procedure in LIB
    Regards

  • How to pass parameters into Function module : CLOI_PUT_SIGN_IN_FRONT

    Hello friends,
    I am displaying values ie, amounts in the screen using write statements here i have to display the
    sign left side , i am using  Function module   'CLOI_PUT_SIGN_IN_FRONT'    
    Does anybody help me - How to pass paramter into this Function module.
    Regards,
    Phaneendra

    If you look to the code of the function module, you can see it is condensing the value.
    I would make a copy of this function, and remove the condense lines to give the result you want.
      data: text1(1) type c.
      search value for '-'.
      if sy-subrc = 0 and sy-fdpos <> 0.
        split value at '-' into value text1.
        condense value.
        concatenate '-' value into value.
      else.
        condense value.
      endif.

  • How to pass parameters to function module

    Hello,
    Can someone suggest how to pass parameter values to BAPI function module from a .NET client? I am using the BAPI_PO_GETDETAILS module and want to pass required parameters to get the item details. Also, please let me know which table should I refer to when retrieving the result. I am using sap .net connector 3.0.
    Thanks in advance

    Hi unosino,
    at http://www.se80.co.uk/sapfms/b/bapi/bapi_po_getdetail.htm you can see, that you have to pass po_header and po_address to the function.
    You can do that with the nco3 like this:
    IRfcFunction rfcFunction = destination.Repository.CreateFunction("BAPI_PO_GETDETAILS");
    rfcFunction.SetValue("po_header", /* your value */);
    rfcFunction.SetValue("po_address", /* your value */);
    rfcFunction.Invoke(destination);
    kind regards
    christian
    Edited by: chrislind on Nov 11, 2011 2:47 PM

  • How to pass parameters to ABAP function in Crystal report

    Hi All,
    I am creating a Crystal report on top of SAP ECC 6.0. I am trying to call ABAP functions. But I am not able to see an option to pass any parameters to the function.
    Can you please help with how to pass a parameter to a ABAP function?
    Thanks
    Chetan

    Hi there,
    we thought we found the problem. But the ABAP function is now RFC compatible and i still do not see the export parameters of the ABAP function in Crystal.
    Question: The ABAP function does not deliver columns as the result but a table instead. Could this be the problem? Regarding to this we will have to change the output functinality of the ABAP-function to teliver colums instead of a table.
    Thanks for your help,
    regards
    Sebastian

  • How to pass parameters to planning function in WAD

    Hi All,
    I want to pass parameters to planning function in WAD. Pls suggest how can I do that.
    Thanx
    Amit Jain

    Hi Amit,
    insert your planning function as a command in WAD ("EXEC_PLANNING_FUNCTION"). In the screen where you enter the technical name of your planning function you can also insert Data Bindings. There you can do a selection binding for a special characteristic or a variable value. If you want to assign a static (fix) value to a variable for example you can do a variable binding (technical name of variable/variable type "Variable Input String"/Variable Input String: set the required value).
    The same thing can be done executing planning sequences within WAD.
    Brgds,
    Marcel

  • Forms Personalization for multiple Functions

    Hello, I am looking to make a forms personalization to the FORM FNDRSRUN (The standard Submit/View Request Form). This is generally no problem to set up the personalization itself, however FNDRSRUN is referenced as many different FUNCTIONS. It's my understanding that Forms Personalization only operates on FUNCTIONS. I am looking for a way to apply my personalization to every function who's form is FNDRSRUN. Is this possible (without typing the information into each individual function)?
    Thanks
    Brent

    If the above does not work, you can try this -
    1. Enable the necessary personalization at the function level.
    2. Download the personalization using FNDLOAD to an ldt file.
    3. Edit the function name in the ldt file and replace it with the desired function name.
    4. Upload the ldt file back using FNDLOAD
    5. Repeat steps (3) and (4) as many times as necessary (for each function)
    I have not tested this process (will do so tomorrow when I have access to an instance and post the results here).
    HTH
    Srini

  • How to pass Parameters between two forms

    im trying to do this but i could not find any way for this.
    can any one help me how can i pass parameters between two forms
    in forms4.5. any help will be appreciated
    thanks.
    null

    Global variables can be used, but you can do what the online help
    says ...
    Parameters are passed to called forms by means of a parameter
    list. A parameter list is a named programmatic construct that is
    simply a list of parameter names (called keys) and their values.
    You can pass parameter values to forms invoked by the built-in
    subprograms CALL_FORM, OPEN_FORM, and NEW_FORM. In addition, you
    can pass parameter values to other Oracle tools with the
    RUN_PRODUCT procedure.
    A parameter you include in a parameter list can be either a text
    parameter or a data parameter. The parameter type determines how
    its value is interpreted.
    Text Parameters The value of a text parameter being passed to a
    called product is a CHAR string that can represent the following:
    n a user-defined form parameter defined in a form invoked
    by the CALL_FORM, OPEN_FORM, or NEW_FORM built-in subprograms
    n a command line or user-defined parameter for a product
    invoked with the RUN_PRODUCT built-in subprogram
    Data Parameters The value of a data parameter being passed to a
    called product is always the name of a record group defined in
    the current form. (A record group is a data structure that
    stores records derived from a query or through programmatic
    assignment.) Data parameters are used to pass data to products
    invoked with the RUN_PRODUCT built-in subprogram. You cannot
    pass data parameters to forms.
    The following table shows the structure of a parameter list that
    contains four parameters:
    Key Paramtype Value
    CITY Text_Parameter 'BOGOTA'
    CATEGORY Text_Parameter 'EXPORTS'
    MULTIPLIER Text_Parameter '.0275'
    NEW_DATA Data_Parameter 'RECORD_GROUP8'
    arun reddy (guest) wrote:
    : im trying to do this but i could not find any way for this.
    : can any one help me how can i pass parameters between two forms
    : in forms4.5. any help will be appreciated
    : thanks.
    null

Maybe you are looking for

  • How to make the fields of the table mandatory while creating new entries..?

    Hi, I have created a new Z table which has 6 fields. All the 6 fields are KEY fields and all are of CHAR type. I have generated the table maintenance generator for the same. My requirement is all the fields should be MANDATORY while creating the entr

  • Having doubt on logical operators and,or .

    I have written a query like select ename from emp where mgr=7902 or sal=1600 and job='salesman'; The o/p of above query is ename smith I unable to understand the o/p it has given for me . the table is EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO 7369

  • JSP page to be printed - problem with layout of printable page

    I have a JSP that collects some information from a variety of tables in my DB(SQL Server) and displays the results on an HTML page that is created for printing an official document. At the end of the document there is space for people to sign for the

  • Strange issue in SharePoint Search

    I just took over SharePoint farm from other admin who left. After that SharePoint search crawl broke. I recreated the SharePoint search with all the settings. But there is really strange issue happening now. If domain A user log in to SharePoint and

  • Application crashes with just one user

    Having an issue with Quark. It has randomly decided not to work. I verified permissions, trashed the prefs and caches, then did a fresh re-install (back to 5.1, 5.5 6.1, 6.5). All to no avail. Then made a new account and poof all is working well. So