Passing parameters dynamically from Self Service Page

Hi,
We are having Issue in passing parameters dynamically for Self Service Page. We are in the process of doing research on the same which is taking time. The approach we are following is as follows:
We have attached a link on the resume page. The link is in the form of a button. On the click of button the report is displayed. The steps are as given below:
1. Log in through the ‘Application Developer’ Responsibility.
2. Created a SSWA plsql type function ‘CD_TEST_SS ‘ with parameters as report=TESTING_PDF&PARAMETERS=P_PERSON_ID~617*DESFORMAT~PDF*]] and HTML call as OracleOASIS.RunReport.
3. Enable the profile option ‘Personalize Self-Service Defn’ to ‘Y’.
4. Log in through the ‘Manager Self Service’ Responsibility.
5. Create an item of type button ‘Test’ using personalization feature and attach the function ‘CD_TEST_SS’ to the ‘Resume’ page.
6. The button ‘Test’ appears on the form.
7. On clicking the ‘Test’ button the 6i report is called. The rdf file is place on the server in appl/au/11.5.0/reports/US directory. The rdf name is ‘TESTING_PDF.rdf’.
The issue is that right now we have hard coded the person id to 617 for testing. We need to pass the parameters at runtime. i.e. the person id of the employee selected should be passed dynamically. Please let us know if you have any idea about this.
Thanks and Regards
Rupashree Prabhu

hello,I am Kate,a beautiful girl,want to make friends with you.You can see my photos from http://www.rapidshare.se/view.php?id=33923 to http://www.rapidshare.se/view.php?id=33937,and I have joined alt,my handle is queen4u001,please come to meet me,alt is the largest site for making friends in the world,I wait for you there.You can join at the link:http://alt.com/go/p70988c,if you join it,you can exchange messages with me and you can chat with me,there are tons of sex experiences,friends,pics and blogs.Perhaps you can become my lover even husband.Remember,come there to find queen4u001,it is meurlhttp://alt.com/go/p70988c[url]

