Smartform report generation error

Hi,
I have a problem with a report calling a smartform. The report works perfectly on the 1 system but on the other system there is a generation error. I found that the problem lies with the following declaration:
data: otf_info type SSFCRESCL. 
I compared the structures on the different systems and they are identical. The only difference is the Support Package levels. The error occurs on the system with the higher support package - SAPKB64015 (basis and aba) whereas the other system is still at level 12 (SAPKB64012).
Any ideas what is causing the generation error and what could be done to fix it?
Regards
Liza-Marie

Hi ,
I think there may be some errors in function group errors.
Try the following :
T/Code : SMARTFORMSEnter the name of the form> Test--> This will leads to function module --> Utilities(Menubar)-=-> Repair function group --> Repair.
After repairing the function group --> Save and Activate.
Then transport the Smartform to other system .
Regards,
Lanka

Similar Messages

  • Report Generation error -41007

    I have installed Report Generation toolkit in evaluation mode.
    But running the examples always show error -41007 .
    How to solve it ?

    see here
    It seems you have not installed properly. Try re-installing. Post back.
    Mathan

  • Excel report generation error

    Hi,
    Does anyone have experienced (and solved) this behaviour?
    I've been using the report generation toolkit to build word report without
    problem. I've also solved a lot of problems in the excel part of the toolkit
    (e.g. building graphs with >20000 points). It finally works in development
    environment.
    Now when I install the executable (, with the installer) the word reports
    still work, but the excel report don't. The executable does run on a
    different system, but the excel versions are the same (both Excel 2000).
    I have copied the excel library in the data directory of the executable.
    The following error is generated:
    -2147319784
    Old format or invalid type library
    Excel_Open.vi
    This is the first report generation vi that is called. I us
    e it to open a
    template.
    Any help is appreciated.
    Wiebe.

    Hi,
    Surfing the internet, I found this comment:
    *Start quote*
    Sometimes you'll find that a parameter is required that isn't mentioned
    anywhere in the application's documentation. This happens when you need to
    specify system information: the chief example of this is the lcid, which is
    a locale identifier, and which pops up all over the place in Excel. The good
    news is that there is a constant in the Windows unit which provides you with
    the correct value, LOCALE_USER_DEFAULT:
    var
    lcid: integer;
    begin
    lcid := LOCALE_USER_DEFAULT;
    Excel.Visible[lcid] := True;
    There's also a function, GetUserDefaultLCID, but using that value can cause
    an error, complaining about an 'old format or invalid type library' on some
    setups. Using LOCALE_USER_DEFAULT for the
    LCID value should fix that.
    *End quote*
    Could this be the problem?
    Regards,
    Wiebe.
    "Wiebe@AIR" wrote in message
    news:3e79a3aa$0$140$[email protected]..
    > Hi,
    >
    > Does anyone have experienced (and solved) this behaviour?
    >
    > I've been using the report generation toolkit to build word report without
    > problem. I've also solved a lot of problems in the excel part of the
    toolkit
    > (e.g. building graphs with >20000 points). It finally works in development
    > environment.
    >
    > Now when I install the executable (, with the installer) the word reports
    > still work, but the excel report don't. The executable does run on a
    > different system, but the excel versions are the same (both Excel 2000).
    >
    > I have copied the excel library in the data directory of the executable.
    >
    > The following error is generated:
    >
    > -2147319784
    > Old format or invalid type library
    > Excel_Open.vi
    >
    > This is the first report generation vi that is called. I use it to open a
    > temp
    late.
    >
    > Any help is appreciated.
    >
    > Wiebe.
    >
    >

  • LabVIEW6i Report Generation ERROR

    I have LabVIEW6i with LabVIEW 6.0 Run Time Engine and LabVIEW 6.0.2 patch updated with LabVIEW 6.0.2 Run Time Engine, at my development environment. I have read all the necessary related documents on the NI website, but did not help for the problem.
    I run an example from examples section of Report Generation vi's.
    I run the example "Sample Test Report.vi" and get the following error:
    1)-->Error -2147352567 occurred at The margins are invalid.. in Print Report.vi->Sample Test Report.vi.
    I open the Print Report.vi to check for the margins settings, I dont find any, and when I run the "Print Report.vi", I get the the following error:
    2)-->Error 1 occurred at "Generate Report Get Data to Modify.vi".
    Possible r
    easons:
    Object 0x000000 is not valid.
    I tried to debug the Print Report.vi, then I find the 2nd error is from "Generate Report Get Data to Modify.vi".
    I dont find any possibility to modify or change the margins. Or what necessary modifications I have to make to what *.vi, and excute the required *.vi's.
    Reply awaited.
    Thanks in advance.
    Sudhir N.

    I don't use the Report Generation functions much but I can say that there is a Set Report Margins.vi under the Report Generation>Report Layout palette. It is not included in Sample Test Report.vi example but you can add it. Probably the reason you got the error when running Print Report.vi is that you didn't run the New Report.vi first in order to create a reference.

  • Report generation error

    Hi,
    I'v created a query by Query Designer. On execution of the query on web the following error message is represented : "The query could not be generated without errors."
    The message details :
         "Program RSR_BAD_CODING for the query could not be generated without errors.
         The generated report was saved under the name RSR_BAD_CODING and must be analyzed.
         Please edit program RSR_BAD_CODING and carry out a syntax check there ('Check' key) to ..."
    Where I can found this program for checking syntax?
    Please help...
    many thanks in advance,
    Fiodar.

    you can see the code for this using transaction se38 and entering  the name there.
    However this is a SAP delivered program and you should not be making changes to it.
    Have a look on OSS there are 34 notes related to this program and issues with it.
    hope it helps
    alan

  • Crystal Report generation error

    Hi,
    I m using VS 2008 for development web application on local machine. One of my page is being used to display crystal reports through report document as usual.
    I deployed my application on web server windows 2008 R2 and I have also properly installed CRRedist2008_x64.msi & CRRedist2008_x86.msi on web server
    But When I open this page on browser I always get en error on line Declaring reportdocument object Like
    Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
        Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
      Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
    To grant ASP.NET access to a file, right-click the file in File Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
      Source Error:
    Line 44: Line 45: Dim rpt = New ReportDocument()
    Line 46:         rpt.Load(Server.MapPath("../Reports/CrRcpt.rpt"))
    Please help me to work on crystal report in my project:
    Thanks

    You have to be careful on the files you deploy. There is Crystal Reports 2008 (v. 12.x) and Crystal Reports Basic for Visual Studio 2008 (v. 10.5).
    If you are referencing CR assemblies of version 12.x, then you have to use the runtime files from here:
    MSM
    https://share.sap.com/a:328ro3/MyAttachments/53ecd0f0-09d3-4633-ada3-eeb7639fcd37/
    MSI
    https://share.sap.com/a:328ro3/MyAttachments/b7b145e0-eab2-46d0-bab1-e072d4f2af35/
    Note that CR 2008 (v. 12.x) does  not have 64 bit runtime.
    If you referenced CR assemblies of version 10.5, then you need to use the runtime files from here:
    Crystal Reports for VS 2005 and VS 2008 Updates & Runtime Downloads
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter
    https://twitter.com/SAPCRNetSup

  • Report Generation Error Code=1 applying patch 1471898

    When apply the file g1471898 the adpatch was unable to generate reports. The message is ERROR [Code=1] generating report ....

    Thats not much to go on.
    You should probably take this up with Oracle Support.
    But surely there is more in the logs than just that.
    You dont have any 'ld: fatal: Symbol referencing errors..' or
    something along those lines?
    If you cant sort out the issue from your log files, then
    you might want to recompile your apps schema and try the g-driver
    again. Before contacting Support.

  • Summary Network Report Generation Error

    I am running SBS 2011 and have recently stopped getting the Network Summary Reports. When I go into the log I see the following error:
    2014-05-12T03:15:00.245868 : ***************** Starting GenerateMonitoringReport task... *****************
    2014-05-12T03:15:00.246868 : Generating Summary Network Report...
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.FirewallInformation.GetFirewallStatusFromMonitoringStore(String computerName)
       at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.ReportGenerator.GenerateSecuritySectionSecurityCenterPart(ReportSection section)
       at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.ReportGenerator.GenerateSecuritySection()
       at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.ReportGenerator.GenerateReport(ReportConfiguration config)
       at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.GenerateReportTask.Run()
       at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.SBSTask.StartTheTaskStub()
    This error happens every time the report is generated. Any help resolving this would be much appreciated.

    Hi Rory Christian,
    Would you please let me confirm whether it’s SBS 2011 Essentials or SBS 2011 Standard?
    If it’s SBS 2011 Essentials, and you have installed Update Rollup 2. Please use following Hotfix and check
    if help you to solve this issue.
    You receive the warning "Computer Monitoring Error"
    in Windows Small Business Server 2011 Essentials after you install Update Rollup 2
    If this issue still persists or it’s SBS 2011 Standard, please run
    SBS BPA and fix all that it can find. Then monitor the result. Meanwhile, please open Event Viewer and check if you can find more clues.
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu

  • CF Report generation error

    Hello,
    We have a report that is working on the development and the
    production server. I just downloaded the Report Builder version
    7.0.1
    When I change the report (move a filed from one pixel left)
    and save it, the server returns an error:
    The report template D:\...\IRC_BBS_Submission.cfr appears to
    be malformed or contain errors. The error that was encountered was:
    Invalid CFML construct found on line 135 at column 236.ColdFusion
    was looking at the following text:
    The CFML compiler was processing:
    * An expression that began on line 135, column 226.
    Your expression might be missing an ending "#" (it might
    look like #expr ).
    * the tag attribute "yaxistitle", on line 135, column 214.
    * a cfchart tag beginning on line 135, column 18.
    * a cfchart tag beginning on line 135, column 18
    I am using CFMX 7.1 on Windows 2003, and have the report
    builder running on this system too.
    Thanks for your help
    Eric

    Hello,
    I found the problem.
    We are using an external query (called via CFModule) and one
    of the field name had changed.
    So the error was due to the fact the CFREPORT was not able to
    find the field on the query.

  • Open vi error for report generation toolkt

    Originally it works fine.
    Now I upgrade to win7, LV9 and office2010.
    To open the old program by 8.6.1, I reinstalled LV 8.6.1 and report generation toolkit.
    But still got the error as attached.
    Any suggestion, thanks.
    Attachments:
    ss.png ‏184 KB

    1. MS Office 2010 is not yet supported, since it's still just a beta. I believe there are couple of changes that Microsoft make, and it could cause a problem.
    2. LabVIEW 8.6.1, and all its toolkit is not supported on Windows 7. This could cause a problkem also.
    In conclusion, you should use LabVIEW 2009, Report Generation Toolkit 2009, Windows 7, and downgrade office to XP, 2003 or 2007.
    More information: http://digital.ni.com/public.nsf/allkb/C9408B9F08D​711E786256F3300701D01

  • Report Generation Toolkit Error (undefined erro)

    Does anybody know what error -214 682 7864 (0x800A01A8) means when coming from the Report Generation Toolkit.
    I have an app which has been happily ticking over for several weeks, and then this error was generated when attempting to write a table to a spreadsheet. The error was generated all the way down in NIReportGenerationToolkit.lvlib:Excel_Get_range.vi (this is the ActiveX code).
    Any ideas? 
    nrp
    CLA

    nrp wrote:
    I have an app which has been happily ticking over for several weeks, and then this error was generated when attempting to write a table to a spreadsheet.
    Was it the first time you attempted to write the table to that spreadsheet?
    Maybe the error is due to the spreadsheet grown oversize than its limit so that it cant accomodate the table anymore.
    What is the version of MS Office you are using? I think Office 2003 can go only upto 1024 columns...
    - Partha
    LabVIEW - Wires that catch bugs!

  • Report Generation Exe Error

    Hello,
     I am using LV 8.6.1 with the 1.13 report generation toolkit and I am having problems getting my built exe to work.  I am trying to open an excel template and populate it with new data.  I have broke the vi down to just opening excel - opening the template and then fill in some data.  But at this point excel does not open at all.  And naturally everything works fine in the development environment.
    Error Code: -2147352573
    Member not found in NI_ReportgenerationToolkit.lvlib:
    Excel_open_workbook.vi
    NI_Excel.lvclass: new reportsubvi.vi
    I read a few help pages that said to add \vi.lib\utility\NIreport.llb and LVclass directories to the project folder and add them to the always include section of the build.  But no luck so far.
    Side question:  The machine I want to use this on has 8.6.1 Full which does not have the extra excel functions that my developer has.  Is there a way to install the DEV report generation toolkit in the full version?  Then I would not need to build an exe.
    UPDATE:  I just tried the exe on a different machine that has a developer suite installed and it worked fine.  So I guess I need to find out what else I need to add to the build to make it work.
    Message Edited by _Bryan on 06-16-2010 11:58 AM
    Solved!
    Go to Solution.

    There should be some info on this in the KB.
    But first you should make sure that your version of the report generation toolkit actually supports excel 2000 (which is 10 years old)
    That should be in the release notes of the toolkit
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Report Generation Toolkit producing error -2147417842, "The application called an interface that was marshalled for a different thread."

    Hi everybody,
    I've got an application that logs data to an Excel spreadsheet using the Report Generation Toolkit.  My VI's have worked fine in the past using Excel XP, but since I've upgraded to Excel 2007, I am getting COM errors like this one:
    "Error -2147417842 occurred at The application called an interface that was marshalled for a different thread. in Excel_Insert_Text.vi"  That is the exact wording, even with the weird punctuation and capitalization.
    The first occurrence of the error is not determinate.  Sometimes, up to 10 logging sessions, involving a new .xls file, can occur before this error pops up.  Once this error occurs, I must quit LabVIEW to resolve it.  If I try to do anything with Excel, I always get this error, although sometimes it comes out of different source VIs.  Excel_Open.vi is another.
    These logging VIs have worked just fine until upgrading to Excel 2007.  I checked, and I was using a really old version of the Report Generation Toolkit, v1.0.1.  I read the documentation and had a big sigh of relief when I realized I needed to upgraded to v1.1.2 to get Excel 2007 support.  However, even after upgrading, I'm still getting the same errors.  I'm using LabVIEW 8.0.1, and I'm also building these VIs into an application.   The error occurs both in the LabVIEW IDE and in the built application.  Does anybody out there have any idea what I can do to fix this?  I googled a little, and discovered this is a COM error, but I can't find any references to the Report Generation Toolkit specifically.
    Thanks,
    Phil
    Solved!
    Go to Solution.

    Hi Christian,
    I do not see that exact option listed, do you mean "user interface"?  I recognize the "Run in UI Thread" option, it's on the Call Library Function Node.
    I checked, and my top-level VI has "same as caller" set, and I believe all my VIs are set to "same as caller".  Are you suggesting I change my top-level VI preferred execution environment to "user interface", or just the logging sub-VIs that use the Report Generation Toolkit?
    Thanks,
    Phil
    Attachments:
    VI_properties.png ‏15 KB

  • Report generation toolkit VI error when running EXE

    A VI inside the Report Generation Toolkit (version 1.1.2), Excel Find Application Directory.vi, will not function correctly when running an EXE.  The "Current VI's path" block will return the path of the currently running EXE rather than the path of the Excel Find Application Directory VI.  (The same would be true for Word Find Application Directory.vi.)
    -Joel
    Solved!
    Go to Solution.

    Have you had a look at this knowledgebase article? The error is caused due to the exclusion of any dynamic VI.
    Ipshita C.
    National Instruments
    Applications Engineer

  • Is ms office 2013 supported for report generation​? Error 41106

    Hi
    I have a copy of LV full development suite with the Excel and Word report generation toolkit added.
    I have recently changed to using Office 365 that includes offline versions of Excel and Word from Office '13.
    When using the report generation toolkit, I get an error 41106.
    I have reinstalled the toolkit - no effect.
    I sort of assume therefore that office 2013 is not supported?
    Any hints, tips, patches or workarounds please.
    Bill

    Bill_Shepherd wrote:
    Hi
    I have a copy of LV full development suite with the Excel and Word report generation toolkit added.
    I have recently changed to using Office 365 that includes offline versions of Excel and Word from Office '13.
    When using the report generation toolkit, I get an error 41106.
    I have reinstalled the toolkit - no effect.
    I sort of assume therefore that office 2013 is not supported?
    Any hints, tips, patches or workarounds please.
    Bill
    I've seen some issues when I upgraded to Office 2010. Note that it is possible that the route cause of your problem is totally different but in my case there was some ActiveX properties or Methods call that have been changed. I solved this issue by navigating to the property/method that caused the error, clicked on it and reselected the same property/method. You could probably find some older post that discuss that. Hope this help.
    Ben64

Maybe you are looking for

  • Can't connect to shared printer on Windows 7 Pro x64

    I have a print server on Windows 2008 Standard and I have drivers installed for both x86 and x64 archs. The ricoh printer seems to work fine on windows 7 pro x64 but the hp printer will not work correctly. It seems to download/install the drivers but

  • Re-wiring external cable from "junction box" to wa...

    Hi everyone, Newbie here. Some time ago I had my wood front door and frame replaced by a uPVC one. This has resulted in the telephone cable being revealed - it can no longer be hidden behind the door frame. It would be neater for the cable to be re-r

  • Banshee SVN - GDATASHARP

    Hi all, I am trying to install Banshee from SVN directory using git ( git clone git://git.gnome.org/banshee ) I am however running into a corner as I am missing GDATASHARP (see terminal error below) checking for GDATASHARP... no configure: error: Pac

  • "save as" is no longer available

    How do I "save as" now with the upgrade to Lion? I've lost old documents trying to make changes and then on restore - lost the new document as well. This was such an important and easy way to make changes easily and still keep the old document. I've

  • Photoshop cs6 work space disappear when i trying to crop or lasso.

    canvas size width : 1600 pixels height : 1600 pixels resolution : 300 pixels/inch When I trying to crop or lasso, my work space disappear. there is one way to find work space. stop using crop or lasso tool. i don't know why. pls help me. OS : Win 7 p