Best way to put the default values for the Form Items

Hi,
I am having a form with lot of default values as mentioned below..
  Field                      value 
  created by             :APPL_USER
  creation_date         SYSDATE
  last_updated_by     :APPL_USER
  last_update_date    SYSDATE
  item1                     value1
  item2                     value2Currently I am using Computation -> After Submit.....so whenever we create/update a record...these computaion takes place and the default values get inserted....THIS IS WORKING PERFECTLY FINE.
I want to know..if this approach is fine OR we may have some better approach to acheive this...????
Thanks,
Deepak

Deepak,
Sample trigger code:
CREATE OR REPLACE TRIGGER  "BINS1_APPLICATION_TBL"
   BEFORE INSERT
   ON APPLICATION_TBL    FOR EACH ROW
BEGIN
   --  Description: Insert creation_dt, creation_id,
   --              lst_updt_dt and lst_updt_id
   --  Maintenance:
   --  Date        Actor           Action
   --  ====        =====           ======
   --  20-Aug-2009 J. Wells         Create.
   :NEW.creation_id := V('APP_USER');
   :NEW.creation_dt := SYSDATE;
   :NEW.lst_updt_dt := :NEW.creation_dt;
   :NEW.lst_updt_id := :NEW.creation_id;
   SELECT APPLICATION_seq.NEXTVAL
     INTO :NEW.APPLICATION_seq
     FROM DUAL;
END bins1_APPLICATION_tbl;
ALTER TRIGGER  "BINS1_APPLICATION_TBL" ENABLE
/Jeff

