Quantcast
Channel: SCN : All Content - SAP Crystal Reports
Viewing all 4716 articles
Browse latest View live

Duplex Terms & Conditions with Groups and multiple varied pages per group

0
0

I've been searching for three weeks and have tried many combinations.

I have an existing purchase order that groups on a field called REFNUM.

The grouping and paging along with "Page N of M" has been working fine.

 

Now the customer requested that Terms and Conditions (T&C)  print on the back of every page (so every EVEN page).

I have gotten closest by putting the T&C in the Page Header, with conditional suppression of odd pages and even pages.

I have reviewed other posts so I know I am not the only one trying to do this?

 

The problem I now have is getting the "Page N of M" to behave properly.

 

I can get the PO to print "REFNUM (Continued)" on any of the follow-on ODD pages for a given group.

 

To do that I am using a formula called @REFNUMSUFFIX (and appending it to the REFNUM field in a text box on GH1)

 

WhilePrintingRecords;

StringVAR MyPage;

IF NOT OnFirstRecord

THEN MyPage:="Continued";

IF PREVIOUS({Command.REFNUM})={Command.REFNUM}

THEN

"-" & MyPage

Else ""

 

I tried the following to get a page # for that group, but it is not behaving as I want it to - it seems to be using boolean logic and giving me either a 1 or a 0 instead of a number:

 

WhilePrintingRecords;

NumberVar MyPage;

IF OnFirstRecord

THEN MyPage:= 1

ELSE

IF PREVIOUS({Command.REFNUM})={Command.REFNUM}

THEN

MyPage:= MyPage+1;

"-" & ToText((int(MyPage/2))-0)

 

Please let me know if you need more information.


Terms and conditions page

0
0

Hi

 

I have a quotation form and I need to add a Terms and condition page to the end of that form.  I wrote the text in report footer but when I print it, Terms information appears 2 times.  I don't know why Crystal repeats the information.

 

Anyone knows how to solve my problem?

 

Thank you so much

 

Fátima

URL's in a text box

0
0

Hi Guys

 

Is it possible to add a hyperlink in a embedded object/formula within a textbox in crystal report.

 

I know you would right click on the text box and add a url. But what if you had to add more than 1 url?

 

 

Any Ideas?

Blank sections at the end of each page in multiple report pages.

0
0

Hi all,

 

How to get rid of blank sections (about 1/3 height of landscape report size) at the end of each page in multiple report pages.

 

Here is my Crystal Report section design as following:

 

 

Section 1(Report Header) Nothing contents in it

Section 2(Page Header) There are company logo images, report titles and header fields

Section 3(Details) There are column fields

Section 4(Report Footer): There is a sub-report in it

Session 5(Page Footer): This session is designed to display a lot of calculated formulas for Sum, Avg, etc...

 

 

With above report design, the first page to the page before the last page have big blank space about 1/3 of height landscape size and the last page is layout what I expect. How do I get rid of above blank space instead of displaying more rows in those blank ones. I try to Suppress, suppress blank session in Page Footer, Report footer or even though Reserve Minimum Page Footer but in vain.

 

 

I really appreciate any advice or suggestion to solve my above issue. Thanks in advance.        

Invalid export type

0
0

Dear All,

 

I am facing the issue with "Invalid export type" when i am trying to create a PDF by reading the elements

 

I am using the Crystal reports 2013 and  VS 2010 which is running in Windows 2008 R2 platform.

 

faollowing is the error shown :

 

System.Runtime.InteropServices.COMException{"Invalid export type."}System.Runtime.InteropServices.COMException

 

This is working fine when i do the same with VS 2003 and with CR 9.0.2

 

Following is the stack trace :

 

