Not able to get the data on the page

hi,
I tried brining the data on the JSP page. I am passing the parameters to a PL/SQL procedure. but I am not getting any data or error. can anyone helpme how to proceed further I am retreving the page parameters that are passed to the JSP page like this.
<%
PortletRenderRequest portletRequest = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
RenderContext rc = portletRequest.getRenderContext();
PortletDefinition pd = portletRequest.getPortletInstance().getPortletDefinition();
%>
I am getting the page parameters. but I am not able to get any result on the page.
while I am using the same code to get the data on another JSP page I am getting the data except I am not retreving the page parameters.
I am using the code like this to pass the parameters to the procedure.
OracleConnection conn__OCI      = cpool.getProxyConnection(OracleOCIConnectionPool.PROXYTYPE_USER_NAME, proxUserProp);
                              cstmt = conn__OCI.prepareCall ("begin test.test1( ?,?,?,?,? ); end;");
                              cstmt.setString(2, cnumb);
                              cstmt.setString(3, cperiod);
                              cstmt.setInt(4, retStrC);
                              cstmt.setString(5, retStr3);
                              cstmt.registerOutParameter (4, Types.NUMERIC);
                              cstmt.registerOutParameter (5, Types.VARCHAR);
                              cstmt.registerOutParameter(1, OracleTypes.CURSOR);
                              cstmt.execute();
                              retStrC = cstmt.getInt (4);
                              retStr3 = cstmt.getString (5);
                              retStr = "<tr class=OraDataText><td>  " + retStrC + "</td></tr>";
                              retStr = retStr + "<tr class=OraDataText><td>  " + retStr3 + "</td></tr>";
                              if ( retStrC == -1 )                    { ALLretStr = ALLretStr + retStr; }
                              else
                                   cursor = ((OracleCallableStatement)cstmt).getCursor(1);
                                   while (cursor.next ())
                                             if (spacerLine >= 2)
                                                  ALLretStr = ALLretStr + "<tr><td colspan=5 height=1 <div id=ssubLine> <div id=ssubLinet></div> </div> </td></tr>";
                                             ALLretStr = ALLretStr + "<tr class=smmjWipAltText><td ALIGN=LEFT>" + cursor.getString(1) + "</td><td ALIGN=CENTER>" + cursor.getInt(2) + "</td><td ALIGN=CENTER>" + cursor.getString(3) + "</td><td ALIGN=CENTER>" + cursor.getString(4) + "</td><td ALIGN=RIGHT>" + cursor.getString(5) + "</td></tr>";
                                             spacerLine++;
                              }