Similar Messages

  • Best way to give a default value to a New Column with existing rows

    Adding some columns to SQL tables with existing data rows. There are also views created from these tables. The views are used in some report/query software so NULL values are not good. Interested in learning about the best way to set a default value. 
    These are the ways that I can think of
    1) ALTER TABLE using the DEFAULT to add the column and set the default value
    ++ Adds a constraint which is not terrible. Constraints are just not used much in this shop.
    2) ALTER TABLE to add the column then do an UPDATE statement to update the values
    ++ might be an issue for tables with millions of rows
    3) ALTER TABLE to add the column then use ISNULL in the CREATE VIEW

    It is a large table with 444 columns and max row size of 2268. 907k records took 1 minute 38 seconds to UPDATE the column. I have about 12 fields to add to this table and about 44 tables (not all this large of course) so it will take some time to
    UPDATE.  Although ... i just tried updating 3 columns in a single UPDATE and it took 1 minute 36 seconds. So If I did all 12 fields in a single UPDATE it would be about the same time as a single Field.  I will think about it.

  • Is there any way we can set default value for a Date Attribute to current date in Master Data Services

    Is there any way we can set default value for a Date Attribute to current date in Master Data Services.
    I as well wants to know that is there any posibility to show Calendar control while input data into respective date attributes.
    Thanks.

    Hi Anagha,
    So far i havent found any way to set todays date by default from MMI, but i guess this flow should work as workaroud
    1. Add buisness rule which can set a default value when Date = NULL/Blank
    2.get the entity table ,use -select EntityTable from mdm.tblEntity where Name = '<enter entity name>'
    3.Go to that table and add a after update trigger like
    if uda_<entityid>_<attributeid(Date attribute)> = default value
    update uda_<entityid>_<attributeid(Date attribute)> =getdate() where id = <LastUpdatedRow>
    I will check on this too from my side.
    By the way AFAIK i dont think so calendar control integration is possible .

  • How to put a default value in a dropdown item (charasteristic selection)

    Hello all,
    Does someone know how to put a default value inside a dropdown item bided to a 0FISCYEAR charasteristic selection ?
    For instance, I would like that only values for the year "2007" would be displayed at the execution of the web template (containing 1 analysis) in the browser.
    Best regards,
    Mickael

    error code with selection variable in the drop down item, in a template containing a navigation pane :
    com.sap.ip.bi.webapplications.runtime.controller.MessageException: Error while generating HTML at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2150) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.doProcessRequest(Controller.java:931) at com.sap.ip.bi.webapplications.runtime.controller.impl.Controller.processRequest(Controller.java:873) at com.sap.ip.bi.webapplications.runtime.jsp.portal.services.BIRuntimeService.handleRequest(BIRuntimeService.java:324) at com.sap.ip.bi.webapplications.runtime.jsp.portal.components.LauncherComponent.doContent(LauncherComponent.java:21) at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209) at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215) at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645) at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136) at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189) at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753) at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240) at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522) at java.security.AccessController.doPrivileged(Native Method) at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401) at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387) at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365) at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944) at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266) at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95) at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while generating HTML at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:380) at com.sap.ip.bi.webapplications.runtime.rendering.impl.ContainerNode.render(ContainerNode.java:62) at com.sap.ip.bi.webapplications.runtime.rendering.impl.PageAssemblerRenderingRoot.processRendering(PageAssemblerRenderingRoot.java:50) at com.sap.ip.bi.webapplications.runtime.impl.Page.processRenderingRootNode(Page.java:2735) at com.sap.ip.bi.webapplications.runtime.impl.Page.processRendering(Page.java:2478) at com.sap.ip.bi.webapplications.runtime.impl.Page.doProcessRequest(Page.java:2432) at com.sap.ip.bi.webapplications.runtime.impl.Page.processRequest(Page.java:2054) ... 36 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.BICompositeManager.renderRoot(BICompositeManager.java:83) at com.sap.ip.bi.webapplications.ui.items.UiItem.render(UiItem.java:376) ... 42 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.tabstrip.impl.AcTabStrip.iterateOverChildren(AcTabStrip.java:74) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 47 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripItemContentFragment(TabStripRenderer.java:1889) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripFragment(TabStripRenderer.java:858) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.render(TabStripRenderer.java:69) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 52 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 62 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:254) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:210) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:49) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 66 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 76 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.tabstrip.impl.AcTabStrip.iterateOverChildren(AcTabStrip.java:74) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 80 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripItemContentFragment(TabStripRenderer.java:1889) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripFragment(TabStripRenderer.java:858) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.render(TabStripRenderer.java:69) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 85 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 95 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.tabstrip.impl.AcTabStrip.iterateOverChildren(AcTabStrip.java:74) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 99 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripItemContentFragment(TabStripRenderer.java:1889) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.renderTabStripFragment(TabStripRenderer.java:858) at com.sap.tc.ur2.renderer.ie6.TabStripRenderer.render(TabStripRenderer.java:69) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 104 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 114 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.bridge.AcItemBridge.iterateOverChildren(AcItemBridge.java:62) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutItemFragment(FlowLayoutRenderer.java:254) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.renderFlowLayoutFragment(FlowLayoutRenderer.java:210) at com.sap.tc.ur2.renderer.ie6.FlowLayoutRenderer.render(FlowLayoutRenderer.java:49) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 118 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.framework.base.composites.UiRootContainer.iterateOverChildren(UiRootContainer.java:40) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 128 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.items.navigation.control.AcQueryNavigation.iterateOverChildren(AcQueryNavigation.java:126) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 132 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.tree.impl.AcTreeView.iterateOverChildren(AcTreeView.java:100) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.advancedcontrols.generic.impl.AcGeneric.renderComposite(AcGeneric.java:150) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.GroupRenderer.renderGroupFragment(GroupRenderer.java:1184) at com.sap.tc.ur2.renderer.ie6.GroupRenderer.render(GroupRenderer.java:74) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 137 moreCaused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error while processing UR tree at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:36) at com.sap.ip.bi.webapplications.ui.advancedcontrols.dragdrop.impl.DragDropContainer.iterateOverChildren(DragDropContainer.java:362) at com.sap.ip.bi.webapplications.ui.framework.base.impl.Composite.renderComposite(Composite.java:135) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:55) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.renderTreeNodeFragment(TreeRenderer.java:2223) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.renderTreeNodeFragment(TreeRenderer.java:2338) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.renderTreeNodeFragment(TreeRenderer.java:2338) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.renderTreeFragment(TreeRenderer.java:704) at com.sap.tc.ur2.renderer.ie6.TreeRenderer.render(TreeRenderer.java:69) at com.sap.ip.bi.webapplications.ui.unifiedrendering.RenderManager.render(RenderManager.java:183) at com.sap.ip.bi.webapplications.ui.framework.base.impl.ExtendedRenderManager.render(ExtendedRenderManager.java:59) at com.sap.ip.bi.webapplications.ui.framework.base.impl.CompositeRenderer.process(CompositeRenderer.java:34) ... 146 moreCaused by: java.lang.NullPointerException

  • How to set a default value for a page item

    I am working with a facility table that has name and address information. The user can add contact name information on a separate page. Since the address for the facility and contact is usually the same, I want to add a default value for the contact address. The facility page is on 201 and the link to add a new contact row is on page 202. I showed in the default value :P201_street for the contact's address. But, when I run the page, the contact address field shows the :P201_street, not the actual facility address. What am I leaving out? Must be something obvious?!
    Thanks very much.
    Judy

    In the default value, I showed: v('P201_STREET1') with the default value type of: PL/SQL Expression and received the following oracle error ==> Item default is not a PL/SQL expression. Use &ITEM syntax. The v('ITEM') syntax is not valid for item defaults. So I changed it to: &P201_STREET1 and got another oracle error , ERR-9132 error in PLSQL expression for item default code, item=P202_STREET1.
    Any more suggestions? Thx.
    Judy

  • I need default values for APEX form fields. How do I do this?

    Hello,
    I am trying to set a default value in my form so that there will not get a null value. I have gone to the Column Defaults page and filled out the following fields in From Defaults:
    Default Value: 0
    Required: Yes
    Help Text: Please enter a number.
    When I add a record set or update a record and do not fill in the field, neither does it prompt me to fill it in or has a default value. It is blank.
    Can someone tell me what I am doing wrong?
    Thanks
    leh

    Hi leh,
    Defaults:
    Click on the page item, go to the Default section, enter your value into the Default value area.
    Validations:
    It's not quite as automatic as you are thinking.
    You'll need to add a Validation process for the item.
    First you go to the Page Processing section, then the Validations section, click the creation icon in the Validation section. You will first have the choice to create an item level or page level validation. Either will work. Next you will select the item you want to validate. Then, select Item Not Null. On one of the next pages you will be able to enter the error message. It's all pretty straightforward.
    Tony

  • Best way to configure redelivery limit value for a Queue

    Hello,
    My doubt is related to configuring the JMS Redelivery Limit property from Weblogic 9.2 Server.
    We must support redelivery attempts in our queue, with a redelivery delay of 30s. So, we have set the queue's Redelivery Limit property to -1, via Console Configuration:
    Settings for My_DQueue -> Delivery Failure -> Redelivery Limit = -1
    The consumer of that queue is a MDBBean, which extends org.springframework.ejb.support.AbstractJmsMessageDrivenBean.
    The producers to that queue are weblogic.jms.extensions.WLMessageProducer.
    That queue has an error queue configured as Error Destination.
    Then, the WLMessageProducer is the one who specifies that value:
    WLMessageProducer messageProducer = (WLMessageProducer)queueSession.createProducer(queue);
    messageProducer.setRedeliveryLimit(5);However, we will not be able to ensure that all message producers pointing that queue will specifiy that redelivery limit. This may lead us to problems, as default queue Redelivery Limit is set to -1, and messages without specified redelivery limit would be redelivered indefinitely.
    I'd like to know if there is any way to specify a MAXIMUM redelivery limit value for a JMS queue. For example: fixing that limit to 10. If producers specify by themselves a redelivery limit lower than such value, that limit is applied to messages. Otherwise, the configured default limit value is used.
    Another option we have considered is to include, in the MDB's onMessage() method, a validation of the "JMS_BEA_RedeliveryLimit" message property:
    This validation would check whether no redelivery limit is configured in the Producer, and would forward such messages directly to the error queue, from the MDB, when the "JMSXDeliveryCount" outnumbers our fixed value:
    public void onMessage(Message message) {
       try {
          if(message.getIntProperty("JMS_BEA_RedeliveryLimit")<0){
             //MESSAGE FOUND WITHOUT REDELIVERY LIMIT SPECIFIED BY PRODUCER.
             //POTENTIAL DANGER OF BEING REDELIVERED INDEFINETELY
             int deliveryCount = message.getIntProperty("JMSXDeliveryCount");
             if(deliveryCount>10){
                 //CAN I FORWARD MESSAGE TO ERROR DESTINATION?But we were not able to found such examples to achieve this
    Thanks in advance!
    Joan Esteve

    Hi Joan,
    I just double-checked, and as far as I can tell the options for setting a redelivery limit include programmatically on the Producer or by configuring an override on the Destination. Unfortunately, you need the override to only take effect if the delivery limit hasn't already been set. (If we had a default deliverylimit configurable on our connection factory, this would have done the trick.)
    I think you've already hit upon the solution: your consumers can check each received message's JMSXDeliveryCount and act accordingly. It's fine for a consumer to use the JMS_BEA_RedeliveryLimit property see if the Limit has been set by a producer, and then check JMSXDeliveryCount to check the delivery count, but I'm not sure if the JMS_BEA_RedeliveryLimit property is set in older versions (8.1 may not have it for example).
    As a refinement, you may want to use the WLMessageProducer forward() API. This is an alternative to send() that preserves the message-id and timestamp of a consumed message. I don't think forward() allows any modification of the consumed message before it's forwarded.
    Hope this helps,
    Tom
    Edited by: Tom B on Feb 22, 2013 10:03 AM

  • SRM 7 - defaulting values for multiple line items on shopping cart

    Hi,
    We are using SRM 7 - Employee self service - Punch out catalogues and describe requirements.
    Our scenario is this:
    - User is responsible for creating shopping carts for numerous cost centres/other users
    - Shopping cart will have multiple line items (but the cost centre/other user will be same for all line items)
    - Is it possible to define in a shopping cart that all line items will have a specific value?  E.g. all line items will be assigned to a specific cost centre?
    I know about assigning dedault values in PPOMA_BBP - but our situation is where user does not want to use this default value this time, but another value
    Any suggestions?
    Thanks

    Thanks Alex for quick reply
    To confirm, did you use the BBP_DOC_CHECK_BADI (in conjunction with the BBP_ITEM_CHECK_BADI) to look at different cost centres on the multiple lines on the shopping cart?
    Also - did you use the same BADI to give user opportunity to enter a default cost centre that is then automatically applied to all line items on the cart?
    Thanks
    Azam

  • What is the best way to capture the Form data Temporarly

    Hi,
    I have a form with lot of validations.
    Suppose user entered some of the fields and he decided to fill rest of the field later on.
    So he now want to save the record temporarly without applying any validation and next time when user logs in, the form should be populated with those invalid data and then he continues to fill up the rest of the fields, now once he SUBMIT the page..all the business validations should apply and record is commited.
    What is the best approach to acheive this??
    Have any one has the done this kind of requirement.
    Thanks,
    Deepak

    This is a little more complex as well because you'll need to save this data in a "temporary" table. Not temporary like global temporary, but just a staging table that has no constraints. In a real application, your table would not have NOT NULL constraints, but your user may not use them.
    Along with the previous post, you may need to follow this logic:
    1) If the save as draft button is clicked, you save to the table with no constraints.
    2) When someone tries to navigate to the form, you first check the "draft" table and if there is a record there, pull it. Otherwise pull from your production table.
    3) When the person clicks the commit/submit/etc button, save the data back to your "draft" table, copy the information over to the production table, and delete the temporary record.
    It's a lot of coordination honestly - my client asked for the same thing and when I explained the complexity involved for a form that only had 5 or 6 fields, they agreed. And when I say complex, I tell them it will cost them more money, yet provide little benefit. That usually solves it quickly.

  • Setting default value of Tabular form item is not working

    Hi,
    I have a tabular form and in that I want to set the default value of the username to app_user. So in the default value of the item, I wrote v('app_user') and type Pl/SQL, but that does not seem to work. I tried the static application & page item with :app_user. That threw an error.
    Also, I wanted to populate the date field in one column. Doesn't sysdate work?
    Thanks,
    Sun

    Bob, I did read that. MY problem is that it is still not working. I am wondering if this is because the table is in execute query mode maybe? I am wondering if the default value needs to be added after the tabular data is populated through some other way? Maybe the default value would work only for static non database items?
    ThanksYou're right, I just tested that using the default setup on the column in report attributes and it did not work.
    I think you'll have to update the columns with the default value post query but I'm not sure exactly what you need to do.
    I have a form that has a weight entry column. I tried changing the query to set the default value in the query
    from..
    Select Weight
    From...
    to
    Select 999.99 Weight
    From...That appeared to work, but the 999.99 value was not populated back to the Database since it wasn't entered through the form UI. APEX maintains the entered values internally so it can do its checksumm processing and update modified rows back to the DB. I'm thinking you could update what needs to be updated using Javascript in a Dynamic Action, but I'm afraid I don't know how to do that.
    Excuse my incorrect assumption when first replying.

  • ALV Grid default values for new rows added with Add/Insert buttons

    Hi!
    Help, please,  to find a way how to set default values for new rows added with Add/Insert buttons in
    ALV Grid.

    I have found salution:
    ALV Grid u2013 Insert row function
    Sometimes we need to assign some default values when we create a new row in a grid using standard ALV Append row button. In our scenario we will see how to assign default values to Airline Code (CARRID), Flight Connection Number (CONNID) and Flight date (FLDATE) when a new row is created. To do that we need to handle DATA_CHANGED event in the program like mentioned below.
    Definition of a class:
    Code:
          CLASS lcl_event_receiver DEFINITION
    CLASS LCL_EVENT_RECEIVER DEFINITION.
      PUBLIC SECTION.
    METHODS:
         handle_data_changed
         FOR EVENT data_changed OF cl_gui_alv_grid
         IMPORTING er_data_changed
                           e_ucomm.
    ENDCLASS.                    "lcl_event_receiver DEFINITION
    Implementation of a class:
    Code:
    CLASS LCL_EVENT_RECEIVER IMPLEMENTATION.
      METHOD HANDLE_DATA_CHANGED.
        DATA: dl_ins_row TYPE lvc_s_moce.   " Insert Row
          FIELD-SYMBOLS: <fs> TYPE table.    " Output table
    Loop at the inserted rows table and assign default values
        LOOP AT er_data_changed->mt_inserted_rows INTO dl_ins_row.
          ASSIGN er_data_changed->mp_mod_rows->* TO <fs>.
          loop at <fs> into ls_outtab.
            ls_outtab-carrid  = 'LH'.
            ls_outtab-connid  = '400'.
            ls_outtab-fldate  = sy-datum.
            MODIFY <fs> FROM ls_outtab INDEX sy-tabix.
          endloop.
        endloop.
      ENDMETHOD.                    "handle_data_changed
    ENDCLASS.                    "lcl_event_receiver IMPLEMENTATION
    Register the events to trigger DATA_CHANGED event when a new row is created.
    Code:
        CALL METHOD OBJ_GRID->REGISTER_EDIT_EVENT
          EXPORTING
            I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_ENTER.
        CALL METHOD OBJ_GRID->REGISTER_EDIT_EVENT
          EXPORTING
            I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_MODIFIED.

  • Best Way to Output to New Page for Printing

    On my website, I have a page called
    &quot;form.cfm&quot;. The output from the form gets
    processed, and results displayed onscreen, by
    &quot;formProcess.cfm&quot; What is the best way to take
    the form data displayed on formProcess.cfm and output it to a new
    page suitable for landscape printing? I want to have a link on
    formProcess.cfm that says something like &quot;Printer Friendly
    Version&quot;. When the user clicks that link, a new window
    opens with a printer-friendly page. The same form data displayed on
    formProcess.cfm is now displayed on the printer-friendly page. My
    biggest question is, how to get the form data to formProcess.cfm,
    and then to a third page without a bunch of fancy coding that's
    above my thick head?
    Code samples are deeply appreciated.
    Many thanks,
    Gwen H
    www.ResumesForLess.com

    New page named formPrint.cfm with just the following:
    <cfdocument format="pdf" orientation="landscape">
    <cfinclude template="formProcess.cfm">
    </cfdocument>
    have the print link on your formProcess.cfm page submit the
    original form data to the formPrint.cfm page.
    OR, you might just want to put the cfdocument tags in the
    formProcess.cfm page and just automatically provide a pdf page that
    can be printed rather than generating both the htm and pdf
    versions.

  • How to hide PNP selection windows and set default values for PNP.

    Hi expert,
         I am using HR logical database PNP, but I don't want to display selection windoes for running program on PNP, whereas I want to set default value for some selection items in the program. could you please tell me how to get those two targets?
    Many Thanks,

    Hi
    You have mentioned 2 things.
    1. Don't want selection windows for running program for PNP - this can be achieved using the HR Report category - You can get more details on HR Report Category on
    HR Report Category
    2.  I want to set default value for some selection items - This you need to achieve in initialization event of your program.
    How you can get this can be explained by INITIALIZATION (SAP Library - ABAP Programming (BC-ABA))
    Thanks,
    Sreeram

  • How can I get the default value of a particular preference programatically. I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.

    <blockquote>Locked by Moderator as a duplicate/re-post.
    Please continue the discussion in this thread: [tiki-view_forum_thread.php?comments_parentId=702631&forumId=1]
    Thanks - c</blockquote>
    == Issue
    ==
    I have a problem with my bookmarks, cookies, history or settings
    == Description
    ==
    How can I get the default value of a particular preference in FireFox?.
    I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.
    I see some that there are values for preferences in firefox.cs but I am not certain that these are being used as the default values for preferences. prefs.js in user's profile only has the updated values and not the default values.
    Any help towards acheiving this programtically is greatly appreciated.
    If the default values are stored in a file, kindly let me know the format in which it is stored for me to parse it programatically.
    == User Agent
    ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    Dear Friend,
    Here when you have the callableSattement as ?=proc(?), the first ? is an output parameter. So you should register it as out parameter using registeroutparameter.
    Then you can get the value from the outparameter using callablestatement.getXXX().
    Try that way.
    For free tral versions of JDBC Drivers go to www.Atinav.com

  • Defining default value for financial reports display in the workspace (9.3)

    Hi
    I need to change the default value for financial reports workspace preview mode, for every workspace user. It is actually set on html, and I would like to have pdf instead.
    This option can be changed when logged on the workspace, in file->preferences->financial reporting->default preview mode. However I want every user to start with the right settings, so they dont have to change anything manually.
    I have tried to do it with Shared Services : under projects, BI+, assign preferences. From there I can change the default folder and the start page (the general preferences), however I cannot find the options for financial reporting.
    Is there a way to change these values with hyperion tools ?
    If not, is it possible to change it directly in the repository DB ?Thanks and best regards

    We looked at this about 2 years ago - from memory, you can only set preferences when the users are first setup in Shared Services, under the manage preferences section of the wizard.
    I can't remember if there is a settings file you can edit for the default users - i think there is, but again this must be set before users are set up.
    We looked at changing users preferences, but gave up on the idea as all users had been provisioned already :-(
    Cheers, Iain

Maybe you are looking for

  • Photos converted to pdf files by Adobe 9.0??

    I am a rookie user. I recently downloaded Adobe 9.0 per a prompt on my PC. I went in today to look at some photos that I have had on this PC for about a year - save in standard 'folder-file-jpeg' format. Somehow, and I did not do this since I would n

  • Error~ PR G/l Account & cost center is not appearing in PO while copying

    Dear All, I am converting PR into PO, while creating PR I  have assigned account assignment cat as "K"(cost center ), so i assigned Cost center and G/L account , After this I tried to convert this into PO, but in PO again it is asking for G/L account

  • Attachment list to PM orders

    Hi, Can user view all the attachemens attached to all the orders of his own? I mean attachement list for multiple orders without going inside an order. your help will be highly appreciated. Regards, Kedar

  • How do I get a credit back for downloading an app that I thought was free and wasn't?

    How do I get my account credited for an app download that I thought was free for my 5 year old and ended up costing $10?

  • GeForce 8800 with GeForce 7300

    I'm looking for some advice... I am planning on purchasing a 30in LCD (Samsung 305T) and I'm wondering if I should upgrade my current GPU (GeForce 7300) to the GeForce 8800. Or if the 7300 is capable of driving the 30in monitor. My next question is w