Problem with resource list filter in SP15
Hi Gurus,
I modified a standard SAP provided layoutset to provide a filtering service exactly like explained in this blog:
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2102
It's working properly in EP6.0 SP09, but unfortunately it doesn't work in SP15 (with the same KM configuration).
The problem seems this:
after click on "Filter" button, the runtime environment correctly calls "onSetFilters" event handler, but at the end of this method, the execution flow doesn't invoke "filterResourceList" method in the "SimpleResourceFilter" class.
Have you any ideas for this behavior?
Please, i need urgent help.
Thanks in advantage.
Regards,
Alfio Nucifora.
Yes, i solved my problem.
I changed the resourcetype property of "MemoryOptimizedHierarchicalStatus" Renderer Status (System Administration/System Configuration/
Knowledge Management/User Interface/Mapping/
Renderer Status) from MemoryOptimizedHierarchicalStatus to
none.
Regards,
Alfio Nucifora.
Similar Messages
-
Implementing resource list filter
hi,
i'm implementing a resource list filter. i added the filter as a jar file in the lib directory of my portal application, and created a portal service which registers the classloader to CRT. In the log file i can see that the registering is done succesfully. But when i create the filter in the portal i get ClassNotFoundException.
Do i need to implement a manager too??? or is this probably just a naming problem?
thx,
KristofHi Detlev,
yeah well, i was right about the naming problem, so i got the filter running now.
But another problem occured. I need to extend the DCTMResourceListFilter, so i inherited this class. The only thing i did was calling super methods in constructor and FilterResourceList, and then i got this exception. Kinda strange because there is a filter configured using this DCTM class. Any idea's??? thx
Exception ID:10:19_13/10/06_0001_4133550
[EXCEPTION]
com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
Component : pcd:portal_content/every_user/general/eu_role/com.sap.km.home_ws/com.sap.km.hidden/com.sap.km.urlaccess/com.sap.km.basicsearch
Component class : com.sapportals.wcm.portal.component.base.ControllerComponent
User : E122830
at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
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:646)
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:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
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.sapportals.wdf.WdfError
at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:678)
at com.sapportals.htmlb.AbstractCompositeComponent.render(AbstractCompositeComponent.java:41)
at com.sapportals.htmlb.rendering.RenderUtil.renderContentObject(RenderUtil.java:103)
at com.sapportals.htmlb.rendering.RenderUtil.renderContainerContent(RenderUtil.java:34)
at com.sapportals.htmlb.rendering.DefaultFlowLayoutRenderer.render(DefaultFlowLayoutRenderer.java:29)
at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:980)
at com.sapportals.htmlb.Component.render(Component.java:150)
at com.sapportals.htmlb.rendering.RenderUtil.renderContentObject(RenderUtil.java:103)
at com.sapportals.htmlb.rendering.RenderUtil.renderContainerContent(RenderUtil.java:34)
at com.sapportals.htmlb.rendering.DefaultFormRenderer.render(DefaultFormRenderer.java:39)
at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:980)
at com.sapportals.htmlb.Component.render(Component.java:150)
at com.sapportals.htmlb.rendering.RenderUtil.renderContentObject(RenderUtil.java:103)
at com.sapportals.htmlb.rendering.RenderUtil.renderContainerContent(RenderUtil.java:34)
at com.sapportals.htmlb.rendering.DefaultDocumentRenderer.render(DefaultDocumentRenderer.java:69)
at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:980)
at com.sapportals.htmlb.Component.render(Component.java:150)
at com.sapportals.htmlb.rendering.RenderUtil.renderContentObject(RenderUtil.java:103)
at com.sapportals.htmlb.rendering.RenderUtil.renderContainerContent(RenderUtil.java:34)
at com.sapportals.htmlb.unifiedrendering.ie5.GridLayoutRenderer.renderGridLayoutCellFragment(GridLayoutRenderer.java:686)
at com.sapportals.htmlb.unifiedrendering.ie5.GridLayoutRenderer.renderGridLayoutRowFragment(GridLayoutRenderer.java:355)
at com.sapportals.htmlb.unifiedrendering.ie5.GridLayoutRenderer.renderGridLayoutFragment(GridLayoutRenderer.java:286)
at com.sapportals.htmlb.unifiedrendering.ie5.GridLayoutRenderer.render(GridLayoutRenderer.java:39)
at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:980)
at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:127)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:73)
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)
... 29 more -
Calling a custom resource list filter within another resource list filter
Hi,
We integrated an external repository (Documentum) in KM using a connector provided by them. And we would like to filter the search results given by Trex on a property of those documents.
We thought about implementing a Resource List Filter for the StandardSearchResultRenderer (Search Result Renderer Settings) but it already uses a custom filter A provided by Documentum.
Is it possible to create a new Resource List Filter B that would uses the custom filter A + perform a filter on a property?
Thanks in advance,
EricHi Eric,
Do you know if TREX indexes the properties of the documentum repository? (Sorry to ask this, but I have no access to a documentum repository here) Are the properties part of the index? Easiest way to find out is to go to Display Index Details in TREX monitor, the indexed properties are listed there.
If the properties are indexed you can probably proceed as described in the attached How To Guide from 3.2 onwards. The guide describes in the first part how to configure TREX so that it indexes DC properties from office attributes checked in into KMC- not interesting to you.
The second part (from 3.2) describes how these properties are made searchable, although they are not KM properties and not maintainable in KMC. This might meet your problem. The idea is to create a property in KMC using the property name that it has in TREX index.
Please have a look and let me know if it is a solution for you,
cheers,
Bettina
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f2b51c01-0c01-0010-ddba-88b44076317f
Message was edited by: Bettina Knauss -
Resource List Filter versus Portal Drive
Hi all,
i have created own resource list filter and i found out that the class receives wrong input data. The input list of resources doesn't contain resources created via Portal Drive. Has somebody same problem? Thanks in advance for whichever advice!
Regards
ZbynekHi Zbynek,
That sounds a bit strange. The resources are listed within the portal anyhow, but they are not passed to the filter implementation? I've never experienced that and I also have difficulties to imagine such a scenario.
Anyhow, if it is true, you definitely should open an OSS message about it. But first, double-check your situation!
Hope it helps
Detlev -
More then one resource list filter in render
Hello KM Experts,
Is it possible to add more then one resource list filter in collection list render.
I've tried to add two different collection list renders with different filters to layout. But it seems that works only one of the filters.
Any suggestion?Hi,
Wt way you created filter (Coding or through portal). In portal means
Goto System Admin>System Config>KM>Content management>Global Service>Resource List Filter>Resource List Filter-->Check ur filter settings.
Refer this link
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/31fa0d2d-0401-0010-efa3-af7a8647c3bc
Regards,
Senthil K. -
Having problem with reading list in safari
i am having problem with reading list in safari some time it work sometimes gets hang....
Might be a cache issue ...
Open a Finder window. From the Finder menu bar click Go > Go to Folder
Type or copy paste the following:
~/Library/Caches/com.apple.Safari/Cache.db
Click Go then move the Cache.db file to the Trash.
Quit and relaunch Safari to test. -
Resource List Filter NoClassDefFoundException
Hi all!
I have implemented a Resource List Filter to filter out un-approved resources. However, when i run it on the Navigation iView, there is this Exception:
NoClassDefFoundError: com/sapportals/wcm/repository/ResourceFactory;
Can you help me out? The code follows:
public void filterResourceList(IResourceList list, IParameters params)
throws WcmException {
IResource resource = null;
// This seems to be the line raising the error
IResourceFactory resFactory = ResourceFactory.getInstance();
IRepositoryServiceFactory repServiceFactory = resFactory.getServiceFactory();
for (int i = list.size() - 1; i >= 0 ; i--) {
resource = list.get(i);
IStatemanagementManager stateMgr =
(IStatemanagementManager) repServiceFactory.getRepositoryService(resource, IWcmConst.STATEMANAGEMENT_SERVICE);
IStatemanagementResource statRsrc = stateMgr.getStatemangementResource(resource);
IStatemanagementUtilsResource statRsrcUtils = statRsrc.getUtils();
IState state = statRsrcUtils.readState();
if (!"released".equals(state.getID())) list.remove(resource);
Thanks in advance
ThiagoHi Kumar,
this is not really correct. A NoClassFoundException is not part of Java core. There only <i>ClassNotFoundException</i> and <i>NoClassDefFound<u>Error</u></i> do exist.
ClassNotFoundException is thrown when a class is explicitely tried to get loaded. See http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassNotFoundException.html
NoClassDefFoundError is thrown when a referenced class definition within a loaded class cannot be resolved. See http://java.sun.com/j2se/1.4.2/docs/api/java/lang/NoClassDefFoundError.html
Also see for an overview http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rtrb_classload_viewer.html and/or http://dev2dev.bea.com/pub/a/2004/01/Webflow.html
Hope it helps
Detlev -
Resource list filter for filtering on timestamp
Hi,
We need to implement scenario where only XML form messages active in the timestamp are displayed to end users.
For this we have done the following changes :
1) The KM folder permissions are Everyone has read only role and Admin users has Full control
2) IN XML form we have a property which has unique name.
3) There is layout set created , collection rendered and resource rendered, CM repository for having the KM folder under /root
4) the collection rendered has configuration of resource list filter
5) the filters par file is deployed refering the blog : Resource list filter for Flexible UI navigation
In this ,the code references the Folder path and checks for the filter property.
6) the resouce list filter has the java class as the one from par file.
still this is not working. Please let me know if I am missing something.Hi Kumar,
this is not really correct. A NoClassFoundException is not part of Java core. There only <i>ClassNotFoundException</i> and <i>NoClassDefFound<u>Error</u></i> do exist.
ClassNotFoundException is thrown when a class is explicitely tried to get loaded. See http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassNotFoundException.html
NoClassDefFoundError is thrown when a referenced class definition within a loaded class cannot be resolved. See http://java.sun.com/j2se/1.4.2/docs/api/java/lang/NoClassDefFoundError.html
Also see for an overview http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/rtrb_classload_viewer.html and/or http://dev2dev.bea.com/pub/a/2004/01/Webflow.html
Hope it helps
Detlev -
Is there a way to fix ipod touch screen display problem with song list?
I was wondering if anybody has had this problem? I have an ipod touch 64gig 5th gen for probably about 2 years. I hardly use it because I have it as a back up ipod until primary one dies. This is the first time I came across this problem. Upon turning on device, the first artist/song list I choose displays correctly. Once I start choosing any other artist/song list afterwards, the display for the 1st artist/song list re-appears. If the song list is only a single song to 3-4 songs it will display correctly. Any other song list I choose that consist more than 5 songs, the first artist/song list re-appears on screen like the display is messed up.
For example: Upon turning on device, I choose Aaliyah with a list of 9 songs displaying.
Upon trying to select a different artist and song, for example I choose Nachtmar with a list of 20 songs.
The Aaliyah with the list of 9 songs re appears in place of the song list I am attempting to choose. The songs play and it works, but the display is incorrect. Why is it doing this? Does anybody have this problem? I have tried resetting and it has currently been updated. I have came across this problem just very recently a couple of days ago. I have had a couple of hard resets requiring to erase all data in the past and I don't want to go that way again because I have about 3,500 songs. I have never experience this problem before in the past. I just want it to display the current list of songs. It's inconvenient having to type in every song while playing in the car instead of being able to easily pick an individual song.I have this problem too and it drives me crazy. When I view my ipod, I don't want to see a list of the first 8 songs in my ipod library. I just want to see the current song playing. It's like the ipod display goes into some type of "sleep" mode while your music plays,and the display defaults to show the first few songs in your ipod touch library, even though none of those songs are currently being played. I have to take the time to either flip the ipod over a couple of times in order for that list to disappear just to see the current song playing.
This is an example of what I see on my display after the current song begins playing. These are the first songs in my ipod library. To get rid of this view, I have to either shake the ipod or flip it over a couple of times and the current song is now displayed, allowing you to see the current song, also allowing you access to the arrows to either fast forward or playback/reverse. On the display, the songs are in a grid or table format (unable to show that here).
Acoustic Soul
Aaliyah
Adventers on the Wheels
Adventures in Paradise
After Tonight
Will Downing -
ER - Problem with ADF Faces filter when running ADF Faces within a portlet
I am attempting to get ADF Faces to run within Oracle Portal, i.e. within a portlet using the JPDK.
This, I am sure you are about to tell me, is not something that is fully supported, as yet.
However, I have been successful in getting MyFaces to run within a portlet, by customizing the form tag.
MyFaces, it seems, keeps track of the current viewid by storing it in the session, then uses this within the viewhandler and navigationhandler to determine the next view to load, based on the faces-config.xml navigation entries.
By customizing the form tag it is then possible to retrieve this viewid from the faces context and outputting it in the form's action parameter.
It is also possible, with a few more customizations, to run JSF RI within a portlet, i.e. by adding a custom viewhandler and loading a session variable with the current viewid from the faces context, then retrieving the viewid and outputting it as the action string in the customized form tag .
Unfortunately there does not appear to be any way of getting ADF Faces (EA19 version) to run as a portlet, with either the RI or with MyFaces.
I have configured a basic .jspx document in the <showPage> tags of the provider.xml file.
This uses only the form tag and a few input tags and works when executed directly within my portlet project in JDeveloper (http://localhost:8988/TestJSFAppContext/faces/htdocs/facesportlet/index.jspx) using a redirectfilter (*.jspx htdocs -> /faces/htdocs).
It is not possible to run ADF Faces with RI as a portlet since customization of the ADF Faces ViewHandler appears not to be supported.
When attempting to run this with MyFaces as a portlet, however, I get the following message:
oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl verifyFilterIsInstalled
WARNING: The AdfFacesFilter has not been installed. ADF Faces requires this filter for proper execution.
I am having difficulty in understanding as to why this is happening but am guessing it must be something to do with either redirect URLs or due to the .jspx files being under /htdocs, i.e. the ADF Faces renderkit is checking that the ADF Faces filter is configured but the check fails since the filter does not execute.
I have configured the filter in web.xml, as detailed in the documentation:
<filter>
<filter-name>adfFaces</filter-name>
<filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<servlet-name>ADF Faces Servlet</servlet-name>
</filter-mapping>
<servlet>
<servlet-name>ADF Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ADF Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>and have modified the provider.xml file as follows:-
<renderer class="oracle.portal.provider.v2.render.RenderManager">
<renderContainer>true</renderContainer>
<renderCustomize>true</renderCustomize>
<autoRedirect>true</autoRedirect>
<contentType>text/html</contentType>
<showPage>/faces/htdocs/facesportlet/index.jspx</showPage>
<editPage>/htdocs/facesportlet/FacesportletEditPage.jsp</editPage>
<editDefaultsPage>/htdocs/facesportlet/FacesportletEditDefaultsPage.jsp</editDefaultsPage>
</renderer>with the following tags also set:
<session>true</session>
<passAllUrlParams>true</passAllUrlParams>In order to ensure that the session stays alive so that the views are retrieved.
As I say, the page loads OK when run directly within the JPDK project within JDeveloper, with a redirect filter (*.jspx -> /faces/*.jspx) but not when run from within Oracle Portal.
In fact I have found that this filter is very sensitive, i.e. ADF Faces will not run in any project unless the configuration is exactly as above.
It seems that the MyFaces team have got around the problem of maintaining session state with redirections but that ADF Faces needs the page URL that is passed in to the filter to be consistent.
Is there some way around this, i.e. some kind of customization that I can implement to get the filter working?
ThnksI have found a way to go round the problem.
I use the servlet 2.4/jsp 2.0 route and then
change the web.xml header to the servlet 2.3/jsp 1.2
format. Everything then works fine after this!
Please fix this for production.
Behnam -
Simple problem with a list initialization.
hello ! i have a class Contact and i would like to make a list of lists of Contact variables .. but when i try to run my code , it says "IndexOutOfBoundsException: Index: 0, Size: 0" . I know that every list of the list must be initialized .. but i don't know how .
here is the declaration of the List
static List<List<Contact>> lolContact=new ArrayList<List<Contact>>();and i know that i should do something like :
lolContact.get(0)=new ArrayList<Contact>();to initialize every list of the list but i don't know how . please helpbadescuga wrote:
and i know that i should do something like :
lolContact.get(0)=new ArrayList<Contact>();
Couple of problems with that.
1. You can never do methodCall() = something in Java. The result of a method call is not an L-value.
2. You're trying to assign a ContactList to a Contact variable. Basically, you're trying to do
Contact c = new ArrayList<Contact>();3. Even if you changed it to
Contact c = lolContact.get(0);
c = new Contact();it would not put anything into the list. That would just copy the first reference in the list and stick it into variable c, so that both c and the first list item point to the same object (remember, the list contains references, not objects--no object or data structure ever contains an object in Java), and then assigns a completely different reference to c, forgetting about the one to the object pointed to by the list. It would not affect the list in any way.
4. You can't do get(0) until you've first put something into the list. -
Hi friends,
I have created one program with alv list, but i am unable to add one header and footer, also i have to add one logo to the program. Plese some one tell me a easy procedure to add a header, footer and also a logo. If you can show me one with example that would be very helpful.
This is my program, plz add the necessary parts.
*& Report Y_BOM2_ALV
REPORT y_bom2_alv LINE-SIZE 350 LINE-COUNT 350.
*& Include YINCLUDE1
TABLES : mast, stko, stpo.
TYPE-POOLS : slis.
DATA : BEGIN OF iall OCCURS 10,
matnr LIKE mast-matnr,
werks LIKE mast-werks,
stlan LIKE mast-stlan,
stlal LIKE mast-stlal,
stlst LIKE stko-stlst,
posnr LIKE stpo-posnr,
idnrk LIKE stpo-idnrk,
menge LIKE stpo-menge,
meins LIKE stpo-meins,
ausch LIKE stpo-ausch,
lgort LIKE stpo-lgort,
END OF iall.
DATA : i_repid LIKE sy-repid,
i_lines LIKE sy-tabix.
DATA : int_fcat TYPE slis_t_fieldcat_alv.
SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE title1.
PARAMETER : p_werks LIKE mast-werks.
SELECT-OPTIONS : s_matnr FOR mast-matnr.
SELECTION-SCREEN END OF BLOCK a1.
INITIALIZATION.
title1(50) = ' Bill Of Material Input Screen '.
*& Include YINCLUDE2
START-OF-SELECTION.
SELECT mastmatnr mastwerks maststlan maststlal stko~stlst
stpoposnr stpoidnrk stpomenge stpomeins stpo~ausch
stpo~lgort INTO TABLE iall FROM stpo INNER JOIN stko ON
stpostlnr = stkostlnr INNER JOIN mast ON
stpostlnr = maststlnr WHERE mast~werks EQ
p_werks AND mast~matnr IN s_matnr.
IF sy-subrc <> 0 OR p_werks EQ ' ' OR s_matnr EQ ' '.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
EXPORTING
titel = 'ERROR MESSAGE ( INPUT ERROR / WRONG INPUT ) '
textline1 = ' PLANT / MATERIAL Invalid or Empty '
textline2 = ' Plese enter plant no / material no again '
start_column = 20
start_row = 5.
EXIT.
ENDIF.
CLEAR i_lines.
DESCRIBE TABLE iall LINES i_lines.
IF i_lines LT 1.
WRITE: /
'No materials found.'.
EXIT.
ENDIF.
END-OF-SELECTION.
i_repid = sy-repid.
*& Include YINCLUDE3
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = i_repid
i_internal_tabname = 'IALL'
i_inclname = i_repid
CHANGING
ct_fieldcat = int_fcat
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
IF sy-subrc <> 0.
WRITE: /
'Returncode',
sy-subrc,
'from FUNCTION REUSE_ALV_FIELDCATALOG_MERGE'.
ENDIF.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = i_repid
it_fieldcat = int_fcat
i_save = 'A'
TABLES
t_outtab = iall
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
WRITE: /
'Returncode',
sy-subrc,
'from FUNCTION REUSE_ALV_LIST_DISPLAY'.
ENDIF.Hi Tapodipta,
See below example and modify ur code according to ur requirement..
REPORT ZTEST_ALV_CHECK .
TYPE-POOLS: SLIS.
DATA: X_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
L_LAYOUT type slis_layout_alv,
x_events type slis_alv_event,
it_events type SLIS_T_EVENT.
DATA: BEGIN OF ITAB OCCURS 0,
VBELN LIKE VBAK-VBELN,
POSNR LIKE VBAP-POSNR,
END OF ITAB.
SELECT VBELN
POSNR
FROM VBAP
UP TO 20 ROWS
INTO TABLE ITAB.
X_FIELDCAT-FIELDNAME = 'VBELN'.
X_FIELDCAT-SELTEXT_L = 'VBELN'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = 1.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
X_FIELDCAT-FIELDNAME = 'POSNR'.
X_FIELDCAT-SELTEXT_L = 'POSNR'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = 2.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
x_events-NAME = SLIS_EV_END_OF_PAGE.
x_events-FORM = 'END_OF_PAGE'.
APPEND x_events TO iT_EVENTS.
CLEAR x_events .
x_events-NAME = SLIS_EV_TOP_OF_PAGE.
x_events-FORM = 'TOP_OF_PAGE'.
APPEND x_events TO iT_EVENTS.
CLEAR x_events .
x_events-NAME = slis_ev_end_of_list.
x_events-FORM = 'END_OF_LIST'.
APPEND x_events TO iT_EVENTS.
CLEAR x_events .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IS_LAYOUT = L_LAYOUT
IT_FIELDCAT = IT_FIELDCAT
it_events = it_events
TABLES
T_OUTTAB = ITAB
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
FORM TOP_OF_PAGE.
* BREAK-POINT.
WRITE: / 'TOP_OF_PAGE'.
ENDFORM.
FORM END_OF_LIST.
* BREAK-POINT.
"here you can use this for footer
WRITE: / 'FOR FOOTER'.
ENDFORM.
FORM END_OF_PAGE.
* BREAK-POINT.
WRITE: / 'END_OF_PAGE'.
ENDFORM.
Go through the link as well..
Re: ALV Footer
Hope it will solve ur problem..
<b>Reward points if useful..</b>
Thanks & Regards
ilesh 24x7 -
Problem with contact list in email w/ 3.0
After upgrading to 3.0 I'm having a problem with the "To" in emails. I start typing in a name in the "To" field and it does not bring up matching entries in my contact list (it used to do so with the previous version SW).
I have to try to send the email at which time an error message comes up. I have to cancel the send, delete the name in the "To" field and type the name in again. The second time it brings up the contact list and eveything works fine.
Anyone else having this problem?Jackson_Bill wrote:
What IDE are you using and what platform?Read first.
Moh Bob wrote:
I'm using J2ME platform SDK 3.0
db -
Problems with Oil Paint Filter
I'm having problems with the oil paint filter in CS6. It runs and looks fine while in the filter, but once I commit the changes and go back to Photoshop, there are one to three bright squares of fluorescent green (sometimes pink, I think) overlaying parts of my image. I have a Radeon 7450 graphics card and Windows 8. Have drawing mode set to basic because of the flickering issues.
this is a new computer, so this is the only video card that has ever been in it that I am away of.
Here's the system info
Adobe Photoshop Version: 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00) x64
Operating System: Windows NT
Version: 6.2
System architecture: AMD CPU Family:15, Model:1, Stepping:2 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
Physical processor count: 3
Logical processor count: 6
Processor speed: 3491 MHz
Built-in memory: 10029 MB
Free memory: 7515 MB
Memory available to Photoshop: 8907 MB
Memory used by Photoshop: 60 %
Image tile size: 132K
Image cache levels: 4
Liquify crashed on 6/27/2013 at 4:01:22 PM (Evaluating GPU Capabilities)
OpenGL Drawing: Enabled.
OpenGL Drawing Mode: Normal
OpenGL Allow Normal Mode: True.
OpenGL Allow Advanced Mode: True.
OpenGL Allow Old GPUs: Not Detected.
Video Card Vendor: ATI Technologies Inc.
Video Card Renderer: AMD Radeon HD 7450
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 1080, right: 1920
Video Card Number: 1
Video Card: AMD Radeon HD 7450
OpenCL Unavailable
Driver Version: 8.981.0.0
Driver Date: 20120704000000.000000-000
Video Card Driver: aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.d ll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
Video Mode: 1920 x 1080 x 4294967296 colors
Video Card Caption: AMD Radeon HD 7450
Video Card Memory: 1024 MB
Video Rect Texture Size: 16384
Serial number: Tryout Version
Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
Temporary file path: C:\Users\heather\AppData\Local\Temp\
Photoshop scratch has async I/O enabled
Scratch volume(s):
C:\, 910.3G, 387.0G free
Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
Additional Plug-ins folder: not set
Installed components:
A3DLIBS.dll A3DLIB Dynamic Link Library 9.2.0.112
ACE.dll ACE 2012/01/18-15:07:40 66.492997 66.492997
adbeape.dll Adobe APE 2012/01/25-10:04:55 66.1025012 66.1025012
AdobeLinguistic.dll Adobe Linguisitc Library 6.0.0
AdobeOwl.dll Adobe Owl 2012/02/09-16:00:02 4.0.93 66.496052
AdobePDFL.dll PDFL 2011/12/12-16:12:37 66.419471 66.419471
AdobePIP.dll Adobe Product Improvement Program 6.0.0.1654
AdobeXMP.dll Adobe XMP Core 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPFiles.dll Adobe XMP Files 2012/02/06-14:56:27 66.145661 66.145661
AdobeXMPScript.dll Adobe XMP Script 2012/02/06-14:56:27 66.145661 66.145661
adobe_caps.dll Adobe CAPS 6,0,29,0
AGM.dll AGM 2012/01/18-15:07:40 66.492997 66.492997
ahclient.dll AdobeHelp Dynamic Link Library 1,7,0,56
aif_core.dll AIF 3.0 62.490293
aif_ocl.dll AIF 3.0 62.490293
aif_ogl.dll AIF 3.0 62.490293
amtlib.dll AMTLib (64 Bit) 6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00) 1.000000
ARE.dll ARE 2012/01/18-15:07:40 66.492997 66.492997
AXE8SharedExpat.dll AXE8SharedExpat 2011/12/16-15:10:49 66.26830 66.26830
AXEDOMCore.dll AXEDOMCore 2011/12/16-15:10:49 66.26830 66.26830
Bib.dll BIB 2012/01/18-15:07:40 66.492997 66.492997
BIBUtils.dll BIBUtils 2012/01/18-15:07:40 66.492997 66.492997
boost_date_time.dll DVA Product 6.0.0
boost_signals.dll DVA Product 6.0.0
boost_system.dll DVA Product 6.0.0
boost_threads.dll DVA Product 6.0.0
cg.dll NVIDIA Cg Runtime 3.0.00007
cgGL.dll NVIDIA Cg Runtime 3.0.00007
CIT.dll Adobe CIT 2.0.5.19287 2.0.5.19287
CoolType.dll CoolType 2012/01/18-15:07:40 66.492997 66.492997
data_flow.dll AIF 3.0 62.490293
dvaaudiodevice.dll DVA Product 6.0.0
dvacore.dll DVA Product 6.0.0
dvamarshal.dll DVA Product 6.0.0
dvamediatypes.dll DVA Product 6.0.0
dvaplayer.dll DVA Product 6.0.0
dvatransport.dll DVA Product 6.0.0
dvaunittesting.dll DVA Product 6.0.0
dynamiclink.dll DVA Product 6.0.0
ExtendScript.dll ExtendScript 2011/12/14-15:08:46 66.490082 66.490082
FileInfo.dll Adobe XMP FileInfo 2012/01/17-15:11:19 66.145433 66.145433
filter_graph.dll AIF 3.0 62.490293
hydra_filters.dll AIF 3.0 62.490293
icucnv40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
icudt40.dll International Components for Unicode 2011/11/15-16:30:22 Build gtlib_3.0.16615
image_compiler.dll AIF 3.0 62.490293
image_flow.dll AIF 3.0 62.490293
image_runtime.dll AIF 3.0 62.490293
JP2KLib.dll JP2KLib 2011/12/12-16:12:37 66.236923 66.236923
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
LogSession.dll LogSession 2.1.2.1640
mediacoreif.dll DVA Product 6.0.0
MPS.dll MPS 2012/02/03-10:33:13 66.495174 66.495174
msvcm80.dll Microsoft® Visual Studio® 2005 8.00.50727.6910
msvcm90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcp100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcp80.dll Microsoft® Visual Studio® 2005 8.00.50727.6910
msvcp90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
msvcr100.dll Microsoft® Visual Studio® 2010 10.00.40219.1
msvcr80.dll Microsoft® Visual Studio® 2005 8.00.50727.6910
msvcr90.dll Microsoft® Visual Studio® 2008 9.00.30729.1
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop CS6 CS6
Plugin.dll Adobe Photoshop CS6 CS6
PlugPlug.dll Adobe(R) CSXS PlugPlug Standard Dll (64 bit) 3.0.0.383
PSArt.dll Adobe Photoshop CS6 CS6
PSViews.dll Adobe Photoshop CS6 CS6
SCCore.dll ScCore 2011/12/14-15:08:46 66.490082 66.490082
ScriptUIFlex.dll ScriptUIFlex 2011/12/14-15:08:46 66.490082 66.490082
tbb.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
tbbmalloc.dll Intel(R) Threading Building Blocks for Windows 3, 0, 2010, 0406
TfFontMgr.dll FontMgr 9.3.0.113
TfKernel.dll Kernel 9.3.0.113
TFKGEOM.dll Kernel Geom 9.3.0.113
TFUGEOM.dll Adobe, UGeom© 9.3.0.113
updaternotifications.dll Adobe Updater Notifications Library 6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 6.0.0.24
WRServices.dll WRServices Friday January 27 2012 13:22:12 Build 0.17112 0.17112
wu3d.dll U3D Writer 9.3.0.113
Required plug-ins:
3D Studio 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Accented Edges 13.0
Adaptive Wide Angle 13.0
ADM 3.11x01
Angled Strokes 13.0
Average 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Bas Relief 13.0
BMP 13.0
Camera Raw 7.0
Chalk & Charcoal 13.0
Charcoal 13.0
Chrome 13.0
Cineon 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Clouds 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Collada 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Color Halftone 13.0
Colored Pencil 13.0
CompuServe GIF 13.0
Conté Crayon 13.0
Craquelure 13.0
Crop and Straighten Photos 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Crop and Straighten Photos Filter 13.0
Crosshatch 13.0
Crystallize 13.0
Cutout 13.0
Dark Strokes 13.0
De-Interlace 13.0
Dicom 13.0
Difference Clouds 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Diffuse Glow 13.0
Displace 13.0
Dry Brush 13.0
Eazel Acquire 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Embed Watermark 4.0
Entropy 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Extrude 13.0
FastCore Routines 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Fibers 13.0
Film Grain 13.0
Filter Gallery 13.0
Flash 3D 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Fresco 13.0
Glass 13.0
Glowing Edges 13.0
Google Earth 4 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Grain 13.0
Graphic Pen 13.0
Halftone Pattern 13.0
HDRMergeUI 13.0
IFF Format 13.0
Ink Outlines 13.0
JPEG 2000 13.0
Kurtosis 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Lens Blur 13.0
Lens Correction 13.0
Lens Flare 13.0
Liquify 13.0
Matlab Operation 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Maximum 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Mean 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Measurement Core 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Median 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Mezzotint 13.0
Minimum 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
MMXCore Routines 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Mosaic Tiles 13.0
Multiprocessor Support 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Neon Glow 13.0
Note Paper 13.0
NTSC Colors 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Ocean Ripple 13.0
Oil Paint 13.0
OpenEXR 13.0
Paint Daubs 13.0
Palette Knife 13.0
Patchwork 13.0
Paths to Illustrator 13.0
PCX 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Photocopy 13.0
Photoshop 3D Engine 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Picture Package Filter 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Pinch 13.0
Pixar 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Plaster 13.0
Plastic Wrap 13.0
PNG 13.0
Pointillize 13.0
Polar Coordinates 13.0
Portable Bit Map 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Poster Edges 13.0
Radial Blur 13.0
Radiance 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Range 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Read Watermark 4.0
Reticulation 13.0
Ripple 13.0
Rough Pastels 13.0
Save for Web 13.0
ScriptingSupport 13.0
Shear 13.0
Skewness 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Smart Blur 13.0
Smudge Stick 13.0
Solarize 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Spatter 13.0
Spherize 13.0
Sponge 13.0
Sprayed Strokes 13.0
Stained Glass 13.0
Stamp 13.0
Standard Deviation 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Sumi-e 13.0
Summation 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Targa 13.0
Texturizer 13.0
Tiles 13.0
Torn Edges 13.0
Twirl 13.0
U3D 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Underpainting 13.0
Vanishing Point 13.0
Variance 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Variations 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Water Paper 13.0
Watercolor 13.0
Wave 13.0
Wavefront|OBJ 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
WIA Support 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
Wind 13.0
Wireless Bitmap 13.0 (13.0 20120315.r.428 2012/03/15:21:00:00)
ZigZag 13.0
Optional and third party plug-ins:
Alien Skin Blow Up 3 3.0.0
Blow Up 3.0.0
Plug-ins that failed to load: NONE
Flash:
Gallery Wrapper
Mini Bridge
Kuler
Installed TWAIN devices: NONE -
Problems with @Resource
Hi!
I have a problem with JMS!
I use javax.annotation.Resource to obtain reference in this way:
@Resource(mappedName = "jms/TopicConnectionFactory")
private static TopicConnectionFactory connectionFactory;
@Resource(mappedName = "jms/Topic")
private static Topic topic;
I use glassfish v.3
If i use this annotations in class MAIN... and Then I pass references to publisher and subscriber... there aren't problems !
But if I use this annotations directly into the classes publisher and subscriber... i have this error:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.glassfish.appclient.client.acc.AppClientContainer.launch(AppClientContainer.java:424)
at org.glassfish.appclient.client.AppClientFacade.main(AppClientFacade.java:134)
Caused by: java.lang.NullPointerException
at manager.Publisher.<init>(Publisher.java:35)
at manager.Subscriber.<init>(Subscriber.java:42)
at manager.MainManager.main(MainManager.java:35)
... 6 more
Java Result: 1
Where in "Publisher.java:35" there is--> connection = connectionFactory.createTopicConnection();
Where in "Subscriber.java:42" there is --> Publisher p = new Publisher(subName);
And Where "ainManager.java:35" there is --> Subscriber s = new Subscriber("nameManager");
help, please!
Edited by: user13635722 on 5-gen-2011 23.49Ok, I search the information for load backup.
For the other issue there are a few things you should check:
1) Are the devices managed in RME?
Yes, I have 75 devices managed with RME
2) Do you have syslog enabled on the device to LMS?
Yes, I is enabled
3) Are the devices having configs archived successfully?
I dont now, you can tell me how do this?
Greatings
Daniel M
Maybe you are looking for
-
I can no longer access my iphoto library after trying to transfer photos to dropbox.
Help! I'm a IT hopeless. I can no longer open my iphoto library witihout a message saying can't access without using iphoto upgrader. It worked a treat before I tried to upload lib. to dropbox. What do I do?
-
Call function starting new task:
I am trying to create a program in which few database update are mentioned. after database updates , I am calling a function module using starting new task in which I want to commit database updates inside in function module. Problem is I want to com
-
Software Updates Synchronization, error code 0X80131500
Hello, I need some help to get the Software Updates Synchronization to work again. Some days ago the Software Updates Synchronization ended to work, with the error code 0X80131500. (I have cleaned out, and now only test with updates for Skype and Win
-
Uninstalling problems - Sun Java System AppSever 9 on Ubuntu
hi guys, looks like a lot of people is having the same problem as me, but after reading other posts in this forum i was unnable fo fix it. unfortunally, i made a wrong remove of my appserver that was located on /opt/SUNWappserver. so i decided to rei
-
My ipod isnt charging or connecting what do i need to do
i need help i getting mad that it isnt charging