Getting error message when calling the sub templates

Hi,
I developed an RTF template which contains a cross tab report. There is also a logo and
many other fields above and below the cross tab. If the cross tab output goes to the next page dynamically then the other fields, present above and below the cross tab, should also be displayed. So i kept the fields above the cross tab report as header and the fields below the cross tab as footer using <?start:body?> and <?end body?>. When i preview the RTF then am getting the desired output with headers and footers repeating in all the pages.
If i call this RTF from another main template(import RTF) then am getting error java.lang.NullPointerException.
If i change <?start:body?> and <?end body?> to <?body-start?> and <?body-end?> then am getting the output. But the header and footer is printed in 1st page only and not printed from 2nd page.
Can anyone please suggest how to display the headers and footers in all pages.
Thanks,
Subba Reddy

Hi,
Thanks for ur replay. I also tried creating header and footer and called from the template(summary.RTF). If i preview the template then it is working fine. Headers and footers are displayed in all the pages. But if i call this summary.RTF from another main template then headers and footers are dispalyed in the 1st page only. I cant call the headers and footers from the main template since the main template calls many other templates apart from Summary.RTF. This headers and footers should be displayed only for Summary.RTF
Thanks.

Similar Messages

  • Why do I get Error -1073807343 when calling the open visa function ?

    Hello,
    I am running a Labview 6i under Linux (kernel 2.4) and I have Error -1073807343 when calling the open visa function. I have verified the name of the session (GPIB0::9::INSTR), and I can communicate with my instruments with ibic.
    More informations : I use NIVISA 2.5 and nigpib-0.8.2. I have downloaded the lastest drivers of my instruments but it doesn't work better.
    Thanks very much for your help.

    We've had several NI-VISA releases since 2.5 - so I suggest you upgrade to NI-VISA 3.0. While there isn't anything specific to your type of problem in the Linux version of our readme.txt, I know we've made a number of other fixes.
    While the most recent release is NI-VISA 3.1, I still recommend you upgrade only to 3.0.
    This is because NI-VISA 3.1 requires the new NI-488.2 release for GPIB-ENET to be installed (even though you aren't using that product). This is due to some internal rearchitectures, and the PCI-GPIB product is not released. If you do want to go with NI-VISA 3.1, the new NI-488.2 release for GPIB-ENET on Linux will still work with the PCI-GPIB beta driver that you have installed.
    Dan Mondrik
    National Instruments

  • How can I get error message when calling pl/sql

    Hi,
    I call a pl/sql java wrapper generated by Rosetta.
    public static void startWf(
    OracleConnection _connection,
    BigDecimal p_goal_header_id,
    BigDecimal p_submiter_userid,
    String p_commit,
    String p_init_msg_list,
    String [] x_return_status,
    BigDecimal [] x_msg_count,
    String [] x_msg_data
    ) throws SQLException
    the pl/sql is written by the standard way of OAF backend,
    PROCEDURE start_wf ( p_goal_header_id in number
              ,p_submiter_userid     in number
    ,p_commit in varchar2 DEFAULT FND_API.G_TRUE
              ,p_init_msg_list in varchar2 DEFAULT FND_API.G_FALSE
    ,x_return_status out varchar2
    ,x_msg_count out number
    ,x_msg_data out varchar2);
    when running this procedure in TOAD, in case of error, following script can print error message:
    if l_return_status <> 'S' then
    dbms_output.put_line('Result');
    dbms_output.put_line('status: '||l_return_status);
    dbms_output.put_line('error count: '||l_msg_count);
    dbms_output.put_line('Loop Error');
    dbms_output.put_line('Err: '||fnd_msg_pub.get(-1,p_encoded=>'F'));
    for i in 2..l_msg_count loop
    dbms_output.put_line('Err: '||fnd_msg_pub.get(p_encoded=>'F'));
    end loop;
    end if;
    if l_return_status = 'S' then
    dbms_output.put_line('Success');
    end if;
    end;
    My question is when calling pl/sql java wrapper from Java, in case of Error, return_status="E", then in order to get exact error msg, is there any equivalent java method such as get error from pageContext or OADBTransaciton.. etc instead of calling again pl/sql fnd_msg_pub.get to get error msg?
    thanks
    Lei

    Lei,
    You can use
    checkErrors(OADBTransaction pTx,
    int pMessageCount,
    String pReturnStatus,
    String pMessageData)
    method in OAExceptionUtils Class.For details look at javadoc of OAExceptionUtils Class.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Why am I suddenly getting error messages when updating the vault?

    Hi, I would greatly appreciate any advice anyone here can offer of how to correct a problem that started recently.
    I've updated the vault for Aperture successfully many times before, but now, when I attempt to update the vault I've started receiving error messages. Everything seems to proceed normally at first, a progress bar opens showing "Comparing library to vault", then when that is done, another opens showing "updating vault 'photograph lockbox' from library". But after that I now get an error message which reads:
    "Update Vault Error:
    13345 errors occurred. The first 5 are:
    Error creating a directory in vault ‘Photograph Lockbox‘.
    Error creating a directory in vault ‘Photograph Lockbox‘.
    Error creating a directory in vault ‘Photograph Lockbox‘.
    Error creating a directory in vault ‘Photograph Lockbox‘.
    Error creating a directory in vault ‘Photograph Lockbox‘."
    I have a Mac Pro running 10.4.11, my version of Aperture is 1.5.6. I haven't updated either of those for financial reasons and because I have no pressing need to. And everything seemed to be working fine until a couple of weeks ago when the updating errors started.
    My vault is in a Seagate portable hard drive.
    Does anyone have any ideas about how to fix this?
    Also, does this mean that none of my new photographs are being backed up in the vault? That would be scary!
    Thanks for any advice offered.
    Rick

    Hi
    Exactly the same problem started for me a little while ago.
    Firstly, you are correct in assuming that subsequent backups are not taking place. This can easily be confirmed by looking at the colour of the synchronization button. Red circular arrows indicate that there are Digital Masters in your library that have not been backed up in a vault. What colour are yours?
    The problem is either a program error or hardware or both.
    I suggest that you create another vault, this time on your desktop. Backup to it. If this is successful the problem is not with the Aperture program.
    I was advised to format my hard drive as "Mac OS Extended (journaled)" before attempting to backup.

  • Getting error message when executing the Information Broadcasting

    While I am executing the Information Broadcasting settings, I am getting
    the follwoing error:
    Processing setting IB
      Precalculation failed E
      Error occurred during processing of framework class
    CL_RSRD_PRODUCER_EXCEL, type PROD
      Processing setting IB completed with errors
      Job step for user SAPWATCH, language EN ended with errors.
    I searched in the www.service.sap.com and found the related notes and
    tried to resole by following the steps. But still no use.
    For more details please have a look at the attached document.
    Please advice me.
    Appreciate for your co-operation.
    Thanks & Regards,
    Kris

    Did you try to run your broacaster using program RSRD_BROADCAST_STARTER ?

  • HT1222 I have to keep getting error messages when downloading the IOS 7.  All my Apple devices are getting the error message.  I tried several times to download.

    How is that I'm already experiencing a problem downloading the updated software on my Apple products?

    The servers are getting slammed. Tonsof people trying to download at the same time.  Give it time and keep trying.

  • Getting error message when i am trying to update the excel file using script task in ssis package

    Hi Guys,
    I am getting error message when I am trying to update the excel. Please find the error messages as below
    Error at Update File [Update File]: Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors.
    Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Application' is not defined., ScriptMain.vb, 32, 32
    Error at Update File [Update File]: BC30002 - Type 'Microsoft.Office.Interop.Excel.Workbook' is not defined., ScriptMain.vb, 33, 25
    Error at Update File [Update File]: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.
    Warning at Update File [Update File]: Found SQL Server Integration Services 2008 Script Task "ST_050fcae972904039b4f0fe59b7528ece" that requires migration!
    and the code that   I am using is
    Dell - Internal Use - Confidential
    ' Microsoft SQL Server Integration Services Script Task
    ' Write scripts using Microsoft Visual Basic
    ' The ScriptMain class is the entry point of the Script Task.
    Imports System
    Imports System.Data
    Imports System.Math
    Imports Microsoft.SqlServer.Dts.Runtime
    Imports Microsoft.Office.Interop.Excel
    <System.AddIn.AddIn("ScriptMain", Version:="1.0", Publisher:="",
    Description:="")> _
    <System.CLSCompliantAttribute(False)> _
    Partial
    Public Class ScriptMain
    Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
    Enum ScriptResults
                Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
    Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
    End Enum
    Public Sub Main()
            Dts.TaskResult = ScriptResults.Success
    'Dim proc As System.Diagnostics.Process
    'kill all instances of excel
    'For Each proc In System.Diagnostics.Process.GetProcessesByName("EXCEL")
    ' proc.Kill()
    'Next
    Dim excelnacomm As
    New Microsoft.Office.Interop.Excel.Application
    Dim wbnacomm As Microsoft.Office.Interop.Excel.Workbook
            wbnacomm = excelnacomm.Workbooks.Open("http://test.xlsx")(renamed
    the excel)
            wbnacomm.RefreshAll()
            wbnacomm.Save()
            wbnacomm.Close()
            excelnacomm.Quit()
            Runtime.InteropServices.Marshal.ReleaseComObject(excelnacomm)
    End Sub
    End
    Class
    Please let me know what could be the reason
    Smash126

    Download:
    Microsoft Office 2010: Primary Interop Assemblies Redistributable
    How to: Add or Remove References By Using the Add Reference Dialog Box  /  How to:
    Add and Remove References in Visual Studio (C#)
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • I am getting an un expected error message when updating the setting to "extend network".  Is there an obvious setting I may be missing?  Cisco router being used.

    I am getting an un expected error message when updating the setting to "extend network".  Is there an obvious setting I may be missing?  Cisco router being used.

    If you are trying to "extend" using wireless only, you may not be aware that Apple designed the "extend" feature as a proprietary setting to only work with other Apple routers.
    It is extremely unlikely that this will work with a Cisco router.
    If your plans call for connecting the AirPort Express to the Cisco router using a wired Ethernet connection, it should be possible to configure the Express that way.

  • Just recently getting error message when downloading podcasts.  Says "The iTunes Library file cannot be save.  You do not have enough access privileges for this operation."  Doesn't happen every time.  Using Windows 7.  What can I do?

    Just recently getting error message when downloading podcasts.  Says "The iTunes Library file cannot be save.  You do not have enough access privileges for this operation."  Doesn't happen every time.  Using Windows 7.  What can I do?  The files seem to be there but I don't know if they are being backed up to cloud.

    Hi, DickmoAZ.  
    Thank you for visiting Apple Support Communities.
    This sounds like a permission issue most likely with the iTunes Media folder.  Here is an article that will help you troubleshoot this issue.
    iTunes: Missing folder or incorrect permissions may prevent authorization
    http://support.apple.com/kb/ts1277
    Cheers,
    Jason H.

  • When I try to download iTunes, I get error message indicating that the download is for 32-bit, whereas I need 64-bit. How do I download 64-bit iTunes?

    When I try to download iTunes, I get error message indicating that the download program is for 32-bit, whereas I have 64-bit. How can I download 64-bit iTunes installer?

    What version of windows do you have ? 64 bit only exists for Vista and Windows 7, not for XP (http://support.apple.com/kb/DL1047)

  • I'm getting error messages when I download updates for lightroom and flash for the mac. can't figure out how to trouble shoot.

    I'm getting error messages when I download updates for lightroom and flash for the mac. can't figure out how to trouble shoot.

    It sounds as if your browser and some of your apps are not color-managed.  This is pretty typical.  Even IE9 is only partially color-managed.
    You can expect color-managed and non-color-managed applications to show you different things with the same images.  How different will depend upon how different your monitor color profile is from the image's color profile.
    For web publication and most general use, experts usually advise saving images with the sRGB profile.  If such images, saved through the Save for Web & Devices function, look different to you than you expect, it may be that your input images have previously been saved in another color space.
    You should really try to get your head around color-management by reading more on it.  It can seem baffling and it's difficult to understand without some background.  A quick web search turns up many overviews.  Beware, though, even people writing articles sometimes don't fully understand it.
    -Noel

  • Getting error message when attempting to download the beatles box set itunes lp

    I am getting an error message when downloading the beatles box set/iTunes lp.  States the file isn't there.  please advise.    

    Hi,
       First of all, you have to identify the scheduler server in case you have a multiserver installation.(Server Managr->Options->Server options). Then you have to follow the steps:
    1. Go on Scheduler server, open Control Panel->Scheduled Tasks and delete all the jobs starting with DM_<appset>*
    2. Run the query into the appset sql db:
        delete from tblSchedule
    You can run the steps by application as well(if you have problem only for a specific application):
    1. delete all jobs starting with DM_<appset>_<application>*
    2. delete from tblSchedule where App='<application>'
    Best regards,
    Mihaela

  • I keep getting an error message when installing the trial of Photoshop CS6.

    I've tried installing it mulitple times and have tried some of the troubleshooting solutions but nothing seems to work and this message continues to pop up. Any help?

    Do you receive any error messages when downloading the software?
    Alternately you can initiate a direct download by following the directions listed at http://forums.adobe.com/thread/981369.

  • HT4623 While trying to sync my ipad, it became stuck in the recovery mode and I get error messages when I try to recover

    While trying to sync my IPAD with ITUNES, my IPAD when into recovery mode and I keep getting error messages when I try to recover it.

    What might these error messages say?

  • After soak test update, I get error messages repeatedly. The majority are "unfortunately, messaging has stopped", but you can replace messaging with "android os", or any other process, as it happens with more than just messaging. I have had numerous peopl

    After soak test update, I get error messages repeatedly. The majority are "unfortunately, messaging has stopped", but you can replace messaging with "android os", or any other process, as it happens with more than just messaging. I have had numerous people call and ask why I didn't reply to their texts...and I look, but have not received any new texts. YES, I have restarted phone. I have cleared data as well as cache on all apps. I have downloaded the vzw messaging app, which seems silly, since it happens with several different processes and apps, but all to no avail. I am missing texts from my employer, from my family. This did happen, but rarely, before this "soak test". It is now Kitkat version 19.6.3.obake_verizon.en.US. THIS is when I started having problems...like 50 times a day kind of problems! I have seen hundreds of posts all over the internet over the past 3 days. Does no one know how to fix this??? Shouldn't there be a way to revert phone to a pre-update state? and no, hard reset did NOT work!!!! I have been with verizon for well over 15 years, but I have not upgraded my lines and will not in July either. This is ridiculous. It's not like my games aren't working, it is my messaging and "android os"...my lifeline at work!

    kristinaf333,
    Oh no, I am sorry to hear your messages are not working since the software update. I greatlly appreciate doing all that troubleshooting to try and get the messaging application back in business. I know how much I rely on my messages so I can understand the urgency to get this resolved. Have you had a resolution ticket opened since you started experiencing issues with your messages? Does this happen with all contacts or just some? Please provide additional information to ensure we get to the bottom of this for you.
    KarenC_VZW
    Follow us on Twitter @VZWSupport

Maybe you are looking for

  • Only one device at a time.....

    If my main machine is downloading an update or watching tv over the network it takes all the bandwidth stopping any other wi-fi device from connecting.  The only wi-fi connections I have in my home are Main Machine, Printer, Wii, Another Laptop and a

  • Why does Boot Camp Assistant already think I have more than one partition on my hard drive?

    Greetings... I'm surprised I've found no remedy for this problem in my searches so far. My symptom is that when I run the Boot Camp Assistant app, I get the following error message: "The startup disk cannot be partitioned or restored to a single part

  • SAP Query Report miss fields while executing

    Dear Experts, I have created User group and assign users to it , then i craete Infoset with Join tables (EKPO - EKKO - EKBE) then i created aquery with SQ01 But when i tried to execute the report it does not display any numbers just text .. for examp

  • Transferring from a mac to a mac

    Hi,I recently got a new macbook, and I would like to transfer my files from my old iBook to my new computer. I don't have a firewire cable though, but I read that it's possible to transfer files using an ethernet cable. Anyone have any idea how to do

  • Customer opening debit credit balance table

    Dear Gurus, I  want  to  develop  zreport  customer Vendor ledger in the format Opening Debit Credit balance Is there any table contains Profit Centre , Balance ,Monthly DebitCredit ? There is table which I know but profit centre are not maintained i