Regarding new-page

Dear all,
I have used new-page command in my report
Every new material it will go to next-page..In my report foreground is working fine.
If i execute in background new-page is not working.. it will come all material in the same page from spool request.
ANY SOLUTION FOR SOLVE THE PROBLEM IN BACKGROUND
Example CODING
select-options : so_matnr for mara-matnr.
select  matnr from mara into table it_mara where matnr in so_matnr.
sort it_mara by matnr.
loop at it_mara.
new-page.
  write : /1 it_mara-matnr.
endloop.
Thaks.

Hello Friend,
To print a different pages in spool request you have to use NEW PAGE PRINT ON...
Pleaes modify the code like below:
DATA PARAMS LIKE PRI_PARAMS.
DATA: DAYS(1)  TYPE N VALUE 2,
      COUNT(3) TYPE N VALUE 1,
      VALID    TYPE C.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
  EXPORTING DESTINATION           = 'LT50'
            COPIES                = COUNT
            LIST_NAME             = 'TEST'
            LIST_TEXT             = 'Test NEW-PAGE PRINT ON'
            IMMEDIATELY           = 'X'
            RELEASE               = 'X'
            NEW_LIST_ID           = 'X'
            EXPIRATION            = DAYS
            LINE_SIZE             = 79
            LINE_COUNT            = 23
            LAYOUT                = 'X_PAPER'
            SAP_COVER_PAGE        = 'X'
            RECEIVER              = 'SAP*'
            DEPARTMENT            = 'System'
            NO_DIALOG             = ' '
  IMPORTING OUT_PARAMETERS        = PARAMS
            VALID                 = VALID.
IF VALID <> SPACE.
  NEW-PAGE PRINT ON PARAMETERS PARAMS NO DIALOG.
  WRITE / 'First line'.
ENDIF.

