All items doubling up on Purchase Request layout (Crystal Reports)
Hi Everyone,
There is an error in our Crystal Layout when printing 'Purchase Requests'. This error appears to have been present in our system since 'Go Live' and may be present in other people's systems due to the fact that I am using the 'System Default' Crystal Reports layout for Purchase Requests.
Here is the layout that I am selecting (however the error that I am about to show below is occurring on all of our Purchase Request layouts) -
The issue with the layout is that items on the Purchase Request are doubled up, and so are their related costs.
I have blacked out some of the information in the screen capture for confidentiality.
Is anybody else experiencing this issue? If so how did you overcome it?
Kind Regards,
David
Hi David,
a) Right click on the fields and go to format field and select the option suppress if duplicated.
b)you can go to the database tab on the top and select the option "select distinct records
c) Please check the joins .This happens due to wring Joins between two tables.Please check the join properly.
If it is proper then check the No. of fields and its data coming and do not take unnecessary fields if it is not in use.
Thanks
Similar Messages
-
Pre-Purchase Question - Deploying Crystal Report to SSRS Report Server
Our company has recently installed a SQL 2005 server for our accounting system. I had intended going down the path of using SQL Reporting Services as our reporting tool and deploying them to the builtin Report Server. However, I've been using Crystal Reports for years and find it much more user friendly for a non-programmer to use. I can actually write a report in Crystal, SSRS took me 3 days to achieve very little, I believe it requires too much SQL reporting knowledge for a beginner.
After spending many hours trawling the net looking for a solution to this problem, I found that Crystal comes as part of Visual Studio. However, I also believe the version of Visual Studio that comes with SQL2005 is the basic version, and I'd need the Pro version to get the Crystal add on.
To this end, I've downloaded the trial version of Crystal 2008 and installed it. I find I can write a report in Crystal, and then I can manually add that report to a SSRS project. When I open the Crystal Report within Visual Studio I can see all the correct Crystal toolbars and menus etc, so it would appear that the installation of Crystal for Visual Studio has integrated properly. I can then deploy that report to the Report server and see the report on the web page. However clicking to open the report then opens the full Crystal Reports application, instead of just displaying the report in the web page.
I've been unsuccessful in finding a solution to the above deployment problem. I'm seeking a solution so that my users can just see the report without Crystal itself opening up. I've been advised that there is a Crystal Report Server that I can purchase, but I don't wish to go to that expense when we already have this functionality built into our SSRS server.
Can you please advise if it's possible to deploy the Crystal report to the SSRS Report Server and then open the report within the web page without opening the full Crystal app, and if so what steps I would need to take to implement this.
If this issue can be resolved, I'll be more than happy to purchase the full Crystal 2008 package and forget SSRS as a bad idea.
Sorry to be so long winded, I wanted to be clear what the issue is. Any information /advice would be very much appreciated.Hello Diane,
I would not know if Crystal Report can be used with SSRS but I know for sure that you can use the embedded Crystal Reports Version with comes with VS 2005 or VS 2008 to create reports and to display them in web and windows application.
We have lots of samples how to do this in our [dev community|https://boc.sdn.sap.com/].
Also, you can use [Crystal Reports 2008|https://boc.sdn.sap.com/developer/library/CR2008SDK] with MS SQL 2005.
Other products like Crystal Reports server can also use MS SQL 2005.
Please see our [supported platforms for CR 2008|http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000712280&_OBJECT=011000358700000675322008E] on windows.
Hope this helps
Falk -
Sale Order Query Print layout/Crystal Report Query required
Hi Experts,
I created a Sale Order. Items included in it are service and material.
(I created a BOM, bound the child material item to the parent service item. Moreover child item will have unit price where as parent item will not have unit price)
I need the report on it please let me know how i can do it.
I tried with below query
select a.DocEntry, a.DocNum, a.CardCode, a.CardName, b.DocEntry,b.ItemCode, b.Dscription, b.Quantity, b.Price, b.LineTotal, a.DocTotal, a.VatSum
from ORDR a inner join RDR1 b on a.DocEntry = b.DocEntry
--and b.TreeType <> 'N'
where a.docnum = '14240621'
output of above query is
DocEntry
DocNum
CardCode
CardName
DocEntry
ItemCode
Description
Qty
Unit Price
Line Total
DocTotal
Tax Amount
621
14240621
CDR0001
ABCDEFGH
621
302010001
PROVIDING & LAYING
17.62
2493.76
43940.05
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0001
Material for PROVIDING & LAYING
17.62
2800
49336
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
305010005
BM CM INCLUDING CEMENT
10.055
1980
19908.9
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0002
Material for BM CM INCLUDING CEMENT
10.055
1650
16590.75
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
302040001
P/APPLYING
65
116.5
7572.5
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0003
Material for P/APPLYING
65
65
4225
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
301000001
P& FIXING
2.233
31625.05
70618.74
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0004
Material for P& FIXING
2.233
44000
98252
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
306010001
PROVIDING RMC
3
3593
10779
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
MT0005
Material for PROVIDING RMC
3
4847
14541
354652
18888.46
and my desired output is
Unit price of both child item and parent item should be display in single column. ie. cumulative in Unit Price Column and Linetotal respectively.
DocEntry
DocNum
CardCode
CardName
DocEntry
ItemCode
Description
Qty
Unit Price
Line Total
DocTotal
Tax Amount
621
14240621
CDR0001
ABCDEFGH
621
302010001
PROVIDING & LAYING
17.62
5293.76
93276.05
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
305010005
BM CM INCLUDING CEMENT
10.055
3630
36499.65
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
302040001
P/APPLYING
65
181.5
11797.5
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
301000001
P& FIXING
2.233
75625.05
168870.7
354652
18888.46
621
14240621
CDR0001
ABCDEFGH
621
306010001
PROVIDING RMC
3
8440
25320
354652
18888.46
please let me know the update on this.
with regardsHi Nagarajan,
thanks for reply..
1) Yes, i.e i have taken into BomType: Template
2) i did not get any helpful output by using treetype by keeping 'S' and 'N', i kept in comment.
3) Actually MT0001-05 - these are material item- unit prices are fixed. see in attached image
for parent item, unit prices are not fixed. I give the price for them in Sale Order.
I want unit price for parent and child should be summed/cumulative for Sale Order print.
(in my above post, first matrix exactly same as sale order line items plz check it)
Please help me, how i can achieve this by query(for PLd or Crystal report)
With Regards -
Wrongly post item type in the Purchase request, Purchase Order and GRN
i have this scenario that user have wrongly created the PR,PO and GRN suppose with one line item is service item price RM1000 and another is inventory item Price RM100 but user had lump the inventory item into service item and had post the PR,,PO and GRN in the system. How resolve this scenario?
Can we reverse the PR,PO and GRN?Dear,
U can reverse only that particular line item in GRN, PO & PR. Try & get feedback.
Regards,
Suresh.P -
How to remove suppressed items in the group tree from the crystal report print preview screen
I am removing items in report using group selection formula. Although the removed items are not available in the report, they are still available in the group navigation tree on the left pane. Is there a way to overcome this ?
Hi All,
How can i use the below group selection code in record selection.
TotalQuantity := sum({ICIVAL.QUANTITY},{ICIVAL.ITEMNO});
TotalCost := sum({ICIVAL.TRANSCOST},{ICIVAL.ITEMNO});
iIncludeQty := TONUMBER({?INCLUDEQTY});
iIncludeCost := TONUMBER({?INCLUDECOST});
bIncludeQty := FALSE;
bIncludeCost := FALSE;
SELECT iIncludeQty
CASE 0:
bIncludeQty := TRUE
CASE 1:
If TotalQuantity > 0 THEN
bIncludeQty := TRUE
CASE 2:
If TotalQuantity = 0 Then
bIncludeQty := TRUE
CASE 3:
If TotalQuantity < 0 THEN
bIncludeQty := TRUE
CASE 4:
If TotalQuantity <> 0 THEN
bIncludeQty := TRUE
SELECT iIncludeCost
CASE 0:
bIncludeCost := TRUE
CASE 1:
If TotalCost > 0 THEN
bIncludeCost := TRUE
CASE 2:
If TotalCost = 0 Then
bIncludeCost := TRUE
CASE 3:
If TotalCost < 0 THEN
bIncludeCost := TRUE
CASE 4:
If TotalCost <> 0 THEN
bIncludeCost := TRUE
bIncludeQty AND bIncludeCost -
Adding Layout Crystal Report by DI API for a user form
I need help. How the layout knows which field to take from the table of the report to print when setting the key to LayoutKey in eventInfo ? Because each time I preview the report it's always the first row of the table not the one I set in LayoutKey
Hi Marc,
If you are running that query in Query Generator than what result you are getting. Is still only First Row ???
If Yes..
Can you paste your query here.
Thanks
Regards::::
Atul Chakraborty -
No commitment line item in Purchase requestion after deletion .
Hi SAP FICO experts
Please provide solution for the issue .
User created a line item 20 in the purchase requestion with account assignment u2018Fu2019 (orders ) and deleted this Item 20, usually when deleted ,the line item will be there with deleted symbol, but the line item was not there in the PR
But commitment values for item 20 are shown in PR menu (Environment -> AC Commitment documents ) and in T.code KOB2 (Commitment line items for orders )and in report S_ALR_87013019 (budget/actual commitments)
So user was not able to process new PR with reference to their own budget.so i want to make the commitment value to zero .
one more thing our client has upgraded to ECC6.0 ,will it be the problem for this .In most of the cases Problem with Commitments are expected for no valid reason. I suggest you to run Program RKANBU01 to fix incorrect commitment. If this is not solved check If you have program ZKAOIDE0 in your system. You can run this program to solve the issue.
You can check Note [152571|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=152571] -
Sales quote layout rows doubled in crystal report layout
Dear All,
Sales quote layout rows doubled in crystal report layout.
In sales quote layout the rows are doubled. Even in the standard layout. If the quote contains only two rows. Then it is doubled as 4 rows in the crystal report layout.
It is happening in the particular database. Other database are working fine. I request you people to help me to overcome this issue.
Regards,
SivaHi Siva,
If this is regarding CR in SAP B1 then please repost to the SAP Business One Application space.
-Abhilash -
Crystal Reports Marketing Documents are requesting the DocNum and Type
In 8.81 SP00 PL7, I have created a custom Purchase Order using Crystal Reports Developer (latest version supplied by Download Basket) I have published the Purchase Order using the Report and Layout Manager and the SAP Add-In in CR. However, everytime I go to preview or print a purchase order, I am prompted with a 'parameters screen' to enter the the document type (perhaps wrong terminology) and document number. Once I enter it, I get the report.
I was under the impression that if I enabled the report using the Report and Layout Manager or the SAP Add-in that the parameters would be set for me and automatically recognized. By the way, I am using a stored proc to get the data and I have included these items in the stored proc, as in the default crystal report provided.
Is there something else that I may be missing? Or is this something that I should be submitting as a bug?
Thanks in advance,
DonaldHi Donald
Have you named the parameters correctly with the SAP specific names including the @ at the end in your stored procedure so that they flow through into the parameter fields in the report itself?. (Eg DocKey@ and ObjectId@)
Also, DocKey@ needs to be used to get the value of DocEntry in the purchase order record rather than DocNum.
Rob -
Importing Crystal Report layout for customer statements
Hello,
I have imported a crystal report layout to use for the customer statements when running them from the ageing report. The problem is even if we only select one business partner in the ageing report, when we print preview the statement it displays statements for all business partners - this is because in the crystal report there are no parameters. I know that when you import a layout like this for other documents you need to use for example, {ORDR.DocEntry}={DocKey@} as the parameter however the customer statements don't have a docentry. When I look at the system statement layout (collection layout), when you run the report you get an ADO.NET (XML) connection prompt. Is it possible to use the crystal layout i have for the customer statements but for only the customer(s) showing on the ageing report?
Many thanks,
KateSo just to make it clear,
you want an overview of open invoices from 1 customer.
If so, try this in crystal reports :
Create a parameter field (field explorer)
Name : CardName
Type : String
Value : Static
do not select a value field (none)
press ok.
Select expert
Create new
Starts with
type this : {?CardName}
press add
Click formula editor and make it look like this :
{OINV.DocStatus} = "o" and
{OINV.CardName} startswith {?CardName} -
Where can I find link to purchase Crystal Reports 8.5 Developer Edition?
Need to purchase and reinstall Crystal Reports 8.5 Developer Edition for legacy systems written in VB 6.0.
Seems like I saw a SAP link for "emergency" purchase but cannot find again.
gb inTNSAP has removed all legacy versions of Crystal Reports. Ido's suggestion is your only option now.
Thank you
Don -
Crystal Report: Items sold by customer
Experts,
I am creating a crystal report to return items sold by customer.
1) The report should allows me to choose date range, and if there is no date range selected, it should return all items sold, customer ID and name
2) The report should also let me pick customer ID, and if there is no customer ID selected, it should return all items sold to customer.
Please help me out.
Thanks so much.Hi Phong,
Please check below links.
Optional Parameters in Crystal Reports
Optional parameter, no values
Crystal Reports Parameter display &quot;All&quot; when no value is passed in parameter? - Stack Overflow
Any you can also create Option Parameter while creating Parameter in Crystal Report by Selecting Option option to TRUE in Parameter.
Hope this helps
Regards::::
Atul Chakraborty -
Switch from OINV to ODRF in Crystal Report layout for print the Invoice?
Hi,
I have imported in Sap Business One some standard report developed by Sap with Crystal Report (like Sales Invoice).
I have try to print my Invoices and all is OK, then I have try to print a Draft Invoice and, even in this case, is all ok. Then I have open the Crystal Report designer for this print module, and the entry point is the OINV table. How can he print succesful the Draft Invoice (that is in the ODRF table ObjType = 13)? Formula Field? I don't understand!!
Thank for the help!!
MarcoHi Marco,
You only need a single Crystal report for this. Base it on a stored procedure which has two INT type parameters @DocKey and @ObjectId. Within your SQL create IF blocks to handle different @ObjectId values:
IF @ObjectId = 13 then use the invoices tables OINV/INV1 etc.
IF @ObjectId = 112 then use the draft tables ODRF/DRF1 etc.
Don't forget to put the @ symbol at the end of the parameter in the report itself. That is all that is needed to create a single report that works for both added invoices and draft invoices. You could extend the SQL to handle other @ObjectId values like 14 for AR Credit Notes and so on.
Regards,
Andrew. -
Crystal Report not Adopting all possible Dropdown Values from BEx Variable
Hi all,
I am having an issue in a Crystal report where the drop down parameter that is sourced from a BEx query variable does not include all the possible values in the cube (or in master data). After learning my lesson the first time of not changing the name of the variable or changing it to dynamic (this causes it to break), I had the understanding that the value list may not be complete when running the report in the Crystal client or in the viewer, however, I thought it should be correct when published to the BOE and run in infoview. I am getting the same incomplete list in infoview. I published the report into infoview using the Crystal 2008 desktop client, not the /CRYSTAL/RPTADMIN transaction.
I know there are a couple ways of sourcing a Crystal report from a BW query - using MDX vs. not, etc. I created this report using the SAP menu > "Create new report from a query". I don't believe Crystal will easily let you use that menu option to create a report off two BW queries joined together (which is what I am doing), so I built it off one originally (using the SAP menu), then added the other later on. I have the checkbox for "Use MDX driver with support for Multiple structures" checked. In database expert, my "Selected Tables" both are of database type "SAP BW Query".
Do I have the right understanding of how the value list should work when sourced from a BEx variable? If so, can anyone offer any suggestions for getting the value list populated correctly?
Here's some info:
Crystal version: CR2008, version 12.2.4.507
BOE version 3.1
SAP BW 7.01 EhP 6
Thanks,
ChadHi,
- in the Crystal Reports designer the list of values is not online and there is a maximum number of values - configured by a registry setting:
(windows 7)
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Business Objects\Suite 12.0\SAP\BWQueryReportWrapper
Key: MaxPickListSize
and correct you can not change the name of the variable or set it to dynamic as the definition is based on the BEx query.
I know there are a couple ways of sourcing a Crystal report from a BW query - using MDX vs. not, etc. I created this report using the SAP menu > "Create new report from a query". I don't believe Crystal will easily let you use that menu option to create a report off two BW queries joined together (which is what I am doing), so I built it off one originally (using the SAP menu), then added the other later on. I have the checkbox for "Use MDX driver with support for Multiple structures" checked. In database expert, my "Selected Tables" both are of database type "SAP BW Query".
The checkbox on the Multi Structure is not for the option to combine 2 Bex queries - it is for Bex queries with 2 structures and the BW query driver has been deprecated already and you have to use the MDX Driver.
Do I have the right understanding of how the value list should work when sourced from a BEx variable? If so, can anyone offer any suggestions for getting the value list populated correctly?
in Crystal Reports Designer the list is static and when you publish the report using the BW Publishing to your SAP BusinessObjects Enterprise system the list becomes dynamic in InfoView.
regards
Ingo Hilgefort -
PURCHASE ORDER STATUS :When Deleting ALL ITEMS.
Hi experts,
I need to make purchase order status stay " Release Compleated " when deleting all items.
Anyone Know How to do it?
Or anyone Know how to use BAPI_PO_CHANGE in BAdI : ME_PROCESS_PO_CUST
In my project , I use Release Strategy of purchase orders, and there is a case of deleting all items.
In this situation, purchase order status returns to "Active " and release strategy tab disappears.
This is our problem.
I need to make purchase order status stay " Release Compleated " and prevent release strategy tab disappearing.
I tried to update the fields EREKZ(final invoice) and ELIKZ(delivery completed) in
BAdI : ME_PROCESS_PO_CUST Method : PROCESS_ITEM using BAPI_PO_CHANGE according to SAP Note 456691.
But BAPI_PO_CHANGE couldn't update EREKZ because of our customize , and I couldn't find how to use
BAPI_PO_CHANGE in the BAdI.
Anyone know solutions to solve this problem?
Thanks a lot.
Regards,
TKDHi,
please review the following information in SAP Note No. 456691 as
copied below:
18. Question:
When are the header conditions updated if a purchase order item is
deleted?
Answer:
If a purchase order item is deleted, the item is marked as 'statistical'
(field EKPO-STAPO = X) and the change is reflected in the header
conditions.
However, if for the item the final invoice indicator(EKPO-EREKZ) or the
inward delivery completed indicator (EKPO-ELIKZ) is set, the item is not
marked as 'statistical' (EKPO-STAPO is not set) and thus the header
conditions are not updated.
I hope this helps you
BR
Nadia Orlandi
Maybe you are looking for
-
What class should be imported to resolve the error
Dear all, would you please tell me that what class should i import to resolve the error for PreparedStatement. plz mention the import statement Error(437,13): class PreparedStatement not found in class oracle.apps.ak.cacheoffice.server.CacheOfficeAMI
-
I have an old version of iPhoto that is very buggy (we have an 06 iMac, to be replaced next month). Admittedly, when I've been prompted to rebuild the cache, I don't (what does that do, anyway?). Lately, my problems have been: 1) Certain photos from
-
What sensor should be used to measure speed of motor
Hi, I am using NI PCI-6624 to control the speed of dc motor. I have used "PWM-Counter Output.vi" example to generate PWM pulses to control the input power of motor. I am using "counter output" and "analog input" terminals of PCI-6624. Counter output
-
Upgrading to 7 - Can't uninstall 6 **PLEASE PLEASE PLEASE somebody help!**
I keep trying to install iTunes 7 (have a 1G Nano), but am getting error messages. When I try to install, it gives me a box that says: "This installation cannot directly upgrade the version of iPod software found on this computer. Please uninstall th
-
Hey Guys, My itunes is no longer reading my iphone, the computer is reading it as a camera. How ever my dads computer can read it fine. I have reinstalled itunes about 5 or more times, i have tried to reinstall the drivers manually. I have forced my