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.

Similar Messages

  • 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.

  • NOt able to get text value for 0calmonth in the query

    hi,
    I am not able to get the test for the calmonth in the selection screen of the Query.
    i.e If the user enter the value 01/2010 as input in the selection screen. I am not able to get its text Janurary 2010 displayed in the selection screen of the query.
    please let me know what could be the reason for this.
    regards,
    Mahesh

    Hi Mahesh,
    I regret to inform you there is no option to display the month text.
    The system works as designed. The "Key and text" option for the      
    infoObject is for display the technical name and the description.                                                                               
    I found a customer on SDN which the same doubt and the answer for your
    question. Please, check the link below:                                                                               
    0calday text variable        
    Best Regards,
    Des

  • I am not able to get PO Value in MCE1, MCE3, MCE5 and MCE7

    Hi Gurus,
    Here i am having the probelm with these transactions MCE1, MCE3, MCE5, MCE7.
    In these t-codes we are not able to get Purchase Order Values...  Please help me out from this ... To get the PO Value what should i do .... there PO  values are showing '0.00' (Zero)..
    this is urgent for my client... they want to use these transaction..
    Rewards in advance....
    Regards,
    Naveen Myneni

    Hi Dhanya,
    >>I have one image id in my application which is dynamic and while replaying my script is failing.
    From your description, could you please tell me which kind of application you create?
    What type test you create in VS, is it the Web Performance test or other type test?
    If you are running the web performance test for your application in VS, as you said that the image id is dynamic value. I suggest you can refer the following article to debug your issue, maybe you will get more useful message.
    For more explanation and solutions, please see:
    How to debug a Web Test 
    If I misunderstanding your issue. please tell me more detail message about your issue.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Not able to get net value in billing document vf01.

    Hello Sir,
    I am trying to create an invoice for  milestone billing plan. I have maintained copy controls  at item level as follows
    coplying req.  002
    vbrk/vbrp        001
    pricingtype     D
    billing qntty     A
    while i save contract and trying to create billing document  system is not able to show net value in billing document. 
    Please guide me to get the net value in the billing document.
    looking forward to reply.

    Sir, May I know what is the process to confirm milestone billing. as per my knowledge we release billing block and then billing document is processed.
    In my case even if i release billing block billing document succesfully created and saved but net value seems zero.
    I am not aware of complete proces.
    reply would be appreciated.
    thanks

  • JAXB: not able to get Attribute value

    Hi there,
    I am using oracle JAXB for XML processing. I am not able to get the value of an attribute. I ran the same code in SUN JWSDP 1.3, which worked correctly. I am not able to get the "foo" attribute for <Table> element using oracle JAXB.
    The XML schema follows:
    <?xml version='1.0' encoding='UTF-8' ?>
    <schema targetNamespace="http://www.oracle.com/iAS/aggregator"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
    xmlns:ag="http://www.oracle.com/iAS/aggregator"
    xmlns="http://www.w3.org/2001/XMLSchema"
    jaxb:version="1.0"
    elementFormDefault="qualified">
    <annotation>
    <appinfo>
    <jaxb:globalBindings fixedAttributeAsConstantProperty="true"
    />
    <jaxb:schemaBindings>
    <jaxb:package name="oracle.dms.aggregator.adml"/>
    </jaxb:schemaBindings>
    </appinfo>
    </annotation>
    <complexType name="Adml_T">
    <sequence>
    <element name="Table" type="ag:Table_T" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    <attribute name="Version" type="token" fixed="10.1.3"/>
    </complexType> <!-- Adml -->
    <complexType name="Table_T">
    <attribute name="foo" type="Name"/>
    </complexType> <!-- Table -->
    <element name="Adml" type="ag:Adml_T"/>
    </schema>
    The XML file is:
    <?xml version='1.0' encoding='UTF-8' ?>
    <Adml xmlns="http://www.oracle.com/iAS/aggregator">
    <Table foo="foosailor">
    </Table>
    </Adml>
    The java file is:
    import javax.xml.bind.JAXBContext;
    import javax.xml.bind.Unmarshaller;
    import java.io.File;
    import java.util.List;
    import java.util.Iterator;
    import oracle.dms.aggregator.adml.Adml;
    import oracle.dms.aggregator.adml.TableT;
    public class JaxbQA
    public static void main (String[] args)
    throws Exception
    Adml adml;
    String fileName = "aggregator.xml";
    String instancePath = "oracle.dms.aggregator.adml";
    JAXBContext jc = JAXBContext.newInstance(instancePath);
    Unmarshaller u = jc.createUnmarshaller();
    u.setValidating(true);
    Object obj = u.unmarshal(new File(fileName));
    adml = (Adml)obj;
    List tables = adml.getTable();
    for (Iterator iter = tables.iterator();
    iter.hasNext();)
    TableT admlTable = (TableT)iter.next();
    String name = admlTable.getFoo();
    System.err.println("table foo=" + name);
    c:\oracle\jdk\bin\java.exe -classpath .;c:\oracle\xdk\lib\xmlparserv2.jar;c:\oracle\xdk\lib\xml.jar JaxbQA
    table foo=null

    I tested in both 10.1.0.2.0 and 10.1.0.3, which both showed the same problem. A bug #3621204 has been filed.

  • Not able to get distict values even after defining  MAP MEMBER FUNCTION

    Hi,
    I am trying to get distinct values from a query to a table type. Please see the code below
    CREATE OR REPLACE TYPE T_COPY_EVNT_DTL
    IS
      OBJECT
        eventId               VARCHAR2(100),
        eventDescription      VARCHAR2(100),
        promoMonthDescription VARCHAR2(100),
        promoStartDate        VARCHAR2(100),
        promoEndDate          VARCHAR2(100),
        PROMOCOSTSTARTDATE    VARCHAR2(100) ,
        MAP MEMBER FUNCTION sort_key
        RETURN VARCHAR2 );
    CREATE OR REPLACE TYPE BODY T_COPY_EVNT_DTL
    AS
      MAP MEMBER FUNCTION sort_key
      RETURN VARCHAR2
    IS
    BEGIN
      RETURN eventId ;
    END;
    END;
    CREATE OR REPLACE TYPE T_EVENT_TABLE
    IS
      TABLE OF T_COPY_EVNT_DTL;
              with event_data as (
    select '1' event,'event1' event_desc,'monthdesc1' promo_month_desc ,'01/01/2001' promo_start_date     ,'01/01/2002' promo_end_date,'01/02/2001' promo_cost_start_date from dual union all     
    select '1' event,'event1' event_desc ,'monthdesc1'promo_month_desc ,'01/01/2001' promo_start_date     ,'01/01/2002' promo_end_date,'01/02/2001' promo_cost_start_date from dual union all
    select '3' event,'desc3' event_desc ,'monthdesc3' promo_month_desc,'01/01/2001' promo_start_date     ,'01/01/2002' promo_end_date,'01/02/2001' promo_cost_start_date from dual union all
    select '2' event ,'desc2' event_desc ,'monthdesc2' promo_month_desc ,'01/01/2001' promo_start_date     ,'01/01/2002' promo_end_date ,'01/02/2001' promo_cost_start_date from dual )
    SELECT  cast(collect(distinct t_copy_evnt_dtl(event,
                                                                                                                        event_desc,
                                                                                                                        promo_month_desc,
                                                                                                                        promo_start_date,
                                                                                                                       promo_end_date,
                                                                                                                  promo_cost_start_date) ORDER BY
                                                                event_desc,
                                                                promo_month_desc,
                                                                promo_start_date,                                                   
                                                                promo_end_date,                                           
                                                                promo_cost_start_date) as t_event_table)  from event_data;
    result :
    T_EVENT_TABLE('T_COPY_EVNT_DTL('2','desc2','monthdesc2','01/01/2001','01/01/2002','01/02/2001')',
              'T_COPY_EVNT_DTL('3','desc3','monthdesc3','01/01/2001','01/01/2002','01/02/2001')',
              'T_COPY_EVNT_DTL('1','event1','monthdesc1','01/01/2001','01/01/2002','01/02/2001')',
              'T_COPY_EVNT_DTL('1','event1','monthdesc1','01/01/2001','01/01/2002','01/02/2001')')Please help me to find out the reason why it is not working...

    Remove the comma from T_COPY_EVNT_DTL TYPE.
    ORA-22800 indicates invalid user-defined type.
        PROMOCOSTSTARTDATE    VARCHAR2(100) ,
        MAP MEMBER FUNCTION sort_keyAnd it will be fine.
    SQL> CREATE OR REPLACE TYPE  T_COPY_EVNT_DTL
      2  IS
      3    OBJECT
      4    (
      5      eventId               VARCHAR2(100),
      6      eventDescription      VARCHAR2(100),
      7      promoMonthDescription VARCHAR2(100),
      8      promoStartDate        VARCHAR2(100),
      9      promoEndDate          VARCHAR2(100),
    10      PROMOCOSTSTARTDATE    VARCHAR2(100),
    11      --,
    12      MAP MEMBER FUNCTION sort_key
    13      RETURN VARCHAR2 );
    14  /
    Type created
    SQL>
    SQL> CREATE OR REPLACE TYPE BODY T_COPY_EVNT_DTL
      2  AS
      3    MAP MEMBER FUNCTION sort_key
      4    RETURN VARCHAR2
      5  IS
      6  BEGIN
      7    RETURN eventId ;
      8  END;
      9  END;
    10  /
    Type body created
    SQL>
    SQL> CREATE OR REPLACE TYPE T_EVENT_TABLE
      2  IS
      3    TABLE OF T_COPY_EVNT_DTL;
      4  /
    Type created
    SQL>
    SQL>     with event_data as (
      2  select '1' event,'event1' event_desc,'monthdesc1' promo_month_desc ,'01/01/2001' promo_start_date  ,'01/01/2002' promo_end_date,'01/02/2001' promo_cost_start_date from dual union all
      3  select '1' event,'event1' event_desc ,'monthdesc1'promo_month_desc ,'01/01/2001' promo_start_date  ,'01/01/2002' promo_end_date,'01/02/2001' promo_cost_start_date from dual union all
      4  select '3' event,'desc3' event_desc ,'monthdesc3' promo_month_desc,'01/01/2001' promo_start_date  ,'01/01/2002' promo_end_date,'01/02/2001' promo_cost_start_date from dual union all
      5  select '2' event ,'desc2' event_desc ,'monthdesc2' promo_month_desc ,'01/01/2001' promo_start_date  ,'01/01/2002' promo_end_date ,'01/02/2001' promo_cost_start_date from dual )
      6  SELECT  cast(collect(distinct t_copy_evnt_dtl(event,
      7                                                 event_desc,
      8                                                 promo_month_desc,
      9                                                 promo_start_date,
    10                                                promo_end_date,
    11                                              promo_cost_start_date) ORDER BY
    12                          event_desc,
    13                          promo_month_desc,
    14                          promo_start_date,
    15                          promo_end_date,
    16                          promo_cost_start_date) as t_event_table)  from event_data;
    CAST(COLLECT(DISTINCTT_COPY_EV
    <Object>

  • 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

  • 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

  • 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 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 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.

  • Need help with applet servlet communication .. not able to get OutputStream

    i am facing problem with applet and servlet communication. i need to send few image files from my applet to the servlet to save those images in DB.
    i need help with sending image data to my servlet.
    below is my sample program which i am trying.
    java source code which i am using in my applet ..
    public class Test {
        public static void main(String argv[]) {
            try {
                    URL serverURL = new URL("http://localhost:8084/uploadApp/TestServlet");
                    URLConnection connection = serverURL.openConnection();
                    Intermediate value=new Intermediate();
                    value.setUserId("user123");
                    connection.setDoInput(true);
                    connection.setDoOutput(true);
                    connection.setUseCaches(false);
                    connection.setDefaultUseCaches(false);
                    // Specify the content type that we will send binary data
                    connection.setRequestProperty ("Content-Type", "application/octet-stream");
                    ObjectOutputStream outputStream = new ObjectOutputStream(connection.getOutputStream());
                    outputStream.writeObject(value);
                    outputStream.flush();
                    outputStream.close();
                } catch (MalformedURLException ex) {
                    System.out.println(ex.getMessage());
                }  catch (IOException ex) {
                        System.out.println(ex.getMessage());
    }servlet code here ..
    public class TestServlet extends HttpServlet {
         * Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
         * @param request servlet request
         * @param response servlet response
         * @throws ServletException if a servlet-specific error occurs
         * @throws IOException if an I/O error occurs
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
                throws ServletException, IOException {
             System.out.println(" in servlet -----------");
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            ObjectInputStream inputFromApplet = null;
            Intermediate aStudent = null;
            BufferedReader inTest = null;
            try {         
                // get an input stream from the applet
                inputFromApplet = new ObjectInputStream(request.getInputStream());
                // read the serialized object data from applet
                data = (Intermediate) inputFromApplet.readObject();
                System.out.println("userid in servlet -----------"+ data.getUserId());
                inputFromApplet.close();
            } catch (Exception e) {
                e.printStackTrace();
                System.err.println("WARNING! filename.path JNDI not found");
            } finally {
                out.close();
        @Override
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
                throws ServletException, IOException {
            System.out.println(" in foGet -----------");
            processRequest(request, response);
         * Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
         * @throws ServletException if a servlet-specific error occurs
         * @throws IOException if an I/O error occurs
        @Override
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
                throws ServletException, IOException {
            System.out.println(" in doPost -----------");
            processRequest(request, response);
         * Returns a short description of the servlet.
         * @return a String containing servlet description
        @Override
        public String getServletInfo() {
            return "Short description";
        }// </editor-fold>
    }the Intermediate class ..
    import java.io.Serializable;
    public class Intermediate implements Serializable{
    String userId;
        public String getUserId() {
            return userId;
        public void setUserId(String userId) {
            this.userId = userId;
    }

    Hi,
    well i am not able to get any value from connection.getOutputStream() and i doubt my applet is not able to hit the servlet. could you review my code and tell me if it has some bug somewhere. and more over i want to know how to send multiple file data from applet to servlet . i want some sample or example if possible.
    do share if you have any experience of this sort..
    Thanks.

  • Not able to get the profile option value

    Hi,
    Not able to get the profile option value after i changed the new value in the application.
    I am using fnd_global.apps_initialize to initialize the apps from PLSQL code to get the updated profile option value. But fnd_profile.value is not getting fetched the updated value. Still it is fetching the old one. I mean it is stored in database cache. Please any one let me know how to get the new value every time after i changed the value.
    Thanks

    What is the application release?
    Is this a custom or seeded profile option?
    Can you confirm that the value got changed from the application (query the profile option and verify the value)?
    Can you reproduce the issue if you use an API to update this profile option as per (How to Change Profile Option Value Without Forms? [ID 943710.1])?
    Thanks,
    Hussein

Maybe you are looking for

  • Converting the system date to a string

    Hi, I am attempting to change the names of files by appending the system timestamp to them. At present, the names are in the following format: documentname.txt_1062092608316. I would like the timestamp to be more readable, along the lines of "MM/DD/Y

  • SOA politics and 11g

    Hi, I have a third party claiming, they are sending message to my webservices developed in 11g. I am unable to receive any of the message, third party sends. I tried testing my webservices using the EM and it works fine. I want to figure out what is

  • Equipment Selection/Setup Help

    I'm helping someone setup a network in their new office and want to see if my equipment selection is correct.  The products of the Small Business suite seemed to meet our needs as best I could tell. There is a dizzying array of products to choose fro

  • Data DVD Not Reading On PC

    Hi: I'm preparing to send off pics I took and imported into iPhoto. I then exported them to a folder, and since there are more than will fit onto a CD, used Toast Titanium 7.0.1 to burn a data DVD with the Mac & PC format tab selected. The DVD will e

  • Including flash from different directory

    hi. I want to include swf file from another directory. I'm including flash in this way: *** file: flash/flash.cfm <script type="text/javascript" src="swfobject.js"></script> <div id="flashcontent"><strong>no flash</strong></div> <script type="text/ja