Similar Messages

  • Regarding  new-page print off. warning, its very urgent

    Hi,
    For the below lines:
    1. new-page print off.
    2. new-page print off no-title.
    3. new-page print on parameters print_parms no-title no dialog.
    4. new-page print off no-title.
    In upgrde i am getting 1 warning as
    'NEW-PAGE PRINT  should no longer be used to generate a print dialog'
    what should i write instead of the above 4 lines, to avoid this warning.
    upgrade is from 4.7 to ecc6.0
    please do need ful.
    Thanks,
    Radhika

    Hi ambi,
    1. I just tried, and it works fine.
    2. It does not give any error /warning
       in ECC 5.0
    regards,
    amit m.

  • Regarding subtotals and new page in ALV Grid

    Hi All,
    I have 5 employees in my internal table and each employee having five records.
    Now iam displaying total employees in ALV grid and calculating their totals at the end of the hole records.
    But i need to display the sub totals for each employee and i need new page for each employee.
    means  1) New page for each employye
                2) sub totals for each employee
                3) grand total for all employees
    How can i proceed for this requirement in ALV grid?

    For subtotals first you need to set the do_sum = 'X' in the fieldcatalog for the columns you want totals.
    fieldcat-fieldname = 'ABC'.
    fieldcat-do_sum = 'X'.
    Append fieldcat to it_fieldcat,
    for subtotals you need to populate the SORT table.
    sort-fieldname = 'EMPLOYEE'.
    sort-up = 'X'.
    sort-group = '*'.  "<----- this is for new page
    "you can view new page in preview / print /
    "if you are using the list function
    sort-subtot = 'X'.
    append sort to it_sort.
    pass this it_sort to it_sort of the alv function.

  • Regarding "New Tab Page" - dragging a bookmark from the libary does not display when "+" is selected

    It's maddening that I can't fix something so simple.
    When I click on the "+" a new page opens with unpopulated entries for websites. I've tried the steps in "New Page Tab" and managed to drag and drop a bookmark from my "library".
    The prompts look OK but the site does not appear in the vacant entry box. It looks like it should work. Is there a simple (stupid) step that I'm missing?
    Thanks,
    Stan

    I want to choose what appears in the 9 boxes on the new tab screen. Why can't I click an empty box and enter the web address to be used for that box. Even if it did work, drag and drop a terrible way to do this. "Bookmarks-Add to new tabs" would be a 2 click operation. Instead some developer wanted to play with drag and drop and got it wrong. I suggest adding the simple functionality first and experiment with drag an drop later.
    Also it is suggested that add-ons could stop the functionality from working. This is like saying your car won't start if you put a passenger in it. I'd guess someone just made that suggestion to try to be helpful rather than out of any actual experience of it fixing this problem.

  • Blank page is getting displayed in SAPScript when using NEW-PAGE option.

    Hello Experts,
    We have created a customized SAPScript and in this separate Script is generated based on the currency(WAERS).
    So if we have 3 different currencies, then 3 pages will be created with there details, but we are using NEW-PAGE option in
    MAIN window to separate the pages and after 3rd page it is displaying 4th page also with footer details.
    So how can we avoid last blank page which is getting displayed?

    Hi isha.walia ,
       This issue can be solved by two ways. Please take the one which suits you better.
    Solution 1: If  you need to generate separate prints for different currencies.
    In the driver program, build an internal table for different currencies which needed to be printed. (Using delete adjacent duplicates, build the internal table with exact number of currencies to be printed). Remove the NEW-PAGE option and call the script/form inside the loop. Do the necessary conditions to manipulate the print.
    Advantages of above solution: Better control on spools if needed.
    Solution 2:  Get the count of the number of pages in a variable. Inside the print loop, increment a flag counter. Check it against the variable which contains the number of pages to be printed at the end of each page. Exit the loop when the number of pages to be printed is reached.
    Advantage of above solution: Simple to write the program.
    Thanks and Regards
    Raghesh R S

  • Fbl5n report showing pritn output for a new customer on a new page

    Hello  All,
    In fbl5n when i execute for all the customers and give print command its printing every new customer on a new page but i want to print the data continously.
    Pls let me knw how to avoid this?
    Sunny

    Hi Sunny,
    you're case is quite common, because SAP displays the customer data in a standard layout, putting a page break after every customer and company code.
    In order to avoid this, you may change the grouping criteria. For that,
    1. be sure that you have not clicked on the header of any column in the list
    2. click on button "sort ascending"
    3. here you'll see that fields "company code" and "account" have an asterisk on column NG (new group). This means that, for every change in these fields, SAP will insert a page break
    4. remove these asterisks
    5. (optional) save this layout for further launchings of the report
    I hope this helps. Best regards,
    Alvaro

  • How to print new order in odd page or new page

    Hi Experts,
    I want to print my order layout in oddpage. If any new order comes it should print inthe odd page. Currently its printing Back to back.
    But I want to print my order layout in oddpage or new page.
    Any one guide this??
    Offering points is against the terms of engagement.  Text changed by moderator.  Also, do not post the same question in more than one forum.
    Mohana
    Edited by: Mohana Vijayan on Oct 31, 2008 8:35 AM

    Hi mohana,
    For script or smartform?
    In case smartform
    Create  pages as per your requirement.
    In the global defintion --> initialization tab -->
    if w_page = 1.
    control_parameters-startpage = '%PAGE1'.
    else.
    control_parameters-startpage = '%PAGE2'.
    ENDIF.
    Regards,
    Sravanthi

  • New page on click of absolute url

    I need IE to open new page of the absolute url when user click the url on initial page, but as result the new page always replace the inital page but not open a new session, I also refer to the threads in the forum like adding "sap-sessioncmd=open" or "syscmd=nocookie" but still does not work, can anyone give me any suggestion?following is my coding:
    Layout of the page1.htm:
    <htmlb:link id = "link1"
                text = "google with new session"
                reference = "http://www.google.com"
                target    = "_BLANK"
                onClick   = "LinkClick">
    <htmlb:link>
    OnInputProcessing:
      if event_id = cl_htmlb_manager=>event_id. " HTMLB event?
        data: lr_htmlb_event type ref to cl_htmlb_event.
        lr_htmlb_event = cl_htmlb_manager=>get_event( request ).
        if lr_htmlb_event is not initial.
          if lr_htmlb_event->server_event = 'LinkClick'.
            call method navigation->use_absolute_url.
            call method navigation->goto_page
              exporting
                url = 'http://www.google.com/ncr?sap-sessioncmd=open'
    *          url = 'http://www.google.com/ncr?sap-syscmd=nocookie'
                session = 'NEW'.
          endif.
        endif.
      endif.
    Message was edited by: Patrick Yan

    now i got a few minutes to work on this.
    here is a sample code.
    in the layout of the flow logic:
    i am using button for example,
    1) <htmlb:button id = 'CONTINUE'
          text          = "Continue"
          onClick       = "OnInputProcessing(continue)" />
    2) create a page attribute called index and also link the 'continue' page to the same page in the BSP
    3)in the layout
    <% IF INDEX = '1'.(use the dynamic link)
    l_url = 'http://www.google.com/'. %>
        <script type="text/javascript">
      <!--
        window.open("<%=l_url%>","ErrorLog","width=400,height=250,left=250,top=200 dependent=yes resizable=yes");
      //-->
    </script>
    4) in the oninput processing of this page
    assign event
      l_event = cl_htmlb_manager=>get_event( runtime->server->request ).
      IF l_event->id = 'CONTINUE'.
      l_index = '1'.
           navigation->set_parameter( name  = 'INDEX'
                                 value =  l_index ).
        navigation->NEXT_page( 'CONTINUE' ).
    endif.
    so when you click on the button you should get the google page in a popup.
    this is working for me. let me know if you are still having problms.
    regards,
    manasa

  • 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(FCLSupport

    Hello,
    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

  • How to create new page in SAP Script?

    Moved to correct forum by moderator.  Duplicate deleted.  Do NOT post the same question in two forums.
    Hello friends,
    I am modifying one SAP script.
    It is already contains 2 pages. FIRST and NEXT.
    All I have to do is to create one more page which should be display as last page.
    And this last page should display some data.
    I tried and created a new page in SE71 but when i execute the program, it doesn't show newly created (LAST) page.
    Please guide me.
    REgards,
    RH
    Edited by: Matt on Nov 7, 2008 4:26 PM

    Hi
    U need to force the call of this new page.
    I suppose your sapscript is arrange with 2 page: FIRST and NEXT, where FIRST has NEXT as next page.
    So the system automatically print the pages FIRST and NEXT: u need to insert the statament:
    /: NEW-PAGE LAST
    in the MAIN window.
    U can create a text element NEW_PAGE and you'll call it as soon as you've finished to print the main data:
    /E NEW_PAGE
    /: NEW-PAGE LAST
    U can use the fm CONTROL_FORM
    Max

  • Opening a New page on click of a link in Struts PDK portlet

    Hi All,
    Please help me to sort out my issue..
    I created a portlet(say P1) using struts Portlet.That portlet is added to a portal page..which has some other portlets already(p2,p3,p4)...So my portal page has 4 portlets p1,p2,p3,p4..In Portlet P1 There is JSP which has a link inside...When i click on the link..I need to open a new JSP page with some prepopulated data inside it..Now the problem is..it is opening a page with data..but in the new page i am seeing all the remaining portlets as well..P1(with new data),P2,P3,P4 portlet..
    But i need to see only the JSP page with my new content..please help me with this..
    Here is the code...what i have written
    INDEX.JSP
    <%@ page contentType="text/html; charset=windows-1252"
    import="java.io.File, java.io.FilenameFilter"
    %>
    <%@ taglib uri="/WEB-INF/tlds/struts/pdk-struts-html.tld" prefix="html" %>
    <html>
    <head>
    <title>
    Struts Sample Portlet - Hello World...
    </title>
    <body>
    <html:link action="/sayActionHello" target="_blank">My Link</html:link>
    </body></html>
    ACTION CLASS
    public class SayHelloAction extends Action {
         public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException
    System.out.println("Inside execute ................................");
    PortletRenderRequest pReq = (PortletRenderRequest)
         request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    ProviderSession pSession = pReq.getSession();
    if(null != pSession){
         System.out.println("Inside---pSession...........................");
         pSession.setAttribute("sample","Sample Data for Testing");
    return mapping.findForward("success");
    Provider.xml
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <?providerDefinition version="3.1"?>
    <provider class="oracle.portal.provider.v2.DefaultProviderDefinition">
    <session>true</session>
    <passAllUrlParams>true</passAllUrlParams>
    <portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
    <id>1</id>
    <name>samstruts</name>
    <title>samstruts</title>
    <description>sample struts Portlet Description</description>
    <timeout>40</timeout>
    <showEditToPublic>false</showEditToPublic>
    <hasAbout>false</hasAbout>
    <showEdit>false</showEdit>
    <hasHelp>false</hasHelp>
    <showEditDefault>false</showEditDefault>
    <showDetails>false</showDetails>
    <renderer class="oracle.portal.provider.v2.render.RenderManager">
    <renderContainer>true</renderContainer>
    <renderCustomize>true</renderCustomize>
    <autoRedirect>true</autoRedirect>
    <contentType>text/html</contentType>
    <showPage class="oracle.portal.provider.v2.render.http.StrutsRenderer">
    <defaultAction>/sayHello.do</defaultAction>
    </showPage>
    </renderer>
    </portlet>
    </provider>
    Strutss-config
    PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
    <struts-config>
    <action-mappings>
    <action path="/sayHello" scope="session" type="com.up.tey.SayHelloAction">
    <forward name="success" path="/jsp/index.jsp"/>
    </action>
    <action path="/sayActionHello" scope="session" type="com.u p.tey.SayHelloAction1" input="/htdocs/jsps/index.jsp">
    <forward name="success" path="/jsps/indexsample.jsp"/>
    </action>
    </action-mappings>
    </struts-config>
    Indexsample.jsp
    <%@ page contentType="text/html; charset=windows-1252"
    import="java.io.File, java.io.FilenameFilter"
    %>
    <%@ taglib uri="/WEB-INF/tlds/struts/pdk-struts-html.tld" prefix="html" %>
    <html>
    <head>
    <title>
    Struts Sample Portlet - Hello World...
    </title>
    <body>
    <h1>HELLO WORLD Sample using Struts !!!!!!<%=session.getAttribute("sample")%></h1>
    </body></html>
    In new window i am cing Indexsample.jsp inside my P1 portlet..But the remaining 3 portlets(p2,p3,p4) are also there..Which i dont want..Please Help..this is really very urgent for me..

    HI
    i am also facing same problem with session but in simple portlet with ajax implementation.
    i am setting session in portlet jsp with following code using oracle application server portal 10g.
    (here portlet jsp means which is included from portlet.)
    session.setAttribute("map",map);(here session is implicit object )
    i want to call ajax jsp from portlet jsp with below code.(i.e setting session in portlet jsp and accessing in ajax jsp)
    var url = "<%=renderRequest.getContextPath()%>/AjaxProcessRequest.jsp?q=" + random;
    var pars = '&namespace=<portlet:namespace/>' +'&imagesPath=' + '<%=imagesPath%>';
    var myAjax = new Ajax.Updater(
    {success: 'emailbody'},
    url,
    method: 'get',
    parameters: pars,
    onFailure: reportError,
    evalScripts: true
    i am accessing map object from session in my AjaxProcessRequest.jsp as shown in below code.
    Map map=(Map)session.getAttribute("map"); (here session is implicit object )
    here map object is getting null from session.
    Please help on this if u know about this session.
    Regards
    Raju

  • Reg smartforms -  creating a new page for each customer

    Hai friends,
    i have selection option for customer(kunnr) in the selection crieria..
    Now i am getting the output in the smartfroms related to the customer details..
    But i am getting details for only one customer...
    suppose there are 10  customers.. i want the details of the 10 cusotmers in 10 different pages...
    PLs help me.
    Rgds,
    Vinod

    Hi,
    First assigned to structure to internal table i_final
    declare L_LINES in global declaration
    right click on main window create program lines in that
    Input parameters: I_FINAL
    In CODE option
    SORT I_FINAL BY KUNNR.
    DESCRIBE TABLE I_FINAL LINES L_LINES.
    After you create LOOP IN data tab give chek the check box
    I_FINAL     INTO     WA_FINAL
    WA_FINAL declare in global declaration
    Under loop create node alternative(CONDITON)
    double click CONDITION in conditions tab
    Field name: L_LINES
    Relational operator:>
    Comparison value:0
    in that CONDITION ---> TRUE & FALSE is available
    in TRUE option create program lines, in that give like
    L_LINES = L_LINES - 1.
    Under TRUE option create COMMAND node
    in General attributes tab: check the chek box go to new page
    in conditions : maintain as
    Field name: L_LINES
    Relational operator:>
    Comparison value:0
    Regards
    Bhupal

  • Reg smartforms -  creating a new page for each customer number

    Dear friends,
    This is a sample program for smartform.
    Below is my coding ...
    TABLES : KNA1.
    SELECT-OPTIONS : S_KUNNR FOR KNA1-KUNNR.
    TYPES : BEGIN OF ZFS_KNA1,
            KUNNR TYPE KNA1-KUNNR, 
            NAME1 TYPE KNA1-NAME1,
            ORT01 TYPE KNA1-ORT01,
             END OF ZFS_KNA1.
    DATA : ITAB TYPE STANDARD TABLE OF ZFS_KNA1 INITIAL SIZE 0,
           WA TYPE ZFS_KNA1.
    SELECT KUNNR NAME1 ORT01 PSTLZ LAND1 FROM KNA1 INTO TABLE ITAB WHERE KUNNR IN S_KUNNR.
    Now i am having one secondary window (cusotmer number) and main window(name and city).
    I am able display list of cm nos, names and city in one page.
    But i want to display name, city and number of customer in one single page.
    suppose 5 customer numbers are there.....then 5 seperate pages should be displayed.
    pls help me.
    Regards,
    S. Vinod

    Hi,
    In your loop node... you have sort criteria....
    give the fieldname of the customer number KUNNR and check the check box under the begin of sort event...
    An event node is created... under that event  node... create command node for triggering new page and dont forget to tick the checkbox for " not on first page" in the conditions tab....
    and under that you can create text elements to display the data
    regards
    padma

  • New page in smartforms

    while creating a new page it is showing me a dump error , that the superior program execption was not intercepted , i have even given the next page field also correctly, i have attached a mainwindow to that page .
    thanks
    sridhar

    Hi sridhar,
    deleting some content in a main page will reflect in all the pages. if you want to print different data on main window in diferent pages, put some conditions in the conditions tab.
    suppose if you have two tables , one table to be printed in one page and the other in next page, in the table condition column put some condition according to the requirement. (say, in the table conditions tab, in the additional events click on 'only on page' checkbox and specify on which page you want thid table to be printed)....
    Regards,
    Vidya.

  • New Page Format in Smartforms

    Hi All,
    I am working on smartforms.
    I have created a new page format of width 25 cm and width 30cm according to client's requirement.
    Smartform is  for customer invoice which is a pre-printed and i have to get data into that.
    In sform i have given the my own page format name.
    Now problem is am getting print preview correctly but while giving print its givivng the error
    ' OUTPUT COULD NOT BE ISSUED' and print is not coming.
    Please help me regarding this issue.
      Thanks in advance.
    Regards,
    Murthy.

    Hi,
    I have checked it but its ok.
    I have created page format through SPAD only.
    Regards,
    Murthy.

Maybe you are looking for

  • My Apple TV does not work and has never worked.

    My Apple TV does not work and has never worked. I replaced it twice and replaced my router and DSL modem but no luck. I spent hours on tech support with both apple and my ISPs with no luck. Any ideas? Is the Apple TV a donation to apple? I have had t

  • How can i send itunes musics in my ipad to my pc?

    Hi I have musics at my ipad and i need to send them to my PC how can i do it please?

  • Pdf in Word oder Exel

    Wenn ich convertiere kommen nur Hyrpglyphen raus. Woran liegt das?

  • Can not Cancel Processing of Message in SXMB_MONI

    Hi all I'd like to clean up some outstanding error messages in SXMB_MONI but when I try to 'Cancel processing with errors' I get a message stating 'Can not cancel XML message with this status/type' The status is 'System Error - Restart not possible'

  • 1.4.1 plugin not working?

    I have deployed Java applets on IE5/6 with plugin versions 1.3.x up until 1.4.0_01 without any problems. Recently I upgraded to 1.4.1 (what does FCS stand for?) and now applets deployed in a JAR file fail to load and start altogether. I use the plugi