Sample crystal report of Sales Analysis

I would like to summary sales amount by month and group by sales employee. It's the same amount as 'Sales Analysis' report on B1 standard. If anyone have ever created, please guide me or give me some sample of crystal report file. I have to use it urgently but I still have no idea to write it.
Thanks you very much.
Angnam

Hi Angnam......
Please try this Report......
SELECT SUBSTRING((CONVERT(VARCHAR(11),T0.DOCDATE,106)),4,11),
Sum(T1.[Quantity]) 'Quantity', Sum(T1.[LineTotal]) 'Amount',
(Sum(T1.[LineTotal])/Sum(T1.[Quantity])) 'Rate', T2.SlpName
FROM OINV T0  INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
LEFT Outer Join OSLP T2 On T0.SlpCode=T1.SlpCode
Group By SUBSTRING((CONVERT(VARCHAR(11),T0.DOCDATE,106)),4,11),
T2.SlpName
Order By SUBSTRING((CONVERT(VARCHAR(11),T0.DOCDATE,106)),4,11)
I am sure this will help you to build your Crystal Report.......
Regards,
Rahul

Similar Messages

  • Crystal Report for Sales, Delivery and Payment.

    Hi Guys,
    Need some expert advice over here. Currently, our sales team are using 3 separate report, one report on sales per month for each specific customers, one report on delivered amount per month for specific customers again and the last one report on payment received per month for specific customers as well.
    We have the idea of joining this 3 report so that I can report on sales, delivery and payment all at once so that they can see the trend better. However, after trying for quite a few times, we fail to create a common joining between ORDR, ODLN and ORCT. Is there any possible way to work something out ?
    I have thought of using subreport, but I just cant find the way to plug in the figure correctly.
    Need some advice over there.
    Thank you.
    Best Regards,
    Alex

    Based on what you have told me, then you should then join Sales Order, Delivery, Invoice and Incoming Payments into one.
    The reason I say Invoice table also is because, you cannot directly link Delivery and Incoming Payments window.
    Also you it is not enough that you link the ORDR, ODLN and ORCT, you will need to get the details from RDR1 and DLN1.
    In SAP Business One, each line in SAP Business One can have a different Delivery documnet.
    The TrgetEntry, TargetType will give you this information. For example, if a line for Sales Order has TargetType 15, then TrgetEntry will be the DocEntry in the ODLN. But if it TargetType is 13 it means the Sales order was converted directly to and Invoice and bypassed the creation of Delivery step, which is possible in SAP.
    So here is how I think you will need to link Sales order and Delivery
    RDR1.TrgetEntry INNER JOIN DLN1.DocEntry AND
    RDR1.TargetType INNER JOIN DLN1.ObjType AND
    RDR1.LineNum INNER JOIN DLN1.BaseLine
    Now this could get a little more complicated if you do partial deliveries. For example if a line in your Sales Order has say 10 items and 6 of them are delivered using Delivery Note 123 and the remaining are delivered using Delivery Note 124, then the join will give you 2 different lines.
    So basically you will need to link the tables in this fashion
    ORDR <-> RDR1 <-> DLN1 <-> INV1 <-> RCT2 <-> ORCT
    Unfortunately, this linking process can get complicated if you do not follow certain steps, like for example if you do not create a Delivery Note and converted your Sales order to Invoice. Then the link would be
    ORDR <-> RDR1 <-> INV1 <-> RCT2 <-> ORCT
    I hope I didn't confuse you.
    Krishnan

  • Crystal Report - multiple sales document types

    In XLR, I can easily drag 'DocNum', 'DocDate', 'Sales Doc Type' fields and specify the filter to show sales doc type equal to A/R invoice and A/R credit memo. It neatly shows various types of sales documents and display them in rows.
    In crystal, I have to drag the 'DocNum', 'DocDate' fields for A/R Invoice, A/R credit memo individually under different columns. Is there a way I can dispaly mixed sales document types in rows? Thanks.

    Hi,
    In XLR, you get the data from JDT1 table. You can do the same for CR.
    Thanks,
    Gordon

  • Crystal Reports for SAP Print Output requirements like Sales Order O/P

    Hello,
    Has anybody used Crystal Reports for Sales Order or Invoice Print Output type requirements?
    Typically these outputs get triggered via Output Management Configuration on Save of a Sales Order or Configuration.
    Traditionally in the Output Management configuration of say Sales Order, we can specify the "Output Program" and the "Sapscript" or "Smart Form" or "Adobe Form".
    How do we tell SAP t trigger a Crystal Report output if it is a feasible way to go?
    Also can anybody tell what is SAP's strategic direction for Print Output requirements?
    regards,
    Atul

    Hi Atul,
    Do you have answers for your questions? If so, could you please share?
    Thank you in advance,
    Joã

  • Large Sample Files for Crystal Reports

    Hi, I have an issue where trying to view large Crystal Reports files causes the Web Viewer to crash.  Does anyone know where I can find a sample Crystal Reports file larger than 20MB that I can use to recreate this problem?  Thanks.

    hi Shannon,
    you can quickly create a large report file size by putting a bunch of large images (using Insert > Picture) in the details section of a report that contains several thousand records.
    -jamie

  • Library of Crystal Reports (not Layouts) for 8.8

    Hello All,
    Is there a library of sample CRystal Reports for SBO 8.8.
    I don't mean Layouts.
    I mean Crystal Reports for typical business reports like Ageing, Stock LIstings, SAles Analysis etc..

    Hi Christian
    Here is the latest version for you with 64 Bit compatibility 2.0.0.7
    [Crystal Add-On with 64 Bit Compatibility|https://sapmats-de.sap-ag.de/download/download.cgi?id=0G5XHIZJQPZGO012YOH7W95H7M7SA4UOHHZZ28HQZGMOO5OH8R]

  • Standard B1 layouts in Crystal Reports

    Hi all,
    Is there any SAP standard B1 layouts created in Crystal Reports (invoice, sales order, etc) ?
    PLD sucks so it will be wonderfull if SAP could deploy standard layouts in Crystal formart.
    Regards,
    Manuel Dias

    Hi,
    You may check this link too: [SAP Crystal Generic samples|https://websmp105.sap-ag.de/~sapidb/011000358700001064612009]
    Regards,
    Bala

  • Crystal Report Preview Problem

    Dear All,
    I have done a crystal report for Sales Quote and imported using Administration-->Setup-->General-->Reports and Layouts.
    It shows that the report is imported successfully but when i go and give print preview, it shows an error as "LogOn Failed Please Try Again".
    I dont know why this error occurs.
    But the other reports are working well.
    Help me solving this issue.
    Regards,
    Janani

    hi
    Janani..
    Actually i never Seen This Type of problem..
    I have one Doubt May be u have Developed in ur system n then import it to the client server..
    before importing have u change the login credentials....
    After i search i got below link just have a look on below post If it's not use ful just ignore the mail....
    System asks for SA Password when printing with Crystal Reports

  • LO 02010 / LO 26631 error while embedding a crystal report in a Dashboard

    Hi Experts,
    I am trying to embed a crystal report in a Dashboard Design using LiveOffice 4, and i am getting the below error.
    "An error occurred while opening the report. The report does not exist; you have insufficient rights to open the report; or you cannot make a connection to the BusinessObjects Web Service. (LO 02010)" and "Crystal Reports Java Format is not supported. (LO 26631)"
    I am logging in as an administrator and the report does exist in the CMC.
    Pls. Help
    Thanks
    Asiri

    Hi Amit,
    Thanks for replying.
    We did a upgrade from BOBJ 3.1 to 4.0 recently, and need to migrate the existing dashboards. DB connections to the reports have changed, hence the need to embed the migrated reports to the dashboard.
    Yes, I get this error when i try to embed a crystal report in dashboard. I do get the same error when trying to embed a WEBi report too. As you suggested, i tried inserting a sample crystal report, and that inserts like a charm.
    Pls. advice.
    thanks
    Asiri

  • Sales Analysis by Item: Show all items

    I am trying to look for a way to get a report that will show me the Sales Analysis by item, but show me all the items even if the item wasn't sold to any Business partner.
    Example:
    I have the following items and sales for today:
    Item A, invoice $100
    Item B, Invoice $200
    Item C, no sales
    Item D, Invoice $500
    If I run the sales analysis by item they will show me
    Item A, $100
    Item B, $200
    Item D, $500
    but I want to show it
    Item A, $100
    Item B, $200
    Item C, $0
    Item D, $500
    Please let me know if there is a way or a queries that I can do to get that result.
    Thank You,

    HI,
    Sales Analysis per item only display item with records.
    You can attain by creating a query to display your desired output.
    Please try to look in the forum for the sales report.
    example:
    [Sales report for the month.|Sales report for the month.]
    [Re: sales analysis report|Re: sales analysis report]
    [Re: A query report of sales invoices|Re: A query report of sales invoices]
    thanks.
    Clint
    Edited by: Clint T. Pauyon on Sep 24, 2011 12:09 PM

  • 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!!
    Marco

    Hi 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.

  • Print layout designer using Crystal report

    Hi Dear;
    how can i create a print layout in crystal report instead of print layout designer
    is any conversion of should i created from scratch?
    from where can i download the crystal report templates?
    regards;

    Hi,
    There is no conversion tool between these two reports.  You have to create them from scratch.
    Check these threads to find out more:
    Sample Crystal Reports
    Re: SAP Business One and Crystal Reports
    Thanks,
    Gordon

  • Crystal Reports for Eclipse ver. 2 fails on export to excel

    I have downloaded crystal reports for eclipse version 2 (full eclipse setup) and created the sample project.
    The new version of JRC looks awesome on the browser. Finally the visual appeal is as good as the .NET version.
    However I am having a problem with the export to excel feature. When I select export to excel, I get the following exception
    Update: I just realized this problem exists for all the export options
    SEVERE: Servlet.service() for servlet CrystalReportViewerServlet threw exception
    com.businessobjects.report.web.shared.WebReportingException: getOutputStream() has already been called for this response----
    (Full Exception pasted below the message)
    I have not made any changes to the sample crystal reports project so I am not really sure what i am missing.
    I have Microsoft Vista Ultimate with Crystal Reports 2008 trial version installed.
    I have configured eclipse with Tomcat 6.0 and JDK/JRE 1.6
    Any help would be appreciated.
    Thanks
    SEVERE: Servlet.service() for servlet CrystalReportViewerServlet threw exception
    com.businessobjects.report.web.shared.WebReportingException: getOutputStream() has already been called for this response---- Error code:0
    +     at com.businessobjects.report.web.e.if(Unknown Source)+
    +     at com.businessobjects.report.web.e.a(Unknown Source)+
    +     at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)+
    +     at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)+
    +     at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.a(Unknown Source)+
    +     at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(Unknown Source)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)+
    +     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)+
    +     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)+
    +     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)+
    +     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)+
    +     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)+
    +     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)+
    +     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)+
    +     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)+
    +     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)+
    +     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)+
    +     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)+
    +     at java.lang.Thread.run(Unknown Source)+
    Edited by: Avinash Tauro on Feb 5, 2009 7:43 AM

    I searched on scn and got the listing you mentioned.
    The jsp code I am using is as follows.
    <%@ page contentType="text/html; charset=UTF-8" pageEncoding="ISO-8859-1" %><%@ taglib uri="/crystal-tags-reportviewer.tld" prefix="crviewer" %><crviewer:viewer reportSourceType="reportingComponent" viewerName="CrystalReport1-viewer" reportSourceVar="CrystalReport1" isOwnPage="true"><crviewer:report reportName="CrystalReport1.rpt" /></crviewer:viewer>
    And I get the following exception on selecting any export.
    WebReportingException: getOutputStream() has already been called...
    So I think maybe this problem is not the same as listed under SAP Note 1199025.
    Also the strange thing is I just download the full ganymede version with crystal report for eclipse version 2, and created a default crystal reports website.
    The samples were provided automatically, and I have not written any code myself.
    Any help would be appreciated.
    Regards
    Avinash Tauro

  • Crystal Report requests Database logon if SAP BW is datasource

    Hi all
    I experience the following:
    1. SSO from SAP Portal to BOE works: I can view Sample Crystal Reports based on the BO-iView-template without additional login
    2. SSO from SAP Portal to SAP BW works: a) I can view custom BW Web queries without additional login and b) the connection tests on the system object in SAP Portal run fine
    3. I assume SSO between BOE and BW works because I can view Xcelsius dashboards based on BW queries within SAP Portal without additional login
    Nevertheless I am presented a login screen ("The report you requested requires further information. -
    Database Logon") if I try to view a crystal report based on a BW query, no matter if I start the report from InfoView, SAPGUI or SAP Portal. If I enter my SAP credentials in "Databse logon"-window I can see the report runs fine.
    SAP Authentication in BOE seems to work (I can import users & roles). In all 3 systems I have at least Admin or equivalent permissions. If I change the Database Configuration for this report within InfoView ("Use SSO") it does make any change (I also read somewhere a reply from I. Hilgefort that this is not necessary if BW publisher service is installed correctly).
    We use SAP BW 701.06, BOE XI31FP3.4 and SAP Portal 701SP6
    I publish the report from Crystal Reports 2008 SP2 with the SAP-Menu -> Save Report.
    I logon to InfoView-App with my SAP-BW credentials.
    Any help appreciated!
    BR
    Kanan

    Real solution is different, my other post is only a workaround:
    1. SNC settings in CMC were not correct (Certificate path, path to sapcrypto.dll)
    2. Relevant Serices have to run under local username
    3. Username has to be added to PSE
    See here: https://websmp130.sap-ag.de/sap/support/notes/1364536

  • Urgent very urgent help regarding sales analysis and purchase analysis.

    Respective all experts,
    when i see a sales analysis and purchase analisys for a particular month or year i see only amount before discount and tax and that is not a actual net amount that includes tax amount also i want the total gross amount with including tax amount and net amount in sales and purchase analysis. And how will i enter more fields in form settings menu of sales analysis and purchase analysis.
    Awaiting all expert advise,
    Regards
    saisakshi.

    Hi,
    For system reports like sales analysis and purchase analysis, they are hardcoded. There is no room for you to add anything if you cannot find it from the report.
    If you need to customize it, you need to create your own report.
    Thanks,
    Gordon

Maybe you are looking for

  • Error while creating new Index

    Hi, I'm trying to create Index and I'm getting the following error: Index could not be created; creating index failed: Invalid entry in configuration: section nameserver, key address, value tcpip://<nameserverhost>:<nameserverport> is invalid (Errorc

  • 'itunes could not contact the ipod software...' On Mac!

    Hi there! When I try to restore my new 5th Gen 30G iPod using iTunes, I get an error message saying 'itunes could not contact the ipod software update server because you are not connected ot the Internet'. But I can use the iTunes Store, and various

  • Oracle Developer 6.0 connect with po7.2

    dear developers, i have personal oracle 7.2 and developer 6.0 beta i installed both on same home. after installation i get oracle net8 easy configuration under oracle for window95 but when i click on it no action is done. how can i connect to my po7.

  • Color Row In Report

    HI Friends I want t display Row With Colour like This Report [http://apex.oracle.com/pls/apex/f?p=267:5:|http://apex.oracle.com/pls/apex/f?p=267:5:] Thanks

  • How to get Lyrics show up on iPod?

    Hi all, I used Pearl Lyrics to "grab" song lyrics and can see inside iTunes' Get Info of the song, the tab Lyrics they are put in; Sync my iPod and play the song, but cannot seem to see the lyrics? Thanks