Hi Frank,<br>
<br>
I am getting a blank page after hitting the submit button. can you help me finding a solution for this in the JSP page or tell me where the error is. <br>
<br>
<%@page contentType="text/html;charset=UTF-8" %><br>
<%@page import="oracle.portal.provider.v2.render.*" %><br>
<%@page import="oracle.portal.provider.v2.render.PortletRenderRequest" %><br>
<%@page import="oracle.portal.provider.v2.PortletDefinition" %><br>
<%@page import="oracle.portal.provider.v2.http.HttpCommonConstants" %><br>
<%@page import="java.sql.*, javax.sql.*, java.util.*, oracle.jdbc.*, <br>
oracle.jdbc.pool.*, oracle.jdbc.oci.*" %><br>
<br>
<%<br> PortletRenderRequest portletRequest = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);<br>
RenderContext rc = portletRequest.getRenderContext();<br>
PortletDefinition pd = portletRequest.getPortletInstance().getPortletDefinition();<br>
%><br>
<%! String tree_descrip;<br> String tree_descrip_long;<br>
String curr_Scheme;<br>
String overl_gif;<br>
String curr_css_path;<br>
// page param<br>
String p_number_val= "1";<br>
String p_period_val= "Day";<br>
%><br>
<%<br> String long_desc = "LONG";<br>
String Descrip = "SHORT";<br>
String treeDescrip= "%SUBMISS%OLDER%";<br>
String curr_treeCateg = "SUB";<br>
try<br>
{<br>
curr_Scheme = getInfo.getSchem.getSchem();<br>
overl_gif = "/images/tested/"+curr_Scheme+ "images/prefreshdefault.gif";<br>
curr_css_path = "/images/tested/" curr_Scheme "css/param_jsp.css";<br>
tree_descrip = getInfo.getPortletTitle.getPortletTitle ( Descrip , treeDescrip , curr_treeCateg);<br>
tree_descrip_long = getInfo.getPortletTitle.getPortletTitle ( long_desc , treeDescrip , curr_treeCateg);<br>
}<br>
catch(Exception e)<br>
{<br>
tree_descrip = "";<br>
tree_descrip_long = "";<br>
}<br>
%> <br>
<% // Get page param p_number_val try { p_number_val = request.getParameterValues("p_number")[0]; } catch(Exception e) { p_number_val = "1"; } <br>
// Get page param p_period_val try { p_period_val = request.getParameterValues("p_period")[0]; } catch(Exception e) { p_period_val = "Day"; } %> <br>
<HTML> <HEAD> <link href="<%= curr_css_path %>" rel="stylesheet" type="text/css" media='' screen=''/> <SCRIPT LANGUAGE="JavaScript1.1" SRC="/images/smmj_page_obj/Popup/overlib.js"></SCRIPT> </HEAD> <BODY>
<TABLE WIDTH=100% summary="<%= tree_descrip %>" border="0" cellspacing="0" cellpadding="3" BGCOLOR="#FFFFFF" > <TR WIDTH="100%" height="6px"><td height="6px" COLSPAN="6" ></td></TR> <TR WIDTH="100%" > <td ALIGN="LEFT" nowrap ></td> <td ALIGN="LEFT" style="font-family:Verdana; font-size:8pt;font-weight:normal" nowrap class="smmjPort2HeadJS"> CYCLE NAME</td> <td ALIGN="CENTER" style="font-family:Verdana; font-size:8pt;font-weight:normal" nowrap class="smmjPort2HeadJS">ID</td> <td ALIGN="CENTER" style="font-family:Verdana; font-size:8pt;font-weight:normal" nowrap class="smmjPort2HeadJS">FIRM NAME</td> <td ALIGN="CENTER" style="font-family:Verdana; font-size:8pt;font-weight:normal" nowrap class="smmjPort2HeadJS">BILLING PERIOD</td> <td ALIGN="RIGHT" style="font-family:Verdana; font-size:8pt;font-weight:normal" nowrap class="smmjPort2HeadJS0">AGE</td> </TR> <%= getOlderSubs( p_number_val, p_period_val , "dev", portletRequest.getUser().getName(), "close_connect") %> </table> <TABLE><TR><TD> <%=p_number_val%>
<%=p_period_val%> <br>
<%=portletRequest.getUser().getName()%> </TD></TR> </TABLE> </BODY> </HTML> <br>
<%!<br> private String getOlderSubs( String cnumb, String cperiod, String cstring, String userid, String cState) throws SQLException
{<br>
CallableStatement cstmt;<br>
ResultSet cursor;<br>
int spacerLine = 1;<br>
int retStrC = 1;<br>
String retStr = "f";<br>
String retStr2 = "f";<br>
String retStr3 = "f";<br>
String retStr4 = "f";<br>
String ALLretStr = " ";<br>
String TempretStr = " ";<br>
String userstring = getInfo.getPortlUser.getPortUsr("B", "1");<br>
String pwstring = getInfo.getPortlUser.getPortUsr("B", "2");<br>
String CNNstring = getInfo.getPortlUser.getPortUsr("B", "3");<br>
String PROXY_user_name = "test$" + userid;<br>
//String PROXY_user_name = "test1$roger" ;<br>
String url= "jdbc:oracle:oci:@" + CNNstring;<br>
Properties prop = new Properties();<br>
try {<br>
if ( userid.trim().toUpperCase().equals(getInfo.getCONN.chkPortal.trim().toUpperCase()) )<br>
{<br>
ALLretStr = "<tr><td>Default user: " + userid + "</td></tr>"; }<br>
else<br>
{<br>
// Create an OracleOCIConnectionPool instance with default configuration
OracleOCIConnectionPool cpool = new OracleOCIConnectionPool(userstring, pwstring , url, null);<br>
Properties proxUserProp = new Properties();<br>
proxUserProp.setProperty(OracleOCIConnectionPool.PROXY_USER_NAME, PROXY_user_name);<br>
OracleConnection conn__OCI = cpool.getProxyConnection
(OracleOCIConnectionPool.PROXYTYPE_USER_NAME, proxUserProp);<br>
cstmt = conn__OCI.prepareCall ("begin PORT_CURSOR.s_submission_wip( ?,?,?,?,? ); end;");<br>
cstmt.setString(2, cnumb);<br>
cstmt.setString(3, cperiod);<br>
cstmt.setInt(4, retStrC);<br>
cstmt.setString(5, retStr3);<br>
cstmt.registerOutParameter (4, Types.NUMERIC);<br>
cstmt.registerOutParameter (5, Types.VARCHAR);<br>
cstmt.registerOutParameter(1, OracleTypes.CURSOR);<br>
cstmt.execute();<br>
retStrC = cstmt.getInt (4);<br>
retStr3 = cstmt.getString (5);<br>
retStr = "<tr class=OraDataText><td> " + retStrC + "</td></tr>";<br>
retStr = retStr + "<tr class=OraDataText><td> " + retStr3 + "</td></tr>";<br>
if ( retStrC == -1 ) { ALLretStr = ALLretStr + retStr; }<br>
else<br>
{<br>
cursor = ((OracleCallableStatement)cstmt).getCursor(1);<br>
while (cursor.next ())<br>
{<br>
if (spacerLine >= 2)<br>
{<br>
ALLretStr = ALLretStr + "<tr><td ALIGN=LEFT nowrap ></td><td colspan=5 height=1 ></td></tr>";<br>
}<br>
ALLretStr = ALLretStr + "<tr WIDTH=100% class=smmjPort2Text >
<td ALIGN=LEFT nowrap ></td><td ALIGN=LEFT> " + cursor.getString(1) + "</td><td ALIGN=CENTER>" + cursor.getInt(2) + "</td><td ALIGN=CENTER>" + cursor.getString(3) + "</td><td ALIGN=CENTER>" + cursor.getString(4) + "</td><td ALIGN=RIGHT>" + cursor.getString(5) + "</td></tr>";<br>spacerLine++;<br>
}<br>
}<br>
if (cState != null )<br>
{ //return(retStr);<br>
if (conn__OCI != null) conn__OCI.close();<br>
if (cpool != null) cpool.close();<br>
}}<br>
return(TempretStr);<br>
}<br>
catch (SQLException e )<br>
{<br>
String retErrStr = retStr + " SQL Error: <PRE> " + e + " </PRE> \n";<br>
return(retErrStr);<br>
}<br>
}<br>
%><br>
Regards,<br>
Vijay.

