Using Summary Fields from Detail to Master Report

Hello guys, I have a Report with Master-Detail Relationship where Detail have a Summary Field named TOTAL_PRODUCT that sum the total of products in a sell. The unique function of detail report is sum the total of products in a sell, in report we have this structure:
ID -
DATE OF SELL -
VENDOR NAME -
CUSTOMER NAME -
TOTAL OF PRODUCTS
This Field in report TOTAL OF PRODUCTS only can be calculated with Detail Table, how can i do it ?

I'll have a exemple with some data :
ID/     DATE OF SELL/     VENDOR NAME/     CUSTOMER NAME/      TOTAL OF PRODUCTS
1/     23/08/2011/             JONH MARK/              MAX FOX/              100
2/     31/08/2011/             JONH MARK/              CRYSTIE LABORY/  20
This Column named TOTAL OF PRODUCTS only be calculated with the Detail information, i need to sum all of products in detail table, but how can i do it in Crystal ?
Edited by: Ronaldo Lanhellas on Aug 31, 2011 4:22 PM

Similar Messages

  • Using MM excise invoice details in SD report

    hi friends,
    i have a requirement that i have to use MM excise invoice details in SD report.
    inwhich both billing document nos are same .
    can any one explains the clear solution for this report.
    thanks in advance.
    Regards,
    karunakar
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Jun 27, 2011 2:55 PM

    Hi
    you want to see the invoice column in FBL5N report.  first you need to check the current layout selection.  this fields are available or not.  if available then add that fields.
    if fields are not available then goto menu "Settings - special fields" OBVU.
    then add this fields in this.
    before add this fields here.  please check the data is updating in BSEG tables and which fields it has updating.
    hope this will help you.
    Regards
    Ram

  • Passing the values from subreport to master report in JasperReports

    Hi All,
    I want to pass the values from subreport to master report, but my subreport is without any query.
    Please help me in this regard. its urgent.
    Thanks & Regards
    Kris

    Hi,
    Below link may help you
    http://jasperreports.sourceforge.net/tips.tricks.html#returnvalues
    regards
    MJ

  • Problem with getting actual data from Detail in Master/Detail

    Hi.
    I'm using master-detail tables (based on Read-Only view objects connected with view link).
    In those tables some columns are inputText, so that user can change data for the use of stored procedure only (I don't want to change data showed in tables, just need a possibility to modify it before passing arguments to procedure)
    The problem is when I get data from rows from detail view (Read Only with attributes set to "updatable always") it's not the data user entered in the table (there is no problem in master table) but the data fetched from database.
    This is the way I do it in backing been:
    Row[] masterRows = view.getAllRowsInRange();
    for (int i = 0; i < masterRows .length; i++){
      MasterRowImpl row = (MasterRowImpl )masterRows;
    System.out.println("Group name:" + row.getGroup())
    RowIterator rowIterator = row.getDetailsView();
    while(rowIterator.hasNext()){
    DetailsViewRowImpl detailRow = (DetailsViewRowImpl )rowIterator.next();
    System.out.println("User name: " + detailRow.getName())
    So if (for example) in database I have Group1, with 3 detail rows: John1,John2,John3;
    and user in Tables displayedon page changes it like this:
    Group1_changed, John1, John2_blah, John333
    After executing the code above I get:
    Group name: Group1_changed
    User name: John1
    User name: John2
    User name: John3
    Is it a normal behaviour?
    ps. When I use entity based view objects there is no problem, but I want to use ReadOnly View Objects.

    this is my function that reads the data:
    while( ( ch = dis.read() ) != -1 ){
    mess.append((char)ch);
              licz++;
              if(licz>prog){
                   licz=0;
                   //gauge.setValue();
    when i use just mess.append(dis.readUTF()))
    i get en exception:
    java.io.EOFException
         at java.io.DataInputStream.readFully(+45)
         at java.io.DataInputStream.readUTF(+32)
         at java.io.DataInputStream.readUTF(+4)
         at KConnection.KConnector.connect(+137)
         at SerwisMain.download(+25)
         at SerwisMain.ok(+415)
         at KGUI.KInput.commandAction(+209)
         at javax.microedition.lcdui.Display$DisplayAccessor.commandAction(+152)
         at com.sun.kvem.midp.lcdui.EmulEventHandler$EventLoop.run(+459)

  • Procedure using a field defined in the master rpt as a sub-rpt Command parameter.

    Post Author: JSC
    CA Forum: Formula
    I understand how create a field in the master report.  I undertand how to define that field as a "subreport link"  (said subreport has command as it's only "table")  I understand how to "add" a parameter to the parameter list of the subreport command.I do not understand how to specify that the "sub report link" field is to be read into the command as a parameter.
    Here's what I am up toTwo Date fields in master report:  DateBegin and DateEndSubrpt command needs to select information based on the range between DateBegin and DateEnd.What is the procedure?  CR11 help is "no help", unless I am simply asking the wrong question.
    I entered this case in a different forum, with no replies.  Apologies for the redundancy.
    JSC

    Post Author: JSC
    CA Forum: Formula
    I think I have most of the procedure figured out, yet there are still problems.First: Create field (@DateBegin) in master rpt to hold parametervalue.Next: Create the parameter field (?BeginDate) in the sub report's "Modify Command" dialogNext:  In the "Change Subreport Links" dialog, add @DateBegin and link to Subreport parameter filed ?BeginDateWhen I test (Preview) the subreport and supply a date when prompted for param value I get expected results.However when I print or preview the master report The subrpt is completly blank, not even title or heading information.  I have verified that @DateBegin has an actual value.Why would this be happening?JSC

  • Making Useful life field optional in Asset master creation(AS01)

    Hi all,
    I want to make 'Useful life' field in 'Depreciation area' tab as optional in AS01 (Asset master).
    1. I made the screen layout changes using AO21 and made Useful life optional
    2. I assigned the above screen layout in OAYZ
    Despite doing this, during asset master creation, the field still shows as 'Required' and not as 'optional'.
    Am I missing anything else?  Kindly provide some pointers.
    Thanks,
    Sridevi

    Hi Sridevi
    Please check your depreciation key. If your depreciation is based on useful life, the key is required regardless the field status.
    Thanks
    Sanjeev

  • Use Department field from user profile

    Hi,
    When user uploads a document - "Created By" takes its name automatically.
    We need the data of the department of the user also.
    I see that i can change the column to display any field from user profile in the "Created By" (user name / email/ department...).
    What should i do in order to use more than one field? (it's like set 2 "created by" columns to each doc - one to get the user name and one for department).
    It is for use department values in search.
    keren tsur

    Hi keren,
    According to your description, my understanding is that you want to get user name and department for the user who created the document.
    I recommend to get the department using the default Created By column and use workflow to get the user name from Created By column in a new column.
    Create a workflow associated with the library and set the workflow to start when an item is created.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Date range using "Date Field" from basic component

    Hello Everyone,
    I have been trying to create date range option available on the dashboard based on 2 Date Filed component.
    Backend for this Dashboard is BW with using BEx query. I have a info object (Z_Date)
    Now I want to have 2 date box using Date Field component 1. Start Date 2. End Date.
    I have tried following
    1. Start Date - on Select
    DS_1.setFilter("Z_Date", {"low":StartDate.getDate()});
    2. End Date - on Select
    DS_1.setFilter("Z_Date", {"High":EndDate.getDate()});
    both the scripts do not have any problem but it doest work as it is suppose to be.
    I have also tried based on following How to write script for DATE Range
    But no luck so far.
    Please share if any one have achieved date range working as mentioned.
    Thanks,
    Rajan

    Hi,
    Set Default Date in Both Date Prompts initially .
    1. Start Date - on Select
    var startDate = StartDate.getDate();
    var endDate = EndDate.getDate();
    var varRange = startDate + " - " + endDate;
    DS_1.setFilterExt("Z_SDPCD", varRange);
    2. End Date - on Select 
    var startDate = StartDate.getDate();
    var endDate = EndDate.getDate();
    var varRange = startDate + " - " + endDate;
    DS_1.setFilterExt("Z_SDPCD", varRange);
    Or
    Select Dates First Then Provide a Button (Done) .
    And write code On Click Event of that Button
    var startDate = StartDate.getDate();
    var endDate = EndDate.getDate();
    var varRange = startDate + " - " + endDate;
    DS_1.setFilterExt("Z_SDPCD", varRange);

  • How to instantiate class using GUID field from a table

    Hi,
    There is a class ' /MRSS/CL_SGD_COMPLEX_DEMAND ' and method /MRSS/IF_SGE_COMPLEX_DEMAND~ITEMS_GET.
    Actual requirement is field called GUID from the table instantiate the class and i can use its methods to get the reference to assign object.

    If i understand the requirement correctly , you need to perform items_get based on the guid. Then create the constructor with a parameter for your GUID , then store this guid in a class member variable. And then you can use the same in the ITEMS_GET( ).
    Regards
    Kavindra

  • Issue using Z fields from 5.0 upgrade to 7.0 UI

    In structure CI_EEW_CUSTOMER_I we have 2 custom fields we want to re-incorporate into the UI.
    When I choose the create new field in the UI tool, these 2 fields show as fields under the "Custom Fields" but the enhancement ID is "manual field" and the status is green.  But if select one of these manual fields I get a pop up window with message "You Cannot edit this Field".
    The field id matches what is in structure CI_EEW_CUSTOMER_I but I do not seem to be able to add them as a field to the UI.

    We had the same issue when we upgraded from 5.0 to 7.0.  I resolved this by making a small config change in SPRO.  Please do the following:
    SPRO / Customer Relationship Management / UI Framework / Design Layer / Deactive Hiding of Fields
    Check "No hiding of fields by design layer."
    Once this is checked, you'll now be able to add your custom fields to the Web UI via configuration of the UI.
    Hope this helps.
    Thanks,
    Matt

  • Using inherited fields from a non entity super class in a compound PK class

    Hi,
    Suppose you have a POJO class called BaseClass, which is decorated with @MappedSuperclass, so that its sub classes can become EJB entities:
    @MappedSuperclass
    public class BaseClass implements Serializable {
    protected int field1;
    protected int field2;
    }EntityOne class is a sub class of BaseClass and an EJB 3.0 entity.
    @Entity
    public class EntityOne extends BaseClass {
    @Id
    protected int field3
    }Everything would be fine up to this point. The problem begins when the following situation is given:
    EntityOne shall have a compound primary key, which is a combination of filed1, field2 and field3!
    Off course, I can define a primary key class EntityOnePK:
    public class EntityOnePK implements Serializable {
      protected int filed1;
      protected int filed2;
      protected int filed3;
      public int hashCode(){...}
      public boolean equals(....){....}
    }But the fields 1 and 2 can not be decorated with @Id annotation, since they are not defined in an entity class!
    Any ideas of how to resolve this situation?
    I had a look in the specification and some articles. I have to admit that the new inheritance features in the EJB 3.0 framework are a real improvement . However, in a bigger scale application, where persistence is only one of many aspects of the system, the introduced methodology of inheritance is not sufficient, i.e. the BaseClass has a lot of subclasses and is used in many packets as a POJO.
    To be more concrete, in our case there are good reasons not define the base class as an entity, mainly to avoid a corresponding table in the used DB, which is also interfacing with other software systems.
    Thanks in advance for your help,
    Mehran

    JAZN is indeed supported for a standalone client. Make sure that the client JVM is also configured for JAAS and has jazn.jar in the classpath.
    Regards,
    -Lee

  • Passing data from Detail to Master

    Hey there,
    I have a TableViewController that has 3 cells, including a subtitle, with disclosure indicators.
    When one is tapped, another TableViewController opens with cells showing values from an array, and with check marks.
    Is there anyway to pass the value of the cell that the checkmark was chosen to the previous(Root)TableViewController's subtitle, so when the user taps back, they will see the value they checked on the first TableViewController cell's subtitle?
    OR is there an better way to do it than pass it to a subtitle from a previous screen?
    The reason I want to do this is I want all 3 cells' subtitles in the Root TableViewController to be filled with the users choice, then I have a button on the Root TableViewController that when tapped, searches a database using the choices in the subtitles.
    Thanks in advance!

    The best way to pass data between view controllers is to make your model accessible to both.
    Do not use UI controls to store attributes.  UI control values should just reflect the model.
    Example of one way to do this.
    Assume your model is a class.  This sample has one property.
    @interface Options : NSObject
    @property (copy, nonatomic) NSString *color;
    @end
    Make the model available to parent and child view controllers. Either a property on the AppDelegate or properties on each view controller.
    @property (strong, nonatomic) Options *options;
    If the property is on view controllers, set it when pushing child view controllers.
    - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
        if ([[segue identifier] isEqualToString:@"ShowColorSelector"]) {
            [[segue destinationViewController] setOptions:options];
    The child view controller can then directly set model properties.
    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
        options.color = [availableColors objectAtIndex:indexPath.row];
    The parent view controller can update UI controls from the model when it is shown. This example uses static table view content, not cell prototypes; colorCellLabel is a an IBOutlet for the subtitle on one of the cells.
    - (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated
        if (viewController == self) {
            colorCellLabel.text = options.color ? options.color : @"not set";

  • Pulling a Record set and then using a field within that record to pull additional information from the table.

    I am pulling information based on the following "If" statement;
    If({JCT_CURRENT__TRANSACTION.Category} = "L"
        and "cost" in {JCT_CURRENT__TRANSACTION.Transaction_Type}
        and {JCT_CURRENT__TRANSACTION.Transaction_Date} > {@Prev Week}
        and {JCT_CURRENT__TRANSACTION.Transaction_Date} <= {@Week 1})
    then
    {JCT_CURRENT__TRANSACTION.Units}
    This works fine and I can print it on the report with other associated fields.  One of those fields is a "Cost Code" field associated with the above conditions and date set (I am pulling for one pay period week).  Of these transactions, each week different "cost codes" could be available.
    One item I need to figure out another formula is associated with the cost codes that are pulled, but, I need to compare them to a different date range.
    Here is how I get the cost codes that were used in a specific time frame;
    If({JCT_CURRENT__TRANSACTION.Category} = "L"
        and "cost" in {JCT_CURRENT__TRANSACTION.Transaction_Type}
        and {JCT_CURRENT__TRANSACTION.Transaction_Date} > {@Prev Week}
        and {JCT_CURRENT__TRANSACTION.Transaction_Date} <= {@Week 1})
    then
    left({JCM_MASTER__COST_CODE.Cost_Code},6) & "001"
    This gives me the cost codes used in that period but changes the last three digits to be "001" (xx-xx-001).
    Now, I need to take that cost code, the xx-xx-001 and compare it to a completely different date range to get an "estimate" number.
    My problem is that, because I need to use a date range in the original conditions, even after I truncate the cost code, for some reason, it stays associated with that date range.
    How can I use a field from a group of records based on date, but, associate it with a competely different date range.
    I hope this is clear, I am having a real hard time with this, I am fairly new, but have pretty normal working knowledge of basic formulas, etc...
    Thanks, Mike

    Please re-post if this is still an issue

  • Problem with passing 2 or 3 members from filter to drillthrough report (SSRS report) in PPS

    Hi,
    I have one dashboard and one filter in PPS. Dashboard contains one main analytical chart report-- sales by Product category and the filter name is Year (contains the members values from 2005 to 2014).
    I have one more drillthrough report--- Detailed report for sales by product category (SSRS report)
    SSRS report having two parameters 1. year  (Multi selection) 2. Product category (single selection)
    Now, I have select 2006,2008 in the pps filter and analytical chart report rendered based on the filter values.
    next, on the analytical chart, I have selected on bar item (cars) out of 4 categories(Cars,Bikes,Trucks,Accessoreis) and right click -->drillthrough-->click on Detailed report for sales by product category.
    I have verified the ssrs detailed report and pps is passing only ALL member instead of passing 2006 and 2008 to the Year filter and Cars category members correctly passed to product category parameter from PPS.
    Note: If I have passed one member values (year=2006), pps is able to pass to ssrs report. But, it failed in two or more member values from filter.
    I have verified in sql profiler also. PPS passing ALL member to SSRS detailed report Year parameter.
    Please provide your suggestions. 
    Thanks,
    kishore

    sorry for the late updation.
    My First Report, Summary level is a Pivot Table.
    I tried the same report with Table option, the value is passing correctly.
    Is there a way to get rid of this situation using Pivot table.
    Thanks for your help.
    below is the original request.
    Hi,
    I am Hemanth, I have developed 2 reports. Firast Report High Level Summary, Secong is detailed. First report is developed using Union(4 union) , I am having 4 columns. The report is generating the data. I have used Navigation option on Client Column to move on to Second report. In Second report with in Filter i am using Prompted option. Due to some problem, the client value from first report is not passing to the second one. The second report is getting generated for all the clients.
    Normally i have used this Navigate option in other reports and that works fine. I have even tested with Union, it works. This time it is giving some trouble.
    Please, let me know whats going wrong.
    Thanks for the help.

  • Current Header Rows Not Appearing on FBL1N - A/P Detailed Line Item Report

    Our A/P staff somehow turned off the header rows at the top of the FBL1N report.    The rows contain the various variables related to the report such as vendor name, vendor address, city, state etc.
    Does anyone know how I can change the report so that these variables once again appear on the report?
    Thanks,

    Michael,
    Do you mean that you can not access via the following link?
    http://service.sap.com/notes
    Well, if this is your case, I will copy note 181592  here since there is only text information and not code correction. I am sorry but the format is not good, but I think this note will help you to insert header again.
    If this note does not help you, let me know and I will check the other notes that I have provided.
    Please kindly check the note text below:
    Best Regards,
    Vanessa Barth.
    ==============================================================
    SAP Note No. 181592                          20.01.2009           Page 1
    Number              181592
    Version             6 from 03.03.2000
    Status              Released for Customer
    Set on              02.03.2000
    Language            EN
    Master language     DE
    Short text          Line item: Setting-up the headers
    Responsible         Christian Auth
    Component           FI-GL-GL-D
                         Reporting/Analysis/Display
    Long text
    Symptom
    You want to display information in the headers or change information
    preset in the headers for the following: line item display for vendors,
    G/L accounts customers or customer information on an account.
    Additional key words
    Program RFITEMAP, RFITEMGL, RFITEMAR, Transactions FBL1N, FBL3N, FBL5N,
    layout variants, layout headers
    Cause and prerequisites
    You are not familiar with the option of individually setting header
    information or how to use maintenance transactions.
    Solution
    1.  Overview
         In the line item report you can display information in the header of
         the list (given that this information is equal for all items
         displayed).
         For example, a customer accounts clerk wants to display the
         following data in the header: account number and name of the
         customer, name and telephone number of the responsible accounting
         clerk for the customer, current date.
         You can use information taken from the account master data. General
         variables like the time and date are also available.
         The following describes how you can set up the layout of header
         information yourself. A header layout is always assigned to the
         particular display variant of the list which you set on the bottom
         of the selection screen or which you can choose using CTRL+F9 on the
         display ('Choose' button). You can therefore personalize the header
         layout as well as the remaining display layout.
         The header layout is output if the account number group is changed,
         if the list has been sorted according to the 'Account' field, and if
         a page break has been set for this field. You can maintain these
                                                                       Page 2
            settings under the menu option Edit -> Subtotal (Ctrl+F1).
         2.  Setting up the headers
             Choose from the menu
             Settings -> Display Variant -> Current header rows
             You now see rows in which you can arrange variables. Using the
             pushbuttons in the function bar, you can create or delete rows.
             When you position the cursor at the start position and choose
             function "Gen. variables" (Shift+F5) or "Characteristics..."
             (Shift+F8) a new variable is positioned in the header area. From the
             following dialog box, you can choose the variable (also called
             characteristic) from an inventory.
             Under "Text type", you determine whether the label for the variable
             (for example, the label 'Customer') or if the value itself should be
             used (that is, the appropriate customer number for the items
             displayed in each case). You can display pairs as follows:
             <Label>: <Value>
             for example,
             Customer: 47110815
             If the value is a key for a short or long text (either a name or a
             description), you can also select this under "Text type".
             After selecting and positioning the characteristics, save and return
             to the list. The headers are displayed immediately with correct
             values so that you can check your results right away.
         3.  Save the list variant
             Choose "Save" (Ctrl+F12) in the list. In the following dialog box,
             you can enter a name and a label for the list variant that will be
             stored together with your header layout.
             Note that general variants visible to every user have a name
                                                                           Page 3
           starting with the character '/'. User-specific variants on the other
           hand must begin with a letter and are only visible to you.
           Standard variants delivered by SAP in general start with a number
           and have preconfigured headers. You cannot change the SAP variants,
           but you can use them as template for your own enhancements, which
           you can store under another variant name.
       Valid releases
       Software Component                        Release
                                                 from            to
       SAP_APPL
            SAP Application
                                                 46C          - 46C
                                                 46A          - 46B          X
       Further components
       FI-AP-AP-D
        Reporting/Analysis/Display
       FI-AR-AR-D
        Reporting/Display/Credit Management
       Reference to related Notes
       Number    Short text
       306225    Line item: page break when printing lists
       213144    Line item: Header information disappears
       181697    Line item: Header information is missing

Maybe you are looking for

  • Essbase add-in error:You do not have sufficient access to perform a lock

    Hi, I have a user who is doing a retrieve in Excel and is getting this error on v.9.3.1: Essbase Error: "You do not have sufficient access to perform a lock and send on this database". The user is just doing a retrieve, no lock and send. I asked him

  • Error code 0xc19a0035 when trying to print on C6380

    About half the time my HP C6380 printer won't work.  I get the error message 0xc19a0035.   It tells me to turn the power off and then back on again.   That generally allows me to print until the next time - Any suggestions

  • Regarding Sold to party

    Hi Friends Can we change sold to party to ship to party or Ship to party to Sold to party If possible what is the procedure Plz reply me

  • Mac Pro (Early 2008) - Question about swtiching startup hardrive

    I have a Mac Pro (Early 2008), let's call her A, that I have been using non-stop but both its video card and a set of memory sticks have failed. My buddy bought his Mac Pro at the same time, let's call her B, but he barely used it. I want to keep on

  • Multicam Edit Really Slow

    I am editing DV PAL and have just noticed that there is bug which is delaying my keyboard commands to switch to different cameras in the multicamera window. Firstly after lining up my two cameras, I exported the audio alone to a wav format so I could