New page after end of record
Hi i'm using asp.net 2.0,VS 2005 and CR by default comes with VS 2005.
I read the records from DB and bind into CR for 10 pages. It's displaying records at 10 pages but the 11th page has created and nothing is there. I dont want to create the extra page after records end.
How to solve this?
On crystal report, open the section expert. Go to the section that states "New Page After" and click on the X-2 button next to it". In the formula editor, type Not OnLastRecord. That will tell the report not to go to a new page on the last record.
Good Luck
Cathy
Similar Messages
-
How to use a formula for dynamic New Page After?
There is a formula for dynamic New Page After.
How do I get value of formula?
I am using RAS and the ReportClientDocument.There is a section object. Off that there is a format property that is of type sectionformat. From there there is a ConditionFormulas property which I believe is a collection of all the formulas you can set for a section.
-
How can I stop Firefox from asking me whether to share my location every time I visit a new page, after I've repeatedly answered Never Share My Location?
You can also manage all permissions on the about:permissions page via the location bar.<br />
Use "All Sites" to set the defaults.
You can open about:xxxx pages via the location bar like you open a website.<br />
Firefox uses the about: protocol to access internal Firefox (setting) pages.
*http://kb.mozillazine.org/About_protocol_links -
New Page After if PageNumber mod 2 = 0 not working
My report needs to print on both sides of the paper, but one of the subreports that it calls must always start on the front, not the back, side of the page. The subreport is in a subfooter (Group Footer #3e), so I have a 'dummy' subfooter (Group Footer #3d) before it, with a formula stipulating New Page After if PageNumber mod 2 = 0. Since this doesn't seem to work, I also have a formula in Group Footer #3e stipulating New Page Before if PageNumber mod 2 = 0. Still doesn't work - it just merrily starts the subreport on the even-numbered page. If I print PageNumber in Group Footer #3e, (above where the subreport is invoked), it does display the even page number, so the formula should be forcing it to throw the page. This even-page-throwing formula works just fine in other parts of my report and within the subreport itself. Any ideas why it's not working in this particular case?
Not sure I follow your design but I think what I would do is to use New Page Before for both the subreport section and the section preceding the subreport section. I would use New Page Before all the time before the subreport section, and conditionally for the preceding section using the PageNumber mod 2 expression.
Fuskie
Who has a suspicion he is suggesting what you already tried but is not sure... -
Navigating to new page after insert
I would like to navigate to a specific page after the user hits insert on a form application component (I still want the insert action to take place). I have wirtten a pl/sql procedure to do this as follows:
create or replace procedure run_in_same_window
as
begin
htp.p('<script>window.open("http://www.oracle.com","_self");</script>');
end;
If I run this routine independently of the form component, it works fine. However, I have added it to the insert button as follows:
doInsert;
run_in_same_window;
Now the insert works fine, but the navigation to the new window is ignored. I have tried coding in a delay before the call to run_in_same_window, but this doesn't seem to help. Any ideas???
Thanks,
GillianHi,
You should not use pl/sql proc and javascript to do this. Oracle already provides a functionality to achieve what you are trying to do.
On your portal form, on the "successful submission of form" section, you should call your url in the following way:
go(myurl) ---- where myurl is your url.
hope this helps.
thanks,
Mainak -
Making a PDF go to a specific page after end of a video
Hi everyone,
I've been trying to get a flash video to point to a specific page in a PDF document, after it is done playing. But I can't find a way to make it work.
Is there a script or any way in Acrobat, so I can make it go to a specific page after the video has ended. I've tried using a link in Acrobat, but it instantly sends me to the page, without letting the video play, and I am really stumped in what to do.
Any help?The code you show is an incomplete/incorrect attempt to use AS3. For AS3 you need to assign an instance name to the button and then assign an event listener to the button using the instance name to target it. The code goes in the frame of the timeline that coincides with the button's frame (preferably on a separate layer for actionscript). So if you gave the button an instance name of "btn", the complete/correct code for it would be...
stop(); // this is a timeline command, not a button command
btn.addEventListener(MouseEvent.CLICK, buttonClick);
function buttonClick(evt:MouseEvent):void {
gotoAndPlay(2); -
It was still functioning last night and before I close the firefox window, the problem started. The problem persist until now.
1. Bookmark - tried to check the "help" list for lost bookmark but none of them seems to suit the problem i'm facing. The menu tab is there, but when i click on "Bookmarks", my previous bookmark list is not there. When I try to bookmark a new page, there is no window popping up (usually there is a small window pop-up to ask for the label of the website to be bookmarked).
2. The website address tab - usually we have a list of website that we usually visit so we just need to click on the arrow and click on the webpage that we want to visit. But now, I have to type the website address every single time. There is no drop down when i click on the arrow.
Can someone tell me what is wrong with it and please help me to solve this problem. THANK YOU VERY MUCH!!!This can be a problem with the file places.sqlite that stores the bookmarks and the history.
* http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox -
Can't drop components on new page after upgrading to Update 5
Please need some help.
Today I upgraded to Update5. I created a new page in an elder project, created with the prev version.
When trying to drop a component on the Designer a got following error-message: You cannot drop components on plan HTML documents, only on web forms.
Dropping a component on a prev created page went well.
I created a new project, created a new page and dropping a component was OK.
Then I examined the source in the misbehaving project. The newer template code differs from the elder. But the newer template codes matches in both projects.
Following the code and my log.
thx in advance, gerald
This is the newer template code:
<?xml version="1.0"?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:f="http://java.sun.com/jsf/core">
<jsp:directive.page />
<jsp:text>
<![CDATA[
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
]]>
</jsp:text>
<f:view>
<html>
<head>
<meta content="no-cache" http-equiv="Cache-Control"/>
<meta content="no-cache" http-equiv="Pragma"/>
<title>__TITLE__</title>
<link href="resources/stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body style="-rave-layout: grid">
</body>
</html>
</f:view>
</jsp:root>
This ist my log:
Log Session: Donnerstag, 23. Dezember 2004 14:06 Uhr CET
System Info: Product Version = Java Studio Creator (Build 041221_4)
Operating System = Windows 2000 version 5.0 running on x86
Java; VM; Vendor = 1.4.2_06; Java HotSpot(TM) Client VM 1.4.2_06-b03; Sun Microsystems Inc.
Java Home = C:\Sun\Creator\java\jre
System Locale; Encod. = de_AT; Cp1252
Home Dir; Current Dir = C:\Dokumente und Einstellungen\Werany; C:\Sun\Creator\bin
IDE Install; User Dir = C:\Sun\Creator; C:\Dokumente und Einstellungen\Werany\.Creator\1_0
CLASSPATH = C:\Sun\Creator\lib\ext\boot.jar;C:\Sun\Creator\lib\ext\ejb20.jar;C:\Sun\Creator\lib\ext\jgraph.jar;C:\Sun\Creator\lib\ext\naming.jar;C:\Sun\Creator\lib\ext\pbclient.jar;C:\Sun\Creator\lib\ext\pbtools.jar;C:\Sun\Creator\lib\ext\rowset.jar;C:\Sun\Creator\lib\ext\smbase.jar;C:\Sun\Creator\lib\ext\smdb2.jar;C:\Sun\Creator\lib\ext\sminformix.jar;C:\Sun\Creator\lib\ext\smoracle.jar;C:\Sun\Creator\lib\ext\smresource.jar;C:\Sun\Creator\lib\ext\smspy.jar;C:\Sun\Creator\lib\ext\smsqlserver.jar;C:\Sun\Creator\lib\ext\smsybase.jar;C:\Sun\Creator\lib\ext\smutil.jar;C:\Sun\Creator\lib\ext\sql.jar;C:\Sun\Creator\lib\ext\sqlx.jar;C:\Sun\Creator\lib\ext\locale\boot_ja.jar;C:\Sun\Creator\lib\ext\locale\boot_zh_CN.jar;C:\Sun\Creator\lib\ext\locale\naming_ja.jar;C:\Sun\Creator\lib\ext\locale\naming_zh_CN.jar;C:\Sun\Creator\lib\ext\locale\sqlx_ja.jar;C:\Sun\Creator\lib\ext\locale\sqlx_zh_CN.jar;C:\Sun\Creator\lib\ext\locale\sql_ja.jar;C:\Sun\Creator\lib\ext\locale\sql_zh_CN.jar;C:\Sun\Creator\java\lib\dt.jar;C:\Sun\Creator\java\lib\tools.jar
Boot & ext classpath = C:\Sun\Creator\java\jre\lib\rt.jar;C:\Sun\Creator\java\jre\lib\i18n.jar;C:\Sun\Creator\java\jre\lib\sunrsasign.jar;C:\Sun\Creator\java\jre\lib\jsse.jar;C:\Sun\Creator\java\jre\lib\jce.jar;C:\Sun\Creator\java\jre\lib\charsets.jar;C:\Sun\Creator\java\jre\classes;C:\Sun\Creator\java\jre\lib\ext\dnsns.jar;C:\Sun\Creator\java\jre\lib\ext\ldapsec.jar;C:\Sun\Creator\java\jre\lib\ext\localedata.jar;C:\Sun\Creator\java\jre\lib\ext\sunjce_provider.jar
Dynamic classpath = C:\Sun\Creator\lib\core.jar;C:\Sun\Creator\lib\openfile-cli.jar;C:\Sun\Creator\lib\openide-loaders.jar;C:\Sun\Creator\lib\openide.jar;C:\Sun\Creator\lib\ravelnf.jar;C:\Sun\Creator\lib\locale\core_ja.jar;C:\Sun\Creator\lib\locale\core_zh_CN.jar;C:\Sun\Creator\lib\locale\openide-loaders_ja.jar;C:\Sun\Creator\lib\locale\openide-loaders_zh_CN.jar;C:\Sun\Creator\lib\locale\openide_ja.jar;C:\Sun\Creator\lib\locale\openide_zh_CN.jar;C:\Sun\Creator\lib\locale\ravelnf_ja.jar;C:\Sun\Creator\lib\locale\ravelnf_zh_CN.jar
[org.netbeans.core.modules #4] Warning: the extension C:\Sun\Creator\modules\ext\sac.jar may be multiply loaded by modules: [C:\Sun\Creator\modules\css.jar, C:\Sun\Creator\modules\insync.jar]; see: http://www.netbeans.org/download/dev/javadoc/OpenAPIs/org/openide/doc-files/classpath.html#class-path
Turning on modules:
org.openide/1 [4.26.3 041221_4]
org.openide.io [1.1.3 041221_4]
org.openide.execution [1.1.2 041221_4]
org.openide.compiler [1.2.2 041221_4]
org.openide.loaders [4.11.3 041221_4]
org.netbeans.core/1 [1.21.3 041221_4]
org.netbeans.lib.terminalemulator [1.1.2 041221_4]
org.netbeans.core.output/1 [1.1.2 041221_4]
org.netbeans.core.compiler/1 [1.4.2 041221_4]
org.netbeans.modules.javahelp/1 [2.1.3 041221_4]
org.netbeans.api.java/1 [1.3.2 041221_4]
org.netbeans.core.execution/1 [1.3.2 041221_4]
org.netbeans.libs.xerces/1 [1.4.2 2.6.0]
org.apache.tools.ant.module/3 [3.6.2 041221_4]
org.openide.src [1.1.2 041221_4]
org.openide.debugger [1.1.3 041221_4]
org.netbeans.modules.j2eeapis/1 [1.1 041221_4]
org.netbeans.modules.settings/1 [1.4.2 041221_4]
org.netbeans.api.xml/1 [1.3.1.3.6.2 3.6.2 041221_4]
org.netbeans.modules.schema2beans/1 [1.7.2 041221_4]
org.netbeans.modules.debugger.core/3 [2.10.3 041221_4]
org.netbeans.libs.j2eeeditor/1 [1.1.2 041221_4]
org.netbeans.modules.j2eeserver/3 [1.1.5 041221_4]
org.netbeans.modules.editor/1 [1.14.6 041221_4]
org.netbeans.modules.debugger.jpda/1 [1.17.3 041221_4]
org.netbeans.api.web.dd/1 [1.1.2 1.1 041221_4]
com.sun.rave.project/1 [1.0.5 041221_4]
com.sun.rave.errorhandler.server/1 [0.2 041221_4]
com.sun.rave.layoutmgr/1 [1.2 041221_4]
com.sun.rave.plaf/1 [1.1 041221_4]
com.sun.rave.windowmgr/1 [1.2 041221_4]
com.sun.rave.libs.jsf/1 [1.0.5 041221_4]
com.sun.rave.jsfsupport/1 [1.0.5 041221_4]
com.sun.rave.jsfmetadata/1 [1.0.5 041221_4]
com.sun.rave.licensemgr/1 [1.3 041221_4]
com.sun.rave.insync/1 [1.0.5 041221_4]
com.sun.rave.toolbox/1 [1.0.4 041221_4]
org.netbeans.modules.classfile/1 [1.9 041221_4]
org.netbeans.modules.java/1 [1.16.4 041221_4]
org.netbeans.modules.image/1 [1.11.2 041221_4]
com.sun.rave.jwsdpsupport/1 [1.1 041221_4]
com.sun.rave.sam/1 [1.0.4 041221_4]
org.netbeans.modules.servletapi24/1 [2.0.3 2.0.3 041221_4]
org.netbeans.modules.web.jspparser/2 [2.0.3 041221_4]
org.netbeans.modules.diff/1 [1.7.2 041221_4]
com.sun.rave.designer/1 [1.0.5 041221_4]
com.sun.rave.navigation/1 [1.0.5 041221_4]
org.netbeans.modules.xml.core/2 [1.1.1.3.6.2 3.6.2 041221_4]
org.netbeans.modules.xml.catalog/2 [1.1.1.3.6.2 3.6.2 041221_4]
org.openidex.util/2 [2.7.2 041221_4]
org.netbeans.modules.autoupdate/1 [2.8.4 041221_4]
com.sun.rave.raveupdate/1 [1.0.2 041221_4]
com.sun.rave.servernav/1 [1.1 041221_4]
com.sun.rave.dataconnectivity/1 [1.0.4 041221_4]
org.netbeans.modules.schema2beansdev/1 [1.1.2 041221_4]
com.sun.rave.preview.support/1 [1.0 041221_4]
com.sun.enterprise.webserver.tools/2 [2.0 041221_4]
com.sun.rave.welcome/1 [1.0.3 041221_4]
com.sun.tools.appserver/1 [2.0.3 20041221-1453]
com.sun.rave.ejb/1 [0.1 041221_4]
org.netbeans.modules.xml.text/2 [1.1.1.3.6.2 3.6.2 041221_4]
org.netbeans.modules.html/1 [1.12.5 041221_4]
org.netbeans.modules.web.core.syntax/1 [1.13.3 041221_4]
com.sun.rave.jspsyntaxint/1 [1.1 041221_4]
com.sun.rave.ravehelp/1 [1.0.3 041221_4]
org.netbeans.modules.text/1 [1.12.3 041221_4]
org.netbeans.modules.css/2 [1.1.1.3.6.2 3.6.2 041221_4]
org.netbeans.modules.properties/1 [1.11.3 041221_4]
org.netbeans.modules.properties.syntax/1 [1.12 041221_4]
com.sun.rave.j2se.windows/1 [1.0 041221_4]
com.sun.rave.corepackage/1 [1.1 041221_4]
org.netbeans.modules.extbrowser/1 [1.3.3 041221_4]
org.netbeans.core.ide/1 [1.3.2 041221_4]
com.sun.rave.websvc/1 [1.0.5 041221_4]
org.netbeans.modules.beans/1 [1.11.3 041221_4]
org.netbeans.modules.utilities/1 [1.15.2 041221_4]
org.netbeans.modules.clazz/1 [1.13.2 041221_4]
org.netbeans.core.ui/1 [1.3.3 041221_4]
Turning off modules:
com.sun.rave.ejb/1 [0.1 041221_4]
com.sun.enterprise.webserver.tools/2 [2.0 041221_4]
Node "Enterprise Java Beans (Preview Feature)" [com.sun.rave.ejb.nodes.EjbRootNode] cannot return null from getIcon(). See Node.getIcon contract.
INFORMATIONAL *********** Exception occurred ************ at Thu Dec 23 14:11:23 CET 2004
java.lang.NullPointerException
at com.sun.rave.insync.SourceUnit.grabDocument(SourceUnit.java:96)
at com.sun.rave.insync.SourceUnit.sync(SourceUnit.java:493)
at com.sun.rave.insync.models.FacesModel.sync(FacesModel.java:731)
at com.sun.rave.insync.models.FacesModelSet.getDesignContexts(FacesModelSet.java:318)
at com.sun.rave.outline.OutlinePanel.updateModelViews(OutlinePanel.java:164)
at com.sun.rave.outline.OutlinePanel.contextClosed(OutlinePanel.java:338)
at com.sun.rave.insync.models.FacesModelSet.fireContextClosed(FacesModelSet.java:494)
at com.sun.rave.insync.models.FacesModel.destroy(FacesModel.java:282)
at com.sun.rave.insync.ModelSet.itemsRemoved(ModelSet.java:326)
[catch] at com.sun.rave.project.model.ProjectFolder.fireContentRemoved(ProjectFolder.java:463)
at com.sun.rave.project.model.ProjectFolder.removeProjectItem(ProjectFolder.java:266)
at com.sun.rave.project.model.WebAppProject.removeJavaItem(WebAppProject.java:1143)
at com.sun.rave.project.model.WebAppProject.removeProjectItem(WebAppProject.java:1007)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.handleDeletedEvent(ProjectFileSystem.java:371)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.fileDeleted(ProjectFileSystem.java:282)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:78)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:61)
at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:753)
at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:160)
at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:138)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:91)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:439)
at org.openide.loaders.DataObjectPool.runAtomicAction(DataObjectPool.java:203)
at org.openide.loaders.DataObject.invokeAtomicAction(DataObject.java:759)
at org.openide.loaders.DataObject.delete(DataObject.java:538)
at com.sun.rave.project.model.WebAppProject.removeJSPItem(WebAppProject.java:1065)
at com.sun.rave.project.model.WebAppProject.removeProjectItem(WebAppProject.java:1005)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.handleDeletedEvent(ProjectFileSystem.java:371)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.fileDeleted(ProjectFileSystem.java:282)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:78)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:61)
at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:753)
at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:160)
at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:138)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:91)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:439)
at org.openide.explorer.ExplorerActions$DeleteActionPerformer.doDestroy(ExplorerActions.java:752)
at org.openide.explorer.ExplorerActions$DeleteActionPerformer.performAction(ExplorerActions.java:631)
at org.openide.explorer.ExplorerActions$DeleteActionPerformer.actionPerformed(ExplorerActions.java:774)
at org.openide.util.actions.CallbackSystemAction$2.run(CallbackSystemAction.java:438)
at org.openide.util.actions.CallableSystemAction$ActionRunnable.actionPerformed(CallableSystemAction.java:247)
at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:71)
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:324)
at org.openide.util.actions.CallableSystemAction.invokeAction(CallableSystemAction.java:179)
at org.openide.util.actions.CallableSystemAction.access$000(CallableSystemAction.java:31)
at org.openide.util.actions.CallableSystemAction$ActionRunnable.doRun(CallableSystemAction.java:241)
at org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction.java:111)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
==>
org.openide.filesystems.FileStateInvalidException: sdfg.jsp
at org.openide.loaders.DataObject.find(DataObject.java:444)
at com.sun.rave.insync.Util.retrieveDocument(Util.java:99)
at com.sun.rave.insync.SourceUnit.grabDocument(SourceUnit.java:95)
at com.sun.rave.insync.SourceUnit.sync(SourceUnit.java:493)
at com.sun.rave.insync.models.FacesModel.sync(FacesModel.java:731)
at com.sun.rave.insync.models.FacesModelSet.getDesignContexts(FacesModelSet.java:318)
at com.sun.rave.outline.OutlinePanel.updateModelViews(OutlinePanel.java:164)
at com.sun.rave.outline.OutlinePanel.contextClosed(OutlinePanel.java:338)
at com.sun.rave.insync.models.FacesModelSet.fireContextClosed(FacesModelSet.java:494)
at com.sun.rave.insync.models.FacesModel.destroy(FacesModel.java:282)
at com.sun.rave.insync.ModelSet.itemsRemoved(ModelSet.java:326)
[catch] at com.sun.rave.project.model.ProjectFolder.fireContentRemoved(ProjectFolder.java:463)
at com.sun.rave.project.model.ProjectFolder.removeProjectItem(ProjectFolder.java:266)
at com.sun.rave.project.model.WebAppProject.removeJavaItem(WebAppProject.java:1143)
at com.sun.rave.project.model.WebAppProject.removeProjectItem(WebAppProject.java:1007)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.handleDeletedEvent(ProjectFileSystem.java:371)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.fileDeleted(ProjectFileSystem.java:282)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:78)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:61)
at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:753)
at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:160)
at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:138)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:91)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:439)
at org.openide.loaders.DataObjectPool.runAtomicAction(DataObjectPool.java:203)
at org.openide.loaders.DataObject.invokeAtomicAction(DataObject.java:759)
at org.openide.loaders.DataObject.delete(DataObject.java:538)
at com.sun.rave.project.model.WebAppProject.removeJSPItem(WebAppProject.java:1065)
at com.sun.rave.project.model.WebAppProject.removeProjectItem(WebAppProject.java:1005)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.handleDeletedEvent(ProjectFileSystem.java:371)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.fileDeleted(ProjectFileSystem.java:282)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:78)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:61)
at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:753)
at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:160)
at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:138)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:91)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:439)
at org.openide.explorer.ExplorerActions$DeleteActionPerformer.doDestroy(ExplorerActions.java:752)
at org.openide.explorer.ExplorerActions$DeleteActionPerformer.performAction(ExplorerActions.java:631)
at org.openide.explorer.ExplorerActions$DeleteActionPerformer.actionPerformed(ExplorerActions.java:774)
at org.openide.util.actions.CallbackSystemAction$2.run(CallbackSystemAction.java:438)
at org.openide.util.actions.CallableSystemAction$ActionRunnable.actionPerformed(CallableSystemAction.java:247)
at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:71)
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:324)
at org.openide.util.actions.CallableSystemAction.invokeAction(CallableSystemAction.java:179)
at org.openide.util.actions.CallableSystemAction.access$000(CallableSystemAction.java:31)
at org.openide.util.actions.CallableSystemAction$ActionRunnable.doRun(CallableSystemAction.java:241)
at org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction.java:111)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
INFORMATIONAL *********** Exception occurred ************ at Thu Dec 23 14:11:31 CET 2004
java.lang.NullPointerException
at com.sun.rave.insync.SourceUnit.grabDocument(SourceUnit.java:96)
at com.sun.rave.insync.SourceUnit.sync(SourceUnit.java:493)
at com.sun.rave.insync.models.FacesModel.sync(FacesModel.java:731)
at com.sun.rave.insync.models.FacesModelSet.getDesignContexts(FacesModelSet.java:318)
at com.sun.rave.outline.OutlinePanel.updateModelViews(OutlinePanel.java:164)
at com.sun.rave.outline.OutlinePanel.contextClosed(OutlinePanel.java:338)
at com.sun.rave.insync.models.FacesModelSet.fireContextClosed(FacesModelSet.java:494)
at com.sun.rave.insync.models.FacesModel.destroy(FacesModel.java:282)
at com.sun.rave.insync.ModelSet.itemsRemoved(ModelSet.java:326)
[catch] at com.sun.rave.project.model.ProjectFolder.fireContentRemoved(ProjectFolder.java:463)
at com.sun.rave.project.model.ProjectFolder.removeProjectItem(ProjectFolder.java:266)
at com.sun.rave.project.model.WebAppProject.removeJavaItem(WebAppProject.java:1143)
at com.sun.rave.project.model.WebAppProject.removeProjectItem(WebAppProject.java:1007)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.handleDeletedEvent(ProjectFileSystem.java:371)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.fileDeleted(ProjectFileSystem.java:282)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:78)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:61)
at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:753)
at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:160)
at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:138)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:91)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:439)
at org.openide.loaders.DataObjectPool.runAtomicAction(DataObjectPool.java:203)
at org.openide.loaders.DataObject.invokeAtomicAction(DataObject.java:759)
at org.openide.loaders.DataObject.delete(DataObject.java:538)
at com.sun.rave.project.model.WebAppProject.removeJSPItem(WebAppProject.java:1065)
at com.sun.rave.project.model.WebAppProject.removeProjectItem(WebAppProject.java:1005)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.handleDeletedEvent(ProjectFileSystem.java:371)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.fileDeleted(ProjectFileSystem.java:282)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:78)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:61)
at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:753)
at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:160)
at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:138)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:91)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:439)
at org.openide.explorer.ExplorerActions$DeleteActionPerformer.doDestroy(ExplorerActions.java:752)
at org.openide.explorer.ExplorerActions$DeleteActionPerformer.performAction(ExplorerActions.java:631)
at org.openide.explorer.ExplorerActions$DeleteActionPerformer.actionPerformed(ExplorerActions.java:774)
at org.openide.util.actions.CallbackSystemAction$2.run(CallbackSystemAction.java:438)
at org.openide.util.actions.CallableSystemAction$ActionRunnable.actionPerformed(CallableSystemAction.java:247)
at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:71)
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:324)
at org.openide.util.actions.CallableSystemAction.invokeAction(CallableSystemAction.java:179)
at org.openide.util.actions.CallableSystemAction.access$000(CallableSystemAction.java:31)
at org.openide.util.actions.CallableSystemAction$ActionRunnable.doRun(CallableSystemAction.java:241)
at org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction.java:111)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
==>
org.openide.filesystems.FileStateInvalidException: lkjgh.jsp
at org.openide.loaders.DataObject.find(DataObject.java:444)
at com.sun.rave.insync.Util.retrieveDocument(Util.java:99)
at com.sun.rave.insync.SourceUnit.grabDocument(SourceUnit.java:95)
at com.sun.rave.insync.SourceUnit.sync(SourceUnit.java:493)
at com.sun.rave.insync.models.FacesModel.sync(FacesModel.java:731)
at com.sun.rave.insync.models.FacesModelSet.getDesignContexts(FacesModelSet.java:318)
at com.sun.rave.outline.OutlinePanel.updateModelViews(OutlinePanel.java:164)
at com.sun.rave.outline.OutlinePanel.contextClosed(OutlinePanel.java:338)
at com.sun.rave.insync.models.FacesModelSet.fireContextClosed(FacesModelSet.java:494)
at com.sun.rave.insync.models.FacesModel.destroy(FacesModel.java:282)
at com.sun.rave.insync.ModelSet.itemsRemoved(ModelSet.java:326)
[catch] at com.sun.rave.project.model.ProjectFolder.fireContentRemoved(ProjectFolder.java:463)
at com.sun.rave.project.model.ProjectFolder.removeProjectItem(ProjectFolder.java:266)
at com.sun.rave.project.model.WebAppProject.removeJavaItem(WebAppProject.java:1143)
at com.sun.rave.project.model.WebAppProject.removeProjectItem(WebAppProject.java:1007)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.handleDeletedEvent(ProjectFileSystem.java:371)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.fileDeleted(ProjectFileSystem.java:282)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:78)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:61)
at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:753)
at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:160)
at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:138)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:91)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:439)
at org.openide.loaders.DataObjectPool.runAtomicAction(DataObjectPool.java:203)
at org.openide.loaders.DataObject.invokeAtomicAction(DataObject.java:759)
at org.openide.loaders.DataObject.delete(DataObject.java:538)
at com.sun.rave.project.model.WebAppProject.removeJSPItem(WebAppProject.java:1065)
at com.sun.rave.project.model.WebAppProject.removeProjectItem(WebAppProject.java:1005)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.handleDeletedEvent(ProjectFileSystem.java:371)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.fileDeleted(ProjectFileSystem.java:282)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:78)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:61)
at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:753)
at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.java:160)
at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.java:138)
at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:91)
at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:439)
at org.openide.explorer.ExplorerActions$DeleteActionPerformer.doDestroy(ExplorerActions.java:752)
at org.openide.explorer.ExplorerActions$DeleteActionPerformer.performAction(ExplorerActions.java:631)
at org.openide.explorer.ExplorerActions$DeleteActionPerformer.actionPerformed(ExplorerActions.java:774)
at org.openide.util.actions.CallbackSystemAction$2.run(CallbackSystemAction.java:438)
at org.openide.util.actions.CallableSystemAction$ActionRunnable.actionPerformed(CallableSystemAction.java:247)
at org.netbeans.core.ModuleActions.invokeAction(ModuleActions.java:71)
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:324)
at org.openide.util.actions.CallableSystemAction.invokeAction(CallableSystemAction.java:179)
at org.openide.util.actions.CallableSystemAction.access$000(CallableSystemAction.java:31)
at org.openide.util.actions.CallableSystemAction$ActionRunnable.doRun(CallableSystemAction.java:241)
at org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction.java:111)
at org.openide.util.Task.run(Task.java:136)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
INFORMATIONAL *********** Exception occurred ************ at Thu Dec 23 14:11:39 CET 2004
java.lang.NullPointerException
at com.sun.rave.insync.SourceUnit.grabDocument(SourceUnit.java:96)
at com.sun.rave.insync.SourceUnit.sync(SourceUnit.java:493)
at com.sun.rave.insync.models.FacesModel.sync(FacesModel.java:731)
at com.sun.rave.insync.models.FacesModelSet.getDesignContexts(FacesModelSet.java:318)
at com.sun.rave.outline.OutlinePanel.updateModelViews(OutlinePanel.java:164)
at com.sun.rave.outline.OutlinePanel.contextClosed(OutlinePanel.java:338)
at com.sun.rave.insync.models.FacesModelSet.fireContextClosed(FacesModelSet.java:494)
at com.sun.rave.insync.models.FacesModel.destroy(FacesModel.java:282)
at com.sun.rave.insync.ModelSet.itemsRemoved(ModelSet.java:326)
[catch] at com.sun.rave.project.model.ProjectFolder.fireContentRemoved(ProjectFolder.java:463)
at com.sun.rave.project.model.ProjectFolder.removeProjectItem(ProjectFolder.java:266)
at com.sun.rave.project.model.WebAppProject.removeJavaItem(WebAppProject.java:1143)
at com.sun.rave.project.model.WebAppProject.removeProjectItem(WebAppProject.java:1007)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.handleDeletedEvent(ProjectFileSystem.java:371)
at com.sun.rave.project.ProjectFileSystem$ProjectReference.fileDeleted(ProjectFileSystem.java:282)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:78)
at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupportHello,
It's possible there are errors in your project and
because the previous release wasn't as strict in
detecting errors.
Update 5 is more strict.
One thing you can do is make sure in your Java source
files that all references are accounted for.
e.g. If you have any library references (jars mounted, such
as Web services) make sure all jars are available
Also, if you're using getContext() method in any of your
Java source, temporarily change this method to getFacesContext()
Please see blog for more info
http://blogs.sun.com/roller/page/tor/20041223#creator_patch_5_problems
Regards,
John
JSC QA -
Download the home page after end of Flash intro
Hello,
Could you please tell me what is the code for accessing automatically the homepage of my website after the end of the flash animation.
Please see my website below:
www.transgenic-rabbit-models.com
I am not a specialist with flash, but I have read that classical getURL code does not work in AS3...
Thanks in advance for your kind help.
Regards,
Alex>>navigateToURL(http://www.transgenic-rabbit-models.com/home, "_self");
No, that won't work. The URL needs to be wrapped in a URLRequest like so:
navigateToURL(new URLRequest("http://www.transgenic-rabbit-models.com/home"), "_self");
And default.aspx was just a sample page, in a site. -
Safari 5 doesn't open new pages after website button selected
Hi. I am unable to load some websites after selecting some buttons on popular sites including PayPal and www.ryanair.com.
Actually I am unable to book a flight ticket and I had to visit my friend to do so on his computer. The same happens when I try to log in into PayPal account. After hitting *"Log In"* button there is NO action with Safari 5. No new Tab, no new window, no progress bar... Nothing.
The same happens with my MacBook. At ryanair.com after selecting the flight I am unable to proceed by hitting the button *"Select and Continue"*. Button *"New Search"* works normally.
Exactly the same situation on both Macs. Latest Safari 5 update. Both websites works under Firefox on both computers.
Does anybody has any idea what might be the problem?
I have repaired permissions already - no help.
Thanx a lot for any ideas.Ok...
Uppps, there is one change - PayPal site shows some action in the status bar, but without an effect.
If you are connecting to the internet using a cable modem, try disconnecting for 5 minutes, then reconnect and relaunch Safari.
See if you have any Safari third party plugins... Safari: Add-ons may cause Safari to unexpectedly quit or have performance issues
If the problem isn't third party plugins, install the v10.6.3 Combo Update It's ok to do this even if you are already running v10.6.3.
Then repair disk permissions (again).
Also, have you tried using a different browser??? Always good to have a back up.
Logging into another user account, try Safari there. If you have the same problems there, then it's a system wide glitch, not just isolated to your user account. -
Forcing a new page and using CAN GROW in a group header section??
Two Questions:
1) Is it possible to force a new page at any given position of the report?
I have a summary report with drill downs. My problem is that the vendor name and address (group 3 which is split into 3 subgroups GH3a GH3Bb GH3c) is sometimes at the end the page and the rest of the information (detaila and detail b with GFs) continue on the next page.
Can I specify a specific time or position when to page so that if this happens I can make the vendor name print on the next page?
I know of the keep group together option in the section expert but that keeps the detail together with the group heading - which is not the problem I am trying to resolve.
2) Can the group header and group footer sections be set to CAN GROW?
Thank you,
JSIf a field exists in a section and the field is set to can grow, the section will grow with the field.
CR2008 allows you to page after X number of records in the details section. See section expert, paging tab (Details Section)
If you are not using CR2008 you could calculate the number of records per group and new page after this based on the number of records. -
Calling a page after creating a primary key?
Hello,
I have a form on a table with a create button on it. The primary key is created after I click the CREATE button, and brings me back to the report which shows my new record. Everything is fine here.
Now, I want to branch to a new page (after processing), while passing the value of my new primary key to this page. But it seems that this value is null (if I look in the URL there's no value)
For example, I need to create a new Client, and pass the primary key of my client to a new page. But it doesn't work... anybody can help me?
Thanks,
MathieuNever, EVER use the current value + 1!!! You will at some point, run into a collision, where two records are trying to use the same primary key value!
If you are using a surrogate PK, then you may want to consider using an Oracle sequence and trigger to populate that value. If you create a simple table via SQL Workshop, APEX will create not only a table, but the associated sequence and trigger; have a look at that if you have not seen this in action.
If you prefer to not use a trigger, then yes, you can have a computation that sets the value of P4_NOCLIENT to the next value of the sequence - NOT the current value + 1. Once it's set in APEX session state, the rest is pretty simple.
Thanks,
– Scott –
http://spendolini.blogspot.com/
http://sumnertech.com/ -
New page for group headers - the first page is blank
In the Section Expert, if you set the Group Header #1 to "New Page Before", and there is a Page Header section, the first page will show the Page Header with no further data. The rest of the report does the page breaks correct, that is, a new page every time the grouping changes.
How do you stop this blank page at the beginning?
If you assign New Page After in the Group Footer, there is a blank page at the end of the report, which is also annoying. What am I missing?
RobertIf you are using "New Page Before" then use the condition by clicking on X+2 corresponds to it and write
Not OnFirstRecord
For "New Page After" write
Not OnLastRecord
Regards,
Raghavendra.G -
REUSE_ALV_HIERSEQ_LIST_DISPLAY and new Page
Hi all,
I am using FM REUSE_ALV_HIERSEQ_LIST_DISPLAY to display ALV List. Now, i want to print a New page on every Header record , is it possible?if Yes, then how?
thanks in advance.Hi VIpin,
Please find the code and function module ..
*& Report Z8AS_PROGRAM_ALV
REPORT Z8AS_PROGRAM_ALV.
TABLES : STKO,STPO,MAKT,MAST.
TYPE-POOLS : SLIS.
DATA : BEGIN OF ISTKO OCCURS 0,
STLNR LIKE STKO-STLNR,
DATUV LIKE STKO-DATUV,
MATNR LIKE MAST-MATNR,
BMENG LIKE STKO-BMENG,
BMEIN LIKE STKO-BMEIN,
END OF ISTKO.
DATA : BEGIN OF ISTPO OCCURS 0,
STLNR LIKE STPO-STLNR,
IDNRK LIKE STPO-IDNRK,
MENGE LIKE STPO-MENGE,
MEINS LIKE STPO-MEINS,
MAKTX LIKE MAKT-MAKTX,
END OF ISTPO.
DATA : BEGIN OF IMAKT OCCURS 0,
MATNR LIKE MAKT-MATNR,
MAKTX LIKE MAKT-MAKTX,
END OF IMAKT.
DATA : BEGIN OF IMAST OCCURS 0,
MATNR LIKE MAST-MATNR,
STLNR LIKE MAST-STLNR,
END OF IMAST.
DATA : IFIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
WFIELDCAT TYPE SLIS_FIELDCAT_ALV,
ILAYOUT TYPE SLIS_LAYOUT_ALV,
IKEYINFO TYPE SLIS_KEYINFO_ALV,
IEVENT TYPE SLIS_T_EVENT,
WEVENT TYPE SLIS_ALV_EVENT.
PARAMETERS : P_NUM TYPE I .
START-OF-SELECTION.
PERFORM GETDATA.
PERFORM GETHEADERMAT.
PERFORM GET_MAT_DESC.
PERFORM BUILD_FCAT_HEAD.
PERFORM BUILD_FCAT_ITEM.
PERFORM BUILD_KEYINFO.
PERFORM BUILD_EVENT_TAB.
PERFORM BUILD_LAYOUT.
PERFORM DISPLAY_DATA.
*& Form GETDATA
text
--> p1 text
<-- p2 text
FORM GETDATA .
SELECT STLNR DATUV BMENG BMEIN INTO CORRESPONDING FIELDS OF TABLE ISTKO
FROM STKO UP TO P_NUM ROWS.
IF NOT ISTKO[] IS INITIAL.
SELECT STLNR IDNRK MENGE MEINS INTO TABLE ISTPO FROM STPO FOR ALL ENTRIES IN ISTKO
WHERE STLNR = ISTKO-STLNR AND POSTP = 'L'.
ENDIF.
ENDFORM. " GETDATA
*& Form BUILD_FCAT_HEAD
text
--> p1 text
<-- p2 text
FORM BUILD_FCAT_HEAD .
WFIELDCAT-TABNAME = 'ISTKO'.
WFIELDCAT-FIELDNAME = 'STLNR'.
WFIELDCAT-SELTEXT_L = 'BOM no'.
WFIELDCAT-OUTPUTLEN = 15.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
WFIELDCAT-TABNAME = 'ISTKO'.
WFIELDCAT-FIELDNAME = 'DATUV'.
WFIELDCAT-SELTEXT_L = 'BOM date'.
WFIELDCAT-OUTPUTLEN = 15.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
WFIELDCAT-TABNAME = 'ISTKO'.
WFIELDCAT-FIELDNAME = 'MATNR'.
WFIELDCAT-SELTEXT_L = 'Header mat no'.
WFIELDCAT-OUTPUTLEN = 18.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
WFIELDCAT-TABNAME = 'ISTKO'.
WFIELDCAT-FIELDNAME = 'BMENG'.
WFIELDCAT-SELTEXT_L = 'Base qty'.
WFIELDCAT-OUTPUTLEN = 15.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
WFIELDCAT-TABNAME = 'ISTKO'.
WFIELDCAT-FIELDNAME = 'BMEIN'.
WFIELDCAT-SELTEXT_L = 'UOM'.
WFIELDCAT-OUTPUTLEN = 3.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
ENDFORM. " BUILD_FCAT_HEAD
*& Form BUILD_FCAT_ITEM
text
--> p1 text
<-- p2 text
FORM BUILD_FCAT_ITEM .
WFIELDCAT-TABNAME = 'ISTPO'.
WFIELDCAT-FIELDNAME = 'IDNRK'.
WFIELDCAT-SELTEXT_L = 'Material no'.
*WFIELDCAT-HOTSPOT = 'X'.
WFIELDCAT-OUTPUTLEN = 18.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
WFIELDCAT-TABNAME = 'ISTPO'.
WFIELDCAT-FIELDNAME = 'MAKTX'.
WFIELDCAT-SELTEXT_L = 'Material desc'.
WFIELDCAT-JUST = 'C'.
WFIELDCAT-OUTPUTLEN = 30.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
WFIELDCAT-TABNAME = 'ISTPO'.
WFIELDCAT-FIELDNAME = 'MENGE'.
WFIELDCAT-SELTEXT_L = 'Item qty'.
WFIELDCAT-OUTPUTLEN = 15.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
WFIELDCAT-TABNAME = 'ISTPO'.
WFIELDCAT-FIELDNAME = 'MEINS'.
WFIELDCAT-SELTEXT_L = 'UOM'.
WFIELDCAT-OUTPUTLEN = 3.
APPEND WFIELDCAT TO IFIELDCAT.
CLEAR WFIELDCAT.
ENDFORM. " BUILD_FCAT_ITEM
*& Form BUILD_KEYINFO
text
--> p1 text
<-- p2 text
FORM BUILD_KEYINFO .
IKEYINFO-HEADER01 = 'STLNR'.
IKEYINFO-ITEM01 = 'STLNR'.
ENDFORM. " BUILD_KEYINFO
*& Form DISPLAY_DATA
text
--> p1 text
<-- p2 text
FORM DISPLAY_DATA .
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'USER_COM'
IS_LAYOUT = ILAYOUT
IT_FIELDCAT = IFIELDCAT[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS = IEVENT[]
IT_EVENT_EXIT =
I_TABNAME_HEADER = 'ISTKO'
I_TABNAME_ITEM = 'ISTPO'
I_STRUCTURE_NAME_HEADER =
I_STRUCTURE_NAME_ITEM =
IS_KEYINFO = IKEYINFO
IS_PRINT =
IS_REPREP_ID =
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB_HEADER = ISTKO
T_OUTTAB_ITEM = ISTPO
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.
ENDFORM. " DISPLAY_DATA
*& Form GET_MAT_DESC
text
--> p1 text
<-- p2 text
FORM GET_MAT_DESC .
IF NOT ISTPO[] IS INITIAL.
SELECT MATNR MAKTX INTO TABLE IMAKT FROM MAKT FOR ALL ENTRIES IN ISTPO
WHERE MATNR = ISTPO-IDNRK.
ENDIF.
LOOP AT ISTPO.
READ TABLE IMAKT WITH KEY MATNR = ISTPO-IDNRK.
IF SY-SUBRC = 0.
ISTPO-MAKTX = IMAKT-MAKTX.
ENDIF.
MODIFY ISTPO.
ENDLOOP.
ENDFORM. " GET_MAT_DESC
*& Form BUILD_LAYOUT
text
--> p1 text
<-- p2 text
FORM BUILD_LAYOUT .
ILAYOUT-ZEBRA = 'X'.
ILAYOUT-COLWIDTH_OPTIMIZE = 'X'.
ENDFORM. " BUILD_LAYOUT
*FORM USER_COM USING PUCOM LIKE SY-UCOMM PSELFIELD TYPE SLIS_SELFIELD.
*CASE PUCOM.
*WHEN '&IC1'.
SET PARAMETER ID 'MAT' FIELD PSELFIELD-VALUE.
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
*ENDCASE.
*ENDFORM.
*& Form BUILD_EVENT_TAB
text
--> p1 text
<-- p2 text
FORM BUILD_EVENT_TAB .
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
I_LIST_TYPE = 0
IMPORTING
ET_EVENTS = IEVENT
EXCEPTIONS
LIST_TYPE_WRONG = 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.
READ TABLE IEVENT INTO WEVENT WITH KEY NAME = 'TOP_OF_PAGE'.
IF SY-SUBRC = 0.
WEVENT-FORM = 'TOPOFPAGE'.
MODIFY IEVENT FROM WEVENT INDEX SY-TABIX.
ENDIF.
ENDFORM. " BUILD_EVENT_TAB
*& Form TOPOFPAGE
text
FORM TOPOFPAGE.
DATA : ILISTHEAD TYPE SLIS_T_LISTHEADER,
WLISTHEAD TYPE SLIS_LISTHEADER.
WLISTHEAD-INFO = 'Its a test hierarchical sequential alv dispaly'.
WLISTHEAD-TYP = 'H'.
APPEND WLISTHEAD TO ILISTHEAD.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = ILISTHEAD
I_LOGO = ''
I_END_OF_LIST_GRID =
ENDFORM.
*& Form GETHEADERMAT
text
--> p1 text
<-- p2 text
FORM GETHEADERMAT .
IF NOT ISTKO[] IS INITIAL.
SELECT MATNR STLNR INTO TABLE IMAST FROM MAST FOR ALL ENTRIES IN ISTKO
WHERE STLNR = ISTKO-STLNR.
ENDIF.
LOOP AT ISTKO.
READ TABLE IMAST WITH KEY STLNR = ISTKO-STLNR.
IF SY-SUBRC = 0.
ISTKO-MATNR = IMAST-MATNR.
ENDIF.
MODIFY ISTKO.
ENDLOOP.
ENDFORM. " GETHEADERMAT
What more you can do is go to that function module in se37 , and inside that function module you can use At New
command , like at new matnr or ebeln .
Reward points if helpful
Regards,
Amber S
Message was edited by:
Amber Soni -
How can I the report new page?
If I want a new page after report has printed 50 lines, then on 51 line, I want to have a new page, what should I do in Oracle Reports?
Thanks,
Capucine KongBetter yet, in your repeating group with the details, set the Maximum Records Per Page to 50. It would print at most 50 on each page.
Maybe you are looking for
-
Hi, Product name: HP Touchsmart Product number : WC949AA-ABU Model number: 300-1125uk Operating on Windows 7 I just got wireless broadband in my flat. It works fine - my Ipad and my housemate's laptop can pick up the signal very strongly - but my HP
-
Select works in SQL Workshop, but not as an LOV
I want all venues to appear in my LOV With their affiliated Performing Arts Center, if one exists. I get the perfect results when I run it in SQL Workshop. When I try to create the LOV, I'm told it's invalid, because it includes an in-line query and
-
Problem - Title Cards in Vid Track 2 Skewing In and Out Points in Track 1 ?
Hi, Vast confusion. I'm working with edits in a timeline, created from video files that are "Avid Meridien Compressed" Quicktime Files. These are files that I exported from Avid. They are 24P files. The timeline has been set to 23.97, and everything
-
Need specs for PC to drive 30-inch monitor to full resolution.
Have acquired an HP LP3065 monitor. Now seek to acquire a PC to drive it to full 2560x1600 res. Old Dell Pentium D computer (XP) with integrated video brings it to 1900. Any power supply, memory, MB recommendations would be helpful. Standing by is a
-
AMD Catalyst and XServer 1.14
Hello I am using the proprietary video driver, tried using xserver 1.14 while it was in testing but it broke my system (i downgraded xserver afterwards). Catalyst does not support the new xserver which was pushed to the standard repos today. When I t