Accessing Information From Sub-Reports

I have a report with the following layout:
Details a      Field from SQL Command
Details b     Field from SQL Command
Details c     Field from SQL Command
Details d     Field from SQL Command
Details e     SubReport A
Report Footer b     SubReport B
How do I add the total number of items in SubReport B + the total number of records displayed in Details a-d and display that value in the Page Footer?

Hi Ray
Create a formula field to calculate total number of records in the details sections. Store this value in a shared variable.
Now in subreport B, create a formula field with same name and declare the variable with same name.
Place this formula field in the subreport section.
For more help please refer to crystal reports help.
Hope this helps!!!
Regards
Sourashree

Similar Messages

  • How to pass the value from Sub report to main report

    I have un report(mainreport) within a subreport(subreport).
    With reporting services, how to pass the value from Sub report to main report?
    thanks

    Hi Alebet,
    With reporting services to pass values from sub report in to main report is not supported directly.
    But there are some workarounds through which you can get this .
    There are two ways to get this.
    1- Put your sub report query into some table. i mean to say through the subreport query get some temporary table.
    2- Using this temporary tables data write some Scala function in the data base.
    3- Now in your main report query return this scala function as a column.
    4- Extract the column value where ever you want in your main report which is getting calculated from the subreport query. so you will be getting the values returned from the subreport in the main report.
    This will definitely work fine as i have done some report in this way.
    Another way of doing is that
    1- prepare another data set with the same query as in sub report in the data tab.
    2- then refer this 2nd dataset in your main report .
    But better way will be the top one.
    Anyway please let me know if you get the solution.
    Thanks
    Mahasweta

  • How to pass the value from sub report to sub report

    how i want get one value from sub report to sub report..
    can i do this one...
    how can get the value.
    i know main report to sub report
    i tried that way but
    value is  0.00 is comming
    Any reasons.

    Hi Try this.
    Create a formula like this in subreport1 (from the report where you want to pass your value)
    Whileprintingrecrods;
    Shared Numbervar x :={subreport1Value};
    Then go to 2nd sub report and Create a formula like this
    Whileprintingrecrods;
    Shared Numbervar x ;
    Note :Your sub report1 should execute before sub report2 .That means sub report1 should be in the above section of sub report2

  • I am unable to access information from the internet as I am unable to install the lastest adobe flash player that is now required.  Can you please help?

    I am unable to access information from the internet as I am unable to install the lastest adobe flash player that is now required.  Can you please help?

    I fould a hack that makes the sites think you have the latest (Intel) version of Flash installed. So I installed it & it works with Firefox, TenFourFox & Safari. Here's the info.
    Download this http://www.steelbin.com/FPforFBPPC.zip to your desktop, unzip it, and replace the current Flash Player plug-in which is in your main/Library/Internet Plug-Ins folder, (not the user Library). Save the old one just in case this one doesn't work.
     Cheers, Tom

  • Passing Parameters to anf from Sub-Reports

    I have a report with two subreports in it, and I want to be able to tell the main report about the data in the sub-report so I can supress a detail section if the sub-report contains certain data.  How do I pass a parameter from the sub-report to the main report?

    Passing a variable from subreport to main report and vice versa
    Declare a variable as shared in the subreport.
    Shared numberVar NoOfrecords;
    Assign some value to this variable,
    Shared numberVar NoOfrecords :=Count()
    Then in the main report, create a formula and in that formula again declare the vairable and use it as u like
    //Declaration
    Shared numberVar NoOfrecords;
    //If you want to supress a section based on this count,then
    if NoOfrecords = 0 then TRUE
    click ok..
    NOTE:
    For the shared variable to return the correct value in the main report, you must place @MainFormula in a main report section that is beneath the section containing the subreport. This ensures Crystal Reports evaluates the @SubFormula before @MainFormula.
    Very Important : Dont just create the formula, u have to place this forula somewhere as mentioned above. If u dont want to show this formula value,then hide it by changing its colour to white or by some other way. If u dont place the formula in the report,it wont work.
    and same thing applies when passing values from main report to subreport.
    In this case define the @MainFormula first and then @SubFormula.
    I have used this successfully in my report.

  • How can I view customer information from SOST report to whom mail was sent to?

    Process I have followed:
    I run F.27 transaction to send the monthly account statements to customer, I can see the detail of the mails sent to customers from SOST report but a recent requirement has come up and I want to see the detail of customer e.g. Customer Number, Customer Name e.t.c. these details are not visible in SOST report. As I am sending mail to multiple customers hence I can not use the display document feature to view them independently.
    In SOST report I can see only the email address to whom the mail was sent to, but how can I see the customer's number or Customer name to whom mail was sent to. Is there any other way to view this detail?

    This works! But when I assign C_FINAA-MAIL_BODY_TEXT to a text lets say:
    *C_FINAA-MAIL_BODY_TEXT in the process exit 2310*
    C_FINAA- MAIL_BODY_TEXT = 'Hello'.
    It does not display in the email body, do you know what might be the problem here?

  • Does anyone know how to discard printer information from a report?

    Hello all,
    We've got several reports in which printer info is saved in the report.
    We would like to remove that info programmatically from the report.
    Does anyone how to do that and to save this modified info to the report?
    I would be pleased to be given a code example.
    I guess it should be something like the fragment below, but saving this to the report doesn't seem to be doable.
    printOptions.SavedDriverName = printOptions.DriverName = "DISPLAY";
    printOptions.SavedPortName = printOptions.PortName = string.Empty;
    printOptions.SavedPrinterName = printOptions.PrinterName = string.Empty;
    printOptions.PaperSize = CrPaperSizeEnum.crPaperSizeDefault;
    printOptions.PaperOrientation = CrPaperOrientationEnum.crPaperOrientationDefault;
    printOptions.PaperSource = CrPaperSourceEnum.crPaperSourceAuto;
    report.ReportClientDocument.PrintOutputController.ModifyPrintOptions(printOptions);
    report.ReportClientDocument.PrintOutputController.ModifyPrinterName(string.Empty);
    report.ReportClientDocument.PrintOutputController.ModifyPageMargins(0, 0, 0, 0);
    report.ReportClientDocument.PrintOutputController.ModifyPaperOrientation(CrPaperOrientationEnum.crPaperOrientationDefault);
    Thanks,
    Henk Spaan.

    Hello Henk,
    You could simply check the 'No Printer' option in the report.
    From designer check File --> Page Setup --> No Printer.
    Or do it programatically.
    http://scn.sap.com/community/crystal-reports-for-visual-studio/blog/2010/09/15/how-to-check-no-printer-on-a-crystal-report-using-the-ras-sdk-in-net
    - Bhushan
    Senior Engineer
    SAP Active Global Support
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Getting started and moving ahead with Crystal Reports .NET applications.

  • Use original database logon information from the report

    When publishing reports to crystal reports server, the data source password is missing and reports as set to 'prompt the user for database logon'
    Here is a description of our report creation process and how we currently set the db password.
    Reports are created using Crystal Reports Designer XI Professional.
    The data source is set up through the report wizard or manually to a sql db
    using either a sql login or integrated authentication
    the reports are then publish through the designer by going to File Save As - Choose Enterprise - then give
    report server info.
    From the CMC (crystal report server XI r2)
    we go to the folder location,
    select the report then go to the process tab
    click on database sub tab.
    we then set the database password and change the "When viewing reprot" setting to "Use same database logon as when report is run"
    reports are run both ondemand through links to infoview and through a variaty of schedules.
    How can we publish the reports to the Report Server without having to go to the CMC and set the database password, it doesnt' matter if we use sql login or integrated authentication, the result is the same.

    Hi Mario,
    some things you may want to consider.
    1) Setting up SSO to the DB. If your install is on windows and DB is SQL or Oracle, you can integrate your logon with windows and pass that all the way down to the DB when viewing the report. This is fairly complex to set up initially but simple to use from then on.
    2) DBuser and DBpass. You can populate user/pw fields associated with user account and then pass this value down to the DB. This can work with any DB instead of just SQL and Oracle. This doesn't appear to be documented yet. You may need to open a message with support if you need more details.
    3) Create reports based of a universe. This will use the universe connection (set per universe) to access the DB. For more on this post a question in the crystal reports forums.
    The kerberos SSO to the DB is documented in the [XI 3.0 admin guide|http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_bip_admin_en.pdf]
    regards,
    Tim

  • Pulling data Information from Financial reports- Balance Sheet

    Hi,
    Our users have generated Balance Sheet reports  in Oracle 11.5.10 and want to know how Finished Goods data is pulled into the Balance sheet. Could anyone guide me as to how I could find this information?
    Thanks in advance,
    Vasu

    Hi Vasu,
    >How do i find out what transactions are affecting their balances and thereby affect balance sheet?
    Well, as i do not have the Purchasing module, i cannot guarantee but in general you can access GL, navigate to Account/Inquiry, query the desired account and you should have a button that will let you dilldown to que transaction itself.
    >In general, Purchase, sales will affect inventory. But, is there a way to see what transactions hit the inventory account ?
    Use the same method.
    >GL balances will only flow into Balance sheet right? So if the inventory account has any balance in GL that will only come in Balance sheet right?
    All natural account balances, no matter their origin, must appers on Balance Sheet. Otherwise it will not match.
    Octavio

  • Remove Header Information from PDF Report

    Is there a way to not have the Filters and Variables Information show on a report that is emailed from the BeX Broadcaster as PDF document? We are having issues with the information being displayed having gone from being single spaced to having large gaps between the lines. Or has anyone else had a similar issue and knows how to remove the extra lines?

    Hello John,
    In TX RSCUSTV27 it is possible to maintain default templates.
    For broadcasting, the default template is 0QUERY_TEMPLATE_BROADCAST_PDF.
    The template can be edited so filters and variables can be removed.
    BR
    Ondrej

  • Direction for a developer trying to access information from Netweaver logs

    I’ve been charged with developing an interface for our company’s software into the Java based Netweaver portion of SAP with no prior knowledge of any of it other than a background in Java programming. To my dismay, the shear amount of information available has made what I need like looking for a piece of hay in a stack of needles. So hopefully I've posted this question in the proper forum and someone will be able to point me in the right direction.
    The Java program I'm supposed to create simply has to access a (User Exit?) log file and pull out basic tidbits like: Requestor, Replier, Response Time, CPU Time, etc, and then I will later write it out to a simple csv file that our application can process. So the basic questions I have at this point is this:
    Do I have to develope this in Netweaver developer studio (I have it installed alongside a netweaver full sneak preview edition) or can I just crank out a Java app in good ole eclipse?
    In the program, will I be making some kind of call to establish a connection with an SAP system, or can I just sit the program on a  main SAP machine and have access to the information I need through other method calls?
    What calls, or where do I look to find what specific calls, I need to make to get info like (Requestor, Replier, Response Time, CPU Time, Request/Reply Size, etc)? Basically, what API's will I be using to get information out of Netweaver log files and where can I find documentation on them?
    Any direction will be appreciated even if just to the proper place for a forum post of this nature or documentation that will send me down the right path.
    AtDhVaAnNkCsE
    Chris

    Hi Chris,
    Let me try to understand your requirement.
    I believe you are trying to get the 'statistics' information like Response time, CPU time etc. for SAP (ABAP) Transactions, right?
    If so, you should be looking at the 'Workload Analysis' and STAT records in the ABAP system.  Go to transaction 'ST03N' and try to understand what kind of information is available for you related to workload analysis (for earlier releases, use transaction 'ST03'.  For Global central analysis use transaction 'ST03G').
    To know more about STAT records in CCMS, here the help page:
    http://help.sap.com/saphelp_nw04s/helpdata/en/c7/69bcc3f36611d3a6510000e835363f/frameset.htm
    To know more about System log details, visit this help url:
    http://help.sap.com/saphelp_nw04s/helpdata/en/1f/8311784bc511d189750000e8322d00/frameset.htm
    The best way to create reports for Statistical records is using CPH (Central performance History) and through BI.  What it means is, you don't have to create any JCO programs.  But you will have to configure CPH/CCMS and the BI connectivity details. Once you do that you will be able to make use of the BI reports available as part of the 'BI business package for CCMS'.  To know more about it, please visit SMP link: http://service.sap.com/monitoring (requires login).
    Hope it is helpful.
    Thanks,
    Venky Varadadesigan
    Product Manager
    SAP NetWeaver
    SAP Labs
    10111 Richmond Ave, Suite 600
    Houston, Texas 77042, USA
    M  +1/832-287-2135
    mailto:[email protected]
    http://www.sap.com

  • Can you access information from memory devices / sticks

    Can the new I-Pad access infromation stored on memory devices/ I.E. flashdrives/ memory sticks

    tkeets wrote:
    Is there anyway to pull information off of an iPhone after it's been remote wiped? 
    Sorry, no. Her data is gone, as designed.

  • How do I access information from my iCloud account

    My iPhone is broken and I can't get a new one until Monday.  I'm traveling and don't have my laptop with me.  How can I access my contacts?

    Go to http://icloud.com on any computer (including PCs) with a reasonably up to date browser and click the 'Contacts' icon. Make sure to sign out afterwards.

  • Pass a shared variable from a sub-report into cross-tab

    Hello everyone!
    I need to pass a calculated value in a shared variable from a sub-report into a croos-tab in the Group footer of the main report. When I place this variable in the group footer I can see the value, when I use this variable in the Cross-tab, it is 0.
    In the Sub Report:
    whileprintingrecords;
    shared numberVar Total_SF;
    Total_SF:= calculation.
    In the Main report:
    whileprintingrecords;
    shared numberVar Total_SF;
    In the Cross-Tab I am using the above formula from the main report.
    Do you guys know what I need to do for this to work?
    Thank you,
    T.

    Hey Tat,
    I have learned to avoid passing shared variable from sub reports back to main reports.  You just always seem to run into issues with execution order.
    Personally, I try to create a shell report and add sub reports, calculating the values I need in the first sub report and pass the values to subsequent sub reports using shared variables.  I'd recommend thinking about arranging your reports like this during your design time.  It has saved me some headaches.

  • Tracing  Information from report

    Dear All,
    Tracing the information from the report to the cube to the ODS to the infosource and then potentially back to the table in R/3. What are the common reasons for data discrepancy between R/3 and BW.
    Thanks
    Kumar

    Hi Kumar,
    The reasons could be many:
    1. The data in a cube would be summarised which though not a discrepancy is often misunderstood as one.
    2. Filtering of data may cause data discrepancy.
    3. Data transformations in the update/transfer rules is one of the cause.
    4. Modification of the data in the PSA.
    5. Duplicacy of data is another major reason.
    Bye
    Dinesh