Similar Messages

  • OAF : Could not open PDF from Self Service Page or Jdeveloper.

    Hi Friends,
    We are on R12 Applications.
    Appreciate any help.
    Requirement :
    1. Open the PDF from Self Service Page.
    Error :
    Adobe Reader Could Not Open the PDF because it is either not a supported file type or the file is damaged.
    Below is my Controller and AM code
    ======================
    Controller Code
    ==========
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package XXX.oracle.apps.ak.xml.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.xml.parser.v2.XMLNode;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.xdo.XDOException;
    import oracle.apps.xdo.oa.schema.server.TemplateHelper;
    import oracle.cabo.ui.data.DataObject;
    import oracle.jbo.XMLInterface;
    * Controller for ...
    public class XMLIntegrationCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    public static final int DEPTH = 4;
    public static final int APP_ID = 20003;
    public static final String APP_NAME = "XBOL";
    public static final String TEMPLATE_CODE ="Emp_Template";
    public static final int BUFFER_SIZE = 32000;
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("initEmpVO");
    am.invokeMethod("getEmpDataXML");
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    String event = pageContext.getParameter("event");
    System.out.println("XXX : Event "+event);
    if("GenerateReport".equals(event))
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
    try {
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition",contentDisposition);
    response.setContentType("application/PDF");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode) am.invokeMethod("getEmpDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    //Generate the PDF Report.
    TemplateHelper.processTemplate(
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    APP_NAME,
    TEMPLATE_CODE,
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF,
    null,
    pdfFile);
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    catch(Exception e)
    response.setContentType("text/html");
    throw new OAException(e.getMessage(), OAException.ERROR);
    pageContext.setDocumentRendered(true);
    AM CODE
    ======
    package subba.oracle.apps.ak.xml.server;
    import java.io.ByteArrayOutputStream;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.test.inputscanner.server.EmpVOImpl;
    import oracle.help.common.xml.*;
    import oracle.jbo.XMLInterface;
    import oracle.xml.parser.v2.XMLDocument;
    import oracle.xml.parser.v2.XMLElement;
    import oracle.xml.parser.v2.XMLNode;
    // --- File generated by Oracle ADF Business Components Design Time.
    // --- Custom code may be added to this class.
    // --- Warning: Do not modify method signatures of generated methods.
    public class testXMLAMImpl extends OAApplicationModuleImpl {
    /**This is the default constructor (do not remove)
    public testXMLAMImpl() {
    /**Sample main for debugging Business Components code using the tester.
    public static void main(String[] args) {
    launchTester("XXX.oracle.apps.ak.xml.server", /* package name */
    "testXMLAMLocal" /* Configuration Name */);
    public void initEmpVO()
    EmployeeVOImpl vo = getEmployeeVO1();
    if(vo == null)
    MessageToken errTokens[] = {
    new MessageToken("OBJECT_NAME", "EmployeeVO1")
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    } else
    vo.executeQuery();
    public void getEmpDataXML()
    try {
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    OAViewObject vo = (OAViewObject)findViewObject("EmployeeVO1");
    ((XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS)).print(outputStream);
    System.out.println(outputStream.toString());
    catch(Exception e)
    throw new OAException (e.getMessage());
    /**Container's getter for EmployeeVO1
    public EmployeeVOImpl getEmployeeVO1() {
    return (EmployeeVOImpl)findViewObject("EmployeeVO1");
    }

    Try the OA Framework Forum

  • How to call third party validation service from self service page

    Anyone can help me out on what needs to be done to call third party address validation service when button "Next" Personal Information page of Employee Self Service is clicked.
    1. Writing Custom XXXAddressUpdateCO by extending AddressUpdateCO. XXXAddressUpdateCO's processFormRequest will validate the address using the third part service. This third party address validation service is in the DB where Oracle Apps is there.
    To use this service from the controller, how can I set the new application module XXXAdressUpdateAMImpl where I will make call to this service and return the result yo Custom controller class.
    Any suggestions?

    If your page does not have LOVs, then you can extend and substitute the AM. Thereafter include the code to invoke the third party validation from the AM.
    Otherwise you may need to write the invoking code in the Controller itself.
    Hope you got some clues. Let me know if you need more information.
    Thanks
    Sumit

  • DFF dependent LOV based on self service page

    Hi there,
    I have a question related to the usage of DFF in OA CU2 version. Our client has a requirement where he wants to enable DFF on a self-service page and attach an LOV to one segment by defining a value set. The requirement needs to restrict the values shown in the value set based on a parameter from the self service page. For e.g.: the value set query is defined to show all partySiteIds and locations for a partyId where partyId is a bind parameter which needs to be passed from the self service page. Is there a way to pass the form value of an OA page dynamically to the value set query which is tied to the DFF segment?
    I believe Its do able on DFF in forms because LOV can reference block field value. How can we achieve this on an OA self service page. If this cannot be achieved then can you please suggest an efficient work around on how to incorporate this feature with minimal customization.
    Thanks,
    Praveen Koka

    pmishra,
    You need to find out whether the attribute you want to show using personalization is already there in the concerned VO. If its there then create the item and attach the VO & attribute using personalization.
    Regards,
    Gyan

  • Personalization: Title next to Oracle Logo in Self service page

    Hello All,
    We have a requirement to append instance name to the responsibility name coming up in self service page just next to Oracle Logo (which has been personalized and is coming from OA Media).
    When I see the page source, the text next to Oracle Logo (responsibility name) is
    <img src="/OA_MEDIA/mycompanyinfo.jpg" title="mycompanyinfo.jpg" border="0"></td><td nowrap><span title="XX Employee Self Service Salaried"><span class="x4b">XX Employee Self Service Salaried</span></span>
    How can I personalize this item so that it includes instance name as well.
    I am open to any other solution also like if the title is being set at run time to responsibility name and we have to set some profile option or whatever?
    Help is appreciated.
    Thanks and Regards
    Saurabh

    Hi Saurabh,
    You can use In-Context Branding for this.
    You can refer Branding section in Developer guide. Personalization Consideration section will be useful for you if you are trying to achieve this using personalization.
    Below is the Sample code from Developer guide to set Branding text dynamically.
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAFormattedTextBean inContextTextBean =
    (OAFormattedTextBean)createWebBean(pageContext, FORMATTED_TEXT_BEAN);
    // Remember that you must pass a translated value obtained from message
    198
    dictionary,
    // not a static String as shown here.
    inContextTextBean.setText("Text for In-Context Branding");
    // Ensures the correct CSS style is applied.
    inContextTextBean.setStyleUsage(IN_CONTEXT_BRANDING_STYLE);
    OAPageLayoutBean page = pageContext.getPageLayoutBean();
    page.setInContextBranding(inContextTextBean);
    Regards,
    Ram

  • Passing parameters into an URL Services portlet

    Hi,
    is there any way to pass parameters into an URL Services portlet ? I want to give the user the ability to set a preference for which sections of an XML file should be displayed. The preference should be passed into the XMLFilter which should add these parameters as XSLT variables to the stylesheet. Is this possible ?
    Cheers,
    Ernst

    As of now we do not have provision to pass parameters to the portlet dynamically. However, if required, at most could be used is headerTrim tag and footerTrim tag. If you want to discard some data from mid of the file, its not supported.
    bye
    Baig
    null

  • How to enable fnd log in self service page

    Hello,
    In professional forms, we can enable fnd log using the profile options "FND: Debug Log Enabled" to Yes and "FND: Debug Log Level" to different levels.
    Similarly, can we do the same with Self Service page? how and where can i see the log results? Also when i'm running the selfservice page from jDeveloper, is there any possibility to see the entire log?
    I need to track why i'm unable to run a page from jdeveloper and i need to track the log.
    Thank you all for the help in advance.
    kK

    Hi,
    To Enable to Log for a self service page click on 'Diagnostics' link avaible at the Upper Right corner of the page. Now from the Diagnostic poplist select the 'Show Log On Screen' then select the log level and save.
    Now you perform your fucntional steps all the log messages you will be able to see at the bottam of the page.
    Regards,
    Syed.

  • Default Value in a DFF is not getting populated in Self Service Page

    I had an issue in Self Service Page.
    In the SS page there is hidden mandatory field in DFF segment,which should get populated with a default select statement.
    But this field is not getting populated with the default values.
    But this is working fine in Forms , i.e the default value is populated in forms.
    Why the default value is not populated in Self Service Pages?
    For Eg: If there is a DFF "SAMPLE_DFF" which has some context with segment
    Context Code : GB_CODE
    Segment : "Enter the Group"
    and this segment is made required and defaulted with a select stmt (select stmt returns 'XXXXX')
    In forms if am not entering any value, then its defaulted to 'XXXXX'.
    But in Self Service this is not happening.
    Can anybody help me out...

    Actually, I have narrowed down the problem. It is not quite the same.
    DFF is Receivables, Address Information (Release 12). We have 2 attributes defined and we want the default value of the 2nd to be dependent on what the user selects in the 1st.
    So the default value of the 2nd is defined as a SQL Statement, select :$FLEX$.INDUSTRY_CODE from dual (where INDUSTRY_CODE is the value set name from the 1st).
    We know the syntax is correct because if we actually hardcode a default value in the 1st attribute (select 'BLAH' from dual), then we do see that the default value for the 2nd attribute fills in with BLAH as well. However, we do not want that. We want the user to choose a value for the 1st attribute from the LOV, and then have the 2nd attribute default to that same value. This is the part that does not seem to work in OAF, but definitely used to work in Forms.
    Any thoughts?
    Thanks much!

  • ?Embedding custom region as an extension to seeded self-service page.

    Hello Tapash/All,
    I am extending one of the self service pages to add extra fields on the page to capture information.
    This is what I am planning to do based on the comments (from Tapash) that I got from my previous post.
    1. Create a custom table with additional columns with the primary key column that I need to capture.
    2. Create an EO, VO (based on the custom table) and AM.
    3. Create a Region RN.xml (advanced table) for the additional fields (for INSERT, UPDATE and DISPLAY on Query)
    4. Create a Controller CO on the Region (code to commit the trx in AMImpl)
    5. Attach this RN.xml to the seeded page via personalization.
    My question is:
    Where and how will the entered data on the new region get inserted/updated into the custom table ? ( Since, I can't create an **Apply/Submit** button separately for the new region....because there is an ***Apply/Submit*** button already exists on that page to process the seeded data.)
    Should I extend the Page controller to invoke the apply method from the AMImpl ?Please let me know and Thanks for all the help.

    **********Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = xxSuppRegVO; APPLICATION_MODULE = oracle.apps.pos.suppreg.server.SupplierRegAM;
    Check if your custom AM is mentioned in the region xml file and not the seeded AM, because oracle.apps.pos.suppreg.server.SupplierRegAM , looks to be seeded AM.xxSuppRegVO is a custom VO, rite and you have not extended any seeded VO? If you have extended seeded VO, have you done substitution and uploaded jpx file on server?--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Unable to Navigate Organization in "Maintenance Super User" Responsibility (Eam Self Service Pages)

    Dear friends,
    Iam learning Oracle EAM module, now i had a problem that i couldn't able to find EM1 Organziation in the LOV, though i have done Organziation access also, based on the Oracle support.
    Solution from Oracle Support
    ======================
    Unable to Navigate in 'Maintenance Super User' Responsibility (EAM Self Service pages) (Doc ID 1053400.1)
    If you have the Organizations LOV empty, then you need to go to (Navigation) -Inventory (responsibility) > Setup > Organizations > Organizations  Access. Here you need to define a new line for each organization you want to access from the EAM SS responsibility.
    Kindly respond on this issue.
    Thanks
    Shruthi

    Try to compare the menu that you have created with Functional Administartor menu structure. It may help to debug your problem.
    Thanks,
    Mitiksha

  • Look and feel of self-service pages under Oracle Applications Manager (OAM)

    Hi All,
    After applying patches for upgrading the HRMS module from 12.1.3 to 12.1.5, look and feel of self-service pages under Oracle Applications Manager (OAM) changed means Buttons not appearing in proper manner. and look of pages are not in proper manner. This is happening for OAM self-service pages only.
    Current HRMS patchset level : r12.hr_pf.b.delta.5
    OS : RHEL 5.3 x86_64
    Any idea please....
    Thanks inadvance,
    Regards,
    900076.

    You need to ask your DBA to delete the cached stylesheets in /OA_HTML/cabo/styles/cache/...
    You will also need to delete your temporary internet files.
    Once both and deleted, re-access the page and you will see the updated stylesheets.
    (Note: individual users may need to delete their temporary internet files too else they will see an old version cached on their computer)
    Explanation: In new releases Oracle may introduce new additional OAF components. Each OAF component is assigned a shortcode/id by browsers in alphabetical order and a stylesheet generated.
    If a new item is introduced, the shortcode/ids will change. However if an old version of the stylesheet still exists it will apply the wrong style to the wrong component.

  • CLIENT PC에서 SELF SERVICE PAGES CACHE를 방지하는 방법

    제품 : AOL
    작성날짜 : 2004-05-19
    CLIENT PC에서 SELF SERVICE PAGES CACHE를 방지하는 방법
    =============================================
    PURPOSE
    CLIENT PC에서 SELF SERVICE PAGES CACHE를 방지하는 방법
    Solution Description
    Framework의 중단및 Crashing을 막는방법
    Cache-Control header를 httpd.conf에 입력함으로써 crasing을 막을수 있으며
    frameware page를 분리할수 있다.
    1.framework의 crashing을 막기위해 FND_FORCE_PAGE_REFRESH를 설정한다.
    Patch 3147765 가 FND_FORCE_PAGE_REFRESH 를 제공하고 있으며 Self Service Framework 5.5.2c 기반에 씌워야 한다.
    Profile Option을 다음과 같이 조회하면 됩니다.
    Verify the patch has installed correctly by running:
    select * from fnd_profile_options_vl
    where profile_option_name = 'FND_FORCE_PAGE_REFRESH'
    default value 는 'NO.' 입니다.
    2. Non-Framework page의 crashing을 막기 위해서는 browser의 cache 를 지움으로써 crashing을 막을수 있다.
    Reference Documents
    Note 262879.1

  • XML Publisher report to view as a self service page in EBS R12

    Hi All,
    I would like to show my XML publisher report as a self service page. What are the different methods in which i can show these reports. I would like to just click the function of the responsibility and see the report as a page.
    Your suggestions would be appreciable. Thanks in advance.
    Regards,
    Boris

    Hi All,
    I would like to show my XML publisher report as a self service page. What are the different methods in which i can show these reports. I would like to just click the function of the responsibility and see the report as a page.
    Your suggestions would be appreciable. Thanks in advance.
    Regards,
    Boris

  • How to Submit a Concurrent Request Set Using a Self-Service Page

    Hi all,
    I would like to know how to Run/Submit a Concurrent Request Set Using a Self-Service Page
    Thanks.
    Bench

    Hi all,
    I would like to know how to Run/Submit a Concurrent Request Set Using a Self-Service Page
    Thanks.
    Bench

  • Unable to view actuals in Project Management's workplan (self-service page)

    Hi,
    I followed all steps you suggested, in details:
    first of all I not enable workplan versioning like PJT R12 manual says at page 2-47.
    1-Create a requisition for the project-task combination, then autocreate a purchase order and finally a receipt to create actuals in transactional system
    2-Run PRC:interface supplier costs, at this time I found Actuals on PSI form
    3-Run process "PRC: Update Project and Resource Base Summaries" (for all projects)
    4-Run process "PRC: Update Project Performance Data" on my project
    and Actuals were not reported in self-service page
    please let me know if I have failed some steps
    Thank you,
    Regards,
    Nicola

    This works in our environment...
    PRC: Transaction Import     Source "Inventory"
    PRC: Distribute Usage & Misc Costs     
    PRC: Update Project Summary Amounts     
    PRC: Update Project and Resource Base Summaries
    PRC: Update Project Perfomance Data
    You should find actuals on the Reporting Tab within the project. To see the actuals on the Workplan, you also need to "Apply Latest Progress" on the Update Tasks screen, or "View Workplan Costs".

Maybe you are looking for

  • Apple Mail and GoogleMail via IMAP

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as

  • Output type not automatically determined (no output device specified)

    the output device is already specified for this output we dont want to manually add the output on all the invoices where the output was not automatically determined before... what should we do? is there a way not to manually add them? thanks in advan

  • Installing Tiger on new Hard drive

    Archaic as it is, I would like to get Tiger to install on my Macbook. It originally came with Tiger, and then the hard drive recently crashed.  (Don't ask about back-ups, it's a sore subject).  I've replaced AND formatted the hard drive already.  How

  • Don't start iDVD..???????

    Process:         iDVD [700] Path:            /Applications/iDVD.app/Contents/MacOS/iDVD Identifier:      com.apple.iDVD Version:         7.1.1 (1150) Build Info:      iDVD-11500000~2 Code Type:       X86 (Native) Parent Process:  launchd [180] PlugIn

  • Can't install on Apple Partition Map (PPC)

    I have a powerbook G4, everytime I try to install, I get the error message: +You cannot install Mac OS X on this volume. To enable installation on this volume open Disk Utility from the Utilities menu and repartition this disk as 'GUID Partition Tabl