BI report - +Sum for Characteristics

I am trying to build a query in Bex Analyzer and I created a calculated key figure from a characteristic. I created a forumula variable using replacement path and referencing the characteristic that I need to sum. When I run the query, the total is incorrect because it is ignoring the characteristic amounts that are duplicates. If I drill into the query to see the detail by "Adding drilling down according" to the characteristic, it sums correctly becuase it is showing all of the duplicate amounts. Is there any way to get the initial sum to stop ignoring the duplicate amounts?
Any help would be greatly appreciated!!!

Hi,
Please let me know the steps.
My case is as below.
Cube1 - Infoobject1 (IO1)
Cube2 - Infoobject2 and KF1
DSO3 - IO3 and KF2
Report displays.
IO1  -   IO2   -   IO3  - KF1   - KF2
My reqt is to get count of IO1.

Similar Messages

  • BI report - Count for Characteristics

    Hi,
    I have a report on infoset where 2 key fields are linked. If i select no. of doc headers(KF) of A1 field i get value as 1 in case 1. but in case of case 2 i get value 2.
    Ex - 
    Case 1 - A1 to B1 (one to one)
    Case 2 - A2 to B2 and B3.(one to many)
    Is there any other where in Query designer, just to get the count of the characetistics whihc is added in rows.?

    Hi,
    Please let me know the steps.
    My case is as below.
    Cube1 - Infoobject1 (IO1)
    Cube2 - Infoobject2 and KF1
    DSO3 - IO3 and KF2
    Report displays.
    IO1  -   IO2   -   IO3  - KF1   - KF2
    My reqt is to get count of IO1.

  • Reporting Authorisations for reference Characteristics

    I want to set up a specific reporting authorisation for characteristic 0CRM_SALORG which is in my ODS. I notice that this is referenced to characteristic 0ORGUNIT.
    Which characteristic should I make relevant for authorisation and create the authorisation object for?

    Hi!
    if the reports are on 0crm_salORG then create the authorizations on it.
      <i>whats the status of your problem with heirarchies and 0material.</i>
    with regards
    ashwin
    Message was edited by: Ashwin Kumar Gadi

  • Average sum for a column in ALV tree layout

    Hi,
    I've trying to set an average sum for a column in an ALV tree report.  In the field catalog i set the DO_SUM field to 'X' and this will do a total sum, but I can't find out how in the code to do the average sum.
    Also to get round this I was going to just set a default display variant with the "average" sum option saved after i had manually selected the columns and set it to this.  Problem with this is that when i re-run it, the sum comes back as a total rather than an average.  I have tried setting display variants on the SAP example ALV tree programs and the same thing happens.
    Does anyone know how i can get round this?
    Cheers
    Matt.

    Hi,
    In addition to setting DO_SUM = 'X' you need to specify function in H_FTYPE field. It should be set to 'AVG' in your case.
    ls_fielcat-do_sum = 'X'.
    ls_fieldcat-h_ftype = 'AVG.

  • Various consistency checking reports available for New GL?

    Hello dear colleagues,
    May I ask you for your expertise, please.
    Situation:
    We have a lot of report for checking data consistency.
    FI - MM with RM07MMFI
    FI - FA with RAABST02
    Quesition:
    Do you know if we have these reports available for sitution in New GL?
    In detail, I mean that you can compare per Prctr or Segment in addtion to GL account.
    Thank you for your valueable answer and discussion.
    all the best Erwin

    Hello,
    Thank you for your answer.
    Yes, I am fimilar with FAGLF03 >>> it was SAPF190 in classic GL
    and FAGLCORC  for reconciliation of FI - CO. (before starting - consider SAP note for cost element update in GL).
    I am looking for checking cosistency in MM and FA where prctr and segment is available.
    A sum per prctr within gl account.
    I would be comfortabel to have these reports, otherwise I have handle it with SAP Query.
    SAP standard report would be the best choice.
    all the best Erwin

  • Values for Characteristics entered on Orders with Configurable Products

    Hello all,
    I have a system that has Configurable Products to be used in Sales Orders.  I have a requirement to provide the values stored against some characteriestics for an online report.  Can anyone point me in the direction of tables that hold the values entered for characteristics at the order level?
    Many thanks,
    Jon

    Hello,
    thanks for your answer.
    But I cannot restrict the values for each characteristic, I need to restrict it per material for each characteristic? So where can I do that?
    Thanks
    Anne

  • Report Painter for all module

    Hi,
    Is report painter can be use by MM,PP,SD module ?
    in ECC6, we can use report painter for module FI, how about module MM,SD and PP ? 
    if it can use for those module too, how is the step?

    Hello Callia Raissa,
    Yes report writer can be used in logistics also. One of the way which I am aware of is described below.
    Flexible analyses allow you to can tailor the way in which key figures are combined and aggregated. This means that it is possible to both provide administrators with detailed information and management with aggregated information.
    Flexible analyses enable easy access to the Report Writer, a user-friendly tool with which you can create reports for various analyses. The Report Writer is integrated in other SAP applications, such as Extended General Ledger and Cost Center Accounting.
    Evaluation structures form the interface to the Report Writer. Evaluation structures consist of characteristics and key figures and are easy to construct.An evaluation structure with the same name exists for each information structure in the standard system.Even the self-defined information structures created in Customizing can be evaluated via the flexible analyses.
    Evaluations:You can create an evaluation on the basis of the evaluation structure.
    To define an evaluation, all you need to do is select the characteristics and key figures you require (pick-up technique).One of the especially useful features here is that you have the option of tailoring the layout of your report to suit your particular requirements. You can also define extra key figures for the reports, which are derived from existing key figures by means of calculation formulas. You can thereby multiply the key figures or divide one key figure by another.
    ============================================================
    In addition to the above you can also edit a report in logistics module with the help of a report writer. below mentioned is the process for it.
    It is now possible to edit your report data using the Report Writer. You can also change the layout of the report. The most important functions of the layout design are summarized below.
    Summation levels:In the report screen, you can use the menu sequence View ->Summation level to specify the number of summation used to calculate total values. All totals that do not lie within the specified interval will be hidden. A summation level corresponds to a hierarchical level (for example, material level). Summation level 1 is the lowest hierarchical level. Summation level 2 is the next level up, and so on. The individual values are on the summation level 0.
    The summation levels can be specified both universally (for the entire report) or locally (for specific blocks of rows). In this case, the local settings overwrite global values.
    Report views:If a report is displayed on the screen, the Report Writer will then set page breaks so that exactly one page fits into the current window. This view will be defined as the standard view. As the Report Writer always processes exactly one page, you can only use the page keys and page icons to page up and down; the scroll bars cannot be used.
    The page view can be determined via Settings-> Page view. The page breaks in the page view correspond to those defined in the report layout.
    Hide and show rows:The function Edit->Hide rows exclude certain preselected areas of your report from the display. You can undo this command with Edit ® Show rows.
    Expanding and collapsing report rows:View-> Hierarchy->Collapse allows you to hide the report rows of the sub-trees that are located underneath. View->Hierarchy ->Expand allows you to undo this command level by level.
    If you want to display all the report rows that were hidden by collapsing the hierarchy or restricting the summation levels, select, View->Hierarchy-> Expand all.
    View->Collapse all allows you to reduced every row block to the highest summation level.
    Texts and Annotations:You can create an annotation for your report.
    Select: Extras->Annotation.
    You branch into the text editor of the Report Writer.
    Via the menu sequence Settings->Texts, you can create and format a title page, the last page, as well as headers and footers using word processing functions.
    For example, you can store variables in the header for the author of the report, the date of the selection or the name of the person who last changed the report.
    Layout parameters:Using the menu sequence Settings->Layout you can specify the page format, display form, rows and columns of the report according to your needs and you can determine the settings for the graphics function. You can make these layout settings with Report->Save settings.
    Hope I had been able to help you to some extent. please assign points as reward.
    Rgds
    Manish

  • Report Painter for B/S , P&L statements

    Hii gurus
    this is ramki...
    Plssss help me in the making of Report painter for Balance Sheet and Profit And Loss Statements , as of now i didn't did Report Painter .
    I have tried no.of times , i dont know the confg also...
    My client is asking DR & Cr columns for the statements..
    can any body plsssss forward to me  report painter confg documentation...( atleat for base level confg )
    helpers will b great appreciateble..
    thanks in advance
    regards
    ramki

    Hi
    i am sending you a sample of how to createa report in report painter follow it,
    Main Steps in Creating a Report Using Report Painter
    The illustration below shows the main steps in creating a report with Report Painter:
    In this section, you learn how to create a Profit Center Accounting (PCA) report with Report Painter.
    For these sample reports, you should focus on the tables that correspond to the SAP application areas with which you are working. The examples shown in this section have been created in Release 4.6C.
    Sample Report for Gross Profit Margin
    Bungee Corporation wants to use Report Painter to create a gross margin report. This Profit Center Accounting report uses data table GLPCT. The desired PCA report displays the gross margin for each profit center.
    Below is an illustration of the completed gross margin report.
    Prerequisites to Creating a Report with Report Painter
    Before you can create a report with Report Painter, you need to:
    •     Determine the table
    •     Find the library
    •     Create sets
    •     Create variables
    The following sections explain these prerequisites.
    Determine the Table
    Before you can start creating the report, you must decide on the table you need to use. In this example, we use table GLPCT in Profit Center Accounting.
    Find the Library
    Determine the library you want to use for the desired table.
    If you need to create a library, on the SAP Easy Access screen, either:
    •     From the navigation menu, choose SAP menu &#8594; Information systems &#8594; Ad hoc reports &#8594; Report painter &#8594; Report Writer &#8594; Library &#8594; Create.
    •     In the Command field, enter transaction GR21 and choose  .
    In our example, we use existing library 8A2 for creating a report.
    Create Sets
    Create the required sets for your report. To create a set, on the SAP Easy Access screen, either:
    •     From the navigation menu, choose SAP menu &#8594; Information systems &#8594; Ad hoc reports &#8594; Report painter &#8594; Report Writer &#8594; Set &#8594; Create.
    •     In the Command field, enter transaction GS01 and choose  .
    Note that this procedure is not necessary for creating the report given in the example that follows.
    Create Variables
    Create any variables for the fields that must be entered before the report is executed. To create a variable, on the SAP Easy Access screen, either:
    •     From the navigation menu, choose SAP menu &#8594; Information systems &#8594; Ad hoc reports &#8594; Report painter &#8594; Report Writer &#8594; Variable &#8594; Create.
    •     In the Command field, enter transaction GS11 and choose  .
    Note that this procedure is not necessary for the sample report in the next section.
    Creating a Report with Report Painter
    When you are ready to create the report using Report Painter, use the following steps.
    Example Task: Creating a report using Report Painter
    1.     On the SAP Easy Access screen, either:
    o     From the navigation menu, choose: SAP menu &#8594; Information systems &#8594; Ad hoc reports &#8594; Report painter &#8594; Report &#8594; Create.
    o     In the Command field, enter transaction GRR1 and choose  .
    2.     On the Report Painter: Create Report screen:
    a.     In Library, enter the name of the library to be used for the report (for this example, 8A2).
    b.     In the Report, enter a name for your report and a short text description.
    c.     Choose Create.
    1.     
    To help you better understand how to create a report in Report Painter, the next procedures explain the varying substeps. You can either:
    o     Define the rows (or rows with a formula)
    o     Define the columns (or columns with a formula)
    o     Define the general data selection
    Define Rows
    Example Task: Defining rows (including defining a row with a formula)
    To start defining the rows, on the Report Painter: Create Report screen, double click on Row
    On the Element definition: Row1 dialog box:
    a.     To include characteristics in the first row of the report, select the desired characteristics in the Available characteristics frame (for example, Account number)
    b.     Use  to transfer the chosen characteristic to the Selected characteristics frame.
    c.     In From, enter the account number(s) you want to include in the row definition. Either enter to and from values or a group set (for example, the value 800000).
    d.     To enter the row heading, choose
    On the Text maintenance dialog box:
    a.     In Short, enter the desired short text (for example, Revenue).
    b.     To copy the short text into the Medium and Long text fields, choose Copy short text.
    c.     To continue, choose
    On the Element definition: Row1 dialog box:
    a.     To check if the selection is correct, choose  Check.
    b.     To transfer the selection to the row 1 definition, choose Confirm.
    You have now defined the first row.
    To define the second row for costs, on the Report Painter: Create Report screen, double-click on Row 2.
    On the Select element type dialog box:
    a.     Select Characteristics.
    b.     Choose
    On the Element definition Row 2 dialog box:
    a.     To include characteristics in the second row of the report, select the desired characteristics in the Available characteristics frame (for example, Account number)
    b.     Use  to transfer the chosen characteristic to the Selected characteristics frame.
    c.     In From and To, enter the account number(s) you want to include in the row definition (for example, 400000 and 490000).
    d.     To enter the row heading, choose
    On the Text maintenance dialog box:
    a.     In Short, enter the desired short text (for example, Costs).
    b.     Choose Copy short text to copy the short text into the Medium and Long text fields.
    c.     To continue, choose
    On the Report Painter: Create Report screen:
    a.     You can now choose to add further rows with other required characteristics. In this example, you can create a formula in the third row.
    b.     Double-click on Row 3.
    On the Select element type screen:
                       a. Select Formula as the row element type.
                       b. Choose
    On the Enter Formula screen:
    a.     Enter the formula for Row 3. You can either type it in or use your mouse and the formula components buttons. If you type the formula, do not forget the spaces. In this example, Y001 and Y002 represent Revenue and Costs respectively.
    b.     To check the correctness of the formula, choose  Check.
    c.     Choose
    On the resulting Text maintenance dialog box:
    a.     In Short field, enter the text for the formula field (for example, Gross Marg).
    b.     In Medium and Long fields, enter the required text (for example, Gross Margin).
    c.     Choose  .
    You have now defined three rows (Revenue, Costs, and Gross Margin).
    Define Columns
    Example Task: Defining columns
    On the Report Painter: Create Report screen, double-click on the first column, Column 1.
    On the Select Element Type (not shown) dialog box:
    a.     Select Key Figure with characteristics.
    b.     Choose  .
    On the Element definition: Column 1 dialog box:
    c.     In the Basic Key figure field, use the dropdown to select Amount in company code curr.
    d.     In the Available Characteristics frame, select the desired characteristic for column 1 (for example, Fiscal Year).
    If you want to be prompted for the fiscal year at the time of running the report, you must make this a variable instead of a value.
    e.     Choose  to move the desired characteristic to the selected characteristics frame (for example, Fiscal year).
    f.     Place your cursor in the From value field and select the checkbox to the left under  (variable on/off).
    g.     To view the possible entries for the From field, choose  .
    h.     From the resulting selection dialog box:
    &#61607;     Select a variable from the list of available variables (for example, CYear).
    &#61607;     Choose  .
    i.     On the Element definition dialog box, choose  .
    j.     On the resulting Text maintenance dialog box:
    &#61607;     In Short, enter a text for the column header (for example, Curr Year).
    &#61607;     To copy the short text to Medium and Long text fields, choose the Copy short text button.
    &#61607;     Choose  .
    Now you have defined the column 1 for your report.
    k.     Back on the Element definition dialog box, choose Confirm.
    On the Report Painter: Create Report screen, define column 2 and all other columns you choose to define. You can define these columns either by:
    o     Repeating steps for column 1
    o     Copying columns
    o     Entering a formula that calculates the difference between columns (for example, between Current Year and Prior Year [variable is Pyear] in a column called Variance)
    Adding a column or formula is similar to adding a row formula. After defining the rows and the columns, the screen would appear as follows.
    General Data Selection
    After you define the rows and columns, define the general data selection screen for the report.
    Example Task: Defining the general data selection screen for the report
    1.     On the Report Painter: Create Report screen, from the menu bar, choose Edit &#8594; General data selection.
    2.     On the Element definition: General data selection screen:
    a.     From the Available characteristics frame, select the fields to add to the general data selection as shown.
    b.     Choose  to move the selections into the Selected characteristics frame.
    c.     Enter the values for each field. (For example, the standard ledger for PCA is 8A to 8E and the U.S. company code in IDES is 3000. This example is a year-to-date report, so all 12 periods are in the range. The standard Version in PCA is 0, the Record type for actual dollars is 0, and CO is 2000).
    d.     To check the selections, choose  Check.
    e.     To create the definition for the general data selection for the report, choose Confirm.
          3.   On the Report Painter: Change Report screen:
    a.     To save the report, choose 
    To include the report into a report group, choose Environment &#8594; Assign report group.
          1.     On the Insert Report in Report Group dialog box:
    a.     In Report group, enter a report group name (for example, ZTGR).
    b.     Choose  .
    2.     On the Create report group dialog box, choose Yes to create and assign to a new report group.
    Display and Execute the Report
    Example Task: Displaying the report you created in the previous steps
    1.     On the SAP Easy Access screen, either:
    o     From the navigation menu, choose: SAP menu &#8594; Information systems &#8594; Ad hoc reports &#8594; Report painter &#8594; Report &#8594; Display.
    o     In the Command field, enter transaction GRR3 and choose  .
    2.     On the Report Painter: Display Report screen:
    a.     Double-click on your report.
    b.     Review the report display.
    c.     To execute the report, from the application toolbar, choose execute.
    On the Selection screen:
    a.     Enter the variables used to execute the report (for example, Current Year 2000 and Last Fiscal Year as 1999).
    b.     On the application toolbar, choose execute.
    The report appears. You have successfully created a report in Report Painter.
    You can also execute the report through the report group (for example, ZTGR).
    1.     On the SAP Easy Access screen, choose SAP menu &#8594; Information systems &#8594; Ad hoc reports &#8594; Report Painter &#8594; Report Writer &#8594; Report group &#8594; Execute or in the Command field, enter transaction GR55 and choose 
    2.     On the Execute Report Group: Initial Screen:
    o     In Report Group, use  to select a report group.
    o     Choose  .
    3.     On the next screen, enter appropriate values and choose  .
    4.     On the next screen, from the menu bar, choose:
    o     Settings &#8594; Column attributes to change the column attributes such as changing the column width, setting the scaling factor, and setting decimal place numbering for number display.
    o     Settings &#8594; Summation levels to specify a range of summation levels for which totals will display.
    o     Settings &#8594; Print page format to change the layout of the report output.
    5.     To transfer the report to Microsoft Excel or Lotus 123, from the application toolbar, choose  .
    6.     On the Options dialog box, select the radio button of your choice and choose  . Note that for the report to open in Microsoft Excel or Lotus 123, you need to have these applications installed on your PC.
    7.     To get back to the original display of the report, select Inactive on the Options dialog box.
    Understanding the Report List
    After executing a Report Painter report, several additional functions can be applied to the output to make your reports as meaningful as possible. You can:
    •     Sort on each column.
    •     Highlight rows that meet the threshold criteria, for example any amount greater than 6,000.
    •     Drill down from any line item. Drilling down you can access ABAP programs, transaction codes, SAP Queries, drilldown reports, or other Report Painter and Report Writer reports.
    •     Launch SAP Graphics.
    •     Send the report through SAP mail.
    •     Save as an extract to be brought up later.
    •     Expand and collapse rows.
    •     Change the layout settings.
    •     Display the report in Microsoft Excel with office integration.
    hope this gives you an idea, and send me an email to [email protected] i will send you a doc on it,
    if this was helpful then assign points ..
    regards
    Jay

  • Reports sum don't sum as they should

    Hi,
    I created a report where it displays, in order: COST CENTER, PROJECT, EMPLOYEE, JAN, FEB... DEC
    Then I check on sum for JAN, FEB.... DEC under columns attributes.
    Then I have a break for the first and second columns (COST CENTER, PROJECT), so it will give me a sum for project total, and a sum for cost center total.
    The thing is that there is a case that the project is the same, but in different cost center, what the report is doing is that since the project is the same, even though the cost center is different, it's returning a sum for project total combining 2 different cost centers. This should not happen since cost center is highest in the hierarchy so even 2 different cost centers with the same projects, it should return a sum of the projects separtely, since although the same project, they belong to 2 different cost centers.
    How can I fix this?
    Thanks,

    I have no idea if this is "good" SQL or not, I played with it until it worked. :-)
    Going through the SQL a line at a time:
    select decode(grouping_id(cost_center)+grouping_id(project)+grouping_id(amount),3, 'Report Total:',2,'Cost Center '||cost_center||' Subtotal:',1,'Project '||project||' Subtotal:',0,null) tag,grouping_id(item) is set to 1 when that item level is being totaled, 0 otherwise. So this is basically a case statement. Column 1 is the 'Tag' field, which is just a label and not in the database.
    If the sum of the grouping_id values is 3, then select the text 'Report Total:' for column 1
    Else if the sum is 2, select 'Cost Center ' concatenated with the value of the current cost center, concatenated with 'Subtotal:' in for column 1
    Else if the sum is 1, you're subtotalling the project, so select 'Project' concatenated with the project value and 'Subtotal:' for the 'Tag' column.
    Otherwise, display null.
    This brings up a feature I'd like to see in ApEx: It would be nice to be able to display not only the column headers in the break row, but also the value/name of the item currently being totaled. Another nice feature would be if I could get around having to use this 'Tag' field and, instead, have column 1 span several TD cells so that I could get the label over next to the subtotal values instead of in column 1.
    On to line/column 2. Similar to before, this is a case statement, determining what goes in the cost_center field:
    decode(grouping_id(cost_center)+grouping_id(project)+grouping_id(amount),0,cost_center,null) cost_center, If the sum of all three grouping ids is 0 (not rolling up or subtotalling), show cost_center, otherwise show null.
    The next line, for project, works the same way.
    decode(grouping_id(cost_center)+grouping_id(project)+grouping_id(amount),0,project,null) project, If the sum of all three grouping ids is 0 (not rolling up or subtotalling), show project, otherwise, show null.
    The next field, Amount, is a little tricky:
    decode(sum(amount),amount,amount,sum(amount)) amount, Again, take it as a case statement (or if-then-elseif)...
    if the sum(amount) is the same as amount (displaying regular row), show the amount, otherwise, show the sum(amount).
    Why do this? Because I don't want two columns for amount and sum(amount). I want the sum to display in the Amount field on a report row. I suppose I could have summed up the grouping_id values as before, eh?
    In the report attributes, I suppress the display of the last field, sum(amount).
    sum(amount) The final bit defines the grouping sets:
    from breakreport group by grouping sets((cost_center, project, amount),(cost_center, project), (cost_center),());This says: Aggregate on amount, then project, then cost center, then give an overall total.
    Google for "grouping_id oracle" and you'll find a bunch of very nice links to Ask Tom and other places that discuss grouping.

  • RE: Report Writer Report with two characteristics

    Hi,
    I have created a Report with two characteristics - Profit Center and Internal Order(Order) as columns(some columns have Profit Centers and others have Orders). When I run the report, I get the values correctly for Profit Center columns, but the Order columns are empty.
    Why do the Order columns not show any values?
    Thanks.
    S.Vijay

    I have given the Record Type and Version in General Data Selection and both are 0.

  • Dynamic Report Sum

    Hi all,
    We are using collections in pipe row function to create dynamic interactive report. its working fine. Main problem is if we apply aggregate function sum on columns and if we saved it.on the first it showing sum and if we come back to the page again sum disappears. We need sum for columns in the report. Its urgent,If any knows help us.
    Thank You
    Regards,
    Tom.

    Hi,
    Its not working we are using number datatype only and also i tried in report with to_number(coox) it also not working.Any other suggesstion i pasted my sample function and interactive report query here.
    Sample Code:
    FUNCTION own_performance_distributor(
    p_flag IN VARCHAR2 DEFAULT ' ',
    p_amc_code IN VARCHAR2 DEFAULT ' ',
    p_distributor IN VARCHAR2 DEFAULT ' ',
    p_location IN VARCHAR2 DEFAULT ' ',
    p_month IN VARCHAR2 DEFAULT ' ',
    p_schtype IN VARCHAR2 DEFAULT ' ',
    p_scheme IN VARCHAR2 DEFAULT ' ',
    p_invsegment IN VARCHAR2 DEFAULT ' ')
    RETURN mfdex_tt_bro_broker PIPELINED AS
    query_result q_result.query_res;
    BEGIN
    v_max_month := mfdex_utilities_pkg.get_max_month(p_amc_code);
    IF p_location <> ' ' THEN
    v_location := chr(39)||p_location||chr(39);
    ELSE
    v_location := p_location ;
    END IF;
    IF UPPER(p_amc_code) <> 'ALL' THEN
    PLP_MFDEX_SELECT(
    p_flag,
    chr(39)||p_amc_code||chr(39),
    v_location, p_invsegment, v_max_month, p_schtype,
    p_scheme, p_distributor, ' ', ' ',
    'BROKER', query_result);
    ELSE
    PLP_MFDEX_SELECT(
    p_flag, ' ', v_location, p_invsegment,
    v_max_month, p_schtype, p_scheme, p_distributor,
    ' ', ' ', 'BROKER', query_result);
    END IF;
    LOOP
    FETCH query_result INTO email,distributor,
    clgassets, sales, red, trxns, folios, netswitch, divreinv,
    avgage, avgassets, siti_amt, soto_amt, newsip, totalsip,
    sipaverage, sipfailed, sipceased, sipaum;
    EXIT WHEN query_result%NOTFOUND;
    /*sum_clgassets := sum_clgassets + clgassets;
    sum_sales := sum_sales + sales;
    sum_red := sum_red + red;
    sum_trxns := sum_trxns + trxns;
    sum_folios := sum_folios + folios;
    sum_netswitch := sum_netswitch + netswitch;
    sum_divreinv := sum_divreinv + divreinv;
    sum_avgage := sum_avgage + avgage;
    sum_avgassets := sum_avgassets + avgassets;
    sum_siti_amt := sum_siti_amt + siti_amt;
    sum_soto_amt := sum_soto_amt + soto_amt;
    sum_newsip := sum_newsip + newsip ;
    sum_totalsip := sum_totalsip + totalsip ;
    sum_sipaverage := sum_sipaverage + sipaverage;
    sum_sipsfailed := sum_sipsfailed + sipfailed;
    sum_sipsceased := sum_sipsceased + sipceased;
    sum_sipaum := sum_sipaum + sipaum;*/
    PIPE ROW(mfdex_rt_bro_broker (distributor,
    'All',
    'All',
    'All',
    'All',
    clgassets, sales, red, trxns, folios, netswitch, divreinv,
    avgage, avgassets, siti_amt, soto_amt, newsip, totalsip,
    sipaverage, sipfailed, sipceased, sipaum));
    END LOOP;
    /*PIPE ROW(mfdex_rt_bro_broker ('<b>Grand Total</b>' ,' ',' ',' ',' ',
    sum_clgassets,
    sum_sales,
    sum_red,
    sum_trxns,
    sum_folios,
    sum_netswitch,
    sum_divreinv,
    sum_avgage,
    sum_avgassets,
    sum_siti_amt,
    sum_soto_amt,
    sum_newsip,
    sum_totalsip,
    sum_sipaverage,
    sum_sipsfailed,
    sum_sipsceased ,
    sum_sipaum
    CLOSE query_result;
    RETURN;
    END own_performance_distributor;
    IR query:
    SELECT ' ' sno,DISTRIBUTOR ,
    LOCATION ,
    MONTH ,
    SCHTYPE ,
    INVSEGMENT ,
    CLGASSETS ,
    SALES ,
    RED ,
    TRXNS ,
    FOLIOS ,
    NETSWITCH ,
    DIVREINV ,
    AVGAGE ,
    AVGASSETS ,
    SITI_AMT ,
    SOTO_AMT ,
    NEWSIP ,
    TOTALSIP ,
    SIPAVERAGE ,
    SIPFAILED ,
    SIPCEASED ,
    SIPAUM
    FROM
    TABLE
         mfdex_ownperform_broker_pkg.own_performance_distributor
                   'OWNPERF',
    :p_amc_code,
         ) OP where 1=1

  • Extended tab not available for Characteristics property in pla queries..

    Hello All
    I am implementing BI IP and i am experiencing a strange problem which i never encountered before. When i am creating an input ready query I am unable to view the extend tab where we select the access type for each characteristics for any info object. But i can see the planning tab for the Query as whole and i am able to save data in the cube from this sample query. I am also unable to view the options Transfer values and Save Values in the context menu when i execute the query.
    Please help me asap.
    Regards
    Harsh

    Hi all
    I have solved the problem for calendar months but not for calday.
    For months, I have modified 0calmonth infoobject and flag "With texts" in the "Master data/texts" tab. I dind't have to load any texts for months and I could use the "Display as text" option in the queries and texts were displayed correctly in the reports.
    For calendar day, I couldn't use this solution nor for 0DATE infoobject.
    Regards
    Inma

  • Text data is not displaying at Report level for an Infoobject Item name

    Hi All,
    Texts data is maintained at Info object level but text information is not displaying at Report level for an object.  I have set the property at query level as "Text", but at report level it is displaying key values of the object, not displaying texts information.  This problem occured in QA(Quality) system but not replicated in Production system.  I have checked all properties at backend and query level and compared the same between QA and Production system didn't find any difference.
    Please suggest what might be the cause: at report level it is displaying key values instead of the textual information even text data is mainintained at backend.  In production it is displaying textal data for the IO.
    Thanks in advance.

    Hi All,
    Thanks for your valuable information.  I have changed the setting under Advanced tab as "Master data" for Access type for results values, but didn't solved the problem still it showing key information for the IO.
    In Production system the report displaying texts information for the IO, but in QA its displaying key information. The problem exits only in QA, its working fine in DEv and Production.
    As per my understanding might be the issue with Patches will be checking with Basis team on the same.
    Please suggest if you have any alternatives to fix the issue.

  • Where to find Crystal Report Formats for SAP B1 8.8 (India Localization) ?

    Hi Experts,
    do anybody knows Where to find Crystal Report Formats for SAP B1 8.8 (India Localization) ?
    For example
    Sales Register
    Purchase Register
    Journal Register
    Sales Analysis - Crystal Report
    Purchase Analysis - Crystal Report
    Check Register - Crystal Report
    Production register
    Pending Sales Order
    Outstanding Receivable
    Outstanding Payable
    BankBook
    CashBook
    General Ledger
    BP Ledger (Customer / Supplier)
    Trial Balance
    Balance Sheet
    Profit & Loss Statment
    Cash Flow statment
    Excise reports
       RG 23 A Part I
       RG 23 A Part II
       RG 23 C Part I
       RG 23 C Part II
       Daily Stock Account
       RG 1
       ER 1
       etc....
    Documets Layout
       Incoming Payment
       Outgoing Payment
       Journal Entry
       Transaction Journal Report - Crystal Report
       Sales Quotation
       Sales Order
       Sales Delivery
       Sales Return
       Sales Invoice (A/R Invoice)
       Purchase Order
       Goods Receipt PO
       Purchase Goods Return
       Purchase Invoice (A/P Invoice)
      Inventory Transfer
      Inventory - Goods Receipt
      Inventory - Goods Issue
    Best Regards,
    Samir Gandhi

    Hi Neetu,
    Do you wish that at all customer site all concern involved in implemtation do the same work ?
    I believe ERP is meant for single entry system, and it should be true for implementation also, why to invest man hours for the same task ?
    I expect it standard reports should be released by SAP, so that speed of implementation improve, we have more nos. of satisfied customers.
    customised reports is all together different and it is understood that it is needed to be developed after study the exact requirement.
    Best Regards,
    Samir Gandhi

  • MB5L Report Discrepacy for Material and Stock Account Currency

    I have found in the MB Report Discrepancy for Material and Stock Account Currency. Why is this happening? Why is there a variance between total price in materials and stock account? Anyone please help me. I'm abaper but now been pushed to do logistic. I need help for this issue.

    Hi,
    Here's some information from help. Variances can occur for the following reasons:
    You have entered postings to the stock account manually.
    The stock account includes not only stock postings, but also other postings. In this case, you should check the account determination in the Customizing for Valuation and Account Assignment. Make sure that the stock accounts are used solely for the transaction key BSX (stock postings).
    Check Account Determination - OMWB
    The account assignment for the stock accounts (transaction key BSX) was changed during productive operation; the respective stocks, however, were not deducted from the old account (movement type 562) and posted to the new one (movement type 561).
    Cheers !

Maybe you are looking for