10 Replies Latest reply: Jan 11, 2013 5:10 AM by keerthioaf RSS

    Reg: Error While Invoking SRS Submit : FNDCPPROGRAMPAGE

    Sridhar Yerram
      Hi All,
      Iam getting the below error While Invoking :
      OA.jsp?akRegionApplicationId=0&akRegionCode=FNDCPPROGRAMPAGE


      Could not create web bean, could not find item metadata Item Name: (FndCpLanguageTable); Region: (FNDCPPROGRAMSTATION)
      Could not create web bean, could not find item metadata Item Name: (FndCPCopyRequest); Region: (FNDCPPROGRAMCONTAINER)
      This page uses a train but does not contain a Next/Back Locator element (OANavigationBarBean). According to the UI Standards a train should always be implemented in conjunction with the Next/Back Locator element.
      The window title attribute for the page layout region has not been set. This attribute value will be used for the browser window title and should be set according to the UI standards. A default window title will be displayed for all such pages that violate the standards. Action: Set the window title or title attribute for the page layout region. The title attribute is used as a secondary source for the window title if the window title is missing.


      Please let me know where iam wrong.

      Regards
      Sridhar
        • 1. Re: Reg: Error While Invoking SRS Submit : FNDCPPROGRAMPAGE
          keerthioaf
          Sridhar ,

          Please share your code .

          Keerthi
          • 2. Re: Reg: Error While Invoking SRS Submit : FNDCPPROGRAMPAGE
            Sridhar Yerram
            Keerthi,

            I called the below method on the submit button event :

            pageContext.setForwardURL("OA.jsp?akRegionApplicationId=0&akRegionCode=FNDCPPROGRAMPAGE",
            null,
            OAWebBeanConstants.KEEP_MENU_CONTEXT,
            null,
            null,//params
            true,
            OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
            OAWebBeanConstants.IGNORE_MESSAGES
            );

            Regards
            Sridhar

            Edited by: Sridhar Yerram on Jan 10, 2013 4:37 PM
            • 3. Re: Reg: Error While Invoking SRS Submit : FNDCPPROGRAMPAGE
              Sridhar Yerram
              Keethi,

              Its solved, i moved the code to instance and checked it.

              Its working fine :)

              Regards
              Sridhar
              • 4. Re: Reg: Error While Invoking SRS Submit : FNDCPPROGRAMPAGE
                keerthioaf
                Cool :) Please close the thread .
                • 5. Re: Reg: Error While Invoking SRS Submit : FNDCPPROGRAMPAGE
                  Sridhar Yerram
                  Keerthi,

                  I have few more issues unresolved yet.

                  1. How to pass parameter to it (the concurrent program) ?
                  2. How to open the Page(FNDCPPROGRAMPAGE) in new window ?

                  Regards
                  Sridhar
                  • 6. Re: Reg: Error While Invoking SRS Submit : FNDCPPROGRAMPAGE
                    keerthioaf
                    Hi Sridhar ,


                    Here is the complete program

                    You controller code :
                    -----------------------------------------------------------------------------------------------------------------------------------------

                    String PACELINE_HEADER_ID_VALUE = pageContext.getparamter(“Id name”);
                    Serializable[] param={PACELINE_HEADER_ID_VALUE,Current_Resp};
                    return_reqId = am.invokeMethod("RunConCurrent", param);

                    ---------------------------------------------------------------------------------------------------------------------------------------------

                    AmImpl code :
                    ------------------------------------------------------------------------------------------------------------------------------------------
                    import java.sql.PreparedStatement;
                    import oracle.apps.fnd.cp.request.ConcurrentRequest;

                    public int RunConCurrent(String headerID,String currentResp)throws OAException
                    {
                    System.out.println("the current reponsibity from Applicatin module is "+currentResp);
                    System.out.println("Inisde the Application Module the value of header id "+headerID);
                    int requestId =0;

                    try {

                    OADBTransaction tx = (OADBTransaction)getDBTransaction();
                    java.sql.Connection pConncection = tx.getJdbcConnection();
                    ConcurrentRequest cr = new ConcurrentRequest(pConncection);

                    String applnName = "SDMINV"; //Application that contains the concurrent program
                    String cpName = "SDMPL"; //Concurrent program name
                    String cpDesc = "SDM Paceline Layout Report Concurrent Program"; // concurrent Program description


                    Vector cpArgs = new Vector();
                    cpArgs.addElement(headerID);

                    requestId = cr.submitRequest(applnName,cpName,cpDesc, null, false, cpArgs);
                    tx.commit();
                    return requestId;
                    }


                    catch (RequestSubmissionException e)
                    {
                    OAException oe = new OAException(e.getMessage());
                    oe.setApplicationModule(this);
                    throw oe;
                    }

                    catch(Exception e)
                    {
                    return 0;
                    }
                    finally
                    {
                    System.out.println("Inside debug finally block");
                    }
                    }


                    Let me know if its not clear .

                    Keerthi
                    • 7. Re: Reg: Error While Invoking SRS Submit : FNDCPPROGRAMPAGE
                      Sridhar Yerram
                      Keerthi,


                      I need to pass the parameter to this SRS : FNDCPPROGRAMPAGE

                      Iam passing Conc Prog Name to SRS and it is having 2 parameters.

                      1.I need to pass from my OAF page.

                      2. Other Param User enters at run time.

                      Can you please suggest me how to pass the parameter.

                      Regards
                      Sridhar
                      • 8. Re: Reg: Error While Invoking SRS Submit : FNDCPPROGRAMPAGE
                        keerthioaf
                        Hi Shridhar ,

                        On click of some button event call the this method ( RunConCurrent ) if you notice i am passing " PACELINE_HEADER_ID_VALUE"
                        as parameter . Once you submit the Concurrent program it will return a request id .

                        The parameter which user enters at run time you can obtain using

                        pageContext.getparameter() and pass it over to above method .


                        Let me know if its not clear .


                        Keerthi
                        • 9. Re: Reg: Error While Invoking SRS Submit : FNDCPPROGRAMPAGE
                          Sridhar Yerram
                          Keerthi,

                          My Requirement is :

                          For The Conc Program : I have 2 parameters(project and product)

                          1.Project parameter i will pass from OAF Page.
                          *(How to pass this parameter from my OAF page to SRS ?*

                          2. Product parameter : user will select at run time through SRS page.

                          Please let me know if you need further details ?

                          Regards
                          Sridhar
                          • 10. Re: Reg: Error While Invoking SRS Submit : FNDCPPROGRAMPAGE
                            keerthioaf
                            Hi ,

                            How to pass this parameter from my OAF page to SRS ?

                            Vector cpArgs = new Vector();
                            cpArgs.addElement(headerID);

                            requestId = cr.submitRequest(applnName,cpName,cpDesc, null, false,*cpArgs* );
                            tx.commit();
                            return requestId;

                            If you notice Header id i am passing from OAF screen Concurrent program using the java collection class vector .

                            Can you document your requirement and mail me along with the screen shot. Let me understand what exactly you 're
                            looking for .


                            Keerthi