Maybe you are looking for

  • LinkageError while trying to use war-file bundled jars

    Good day. I have a servlet for which I want to use the latest JAX-WS 2.1.4 jars. I compile my servlet, and include in the WEB-INF/lib/ directory those same JAX-WS 2.1.4 jars. According to the classloading scheme under the SJWS v7.0, I can enable my s

  • Problem in uploading a file

    Hi All, I did one application on file upload using the tutorial given in the ****************. But i am unable to run my application due to the function module 'HR_KR_XSTRING_TO_STRING' that does not exist.Can anybody plz tell me the name of the func

  • Contrast and color saturation way too heavy when viewing the movie in FCP:

    When I view the clips on the same Mac they look neutral (outside of FCP). But when I drag them into FCP (6.06) it looks like my film already has been color graded (sort of). Too much saturation and too much contrast (the blacks are pretty solid). Whe

  • RE:Calc Script

    Pls check this calc reqirement and do the needful help we have got 700000/- INR in your bank You can spend the money but there are rules of spending. 1. we can start withdrawing Rs 1000 only in each month. 2. The Money can be withdrawn only from Nove

  • Get installer error on CS6 upgrade

    With CS5.5 when trying to install the upgrade to 6 it tells me there is an installer error and I should uninstall 5.5 then use cleaner. Can I just put on CS6 upgrade instead?