Similar Messages

  • Not able to get complete data in Heading of the smarform

    Dear Friends,
                    I am devloping a smartform for my requiremnt, i am not able to get complete data jin Header Window ( i.e the Title Name of the company is not getting fully) when i execute the Smartform ,
    Iam able to see only the last few words of the Text. Please help me what i should do in this regard
    regards
    madhuri

    Hi
    Also, check where the window is placed in the Form Painter...may be it is not on the page properly..and also check the size of the window..
    Further, check the paragraph format that is used.
    Regards,
    Vishwa.
    Edited by: Vishwa Sri Hari on Oct 15, 2008 1:21 PM

  • Using Mac OSX Install Disc 1, I am not able to get any further than the Partition tab.  It allows me to select my hard drive selection, but will not allow me to make any other selections.  Does anyone know their way around this obstacle?  Thanks!

    Using Mac OSX Install Disc 1, I am not able to get any further than the Partition tab.  It allows me to select my hard drive selection, but will not allow me to make any other selections such as options.  Does anyone know their way around this obstacle?  Am I doing anything wrong?  Thanks

    Hello, The Hatter, I read about the 'trick' of backing up, erasing, and restoring too, but I figured it would take longer than defragmenting the disk.
    But the defragmentation process has just finished! so I'm gonna try to run Boot Camp again soon!
    Thanks for your helpfulness, anyway.
    And P.S. I didn't clone my system onto the external drive, I just inserted the Mac OS X Install CD, rebooted holding down the "C" key, and installed a fresh Snow Leopard system onto the predetermined partition. I will use that in cases of emergency, when my main/internal system becomes unusable.

  • I restored my iPad and then repurchased App Pages. But I am not able to find my data saved with Pages before the restore. qwn

    I restored my iPad and then repurchased App Pages. But I am not able to find my data saved with Pages before the restore. qwn

    Those sites take a long time to load for me (almost a minute)
    Reload web page(s) and bypass the cache.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Cmd + Shift + R" (MAC)
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"

  • Not able to get changed values in the SAVE EVENT in ServHPartnerDet view

    Hi Experts,
    I am new CRM WEB IC, i have requirement like need to access four IBASE fields from BupaIbaseDetail and need to display those fiedls in ServHPartnerDet view. I am able display the fields and its values in the target view. But when user press change button and changes those four fields and press save button not able get the changed values in to the SAVE EVENT.Anyone please help me in this.
    IBHEADER , IBASEADDRESS  are the CONTEXT NODE CREATED in target view. I have binded IBHEADER to CuCoIbase custom controller and getting four fields data from IBASEADDRESS. below is the code for CREATE_CONTEXT_NODES.
    METHOD create_ibaseaddress.
      DATA:
        model        TYPE REF TO if_bsp_model,
        coll_wrapper TYPE REF TO cl_bsp_wd_collection_wrapper,
        entity       TYPE REF TO cl_crm_bol_entity,              "#EC *
        entity_col   TYPE REF TO if_bol_entity_col.             "#EC *
      model = owner->create_model(
          class_name     = 'ZL_CRM_IC_SERVHPDET_CN00'
          model_id       = 'IBaseAddress' ).                    "#EC NOTEXT
      ibaseaddress ?= model.
      CLEAR model.
      coll_wrapper =
        ibheader->get_collection_wrapper( ).
    TRY.
          entity ?= coll_wrapper->get_current( ).
        CATCH cx_sy_move_cast_error.
      ENDTRY.
      IF entity IS BOUND.
        TRY.
            entity_col = entity->get_related_entities(
                            iv_relation_name = 'FirstLevelComponent' ).
          CATCH cx_crm_genil_model_error.
        ENDTRY.
        TRY.
            entity ?= entity_col->get_current( ).
          CATCH cx_sy_move_cast_error.
        ENDTRY.
        CLEAR entity_col.
        IF entity IS BOUND.
          TRY.
              entity_col = entity->get_related_entities(
                              iv_relation_name = 'ComponentAddress' ).
              ibaseaddress->set_collection( entity_col ).
            CATCH cx_crm_genil_model_error.
          ENDTRY.
        ENDIF.
      ENDIF.
    ENDMETHOD.

    Code i have written in the CREATE_CONTEXT_NODE method for my custom context nodes( IBHEADER,IBASEADDRESS).
    this  CREATE_IBHEADER some data related to IBASE header then from this reading the IBASEADDRESS contextnode fields for displaying in the ServHPartnerDet. It is working fine but After changing the four fields values in the ServHPartnerDet view and trying to save, then context is not reading the new values it gives the old values only.
      TRY.
          lr_coll_wr = ztyped_context->ibaseaddress->get_collection_wrapper( ).
          IF lr_coll_wr IS BOUND.
            lr_entity ?= lr_coll_wr->get_current( ).
          ENDIF.
        CATCH cx_crm_genil_model_error.
      ENDTRY.
      CALL METHOD lr_entity->if_bol_bo_property_access~get_property_as_value
        EXPORTING
          iv_attr_name = 'BUILDING'
        IMPORTING
          ev_result    = lw_building.
    the building has got result of old value no the new value.
    method CREATE_IBHEADER.
        DATA:
          model        TYPE REF TO if_bsp_model,
          coll_wrapper TYPE REF TO cl_bsp_wd_collection_wrapper,
          entity       TYPE REF TO cl_crm_bol_entity,    "#EC *
          entity_col   TYPE REF TO if_bol_entity_col.    "#EC *
        model = owner->create_model(
            class_name     = 'ZL_CRM_IC_SERVHPDET_CN01'
            model_id       = 'IBHEADER' ). "#EC NOTEXT
        IBHEADER ?= model.
        CLEAR model.
    bind to custom controller
      DATA:
          cuco TYPE REF TO cl_crm_ic_cucoibase_impl,
          cnode TYPE REF TO cl_bsp_wd_context_node.
      cuco ?= owner->get_custom_controller(
            'CuCoIbase' ).                                      "#EC NOTEXT
      cnode ?=
        cuco->typed_context->ibaseheader.
      coll_wrapper = cnode->get_collection_wrapper( ).
      ibheader->set_collection_wrapper( coll_wrapper ).
    endmethod.

  • BI Publisher 11g - not able to get TEXT output in the email body

    I am trying to send TEXT report output generated by ETEXT templates in the email body by setting up the Bursting defintion in the Data Model using the following query. It is always sending it as an attachment though PARAMETER6 is set as false. Please advise on how to make it work?
    It seems PARAMETER6 does not have any effect on how it works.
    select
    customer_id KEY,
    'Etext_Template' TEMPLATE
    'ETEXT' TEMPLATE_FORMAT,
    'en-US' LOCALE,
    'TEXT' OUTPUT_FORMAT,
    'EMAIL' DEL_CHANNEL,
    null TIMEZONE,
    null CLAENDAR,
    customer_name || '_status' OUTPUT_NAME,
    'true' SAVE_OUTPUT,
    '[email protected]' PARAMETER1,
    null PARAMETER2,
    '[email protected]' PARAMETER3,
    'Status Report for ' || customer_name PARAMETER4,
    null PARAMETER5,
    'false' PARAMETER6,
    null PARAMETER7,
    null PARAMETER8
    from dpmi_customers_v
    The Oracle BI Publisher version is 11.1.1.5.0.
    Thanks,
    Suja

    Control click or Right Click on the attachment in the body of the email and select 'View as icon'.
    There is a (paid for) mail plugin called Attachment Tamer which helps Mail do a much better of handling attachments - giving much more control over how they are viewed/arranged/received. It's available from http://lokiware.info/Attachment-Tamer
    (Usual caveat, I've no connection with Lokiware, just happy with their product).

  • Not able to get RZ points for the Good Maintenance Reward.....

    Tried geek squad support they are telling me the promotion no longer exists. They also said the only eligible amount is the phone purchase with the first payment of the plan. I would say the eligible amount is the entire cost of the plan. 14.99 x 24 months. Any thoughts?

    Good morning Slownas1, and welcome to the Best Buy forum!
    The Good Maintenance Reward is no longer offered with the purchase of a Geek Squad Protection plan; however, it is a benefit we should still be able to honor as long as the protection plan in-question was eligible and qualifies.  A standard protection plan would need to have been purchased between 9/14/2008 - 7/14/2012 to be eligible and the plan could not have been utilized for any services to be eligible.  If both of those terms are met, then a request for the benefit would need to be made within 90 days of the plan officially expiring.
    Based on the information you provided in your post, it appears the protection plan in-question may have been a monthly plan, possibly for a mobile phone.  Is that correct?  If so, then it would not be eligible for the Good Maintenance Reward because mobile plans were not included.  The protection plan would need to have been paid in full at the time of purchase.
    If you have any additional questions about the Good Maintenance Reward, please feel free to send me a private message and I will see what I can do to help.  You can send a private message by clicking on the blue button located within my signature. 
    Thank you for posting.
    Derek|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Not able to get resource names on the front panel

    Hi,
       I tried communicating with Agilent DMM (34405A) with USB interface using Labview 8.5. I have installed Agileni IO Libraries Suite 14.2 and NI Visa 4.2. I have downloaded and installed Labview drivers for Agilent 34405A. The instrument is visible in Agilent Visa Assistant and also in NI MAX. But the problem is that, the resource name doesnot appear on the front panel. I have enabled tulip passport.
    rgds
    BalkiSwathi

    Hi Vijay,
    The Goal Diagram Statuses are calculated for the latest date of the underlying PAS model. If you are not seing any status in the Goal Diagram (and the properties are set like Bob mentions in his post above), you might want to check if you have values in PAS for the date that is set as latest. If this is not the date for which you want to see your scorecard, you can change it directly in PAS.
    You can force the application to re-calculate the Goal Diagram Statuses by going to the Admin Interface and save again the settings for any KPI in the respective context. This simple step deletes the existing statuses and forces the application to re-calculate them the next time you enter the end-user interface.
    If you have data for the PAS model latest date, and you performed the step above to force the application to re-calculate the statuses, and still they are not showing, you should then create a message in the SAP ServiceMarketplace.
    Best regards,
    Ricardo

  • Not able to get a link to the fron-end portal(ess) with back-end sap R\3 AB

    Hi,
       In the back-end i.e sap abap-hr , the required data (leave types) are available.But on front-end Portal(ESS) ,the drop-down menu in personal LOA forms shows only two leave types(personal & self-funded leave).i got struck in how to make few in remaining also viewable in the drop-down list.Can anyone help me on this?

    Bottom line,
    to configure the Leaves on your portal you have to do.
    1. Configure the Leave Types and all the customizing on T554S.
        opc. If you want to have quota deduction, and everything else you should check V_T559L, T556C, T556A as well.
    2. Configure the Leaves on the Portal.  This is done on the IMG path colleague replied:
    >Personnel Management
    >Employee Self-Service
    >Service-Specific Settings
    >Working Time
    >Leave Request
    >Processing Processes
       a. Create the Rule Groups - this step you just create them.
       b. Adjust feature WEBMO - The feature WEBMO is used to select the rule group. Most of the times based on MOLGA and Ctrl. Center.
       c. Define Processing Processes for Each Rule Group - define the processes such as how to record partial day leaves, details on to check PTREQ_HEADER tables for unposted leaves, and how to determine workflow's next agent (more info press F1 on each of these fields)
       d. Specify Processing Processes for Types of Leave - Associate the Leaves from T554S that you want to show on the portal. This includes Absences and ATtendances. Here you define data such as if you are allowed to create leaves on the past, present and future; field customizing, and other details.
    Since Time Management is an old part of SAP the F1 documentation is very complete so I really advise you to check.
    Also, check http://wiki.sdn.sap.com/wiki/display/ERPHCM/LeaveRequestCustom+Messages
    for how to have custom warning messages to show on your leaves.
    I hope I have clarified.
    Kind Regards,
    Bentow.

  • Not able to get ItemKey value on OAF page.

    Hi OAF Gurus,
    I build a OAF transaction based on Workflow where I am using below code , but getting NULL values for itemKey
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OADBTransaction oadbtransaction = am.getOADBTransaction();
    SSHRParams sshrparams = new SSHRParams(oadbtransaction);
    // gives null String itemKey = sshrparams.getItemKey();
    // gives null String itemKey = OANavigation.getItemKey(pageContext);
    // gives null String itemKey = WFUtility.getItemKey(pageContext);
    // gives null String itemKey = ((StringBuffer)oadbTxn.findObject("wfItemKey")).toString();
    // gives null String itemKey = oaNavigation.getItemKey(pageContext);
    BIG QUESTION : How to get the itemKey???????????
    Other approaches : I extended my custom AM to oracle's AM (thinking that may be new SSHRParams(oadbtransaction), might work with oracle's transaction), but no luck
    Facts
    1. Workflow has started and this page has been invoked from workflow using BLOCK function.
    2. If I hard code the itemKey and itemType, I can calculate the activity id correctly using String activityId = new String(""+WFUtility.getActivityId(am, itemType, itemKey));
    3. I need the itemKey to abe able to navigate to NEXT or PREVIOUS page in the workflow example : WFUtility.wfTransitionActivity(pageContext, itemType, itemKey,activityId, "NEXT"); when next button is clicked
    Please help me out in this.
    Thanks,
    Chaitanya

    I am posting what approach worked for me.
    Step 1: Create a Page called InitContextPG.xml , set a controller InitContextCO.java
    Step2: In InitContextPG.xml set Application module as oracle.apps.per.selfservice.common.server.CommonAM
    Step 3: Edit InitContextCO.java
    import oracle.apps.per.selfservice.common.SSHRParams;
    import oracle.apps.per.selfservice.payrate.PayRateParams;
    import oracle.apps.per.selfservice.workflowservice.server.WFUtility;
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    /* Logging Code*/
    if(pageContext.isLoggingEnabled(OAFwkConstants.PROCEDURE))
    {pageContext.writeDiagnostics(this," processRequest().START ",OAFwkConstants.PROCEDURE);}
    super.processRequest(pageContext, webBean);
    //.........................................SETTING PAY_RATE_PARAMS.................................................................
    //oadbTxn.getValueNames();
    Hashtable PAY_RATE_PARAMS = (Hashtable)oadbTxn.findObject(PayRateParams.m_name);
    if(PAY_RATE_PARAMS==null){PAY_RATE_PARAMS= new Hashtable();}
    pageContext.putSessionValueRaw(PayRateParams.m_name,PAY_RATE_PARAMS);
    writeLog(pageContext,PayRateParams.m_name+"="+PAY_RATE_PARAMS);
    //.........................................SETTING SSHR_PARAMS.................................................................
    Hashtable SSHR_PARAMS = (Hashtable)oadbTxn.findObject(SSHRParams.m_name);
    if(SSHR_PARAMS==null){SSHR_PARAMS= new Hashtable();}
    pageContext.putSessionValueRaw(SSHRParams.m_name,SSHR_PARAMS);
    writeLog(pageContext,SSHRParams.m_name+"="+SSHR_PARAMS);
    //.........................................SETTING WORKFLOW ACTIVITY.................................................................
    SSHRParams sshrparams = new SSHRParams(pageContext.getRootApplicationModule().getOADBTransaction());
    String itemKey =sshrparams.getItemKey();
    String itemType = sshrparams.getItemType();
    String activityId = sshrparams.getActivityId();
    WFUtility.wfTransitionActivity(pageContext, itemType, itemKey,activityId, "DEFAULT");
    /* Logging Code*/
    if(pageContext.isLoggingEnabled(OAFwkConstants.PROCEDURE))
    {pageContext.writeDiagnostics(this,"processRequest().END",OAFwkConstants.PROCEDURE);}
    Step4 : Create a FND Function Y_HR_INIT_CONTEXT_SS having html call to InitContextPG.xml
    Step 5 : In the Workflow create a Function, called Init Context
    set : Function Name : HR_WORKFLOW_SERVICE.BLOCK
    set : Function Type : PLSQL
    set : Result Type : HR MEE Transacitons V4.0
    Node Attribute : HR Activity Type : JSP
    Node Attribute : HR Activity Type Value : Y_HR_INIT_CONTEXT_SS
    Step 6: So Workflow should look like
    START-----<default>---------> Init Context -----------<default>-------> MY_PAGE (which needs WF parameters)
    Step 7. Now you have MY_PAGE.xml where you need the ItemKey and ActivityID etc., create a controller MY_PAGE_CO.java
    * 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)
    /* Register the ORACLE HRMS Objects before super.processRequest*/
    this.registerObject(pageContext,SSHRParams.m_name);
    this.registerObject(pageContext,PayRateParams.m_name);
    super.processRequest(pageContext, webBean);
    SSHRParams sshrparams = new SSHRParams(oadbTxn);
    String itemKey =sshrparams.getItemKey();
    String itemType = sshrparams.getItemType();
    String activityId = sshrparams.getActivityId();
    // You Finally have the values of itemKey ,itemType and activityId
    OAApplicationModule am = pageContext.getRootApplicationModule();
    OADBTransaction oadbTxn = am.getOADBTransaction();
    * Registers an object from session to transaction.
    public void registerObject(OAPageContext pageContext,String ObjectName)
    Object objectValue = (Object)pageContext.getSessionValueRaw(ObjectName);
    this.writeLog(pageContext,ObjectName+"="+objectValue);
    OAApplicationModule am = pageContext.getRootApplicationModule();
    OADBTransaction oadbTxn = am.getOADBTransaction();
    /* Check if the Object is registered already, else register it*/
    if(oadbTxn.findObject(ObjectName) == null && objectValue!=null)
    oadbTxn.registerObject(ObjectName,objectValue);
    Edited by: Chaitanya Dubey on Feb 3, 2011 1:45 PM
    Edited by: Chaitanya Dubey on Feb 3, 2011 1:54 PM
    Edited by: Chaitanya Dubey on Feb 3, 2011 1:54 PM

  • How do I get routing data from the Map App (powered by TomTom) so I can display the point-to-point annotations (turn-by-turn navigation) without leaving my own application.

    I have a tableView displaying a list of contacts from a Cloud Database.  After selecting a contact, I push to a programmatically created MKMapView.  Then I display the initial region (the view) that includes the users current location (starting point) and their selected destination (end point).
    Now I want to display annotations (as described in the Location Awareness Programming Guide) that displays polylines which will represent the turn-by-turn navigation IN MY OWN APPLICATION, and not in the Map App currently used in IOS6. 
    Due to licensing and its becoming depricated in IOS 6, I do not want to get routing data from the Google Maps API.  How do I get routing data from the IOS 6 Map App (powered by TomTom) so I can display the point-to-point annotations (turn-by-turn navigation) without leaving my own application?
    I checked out Stack Overflow and other forums which basically left me with the impression that this is not possible. I also checked out the TomTom iPhone Mobile SDK User Guide from the TomTom Developer Portal and am still confused.  It must be possible to retrieve routes, since the Map App can display turn-by-turn directions.  How can I retrieve turn-by-turn data that I may display as a route within my own application?

    Thanks Michael. Apologies for the slow reply I was away for a bit (holiday blitz at work and visiting family madness etc.etc.) back now, I set both options you requested to "never " and retried the CMS software with no change. 
    I do have progress of a sort though, as a test I took a separate test PC and put a clean install of Win7 on and loaded up the CMS software (it worked perfectly) and then took the version of ole32.dll off that machine and put it onto the computer I had built
    for her (using Linux) and...
    got a new error code. Darn I was so sure I had found a clever solution this time lol.
    Anyway now when the CMS fails it gives me a similar error but the offending module is "ntdll.dll" sooo... I tried taking the "working" version of ntdll.dll from the test box and moving it over (making sure to back up the existing ones
    first so I could put them back if needed) to her new PC and the PC would not boot. 
    It seems to want the original versions of a few Dynamic Link Libraries and if I could somehow give it those while not breaking Win7 it should theoretically work seeing as it no longer errors with ole32.dll. 
    ntdll.dll however seems necessary for Win7 to boot.
    So what I am wondering now is:
    Is there some way to have both versions of the DLL file in the system32 folder (bypassing the "cannot have two files with the exact same name in the same folder" thing) or rename the original DLL's something else and somehow make the CMS look for
    the new named versions so the system has the updated DLL's it needs to boot/run and the CMS has the old ones it wants to run or is there someway to have a self contained install of the CMS, say on a USB flash drive and give it it's own E:/windows/system32/needed
    dll's  path to the files it needs? 
    Willing to try any other options or settings you may have come up with as well.
    Thanks again for your reply and my apologies for not answering sooner.

  • Not able to get the data in COSB Table

    Hi Colleagues,
    I have created a Project and assign the WBS number to a Sales order and also have done all the settings in Result Analysis.
    But still not able to get the data in COSB table.
    Could you please suggest me the steps and process, Might be i have missed something..
    Thanks in Advance
    Regards
    Nitin

    Hi Ken,
    I have below mentioned requirement
    COSB will show value by object number and need to pass the object number to PRPS table to find the corresponding WBS element and then pass the WBS element to VBAP table to find the corresponding SO line item.
    Please let me know as Functional prospect what I have to do to bring this values in COSB table.
    Regards
    Nitin

  • Not able to get the data from 2LIS_04_P_ARBPL

    Hi all,
    I am not able to get data for info object 0Calday in PP Cube.
    So I checked as per the data flow
    So from Datasource 2LIS_04_P_ARBPL its not getting data for that particular object
    I check in RSA3 its showing " 0 records extracted"
    So I have checked in LBWE to check from which tables its getting data.
    So there I found its getting data from 3 tables AFKO, AFPO and  AFVG.
    When I am checking the tables data am able to open AFKO and AFPO but
    for AFVG its saying "No active table available".
    and the infoobject 0calday is mapped with Posting date of AFVG table only.
    Can anyone tell me what is the procedure to see the data in that particular table and structrure.
    Regards
    Sankar

    Hi,
    please search for the term 'filling of setup table'.
    Siggi

  • Problem Using HTTP Dispatcher -- Could Not able to get the data in JSP

    Hi, I am using HTTP Dispatcher to send my events to particular URL which is a JSP page. I am trying to populate the received event through URL and populate to a oracle data base. But could not able to get the data in Oracle database.
    Code is :
    <h1>JSP Page</h1>
    <%
    long type = 0;
    String tagId = null;
    String timeStr = "0";
    String deviceName = "";
    // Get Event Parameters
    // Available Parameters: id, siteName, deviceName, data, time, type, subtype, sourceName, correlationId
    try
    type = Long.parseLong(request.getParameter("type")); // Get type
    tagId = request.getParameter("id"); // Get tagId
    timeStr = request.getParameter("time"); // Get time
              deviceName = request.getParameter("deviceName");
    catch (Exception e)
    out.println( "Error: "+e.getMessage() );
              // Write into DB.
              try {
              if ((tagId == null) || (type != 200) ){
                   // Do Nothing
                   //return;
              } else {
                   OracleDataSource ods = new OracleDataSource();
                   String URL = "jdbc:oracle:thin:@//3.235.173.16:1525/vislocal";     
                   ods.setURL(URL);
                   ods.setUser("cus");
                   ods.setPassword("cus");
                   Connection myConn = ods.getConnection();     
                   Statement stmt = myConn.createStatement();
                   String selectQuery =
                             "SELECT MAX(rfid_raw_reads_id) as max_id FROM "+
                        "cus.rfid_raw_reads ";
                   ResultSet rs = stmt.executeQuery(selectQuery);
                   String maxId = "1";
                   if (rs.next()) {
                        maxId = rs.getString(1);               
                   String selectMaxTagIDQuery =
                             "SELECT MAX(rfid_raw_reads_id) as max_id FROM "+
                        "cus.rfid_raw_reads WHERE tag_id = '" + tagId + "'" ;
                   stmt = myConn.createStatement();
                   rs = stmt.executeQuery(selectMaxTagIDQuery);
                   String maxTagId = "1";
                   if (rs.next()) {
                        maxTagId = rs.getString(1);               
                   long primaryKey = 1;
                   long tagKey = 1;
                   try {
                        primaryKey = Long.parseLong(maxId) + 1;
                        tagKey = Long.parseLong(maxTagId) + 1;
                   } catch (Exception e) {
                   long currentTime = System.currentTimeMillis();
                   long updateKey = (tagKey - 1);
                   String updateQuery = " UPDATE cus.rfid_raw_reads SET read_end_time = " + currentTime + " WHERE rfid_raw_reads_id = " + updateKey;
                   Statement updateStmt = myConn.createStatement();
                   updateStmt.execute(updateQuery);     
                   String query =
                        "INSERT INTO cus.rfid_raw_reads (rfid_raw_reads_id, tag_id,device_name,read_start_time) VALUES ("+ primaryKey + ",'" + tagId + "'," + deviceName + "'," + System.currentTimeMillis() + " )" ;
                   Statement insertStmt = myConn.createStatement();
                   insertStmt.execute(query);     
                   myConn.commit();
                   myConn.close();
              } catch (Exception e) {
    %>
    <p>For browser debug:
    <%
    out.println( "Type="+type+" ID="+tagId +" time="+timeStr );
    %>
    Kindly suggest where is the problem...
    Thanks and regards
    Mohammad Nasim Akhtar

    HI Prabhat,
    Thanx for your reply, I worked out and able to receive the data in oracle database, Actually there was some problem in insert Query. Now I have tested the same... and able to edit the same in the Database.....
    But I am facing a new problem, Http Dispatcher in SES console is displaying all the Events generated as well as event in Que but there is no events in the Event Send. I guess it is not able to send the events.....?????
    Event statical is showing like this
    Events Received: 0 (0.00/sec)
    Events Generated: 311 (0.19/sec)
    Events Sent: 2 (0.19/sec)
    Queued Events: 309 (0.19/sec)
    Kindly suggest where is the problem, Is it a JSP problem or OSES end problem.....
    Thanks and regards
    Nasim

  • Not able to get the data in PE51

    Dear Freinds,
                  I have copied similar to the standard in IN01 , in the Pe51> Windows i have kept under W1 all the wage types which comes under earnings and when i execute the payslip   i.e  in the simulation run and when i view the form i can see
    only the wage types but i dont find the correspnding amounts agains each wage type. Please could any one help me
    why iam not able to get the amount agains the wge type?
    regards
    divya.

    Hi,
    I think u might have done some mistakes while configuring PE51 in cumulation ID ..........
    First of all as Siki said check ur master data whether the WT has given in IT 0008 and corresponding amounts entered to the resp WT. if it is ok then check the pe51 config once........
    go to pe51 give ur form name and select cumulation IDs go to change mode and double click on Earnings and see whether the data is maintained in this manner or not .......
    Table = RT ,   ID = your WT code ,    MS = + (sign)   ,  Dsplit = * (sign),      rest all coulumn leave blank ........ save it and then again run the payrl in Live mode and see the Pay slip.........
    If any problem Pls let us know.... and see other gurus post also.
    Regards,
    Prashant

Maybe you are looking for

  • Conversion from data to duration

    Hi, I wish to convert a number, in seconds, to a duration. As follow: convert 289, which is in seconds, to a duration, which would be in minutes and seconds. 289 seconds is 4 minutes 49 seconds, but how can I convert this in numbers? I also need to c

  • HT1209 Pre-ordered albums not showing in "Purchases" after delivery

    Hi I recently purchased two albums on iTunes on my iPhone that were pre-ordered by a few days. On the release date I was duly notified and dowloaded them to my phone successfully. Today I am trying to download them to my iMac but they don't appear in

  • You have encountered an unexpected error. Please contact the System Adminis

    Hii guys EBS is installed. I'm not able to login via IE in EBS and but i'm able to login EBS via FireFox. I get the following error. You have encountered an unexpected error. Please contact the System Administrator. I've run the following query while

  • AS3 loadMovieNum() ?

    Hi! How can I do this in AS3: loadMovieNum("test.swf", 2) ??? Why change Adobe the simple commands to complicated commands in AS3? Why wasn't good for example "on(release)"? It's simple, don't like this: mybutton.addEventListener(MouseEvent.MOUSE_DOW

  • SBO crystal add-on - can it connect to non SBO databases

    we succesfully installed crystal ad-on for SBO with 2007A version. it runs crystal reports that query data from SBO databases. but we cannot get reports that query data from other databases (not SAP databases) to work? Has anyone tried using crystal