Component flickers to default value
My custom components have MCs with 20 frames. I set the
components individual MCs frame postion via the components property
panel value.
Unfortunately upon entering a new frame with my component,
the default value shows initially, then after a half second it goes
to the proper postion.
So far I left the default or initial frame empty, to reduce
the flickering effect. But this is a poor solution.
Does anyone know anything about this buggy v2 component
issue?
please help, its really annoying.
http://digital.ni.com/public.nsf/allkb/08E7DDAE66A7D02C86256DDA00630E75
Similar Messages
-
Setting default value read from user session, for an LOV in Query component
I want to set the default value of a field in VO that participates in a named view criteria and thereby in Query component. That field is configured with an LOV by mean of a view accessor. The values are Y and N and the corresponding display strings obtained from view accessor are true and false respectively.
I am able to set the default value by setting the value of the criteria item corresponding to that field in view criteria. I am setting the value as either Y or N and I am able to corresponding display string as per the view accessor, on the query component when it is rendered.
I want to read the defauilt value from the ADF BC user session and set it as default value. I tried setting the values as "adf.userSession.userData.usageFlag". Iam ensuring that the attribute usageFlag is set before the view activity that has the query component is invoked. But this is ending up showing no default value in the Query component when rendered.
Can any one let me know how to go about with this?I made up your table since you didn't provide some example, but I'm sure this will give you the picture:
SQL> var run_type varchar2(1)
SQL> exec :run_type := 'A'
PL/SQL procedure successfully completed.
SQL> create table my_cycles as select level cycle_id
2 , level cycle_status
3 from dual connect by level <= 5;
Table created.
SQL> select cycle_id
2 from my_cycles
3 where case
4 when :run_type = 'D' and cycle_status = 1 then 1
5 when :run_type != 'D' and cycle_status in ( 2, 3 ) then 1
6 end = 1;
CYCLE_ID
2
3
2 rows selected.
SQL> exec :run_type := 'D';
PL/SQL procedure successfully completed.
SQL> /
CYCLE_ID
1
1 row selected.
SQL> -
Change default value "Number of Search Results" - Component PPM_DYNSEARCH
Hi Gurus,
I am new to SAP CRM WebUI development and hope you can help me on following problem.
In Pipeline & Performance Management we want to change the default value for the search results from 100 to 1000.
SAP CRM 7.0
Component: PPM_DYNSEARCH
View: PPM_DYNSEARCH/Filter
I have already tried to solve this via following solution:
1) Assign parameter SEARCH_MAX_HITS to a parameter profile in the following IMG and set his value to 1000:
CRM >> UI Framework >> Technical role definition >> Define parameters.
2) Then, assign your parameter profile to your business role:
CRM >> UI Framework >> Business role >> Define business role.
However this works for all initial search screens but not for Pipeline and Performance Management.
Can anyone give me a short hint how I can set the max number of search results from 100 to 1000 in the PPM Screen.
Many Thanks
MichaelHi Michael,
Seems like this is a normal edit page, not a search page.
Keep a break point at this code in the HTML page.
<thtmlb:inputField id = "maxHitsInput"
width = "80%"
value = "<%= lv_display_max_hits %>"
maxlength = "8"
design = "DEFAULT"
type = "INTEGER" />\
Change lv_display_max_hits in debugging and see if that brings in the value on the UI.
Normally for a search page there will be a THTMLB attribute maxHits where we pass the value. But in your case it is a normal view.
Regards,
Masood Imrani S. -
Dynamic selectOneChoice component default value problem
Hi again,
I'm facing a big problem. I have created a selectOneChoice which is binded to a dynamic list:
<af:selectOneChoice value="#{bindings.managerId.inputValue}"
label="Manager" valign="middle"
binding="#{backing_searchDocuments.managersList}"
valuePassThru="true" immediate="false"
rendered="#{bindings.ListManagersIterator.estimatedRowCount > 1}">
<f:selectItems value="#{bindings.managerId.items}"/>
</af:selectOneChoice>
Binding is used to set the default value of the component:
public void setManagersList(CoreSelectOneChoice managersList) {
this.managersList = managersList;
BindingContainer bc = this.getBindings();
DCIteratorBinding dcIterBinding =
(DCIteratorBinding)bc.get("ListManagersIterator");
Row[] rwarray = dcIterBinding.getAllRowsInRange();
FacesContext ctx = FacesContext.getCurrentInstance();
Application app = ctx.getApplication();
ValueBinding bind = app.createValueBinding("#{backing_userBean.userName}");
Object o = bind.getValue(ctx);
if (rwarray != null) {
for (int i = 0; i < rwarray.length; i++) {
if (((String)rwarray.getAttribute("Manager")).equalsIgnoreCase((String)o)) {
this.managersList.setValue(i);
break;
Everything works fine until I press the link which redirects me to the same page where I am and then default value isn't shown.
Where could be the problem?I've created a testcase replicating the same problem. The results showed that when using for example commandLink component redirecting to the same page default selected value is shown properly but if using commanMenuitem redirecting to the same page default value dissapears..
Where could be the problem? -
Default values for iBase and component in CRMD_ORDER
Dear developers,
is there a possibility to set the input fields for iBase and component in the transaction CRMD_ORDER on a userspecified default value? The Parameter-ID's IBC and IIB that are saved with the SAP-User doesn't work
Is the a known solution?
Thanks in advance,
Jens SperkHi Dirk,
look for Define Access Sequence & Define Partner Determination Procedure in SPRO and read the IMG Activity Documentation. You can find it in the Service Desk config, but it works for the other transaction types too.
Basically, you create Access Sequences where you tell the Partner Determination Procedure where to look for the values for the Partner Function fields.
The Access Sequence can use lots of sources for the information, including your org structure.
regards,
Jason -
ADF 11g - Query Component - How to set default values for search criteria
I have defined a VO with named query (with 2 search criteria). I created a page and drop a query with table. It works just fine until this point. My requirement is to set a default values for the two search criteria. For example, I have release and category criteria where they are set to use a drop down. I would like to default the values for the drop down when the page is shown up the first time and query the result right away. Is there a way declaratively or I have to create a custom query?
Thanks.I figured this out. Thanks.
-
How to Change a Default Value from Drop Down Box displayed in Web Dynpro?
Hi,
How to Change a Default Value from 'High' to 'Low' in a Drop Down Box for RANGE field displayed in Standard Web Dynpro Component. I saw a Default Value set for a RANGE field in View Context When I select that field and click on Display. I am seeing Default Value set it to 'HI'. Please let me know how to change from HIgh to Low.
I appreciate your help!
Thanks,
Monicahi,
use the set_attribute( ) method now to set the attribute with a particular key eg HIGH in ur case
// u can use the code wizard( control +f7) this code will be auto generated when u select the
//radio button to read the context node
DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
DATA ls_cn_node TYPE wd_this->element_cn_node.
* navigate from <CONTEXT> to <CN_NODE> via lead selection
lo_nd_cn_node = wd_context->get_child_node( name = wd_this->wdctx_cn_node ).
* get element via lead selection
lo_el_cn_node = lo_nd_cn_node->get_element( ).
* set single attribute
lo_el_cn_node->set_attribute(
name = `ATTribute name.`
value = 'LOW' ).
it will solve ur query ..
also refer to this component
wdr_test_events -> view dropdownbyidx and dropdownbykey ->method name onactionselect.
regards,
amit -
Hi All,
I am new to Siebel and installed Siebel 8.1.1.11 on RHEL 5.5 (64 bit). Everything is fine Siebel server and gateway server are up and running but i am unable to open login page.
Login Error : The server you are trying to access is either busy or experiencing difficulties. Please close the Web browser, open a new browser window, and try logging in again.[15:36:09]
Siebel Server log file error :
GenericLog
GenericError
1
00006c5c52eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c6352eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c6452eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c6552eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c6652eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c7152eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c8052eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c8152eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c9052eb6e6f:0
2014-01-31 13:06:04
(sccnmsys.cpp (1306) err=2883609 sys=0) SBL-SCC-00025: No value found in the Gateway. Default value in the repository is used.
GenericLog
GenericError
1
00006c9152eb6e6f:0
2014-01-31 13:06:04
(sccitems.cpp (310) err=2555932 sys=0) SBL-SCM-00028: Key not found
GenericLog
GenericError
1
00006c9152eb6e6f:0
2014-01-31 13:06:04
(sccconfg.cpp (2149) err=2555932 sys=0) SBL-SCM-00028: Key not found
I can connect to Siebel Server manager using command as : srvrmgr /g 192.168.0.163 /e Sieb81 /u SADMIN /p SADMIN
ODBC connectivity is also ok and i can connect as : ./odbcsql /source Sieb81_DSN /u SADMIN /p SADMIN
While installing Siebel i had left one step i .e.. creation of siebenv.sh using CreateSiebSrvrEnvScript because i got error when executed this script as :
Execution command : ./CreateSiebSrvrEnvScript /u01/siebel/ses/siebsrvr 192.168.0.163:2320 ENU Oracle
Error : cp: cannot copy a directory, '/u01/siebel/ses/siebsrvr/locale/' , into itself , '/u01/siebel/ses/siebersrvr/locale/C/locale'
Please suggest me what to do because if i want to configure again the same issue with CreateSiebSrvrEnvScript.
Message was edited by: Prabhakar2991Hi Prameela,
You can see all application objects are online and running. One more thing I have also checked ODBC is also working fine. I mean , user SADMIN can connect using ODBC.
=====================================================================================================================================
[oracle@siebel163 siebsrvr]$ srvrmgr /g 192.168.0.163 /e Sieb81 /u SADMIN /p SADMIN
Siebel Enterprise Applications Siebel Server Manager, Version 8.1.1.11 [23030] LANG_INDEPENDENT
Copyright (c) 1994-2012, Oracle. All rights reserved.
The Programs (which include both the software and documentation) contain
proprietary information; they are provided under a license agreement containing
restrictions on use and disclosure and are also protected by copyright, patent,
and other intellectual and industrial property laws. Reverse engineering,
disassembly, or decompilation of the Programs, except to the extent required to
obtain interoperability with other independently created software or as specified
by law, is prohibited.
Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of
Oracle Corporation and/or its affiliates. Other names may be trademarks
of their respective owners.
If you have received this software in error, please notify Oracle Corporation
immediately at 1.800.ORACLE1.
Type "help" for list of commands, "help <topic>" for detailed help
Connected to 1 server(s) out of a total of 1 server(s) in the enterprise
srvrmgr> list components
SV_NAME CC_ALIAS CC_NAME CT_ALIAS CG_AL IAS CC_RUNMODE CP_DISP_RUN_STATE CP_STARTMODE CP_NUM_RUN_TASKS CP_MAX_TASKS CP_ACTV_MTS_PROCS CP_MAX _MTS_PROCS CP_START_TIME CP_END_TIME CC_INCARN_NO CC_DESC_TEXT
siebelsrvr BusIntBatchMgr Business Integration Batch Manager BusSvcMgr EAI Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr BusIntMgr Business Integration Manager BusSvcMgr EAI Batch Not Online Auto 0 20 0 1 2014-01-29 02:48:30
siebelsrvr SCCObjMgr_enu Call Center Object Manager (ENU) AppObjMgr CallC enter Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr CustomAppObjMgr_enu Custom Application Object Manager (ENU) CustomAppObjMgr EAI Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr DQMgr Data Quality Manager Dqmgr DataQ ual Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr EAIObjMgr_enu EAI Object Manager (ENU) EAIObjMgr EAI Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr InfraEAIOutbound EAI Outbound Server BusSvcMgr EAI Batch Not Online Auto 0 20 0 1 2014-01-29 02:48:30
siebelsrvr EIM Enterprise Integration Mgr EIM EAI Batch Online Auto 0 5 2014-01-29 02:48:30
siebelsrvr FSMSrvr File System Manager FSMSrvr Syste mAux Batch Online Auto 0 20 1 1 2014-01-29 02:48:25
siebelsrvr GenTrig Generate Triggers GenTrig Workf low Batch Online Auto 0 1 2014-01-29 02:48:30
siebelsrvr JMSReceiver JMS Receiver EAIJMSRcvr EAI Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr MqSeriesAMIRcvr MQSeries AMI Receiver EAIRcvr EAI Background Online Auto 0 20 2014-01-29 02:48:30
siebelsrvr MqSeriesSrvRcvr MQSeries Server Receiver EAIRcvr EAI Background Online Auto 0 20 2014-01-29 02:48:30
siebelsrvr MSMQRcvr MSMQ Receiver EAIRcvr EAI Background Online Auto 0 20 2014-01-29 02:48:30
siebelsrvr SMQReceiver SMQ Receiver EAIRcvr EAI Background Online Auto 0 20 2014-01-29 02:48:30
siebelsrvr SServiceObjMgr_enu Self Service Object Manager (ENU) AppObjMgr CallC enter Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr ServerMgr Server Manager ServerMgr Syste m Interactive Running Auto 2 20 2014-01-29 02:48:20
siebelsrvr SRBroker Server Request Broker ReqBroker Syste m Interactive Running Auto 25 100 1 1 2014-01-29 02:48:20
siebelsrvr SRProc Server Request Processor SRProc Syste mAux Interactive Running Auto 2 20 1 1 2014-01-29 02:48:25
siebelsrvr SvrTblCleanup Server Tables Cleanup BusSvcMgr Syste mAux Background Running Auto 1 1 2014-01-29 02:48:25
siebelsrvr SvrTaskPersist Server Task Persistance BusSvcMgr Syste mAux Background Running Auto 1 1 2014-01-29 02:48:25
siebelsrvr AdminNotify Siebel Administrator Notification Component AdminNotify Syste mAux Batch Online Auto 0 10 1 1 2014-01-29 02:48:25
siebelsrvr SCBroker Siebel Connection Broker SCBroker Syste m Background Running Auto 1 1 2014-01-29 02:48:20
siebelsrvr WorkActn Workflow Action Agent WorkActn Workf low Background Online Auto 0 5 2014-01-29 02:48:30
siebelsrvr WorkMon Workflow Monitor Agent WorkMon Workf low Background Online Auto 0 5 2014-01-29 02:48:30
siebelsrvr WfProcBatchMgr Workflow Process Batch Manager BusSvcMgr Workf low Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr WfProcMgr Workflow Process Manager BusSvcMgr Workf low Batch Not Online Auto 0 20 0 1 2014-01-29 02:48:30
siebelsrvr WfRecvMgr Workflow Recovery Manager BusSvcMgr Workf low Batch Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eChannelCMEObjMgr_enu eChannel Power Communications Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eCommunicationsObjMgr_enu eCommunications Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eCommWirelessObjMgr_enu eCommunications for Wireless Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eCustomerCMEObjMgr_enu eCustomer Power Communications Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eEnergyObjMgr_enu eEnergy Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eMediaObjMgr_enu eMedia Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eEnergyOGCObjMgr_enu eOil Gas & Chemicals Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eSalesCMEObjMgr_enu eSales Power Communications Object Manager (ENU) AppObjMgr Commu nications Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
siebelsrvr eServiceObjMgr_enu eService Object Manager (ENU) AppObjMgr CallC enter Interactive Online Auto 0 20 1 1 2014-01-29 02:48:30
37 rows returned.
srvrmgr>
=======================================================================================================================================
Please suggest me what to do.
Thanks
Prabhakar -
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,
Mickaelerror 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 assign the default value to search parameter
Hi Experts,
I am using search view , In this I have 5 parameter lets say Transaction Type, Partner No. etc... Now I want to assign a default value to transaction type ( lets say TA) . User should be able to see this default value in the transaction type field before pressing search button.
How can I do it?
My second problem is: I have configured this search view using configuration tool but I want to assign only one value to transaction type (i.e. user should not be able to add new row in the search criteria for the transaction type by using + sign) but in rest 4 fields he can add new row and search based on that.
Note: I am using only "Is" criteria .
Any pointer will be helpful for me
Thanks and regards,
SandeepHi Sandeep,
For the default search values, here is a solution. You have to redefine the method GET_VALUE1 of the context node
For example if it is the BP search (component BP_HEAD_SEARCH) context node is your enhanced class: ZL_BP_HEAD__MAINSEARCH_CN00
METHOD get_value1.
CALL METHOD super->get_value1
EXPORTING
attribute_path = attribute_path
iterator = iterator
RECEIVING
value = value.
TRY.
* Delegate operation to selection parameter
DATA: current TYPE REF TO if_bol_bo_property_access.
IF iterator IS BOUND.
current = iterator->get_current( ).
ELSE.
current = me->parameter_collection->get_current( ).
ENDIF.
IF current->get_property_as_string( iv_attr_name = 'ATTR_NAME' ) EQ 'XXX'.
IF value IS INITIAL.
value = 'Your default value'.
ENDIF.
ENDIF.
CATCH cx_root.
ENDTRY.
ENDMETHOD.
where XXX is the name of the field.
Default value will then appear in your search field, but you are still able to modify it if you want...
Regards,
Fabian -
Passing a default value to the master block and do the auto query
Hi
My problem is i have a MD FORM to which i have to pass a default value and do an auto query so that when i run the form the form should open with this default value and do the query and get the details.
I tried many things like trying to set the value of the column using p_session.set_value and then calling the same form using wwa_app_module_link by using the value in the condition but every time unless i press the query button i did not get the values.
Now i don't know what to do.
My portal version is 3.0.7.6.2
Some body please help me
thanks
SreedharI don't think this works for 3 parameters, but I know it will work for 1. Maybe you can do something with it.
1. Create a link to the destination component (YourProvider.YourLink)
2. Use the code below to use that link to pass the value of a form field to the destination component. 'FieldName' is the field on the destination component you want to query, and '_FieldName_cond' is the condition. This creates the destination URL.
3. wwa_app_module.set_target(l_url) will send you to the URL you generated.
l_url := PORTAL.wwv_user_utilities.get_url('YourProvider.YourLink', 'FieldName', v_YourParameterValue, '_FieldName_cond', '=');
portal.wwa_app_module.set_target(l_url);
I'm not the best at this, but this works for me in most cases. -
Default value for attribute "COUNTRY" in BP_HEAD_SEARCH/MainSearch
Hi Gurus,
Requirement is to set default value for attribute "COUNTRY" in BP_HEAD_SEARCH/MainSearch when user clicks on Corporate Account.
Below is code that i have written in DO_PREPARE_OUTPUT.
Code is working fine and in the debug also i can see the value of COUNTRY is set to DE, but it is not showing on the screen for first time but when i load component second time(Refresh the screen), it shows me value.
Any help would be appreciated. If somebody has otheralternative kindly share.
CALL METHOD super->do_prepare_output( iv_first_time = iv_first_time ).
Calling Super Method
CALL METHOD super->do_prepare_output
EXPORTING
iv_first_time = abap_true.
Data Declatation
DATA :lr_col TYPE REF TO if_bol_bo_col,
lr_current TYPE REF TO if_bol_bo_property_access,
lr_param TYPE REF TO if_bol_bo_property_access,
lr_qs TYPE REF TO cl_crm_bol_dquery_service,
lv_attr_name TYPE name_komp,
lv_sign TYPE bapisign,
lv_option TYPE bapioption,
w_country_exist TYPE c,
w_param TYPE string,
w_value TYPE string,
w_flag TYPE c.
Getting SEARCH Context Node
lr_qs ?= me->typed_context->search->collection_wrapper->get_current( ).
Get Selection Parameters
lr_col ?= lr_qs->get_selection_params( ).
Start from first parmaters
lr_current = lr_col->get_first( ).
Clearing Variables
CLEAR : w_country_exist, w_flag, w_param, w_value.
Loop till we have selection paramters
WHILE lr_current IS BOUND. " While loop 1
checking attribute name is COUNTRY then setting some variable
w_param = lr_current->get_property_as_string( 'ATTR_NAME' ).
CASE w_param.
WHEN 'COUNTRY'.
If country is filled then setting variable
w_value = lr_current->get_property_as_string( 'LOW' ).
IF w_value IS NOT INITIAL.
w_country_exist = abap_true.
ENDIF.
When we got COUNTRY attribute then setting flag
w_flag = abap_true.
ENDCASE.
Calling next parameter
lr_current = lr_col->get_next( ).
ENDWHILE. " While loop 1
In below block we are checking is COUNTRY attribute is blank and
we have found COUNTRY attribute in current selection paramters
IF lr_qs IS BOUND. " SEACRCH CONTEXT BOUND
If vairable is blank means DE or any other value is not filled in COUNTRY Attribute
IF w_country_exist IS INITIAL. " w_contry_exist
We have to add selection attribute if we come accross COUNTRY attribute during our search
IF w_flag EQ abap_true. " w_flag
Adding COUNTRY attribute with default value 'DE'
lr_qs->add_selection_param( EXPORTING iv_attr_name = 'COUNTRY'
iv_sign = 'I'
iv_option = 'EQ'
iv_low = 'DE' ).
ENDIF. " w_flag
ENDIF. " w_contry_exist
ENDIF. " SEACRCH CONTEXT BOUND
In below block we will remove COUNTRY attribute when it has blank value
IF lr_qs IS BOUND AND w_country_exist IS INITIAL.
lr_current = lr_col->get_first( ).
WHILE lr_current IS BOUND.
w_param = lr_current->get_property_as_string( 'ATTR_NAME' ).
CASE w_param.
WHEN 'COUNTRY'.
w_value = lr_current->get_property_as_string( 'LOW' ).
IF w_value IS INITIAL.
lr_col->remove( iv_bo = lr_current ).
ENDIF.
ENDCASE.
lr_current = lr_col->get_next( ).
ENDWHILE.
ENDIF.
Edited by: Harsharandeep Singh on Apr 28, 2011 3:44 PMHi,
Try it like this:
DATA:
lr_bo TYPE REF TO if_bol_bo_property_access ,
lv_attr_name TYPE name_komp.
FIELD-SYMBOLS:
<ls_param> TYPE crms_thtmlb_search_criterion.
READ TABLE parameters
ASSIGNING <ls_param>
WITH KEY field = 'COUNTRY'.
IF ( sy-subrc = 0 ).
<ls_param>-value1 = ip_pfct.
ENDIF.
CHECK ( me->parameter_collection IS NOT INITIAL ).
lr_bo = me->parameter_collection->get_first( ).
WHILE lr_bo IS BOUND.
CALL METHOD lr_bo->get_property_as_value
EXPORTING
iv_attr_name = 'ATTR_NAME'
IMPORTING
ev_result = lv_attr_name.
IF lv_attr_name EQ 'COUNTRY' .
CALL METHOD lr_bo->set_property
EXPORTING
iv_attr_name = 'LOW'
iv_value = 'DE'.
EXIT.
ELSE.
lr_bo = me->parameter_collection->get_next( ) .
ENDIF.
ENDWHILE .
Kind regards,
Micha -
SAP CRM Search Help - defaulting values in search help screen
Hi All,
I am working on search help object in service order(Amount allocation ) BTAMNTALL component view name vIEW:BTAMNTALL/HdrBillplanDet and field name STRUCT.AC_ASSIGNMENT. in that block if we select account assignment type as ERP cost center it will give standard search help in Select account assignment field.
Its basically calling the standard search help CRMT_AC_ASSIGN_KOSTL_E. After pressing F4 it will display the popup Controlling area cost center and description. Basically I need to default the Controlling area in F4 help based on some logic.I am not sure where to write code for this one.
Please find the attachment where I need to default the value. any help is appreciated.
Thanks,
Sapsar.At least can you read the document I provided carefully? the point 2.3.1.2 give you the answer.
Anyway if the document doesn't specify "defining a default value" but give you some ideas/hints, you only need to use a little your imagination. Like:
1- Use a custom search help with a constant (static)
2- Use a custom search help with a search exit to determine the data that you need from the sales org of course you need to add the orgunit as an input parameter for the search help and supress the input parameter which will be determined in the search help exit (dynamic)
3- Create a value node for the context (hidden) and put the info you need once you select the sales org in the hidden attribute/s, this hidden attributes should be mapped in the get_v method (dynamic, not sure if this will work, I never tried, but will be nice if you try and give us some feedback) -
Providing Default values to Select-Options in WD ABAP
Dear Experts,
Using reusable component WDR_SELECT_OPTIONS im able to create select-options successfully ... I need your guidance to provide default values(type date) on the same select-options.
Thanks a lot.
Regards
Siva Mandapudi.I do not see the relevance of this thread to FPM. Please follow this thread for your solution.
[Default the value in Parameter in wdr_select_options|Default the value in Parameter in wdr_select_options] -
Default Values for Select-options In Webdynpro-ABAP
Hi Freinds,
Kindly,Help me in setting the Default values for the Select-options in Webdynpro ABAP.
Here the Node and the Attributes are Created Dynamically, and then Displayed Select-options Component View.
Regards,
Xavier.PXavier Reddy Penta sent me this question via email and I answered it directly yesterday. Here is the solution that I provided to him, so that it is stored with the original question:
I believe your problem is that you are not setting the value into the range correctly. You are setting it directly into the field symbol of the range like such:
<FS> = L_STRING2.
But ranges are deep objects. They have four fields: Sign, Option, High, and Low. This is from the online help:
1. sign of type c and length 1. The content of sign determines for every row whether the result of the condition formulated in the column is included or excluded in the entire resulting set for all rows. Evaluable values are "I" for include and "E" for exclude.
2. option of type c and length 2. option contains the selection option for the condition of the row in form of logical operators. Analyzable operators are "EQ", "NE", "GE", "GT", "LE", "LT", "CP" and "NP" if column high is initial, and "BT", "NB" if column high is not initial. With the options "CP" and "NP", the data type of the columns low and high must be of the data type c, and special rules apply for entries on the selection screen.
3. low of the data type defined after FOR. This column is designated for the comparison value or the lower interval limitation.
4. high of the data type defined after FOR. This column is designated for the upper interval limitation.
So when you are moving the value into the field symbol you are setting it into the sign column.
Here is an example of how you can access the components of the range:
* create a range table that consists of this new data element
lt_range_table =
wd_this->lv_sel_handler->create_range_table(
i_typename = l_typename ).
IF l_fieldname = 'CARRID'.
FIELD-SYMBOLS: <tab> TYPE INDEX TABLE,
<struct> TYPE ANY,
<wa> TYPE ANY,
<option> TYPE char2,
<sign> TYPE char1,
<high> TYPE ANY,
<low> TYPE ANY,
<wa_values> TYPE ANY.
ASSIGN lt_range_table->* TO <tab>.
APPEND INITIAL LINE TO <tab> ASSIGNING <wa>.
ASSIGN COMPONENT 'OPTION' OF STRUCTURE <wa> TO <option>.
ASSIGN COMPONENT 'HIGH' OF STRUCTURE <wa> TO <high>.
ASSIGN COMPONENT 'LOW' OF STRUCTURE <wa> TO <low>.
ASSIGN COMPONENT 'SIGN' OF STRUCTURE <wa> TO <sign>.
<sign> = 'I'.
<option> = 'EQ'.
<low> = 'AA'.
ENDIF.
Maybe you are looking for
-
How can i use n900 front cam as a webcam in skype....
hey there. i was wondering, if i can use the front cam of my device as a webcam in skype from inside the fone, can i use it for video calling from pc by connecting n900 to pc via mass storage or pc suite mode??
-
Lost my Blackberry and want to access data in Blackberry Desktop Manager
I lost my Blackberry. I have data backed up in Blackberry Desktop Manager but not in Outlook, Google Mail or any other application. Can I get the data out of Desktop Manager and into one of these other applications without having my old (or a new) Bl
-
Can I delete a later backup and keep the latest one as to not eat up all my space?
Can I delete a later backup and keep the latest one as to not eat up all my space?
-
Can PDF Fillable Questionnaire be expanded base on answers to questions on form?
Our users have a fillable Word form that links to other Fillable Word forms. They want to have the form display or remove questions based on answers given to previous questions. Please let me know if this can be done in Adobe Acrobat Professional 8,
-
Does anyone know how to update apple ID in Icloud on Iphone 4 OK for Itunes etc but wwill not update Icloud