at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)

   at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)

   at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)

   at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)

   at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()

   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export()

   at Sample.clsCrystalToPDFConverter.Transfer(String inscode, String enrolment_number, String withdependent

 

I am attching the code for your reference.

 

Since i am beginer to the world of CR please help me.

 

Advance thanks.

Excluding Wrong Records

0
0

Good Morning,


What I'm trying to accomplish is to identify all companies in our database with whom we have had no contact in the last 365 days. Contact is determined by whether a communications record has been created in that time frame. If a communications record was created withing the last 365 days, we have had contact with that company and it should not appear on the report.


After joining the tables I've put the following in the Record Selection formula...

{Communication.Comm_CreatedDate}<today()-365


What this is doing is returning ALL companies and ignoring any communications records created within the last year.


To summarize...

We have a Company table and a Communications table.

 

The tables are joined on Company.comp_CompanyID > Communications.comm_CompanyID.

 

The relationship is "one to many." One company has many communications records.

 

I want to omit from the report all companies that have had a communications record created within the last year.

 

Instead, all companies are being returned and just the communication records created within the last 365 days are being omitted.

 

How can I skip the company if the company has had a communications record created within the last year?

 

Thanks for any help.

Java Beans Connectivity > Java Beans Classes Drop Down Menu is BLANK!

0
0

I'm trying to add data elements to my report based on my java objects (POJO). I cannot seem to get the Java Beans Classes drop down menu to populate despite following the CRConfig.XML tutorial I found on the SAP site.

 

http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/90f892e8-931e-2b10-81a8-9154b9ee7c18?QuickLink=index&…

 

 

  1. I pointed my <JavaDir64> to my sdk/bin
    <JavaDir64>C:\Program Files\Java\jdk1.8.0_31\bin</JavaDir64>
  2. <JavaDir32></JavaDir32>
  3. Added my <JavaBeansClassPath>
    <JavaBeansClassPath>C:\Users\<username>\git\<app>\target\classes\com\company\project\domain</JavaBeansClassPath>

    This folder contains my compiled java classes ie. person.java > person.class
  4. Opened CR 2013 (trial version) expecting to see the java beans classes populated but it's still blank.

 

 

 

Has anyone ran into this issue?

Pls tell me how many Details Sections can insert in one report.

0
0

Pls tell me how many Details Sections can insert in one report.

and how many group sections can insert in one report

and how many sub report can insert in one report


Set Database Location update not "taking" Crystal 2013/SAP ASE 15.7

0
0

I developed my reports against a development database. The reports are "executed"  by a C# program that provides database login credentials for ASE 15.7 database.  When I went to install reports into production they failed with a "Failed to retrieve data from database" exception. The C# program provided the correct login credentials for the production server.  So, I said, let me try to connect to the prod server in the designer.  Using the "Database Expert" I created a new connection to the prod server.  No problem.  I use the "Set Database Location" dialog to switch the report source(s); main and sub-reports. I refresh the report and it says "Failed to retrieve data from database" then "Database Connector Error: "Attempt to location entry in sysdatabases for database 'test3' by name failed - no entry found under that name....  Its like it logged into the prod server, but tried to use the test server's database name.  In the "Database Expert"  the database name is correct.  How do I diagnose this? Is there problem changing the database name?

Thanks,

John

Unable to load FLXUTL32.dll

0
0

Hi,

 

While accessing a crystal report a user getting the below error.

 

Unable to load FLXUTL32.dll (code=WIN126) 'f:\Source7\BIN\flxutl32.dll'

 

The user access the crystal reports from G drive (a network shared location). In F drive (another network shared location) where no such path available.

 

If the same user access the same reports from another machine it is working fine.

 

We tried uninstall / install the crystal reports in user's machine, but no luck. Could anyone suggest me to fix this issue.

 

Regards,

Anandaraman

Problem with hyperlinks when exporting to PDF

0
0

I wonder if there is anyone out there who is having /had the same issue as me using Crysatl 2013 support pack 1??

 

I have a report, which has some fairly simple hyperlinks set against some fields, which work fine from within Crystal, however, when I export them to PDF, the hyperlinks seem to be getting lost.

 

I'm 99% sure this has been working fine, but seem to be having problems since moving from XP to Windows 7.  I'm sure there is nothing wrong with the PDF viewer I'm using, as I've tested with other PDF's and that seems to work fine.

 

Can anyone help???

 

Thanks


Scott

Summary Type - Marketing Documents

0
0

Hello Experts,

 

In SAP B1 there is an option in marketing documents called "Summary Type" now when this option is selected to summarize By Items, how would I be able to do this in Crystal Reports?

 

My current layout I am using for A/R Invoices will ignore the feature and am struggling on how to integrate it and summarize details rows by items. Any advice would be greatly appreciated.

 

Regards,

 

David

Vertical Data Files

0
0

I am in the process of purchasing Crystal Reports.  My biggest question is we are planning to use it to create reporting against a data file that has been created in a vertical format.  How will crystal reports handle this?  I have never experienced this.  I am a proficient Access user only Access has dropped it's GRAPH functions.  Chat mode with SAP did not give me any answer, except to ask my question here.

Query multiple SAP ECC tables

0
0

Scenario I am trying to accomplish - 

 

The Crystal Report queries the login user name from Table A and fetches the region of the user and passes it to a sub-report. If no match is found, then look into Table B (which contains another set of users) for user's region. Tables A and B are SAP ECC Custom tables and I don't have the capability to write freehand SQL command and also we have experienced a lot of problems in getting full outer joins to work with SAP ECC tables. We are using CR 2013 SP 3 Patch2

OINM.DocDueDate is not updating

0
0

Hello Experts,

 

Hope you are doing well.

 

I have come up with the question that why OINM.DocDueDate is not getting updated once i change back the docDueDate from transaction table?

 

Suppose if I post GRPO entry on 01/06/2015 and kept due date as 10/06/2015. Now if I go back and change the Due date to today's date and rechecked under OINM table however it still not getting updated.

 

Is this standard behaviour and am I missing something?

 

Please find the attached word document for your reference.

 

 

 

Regards,

Vinod Memane


Barcode Label

0
0

HI,

 

I am creating a Barcode label. I have my font and the label size 1.5x1, I know where to add the Format with Multiple columns.

 

I do not have a template, my customer is in another country.

 

Where can I get the information to enter in Crystal for the Gap between details, margins etc .And Is there a template I could print from somewhere to test print my labels ?

 

Thanks,

Debbie

Global Variables

0
0

I want to start using Global variables.  I have a report called Followup. It is tracking the sales of sales reps automatic, so that if the web site suppose someone start process of purchasing. later they make request so then that rep has a Followup task. Reps come and go and so every time new rep comes i have to copy the same report and make for them, according to record select and heading.

 

So, am looking for ideas how to have this be automated in the CR. Problem becomes if I am on leave from office they cannot get this report to the user.

 

Please enlighten me your ideas how to do this. Only changes is the record select will be according to user name and then the heading.

CR4E Eclipse Luna Support?

0
0

I'm using Eclipse LUNA (4.4.2) to build my Java application. I'm also using Crystal Reports 2013 to design reports but also CR4E 2.0 to add POJO objects since I can't get it to work in CR 2013..

 

As you can see this setup is quite a burden. Is there any timeline for Eclipse LUNA support for the Crystal Reports plugin?

Cannot select .csv file as data source

0
0

I'm using CR VERSION 14.0.2.364 and i'm having a specific issue trying to use a .csv file as a ACCCESS/EXCEL(DA0) type= TEXT as a datasource.

When i try and select the table in the datasource window i can see the .csv file, but when i try and add it to the right side, Crystal just hangs(not responding).  the file is only 16290kb (40,000 records x 30 columns).  I've tried the file at (20k records) 10k records and 5k records(file size = 1315kb), same result.

 

I have other larger csv files that open fine(not as many columds, but in excess of 40ok rows), files sizes about 2500-3000kb

 

This csv is inherited and chosen by customer as the output records may be be > 64k records and breaks .xls. There's not a .xlsx option for me to receive the file.

 

Any suggestions.... please

Blank sections at the end of each page in multiple report pages.

0
0

Hi all,

 

How to get rid of blank sections (about 1/3 height of landscape report size) at the end of each page in multiple report pages.

 

Here is my Crystal Report section design as following:

 

 

Section 1(Report Header) Nothing contents in it

Section 2(Page Header) There are company logo images, report titles and header fields

Section 3(Details) There are column fields

Section 4(Report Footer): There is a sub-report in it

Session 5(Page Footer): This session is designed to display a lot of calculated formulas for Sum, Avg, etc...

 

 

With above report design, the first page to the page before the last page have big blank space about 1/3 of height landscape size and the last page is layout what I expect. How do I get rid of above blank space instead of displaying more rows in those blank ones. I try to Suppress, suppress blank session in Page Footer, Report footer or even though Reserve Minimum Page Footer but in vain.

 

 

I really appreciate any advice or suggestion to solve my above issue. Thanks in advance.        

Viewing all 4716 articles
Browse latest View live


Latest Images