Report using aggregates or not
Dear All,
how to identilfy my report is using aggregates or directly getting data from cube .
regards,
Anil
Hi,
Go to rsrt>execute and debug>check display statistics data>execute query>go back.
In infoprovider shows a number, it means it hits the aggregate.
You can also chheck this in table RSDDSTAT_DM.
-Mayuri
Similar Messages
-
Example of a Simple ALV Report using Function Modules (not OO)
Hi,
I am new to ABAP. Where can I get a proper Example of a Simple ALV Report using Function Modules? I searched the forum but did not find a proper solution. Kindly help.
Smruthi.
Edited by: Smruthi Acharya on Jan 29, 2009 7:13 PMHi,
Use this demo code:-
REPORT z_alv01 MESSAGE-ID zmsg.
* TABLES
TABLES : ekpo.
* TYPE POOLS
TYPE-POOLS : slis.
* TYPE DECLARATION
TYPES : BEGIN OF t_ekpo,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
matnr TYPE ekpo-matnr,
werks TYPE ekpo-werks,
menge TYPE ekpo-menge,
END OF t_ekpo.
* PARAMETERS
PARAMETERS : s_var TYPE disvariant-variant.
* DATA DECLARATION
*VARIABLES
DATA : check(1),
rep_id TYPE sy-repid.
*INTERNAL TABLE TYPE OF ZEKPO
DATA : it_ekpo TYPE STANDARD TABLE OF t_ekpo WITH HEADER LINE.
*FIELD CATALOG
DATA : it_field TYPE slis_t_fieldcat_alv,
wa_field TYPE slis_fieldcat_alv.
*SORTING
DATA : it_sort TYPE slis_t_sortinfo_alv,
wa_sort TYPE slis_sortinfo_alv.
*FOR TOP OF THE PAGE
DATA : it_top TYPE slis_t_listheader,
wa_top TYPE slis_listheader.
*FOR END OF THE PAGE
DATA : it_end TYPE slis_t_listheader,
wa_end TYPE slis_listheader.
*TO CAPTURE EVENTS AND HANDLE
DATA : it_event TYPE slis_t_event,
wa_event TYPE slis_alv_event.
*FOR GRID TITLE
DATA : wa_title TYPE lvc_title.
*FOR LAYOUT
DATA : wa_layout TYPE slis_layout_alv.
*FOR EXCLUDING STANDARD BUTTON FROM ALV TOOLBAR
DATA : it_exclude TYPE slis_t_extab,
wa_exclude TYPE slis_extab.
*FOR VARIANT
DATA : wa_variant TYPE disvariant.
* INITIALIZATION
INITIALIZATION.
check = 'X'.
rep_id = sy-repid.
wa_variant-report = sy-repid.
*GET DEFUALT ON THE SELECTION SCREEN FOR DEFAULT DISPLAY
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = 'A'
CHANGING
cs_variant = wa_variant
EXCEPTIONS
wrong_input = 1
not_found = 2
program_error = 3
OTHERS = 4.
IF sy-subrc = 0. " IF DEFAULT VARIANT FOUND
s_var = wa_variant-variant. " PASS THE DEFAULT VARIANT TO THE SELECTION SCREEN FIELD
ENDIF.
* AT-SELECTION SCREEN ON VALUE REQUEST
* TO GET THE F4 HELP FOR VARIANT
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_var.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = wa_variant
* I_TABNAME_HEADER =
* I_TABNAME_ITEM =
* IT_DEFAULT_FIELDCAT =
i_save = 'A'
* I_DISPLAY_VIA_GRID = ' '
IMPORTING
* E_EXIT =
es_variant = wa_variant
EXCEPTIONS
not_found = 1
program_error = 2
OTHERS = 3.
IF sy-subrc = 0.
s_var = wa_variant-variant. " PASS THE SELECTED VARIANT TO THE SELECTION SCREEN FIELD
ENDIF.
* AT-SELECTION SCREEN
* TO CHECK THE EXISTENCE FOR VARIANT
AT SELECTION-SCREEN.
wa_variant-variant = s_var.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = 'A'
CHANGING
cs_variant = wa_variant
EXCEPTIONS
wrong_input = 1
not_found = 2
program_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE w001.
ENDIF.
* START OF SELECTION
START-OF-SELECTION.
SELECT ebeln
ebelp
matnr
werks
menge
FROM ekpo
INTO TABLE it_ekpo.
* FIELD CATALOG
wa_field-fieldname = 'EBELN'.
wa_field-tabname = 'IT_TAB'.
wa_field-outputlen = 10.
wa_field-seltext_l = 'PO #'.
APPEND wa_field TO it_field.
CLEAR wa_field.
wa_field-fieldname = 'EBELP'.
wa_field-tabname = 'IT_TAB'.
wa_field-outputlen = 10.
wa_field-seltext_l = 'Line Item'.
APPEND wa_field TO it_field.
CLEAR wa_field.
wa_field-fieldname = 'MATNR'.
wa_field-tabname = 'IT_TAB'.
wa_field-outputlen = 15.
wa_field-seltext_l = 'Material'.
* wa_field-input = check.
* wa_field-edit = check.
APPEND wa_field TO it_field.
CLEAR wa_field.
wa_field-fieldname = 'WERKS'.
wa_field-tabname = 'IT_TAB'.
wa_field-outputlen = 6.
wa_field-seltext_l = 'Plant'.
* wa_field-input = check.
* wa_field-edit = check.
APPEND wa_field TO it_field.
CLEAR wa_field.
wa_field-fieldname = 'MENGE'.
wa_field-tabname = 'IT_TAB'.
wa_field-outputlen = 10.
wa_field-seltext_l = 'Qty.'.
* wa_field-input = check.
* wa_field-edit = check.
wa_field-do_sum = check.
APPEND wa_field TO it_field.
CLEAR wa_field.
* SORT W.R.T. PURCHASE ORDER NUMBER
wa_sort-spos = 1.
wa_sort-fieldname = 'EBELN'.
wa_sort-tabname = 'IT_EKPO'.
wa_sort-up = check.
wa_sort-subtot = check.
APPEND wa_sort TO it_sort.
CLEAR wa_sort.
* FOR GRID TITLE
wa_title = 'Hello'.
* FOR LAYOUT
wa_layout-zebra = check.
* FOR EXCLUDING STANDARD BUTTONS FROM ALV TOOLBAR
wa_exclude-fcode = '&OUP'.
APPEND wa_exclude TO it_exclude.
CLEAR wa_exclude.
wa_exclude-fcode = '&ODN'.
APPEND wa_exclude TO it_exclude.
CLEAR wa_exclude.
wa_exclude-fcode = '&OAD'.
APPEND wa_exclude TO it_exclude.
CLEAR wa_exclude.
* wa_exclude-fcode = '&AVE'.
* APPEND wa_exclude TO it_exclude.
* CLEAR wa_exclude.
wa_exclude-fcode = '&INFO'.
APPEND wa_exclude TO it_exclude.
CLEAR wa_exclude.
* POPULATE ALL EVENTS INTO INTERNAL TABLE
CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
EXPORTING
i_list_type = 0
IMPORTING
et_events = it_event
EXCEPTIONS
list_type_wrong = 1
OTHERS = 2.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE it_event INTO wa_event WITH KEY name = 'END_OF_LIST'.
wa_event-form = 'END'.
MODIFY it_event FROM wa_event INDEX sy-tabix.
CLEAR wa_event.
* DISPLAY RECORDS IN ALV GRID
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
i_callback_program = rep_id
* i_callback_pf_status_set = 'PF'
i_callback_user_command = 'COMMAND'
i_callback_top_of_page = 'TOP'
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
* I_BACKGROUND_ID = ' '
i_grid_title = wa_title
* I_GRID_SETTINGS =
is_layout = wa_layout
it_fieldcat = it_field
it_excluding = it_exclude
* IT_SPECIAL_GROUPS =
it_sort = it_sort
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
i_save = 'A'
is_variant = wa_variant
it_events = it_event
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* I_HTML_HEIGHT_TOP = 0
* I_HTML_HEIGHT_END = 0
* IT_ALV_GRAPHICS =
* IT_HYPERLINK =
* IT_ADD_FIELDCAT =
* IT_EXCEPT_QINFO =
* IR_SALV_FULLSCREEN_ADAPTER =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = it_ekpo
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
*& Form top
* TO WRITE THE HEADER
FORM top.
REFRESH it_top.
wa_top-typ = 'S'.
wa_top-key = text-001.
wa_top-info = rep_id.
APPEND wa_top TO it_top.
CLEAR wa_top.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_top
* I_LOGO =
* I_END_OF_LIST_GRID =
* I_ALV_FORM =
ENDFORM. "top
*& Form end
* TO WRITE THE FOOTER
FORM end.
REFRESH it_end.
wa_end-typ = 'S'.
wa_end-key = text-001.
wa_end-info = rep_id.
APPEND wa_end TO it_end.
CLEAR wa_end.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_end
* I_LOGO =
* I_END_OF_LIST_GRID =
* I_ALV_FORM =
ENDFORM. "end
*& Form pf
* FOR PF-STATUS WITH USER DEFINED BUTTONS
* -->RT_EXTAB text
FORM pf USING rt_extab TYPE slis_t_extab.
SET PF-STATUS 'ZTG_PF_ALV'.
ENDFORM. "pf
*& Form command
* TO HANDLE USER ACTIONS AGAINST PF-STATUS
* -->UCOMM text
* -->SELFIELD text
FORM command USING ucomm LIKE sy-ucomm selfield TYPE slis_selfield.
DATA : ok_code TYPE sy-ucomm.
ok_code = ucomm.
CASE ok_code.
WHEN 'T_DOWN'.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = 'HELLO'
txt1 = 'USER COMMAND'
txt2 = 'TOTAL DOWN'.
WHEN 'DOWN'.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = 'HELLO'
txt1 = 'USER COMMAND'
txt2 = 'DOWN'.
WHEN 'UP'.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = 'HELLO'
txt1 = 'USER COMMAND'
txt2 = 'UP'.
WHEN 'T_UP'.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
titel = 'HELLO'
txt1 = 'USER COMMAND'
txt2 = 'TOTAL UP'.
ENDCASE.
ENDFORM. "command
Hope this helps you.
Thanks & Regards,
Tarun Gambhir -
EPM 10 Report using Member Recognition - not displaying data
Hi Experts,
I’ve created a report using member recognition because I've had to combine CATEGORY and TIME in the column, all the formulas have being populated correctly for (CATEGORY + TIME), I have also saved it as an Input Form, however when I refresh the report can’t see any data and there is data for these periods and there is data.
Another issue I have – I’ve entered 777 into 2013.003 and it automatically picks up a (PERSON RESPONSIBLE) or if I input an amount such as 999999999 then click save data, I get an error “no data to save”
Has anyone experienced this before or am I missing an option somewhere - thx in advance
ShaneBy algorithm I mean something like:
if CATEGORY=SOMETHING then show only TIME
if CATEGORY<>SOMETHING then show only CATEGORY.
But for this task custom member is a bit complex solution, manually created headers are better.
Look on my comment in the discussion after blog post with a complex report sample:
Static report in BPC NW 10
Vadim -
Submit report using selection table not working in OO CL_SALV classes
I have used CL_SALV classes in my report. now the problem is submit report is not working. any suggestions.
It works in REUSE_ALV FMStill i m facing the same problem
-
ApEx BIP report using webservice: could not convert null to bean field
Seems like a pretty straightforward problem but I don't manage to find a solution.
I have a BI Suite implementation on one server.
And a database with ApEx on another server.
I want to call a BIP report from within my ApEx application using the webservices (runReport) available in BIP 11g.
I used soapUI to test my webservice. Result : OK
When called from within ApEx, ApEx gives me a succes message but the report isn't generated. Instead the console on the BIP server shows the following error:
<Sep 12, 2012 10:28:37 PM BST> <Error> <org.apache.axis.encoding.ser.BeanPropert
yTarget> <BEA-000000> <Could not convert null to bean field 'sizeOfDataChunkDown
load', type int>
'sizeOfDataChunkDownload' is a field of the webservice that is left empty.
That indeed is the only difference between my soapUI test and the ApEx situation.
In soapUI I removed all empty fields. In ApEx this does not seem possible...
Some extra information:
- the webservice is created on this WSDL : /xmlpserver/services/v2/ReportService?wsdl
- it's defined as a SOAP v2
- no basic authentication
- the reports are defined in the BIP environment; not in ApEx
Edited by: kcaluwae on 13-sep-2012 3:19I overlooked a not nillable field...
-
Access metadata information of a report using JRC only (not using RAS)
Hi all
Please let me know if there is a way to retrieve information such as
all the database fields on that report (also their datatype- something similar to export report definition)
parameter values
subreports
Thanks in advance
GaneshHi Abdul,
From the document, we know that CONSTRAINED flag is used to reduce the risk of injection attacks via the specified string. If a string is provided that is not directly resolvable to qualified
or unqualified member names, the following error appears: "The restrictions imposed by the CONSTRAINED flag in the STRTOSET function were violated."
So you need to make sure the members are passed properly to the STRTOSET function. For more details, please see the following links:
http://ch1n2.wordpress.com/2010/02/21/the-restrictions-imposed-by-the-constrained-flag-in-the-strtoset-function-were-violated/
http://www.bp-msbi.com/2010/04/passing-unconstrained-set-and-member-parameters-between-reports-in-reporting-services/
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
dear
can i configre a report using SOP and not run mrp only for running report and these are the fields which i require
These are the parameters required in that report
1. sales forecast(this is done annually with the monthly break up)
2. sales forecast value
3. actual sales
4 . diff between actual sales and forecasted
5.opening stock
6.purchanse ordering quantity per month
7.goods received
8.closing stock
9.stock index
sales forecast and purchanse ordering quantity are the forecast values which will be feed at the starting of the year
and stock index there is formula to calculate so is for that is there any user exit to calculate that is there any std report for this or using sop 2 get this report
can u pls help me in solving this issue
thanks in advance1.Hi when you create a infostrucutre as mentioned above you will have 2 tables generated by the infostructure
Ex: you create a Infostructure called s999
2. In such case 2 set of tables will be generated s999 and s999e
3. You will have the values generated through the plannigtype in the tabels999
3.Using the s999 table you will be able to generate the report that are required.
4.When you have created your own info structure you can also use the standard Tcode MC9C - Reporting to get few reports
Kindly let us know if you need more details
Reg
Dsk -
Report using charts not work on non-development machine
Post Author: ftsoft
CA Forum: .NET
using visual studio report uses charts. works fine on development machine when I move the web app to a test machine which does NOT contain visual studio, the chart report does not worknote: other reports which only display data records work fine. the space where the charts should be displayed contain the following two lines CrystalReportViewer - CrystalReportViewer1 Error: Fail to render the page. any help would be appreciatedSolution suggested worked for me.
On my test server Crystal was trying to use the c:\temp directory to write the temporary images, my report always ran ok on the test server. On the live server CRW was running under with the ASPNET account and / or my own user account.
I ran FileMon and filtered on the aspnet_wp.exe process across both servers and ran the application up to the point of generating the issue. The FileMon output from the test server showed no issues we as the output from FileMon off the live server showed an access denied message.
I gave access right to the relevant accounts on the relevant folders on the live server and the report ran fine. -
Webi report using openDocument URL,the window does not close..
Hello,
While viewing a Web intelligence report using openDocument URL, the window does not close after clicking on Document -> Close option, and the report remains open.
And if I close the browser, the session of the user in InfoVierw remains opened
Thanks
Environment
Firefox/3.6.15
Internet Explorer 8
BusinessObjects Enterprise XI 3.1
SAP Integratio KIT XI 3.1
SAP BW 7.02Please check SAP note 1512960 and SAP note 1384496.
http://service.sap.com/notes
This behaviour is by design.
Regards,
Stratos -
Hr report using pch not working
I am trying to create a report using logical database pch.here is the code
TABLES: objec,
gdstr.
INFOTYPES: 0002,
1003.
GET objec.
LOOP AT p1003
WHERE begda LE pc-begda
AND endda GE pc-begda.
write: / p1003-abtel.
ENDLOOP.
but p1003 is not filled with value .
Anyone pls help me outdid you include start-of-selection and end-of-selection?
example:
TABLES: objec,
gdstr.
INFOTYPES: 0002,
1003.
start-of-selection.
GET objec.
LOOP AT p1003
WHERE begda LE pc-begda
AND endda GE pc-begda.
write: / p1003-abtel.
ENDLOOP.
end-of-selection.
Warren
Message was edited by:
Warren Clements -
How to pass the report parameters through java not by using URL
Hello...
I have an oracle App. Server 10g with report service
I can the report using the URL :
http://host:Port/rwservlet/report=....
and passing the report parameters ...
But is there any way to call the report by pdf format and passing the parameters from java without using the url ???thank you shahcsanjay for your reply
but I think that web.showDocument can not be used by ordinary java web application ..
I think it can be used only with with "oracle forms" Am I right ?
If no can you please tell me where can I find a useful document about how to use web.showDocument ...
thanks again
Saleem -
With new Free Characeristics Aggregates are not being used
Hi....i have a query from a multicube with two infocubes where i have two aggregates one for each cube...in my query both aggregates are being used with no problems....when i add a new free characteristic that appers on aggregates something happens and the aggregates are not being used anymore...i dont understand why this happens because i know that ......free characteristics ....doesnt affects the aggregates usage....is this correct??? or not?
RegardsSince this is an open forum, not Adobe support... you need to contact Adobe staff to help
Adobe contact information - http://helpx.adobe.com/contact.html
-Select your product and what you need help with
-Click on the blue box "Still need help? Contact us"
-or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html -
Images are not loaded while displaying report using Report Viewer with JRC!
Hi Everybody,
I created a Report designed using CR XI.
I am viewing that report from my application using JRC and crystal Report Viewer and PDF viewer.
In PDF viewer everything is fine including images display, saving etc.
But in Crystal report Viewer, I am not getting the images of the buttons such as export, next page, previous page etc. But all the funtionalities are working.
From where i can load the pictuers and how?
Can anybody help on this?
Thanks in advance,
Saravanakumar.
Edited by: Saravana kumar on Nov 17, 2008 1:23 PMHi Saravana
The issue you have posted here in the Crystal Reports Design Forum is a Developer issue. Please post this query to the BusinessObjects SDK Application Development - > Java Development Crystal Reports forum.
Regards
Girish Bhosale -
Z-Report for PR using ES language not getting the Header and Item text deta
Hi,
We have developed Z report for PR report and we ahve used ES and EN language, but when i select language ES and execute the report then we are not getting the Header and Item text data,
Secondly when We select language EN and execute the report then we are getting the Header and Item text details.
Please guide me.
Thanks
ShitalHave you maintained Tetexxt in ES language or is it that you are expecting on selecting ES the text from En will get coverted to ES and display in your report?
-
Query not using aggregate when written against multiprovider
We have a multiprovider that contains one infocube. The infocube has aggregates defined to it. When writing a query against the infocube, an aggregate is used. However, when writting the identical query against the multiprovider, an aggegate is not used. We are running BI 7.0, Netweaver 2004s, patch set 10. Is there something that needs to be done to the multiprovider to get it to recognize the aggregate?
We have determined the issue to be one of the navigational attributes. It is not used in our query and is not in our aggregate. For some reason, the query against the multiprovider wanted it to be there. After adding it to the aggregate, we were fine. We found this using RSRT and specifying the 'Select Aggregate' option. This gave us a good message as to why the aggregate was not being used. Thanks to everyone for their suggestions.
Maybe you are looking for
-
Acrobat X XI Windows 7 just won't work
I don't know if this is the appropriate place for this question, there doesn't seem to be much of an altenrative. I attempted to use a trial of acrobat x pro some months back but was not able to get the product to work no matter what I tried (install
-
Availibility of ADOBE forms in IDES
Hey Gurus, SAP implementation is in progress in my group, mostly all the members are kinda freshers in this project from both the sides, So kindly suggest me how to do practice on ADOBE form as i have been told that ADLC can not be installed in IDES.
-
Problem in the function module HAZMAT_PRI_DATA_GET
hi all , This is related to the shipment. we are trying to print a form with details of dangerous goods but function module HAZMAT_PRI_DATA_GET not returning values of the dangerous goods details when the MOT is 05 ie; air . The function module is a
-
Design View not matching Browser View
I mostly work in Design View and sometimes I notice there are extreme differences in what I am seeing in Design View and what I see when I preview the site with various browsers. I now have a footer that I can't even see in design view but when I pre
-
Documaker : How to set the overflow repeated 3 times always.
Hi Experts, I have 3 forms as follows. 1. FormA (contains Subform1) 2. Subform1 (contains Subform2) 3. Subform2 Subform1 on FormA is setting the overflow with the trigger by the XML. Search Mask (counter) : !/xxx/data/Repeats/Repeat I want to output