Break Options on Report
Hi,
I need to create a tabular report with breaks on certain columns. The only option I have for the "Break Style" is "Left Break".
I need to be able to create a break on one of the columns to give me a look like a master-detail report (like in Oracle Reports).
Any help is greatly appreciated....
Cheers,
Aditya.
You can try the custom layout. It is not as easy as doing a tabular or form layout. But I think it can be done using a custom layout.
Have I done it? No.
Any one out there who can help?
null
Similar Messages
-
I am working with Report Builder 3.0 I am using a matrix to produce grouped data on separate worksheets in excel.
The select is:
SELECT ID, Measurement, Value, [Date] FROM Measurements_Report. (please ignore the underscores they are just for formatting)
The contents of the Measurements_Report table:
ID__Measurement__Value__[Date]
1___Hot_________33_____10/1/2014
2___Hot_________44_____10/2/2014
3___Cold_________55_____10/2/2014
The matrix contains a single row group based on the field "measurement". The Measurement group has the page break option of "Between each instance of a group" selected.
There is a column group based on the field "Date".
When this is matrix is exported to excel on the first worksheet (Hot) there are three columns as shown below:
ID__10/1/2014____10/2/2014___10/2/1014
1___33
2_______________44
Notice the last column doesn't have a value.
On the second worksheet (Cold) there are also three columns as shown below:
ID__10/1/2014___10/2/2014___10/2/1014
3__________________________55
This time notice there is only one row and only a value in the last column.
I only want the columns with data for that worksheet to show up. How can I remove these empty/duplicate columns? Hopefully there is a simple fix. Thanks ahead of time.With the following contents of the Measurements_Report table:
ID__Measurement__Value__[Date]
1___Hot_________33______10/1/2014
2___Hot_________43______10/1/2014
2___Hot_________44______10/2/2014
3___Cold________55______10/2/2014
Returns on the first tab (Hot):
ID__10/1/2014____10/1/2014____10/2/2014
1___33
2_________________43
2______________________________44
In the excel worksheet it contains a separate column for each date with a value. Thanks again!
Why is the same date repeating on multiple columns? Do you've the time part also returned from database?
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
Hi all,
I am sending a report to external user e-mail id from SAP. The user is receiving the report in html format.
The user asks me they need a page break on the report after each customer data. I am wondering is it possible to have a page break in html report? If yes, how it is possible?Hi,
I insist : it is not possible with HTML to insert Page breaks. BUT, Tammie is right! You can use CSS (Cascade Style Sheet) to insert page breaks thanks to few lines of code in your HTML page.
Follow this link to have a look at a very simple piece of code to illustrate this :
http://www.codeave.com/css/code.asp?u_log=4016
Here it the code if you don't have access to this URL :
<html>
<head>
<title>CodeAve.com/CSS - Page Break</title>
<body bgcolor="#FFFFFF">
<center>
Page 1
<br style="page-break-before:always;">
Page 2
<br style="page-break-after:always;">
Page 3
<p>
Use print preview on your browser to see how<br>
this page would print out to three pages
</center>
</body>
</html>
Hope it helps.
Don't forget to close the post if solved (so that search in the forum is easier), and reward points (so that SDN members are happy !) -
How to remove the page break for CSV report
Hi,
I'm working on a rdf report and have an issue with page break.
As usual there exits a page break in the report output. how do I remove it.
work around: set Page break before/after : NO
worked on margin re-size, how ever could not resolve the issue.
Can any one help me on this.
Thanks in advance.
Thanks,
SanthoshThere are two ways to do this:
1) If you want to remove and individual dimension from a presentation, you can hide the dimension. This can be performed directly from within QueryBuilder. Within the first section of Query Builder that shows the selected measures selected and associated dimensions, simply remove the required dimensions from the right dialog panel.
2) To hide all page items within a presentation, simply add the following the property, pagingControlVisible="False", to the presentation tag in your JSP. For example:
<orabi:Presentation location="Local Computer Sales/Products/KPI Sales Prior Period and Prior Year" id="BIProductKPIs_pres2" pagingControlVisible="False"/>
Hope this helps
Business Intelligence Beans Product Management Team
Oracle Corporation -
I downloaded a song from i-tunes. It plays on my computer, but won't play on my i-phone. Any suggestions on how to fix this? Or how can I re-download the song without getting charged a second time. I could not find an option to "report a problem".
I could not find an option to "report a problem".
Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
Find the item that is not playing properly. If you can't see "Report a Problem" next to the entry, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.
(Not entirely sure what happens after you click that link, but fingers crossed it should be relatively straightforward.) -
Background Processing Option in Report
Hi Fellow Abapers,
I need to edit a report whereby there is an option to display further fields. Now if they select this option, the report NEEDS to run in the background and output to the file. This will later be retrieved byt the SAP Output Controller (Which there is already a program). It is a must.
Does anybody have any links, codes, tips? Helpful posters will be awarded.Hi You can do that programatically, no need to say execute it in background from se38. Make sure you are not using file download but use open dataset. here is the sample program. Just copy and paste this in test program and check it. hope this will be helpfull. this report reads only materials for plant and there is an option on the selection screen to print or email or you can write it to spool. ofcourse it does automatically and then you can retrieve or print from SP01 but in your case you have to write to application server.
REPORT ysam_test5 MESSAGE-ID zsummit.
DATA: marc TYPE marc.
TYPES: BEGIN OF t_marc,
matnr TYPE matnr,
werks TYPE werks_d,
mmsta TYPE mmsta,
maabc TYPE maabc,
END OF t_marc.
DATA: it_marc TYPE TABLE OF t_marc,
wa_marc TYPE t_marc.
DATA : gr_table TYPE REF TO cl_salv_table.
DATA : gr_functions TYPE REF TO cl_salv_functions_list.
*fields used for variant create
DATA: wa_var_desc TYPE varid,
it_var_contents TYPE TABLE OF rsparams,
it_var_text TYPE TABLE OF varit,
wa_var_text TYPE varit,
w_var_varname TYPE variant.
*printer information
DATA: wa_print_options TYPE fpm_parcon,
wa_arc_options TYPE fpm_parcon,
w_print_options TYPE pri_params.
*email information
INCLUDE <cntn01>.
DATA: w_recipient TYPE swc_object,
w_recipient_obj TYPE swotobjid.
*container macro
swc_container w_swc_container.
*batch job information
INCLUDE lbtchdef.
DATA: w_job TYPE tbtcjob.
*constants
CONSTANTS: c_on VALUE 'X',
c_off VALUE space,
c_int(11) VALUE ' 0123456789'.
SELECTION-SCREEN BEGIN OF BLOCK main with frame.
SELECT-OPTIONS: s_matnr FOR marc-matnr,
s_werks FOR marc-werks.
SELECTION-SCREEN BEGIN OF BLOCK back WITH FRAME TITLE text-ss2.
PARAMETERS: p_fore RADIOBUTTON GROUP proc DEFAULT 'X', "foreground
p_ball radiobutton group proc,
p_berr radiobutton group proc.
SELECTION-SCREEN END OF BLOCK back.
SELECTION-SCREEN BEGIN OF BLOCK mail WITH FRAME TITLE text-ss3.
PARAMETERS: p_print RADIOBUTTON GROUP mail DEFAULT 'X',
p_email RADIOBUTTON GROUP mail.
SELECTION-SCREEN END OF BLOCK mail.
SELECTION-SCREEN END OF BLOCK main.
START-OF-SELECTION.
IF sy-batch = c_off AND p_fore = c_off.
PERFORM create_variant.
PERFORM build_print_parameters.
IF p_email = c_on.
PERFORM build_email_container.
ENDIF.
PERFORM open_job.
PERFORM submit_job.
PERFORM close_job.
MESSAGE i000 WITH 'Job' w_job-jobname
'has been submitted'.
perform delete_variant.
EXIT.
ENDIF.
perform select_data.
END-OF-SELECTION.
PERFORM salv_grid.
*& Form salv_grid
text
FORM salv_grid .
DATA: lref TYPE REF TO cx_root .
DATA: lr_layout TYPE REF TO cl_salv_layout,
ls_key TYPE salv_s_layout_key.
TRY.
cl_salv_table=>factory(
IMPORTING
r_salv_table = gr_table
CHANGING
t_table = it_marc ).
CATCH cx_salv_msg INTO lref.
ENDTRY.
***Sub Total
PERFORM sub_total.
***Layout
lr_layout = gr_table->get_layout( ).
ls_key-report = sy-cprog.
lr_layout->set_key( ls_key ).
lr_layout->set_default( 'X' ).
lr_layout->set_save_restriction( if_salv_c_layout=>restrict_none ).
***toolbar
gr_functions = gr_table->get_functions( ).
gr_functions->set_all( 'X' ).
*final display
gr_table->display( ).
ENDFORM. " salv
*& Form sub_total
FORM sub_total .
DATA: lr_aggregations TYPE REF TO cl_salv_aggregations.
lr_aggregations = gr_table->get_aggregations( ).
lr_aggregations->clear( ).
TRY.
lr_aggregations->add_aggregation( columnname = 'Z_BALANCE_REM' ).
CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing.
ENDTRY.
TRY.
lr_aggregations->add_aggregation( columnname = 'Z_PAY_AMT' ).
CATCH cx_salv_not_found cx_salv_data_error cx_salv_existing.
ENDTRY.
ENDFORM. " sub_total
*& Form select_data
form select_data .
select matnr werks mmsta maabc into table it_marc
from marc
where matnr in s_matnr
and werks in s_werks.
endform. " select_data
*& Form create_variant
form create_variant .
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
curr_report = sy-cprog
TABLES
selection_table = it_var_contents
EXCEPTIONS
not_found = 1
no_report = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CONCATENATE sy-datum sy-timlo INTO w_var_varname.
wa_var_desc-mandt = sy-mandt.
wa_var_desc-report = sy-cprog.
wa_var_desc-variant = w_var_varname.
wa_var_desc-transport = 'F'.
wa_var_desc-environmnt = 'A'.
wa_var_desc-version = '1'.
wa_var_text-mandt = sy-mandt.
wa_var_text-langu = sy-langu.
wa_var_text-report = sy-cprog.
wa_var_text-variant = w_var_varname.
CONCATENATE 'Batch Job Variant -' sy-uname INTO wa_var_text-vtext.
APPEND wa_var_text TO it_var_text.
CALL FUNCTION 'RS_CREATE_VARIANT'
EXPORTING
curr_report = sy-cprog
curr_variant = w_var_varname
vari_desc = wa_var_desc
TABLES
vari_contents = it_var_contents
vari_text = it_var_text
EXCEPTIONS
illegal_report_or_variant = 1
illegal_variantname = 2
not_authorized = 3
not_executed = 4
report_not_existent = 5
report_not_supplied = 6
variant_exists = 7
variant_locked = 8
OTHERS = 9
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
endform. " create_variant
*& Form build_print_parameters
form build_print_parameters .
IF p_print = c_on.
CALL FUNCTION 'MAINTAIN_PRINT_PARAMETERS'
EXPORTING
i_title_text = 'Select your printer'
CHANGING
c_pri_params = wa_print_options
c_arc_params = wa_arc_options
EXCEPTIONS
parameters_not_valid = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Print parameters could not be gathered'.
ENDIF.
ENDIF.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'CHECK_PRINT_PARAMETERS'
EXPORTING
i_title_text = 'Select your printer'
i_pri_params = wa_print_options
i_arc_params = wa_arc_options
IMPORTING
e_pri_params = w_print_options
EXCEPTIONS
parameters_not_valid = 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.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Print parameters could not be assigned'.
ENDIF.
IF p_print = c_on.
w_print_options-primm = c_on.
ELSE.
w_print_options-primm = c_off.
ENDIF.
endform. " build_print_parameters
*& Form build_email_container
form build_email_container .
swc_create_object w_recipient 'RECIPIENT' space.
swc_clear_container w_swc_container.
swc_set_element w_swc_container 'AddressString' sy-uname.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE 'E' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
swc_set_element w_swc_container 'TypeId' 'B'.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE 'E' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
swc_call_method w_recipient 'CreateAddress' w_swc_container.
IF sy-subrc <> 0.
MESSAGE e000 WITH 'Could not determine email address'.
ENDIF.
swc_set_element w_swc_container 'SendExpress' 'X'.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE 'E' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
swc_call_method w_recipient 'SetExpress' w_swc_container.
swc_call_method w_recipient 'Save' w_swc_container.
swc_object_to_persistent w_recipient w_recipient_obj.
endform. " build_email_container
*& Form open_job
form open_job .
CONCATENATE sy-cprog '-' sy-uname INTO w_job-jobname.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = w_job-jobname
jobclass = 'A'
IMPORTING
jobcount = w_job-jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
endform. " open_job
*& Form submit_job
form submit_job .
CALL FUNCTION 'JOB_SUBMIT'
EXPORTING
authcknam = sy-uname
jobcount = w_job-jobcount
jobname = w_job-jobname
priparams = w_print_options
report = 'YSAM_TEST5'
variant = w_var_varname
EXCEPTIONS
bad_priparams = 1
bad_xpgflags = 2
invalid_jobdata = 3
jobname_missing = 4
job_notex = 5
job_submit_failed = 6
lock_failed = 7
program_missing = 8
prog_abap_and_extpg_set = 9
OTHERS = 10.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
endform. " submit_job
*& Form close_job
form close_job .
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = w_job-jobcount
jobname = w_job-jobname
strtimmed = c_on
recipient_obj = w_recipient_obj
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
invalid_target = 8
OTHERS = 9.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
endform. " close_job
*& Form delete_variant
form delete_variant .
CALL FUNCTION 'RS_VARIANT_DELETE'
EXPORTING
report = sy-cprog
variant = w_var_varname
FLAG_CONFIRMSCREEN = 'X'
FLAG_DELALLCLIENT = 'X'
IMPORTING
VARIANT =
EXCEPTIONS
NOT_AUTHORIZED = 1
NOT_EXECUTED = 2
NO_REPORT = 3
REPORT_NOT_EXISTENT = 4
REPORT_NOT_SUPPLIED = 5
VARIANT_LOCKED = 6
VARIANT_NOT_EXISTENT = 7
NO_CORR_INSERT = 8
VARIANT_PROTECTED = 9
OTHERS = 10
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform. " delete_variant -
How to diable the default option of report-based total (when applicable)
Hi,
Anybody know how to diable the default option of report-based total (when applicable)?
By default this aggregation rule option is checked.
There should be some configuration tag in instanceconfig.xml or somewhere else, such as <ReportAggregateEnabled>true</ReportAggregateEnabled>?
Regards,
Tinayou can change this from admin tool,
open admin tool,
business model and mapping
find your column in the model
double click your column, click on aggregation, >> default rule >> none.
but if you do this, you cant make any sum operation. -
Reports 6i - What is d lock option in report layout?
Helloo group,
Can somebody tell me
What is d lock option in report layout?
With regards..What is d lock option in report layout?Could you spend more words, what you mean with 'd lock'?
or
Post your question in the Reports Forum, this is the forms forum, you'll get more help there.
Regards -
Multiple selection tab on Custom F4 of select option in report
Hi folks ,
how to get MULTIPLE SELECTION tab on extension of my selec option of report screen.
If i pass Multiple_choice = 'X' in fm 'F4IF_INT_TABLE_VALUE_REQUEST' check boxes are appearing of each my f4 values when i press f4, i dnt want like this i want it my extension as Multiple selection as how it appears for standard 4 helps.
<removed by moderator>
Thanks,
Shwetha
Edited by: Thomas Zloch on Jan 7, 2012 10:32 PMHi Clemen,
Any selectin screens element(select-option) if we click on extension we will get a pop up window with SINGLE VALUES,SELECT RANGES,EXCLUDE SINGLE VALUES, EXCLUDE RANGES bottome of this window we are having some icons along with it we have MULTIPLE SELECTION Tab.if we click on multiple selection tab we will be getting our all values with checkboxes each front of it so that we can select multiple vlaues at a time for the particular f4 .
i want this multiple selection tab for my custome F4, iam not getting this MULTIPLE SELECTION tab.
for example you can check for select-option of account group(T077D-KTOKD).
in F4 function module if iam using paramter MULTIPLE_CHOICE = 'X', iam not getting the extension pop window with singlevalues, select ranges etc ., instead of it iam getting all my f4 fields with the checkboxes infront of each of it.
please throw some light it is very urgent.
please tell me iam using following parameters in function module please let me know if i need to use any other to get it..
with the following if iam selecting multiple also i am able to see only last value in selection(inpopup window)
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'ATWRT'
dynpprog = sy-cprog
dynpnr = sy-dynnr
dynprofield = 'S_CHVAL1-HIGH'
display = c_sp
value_org = c_s
multiple_choice = 'X'
callback_program = sy-repid
TABLES
value_tab = t_finals
return_tab = t_return4
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc = 0.
READ TABLE t_return4." WITH KEY retfield = 'S_CHVAL1'.
IF sy-subrc EQ 0.
s_chval1-high = t_return4-fieldval.
ENDIF.
ENDIF.
Thanks,
Shwetha
Edited by: swetha rishi on Jan 8, 2012 11:15 AM -
Control Break in normal report regions
Can I somehow insert kind of a control break for normal report regions?
I use it within serveral interactive reports. Now I have a normal report region displaying projects of all department. The users want to have them grouped with a sum by department, which would be easy to do within an interactive report using a control break.
But how can I do this in a normal report region?
BR & thank you,
Lena
Edited by: Lena F on Mar 30, 2011 6:04 AM
--> already found the solution - sorry :-(
Edited by: Lena F on Mar 30, 2011 6:18 AMPlease post solution
-
Control Break of Interactive Report
can we dynamically change column of Control Break in Interactive Report ?
No.
http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/ir_using.htm#HTMDB28335 -
hello all
how to have a control break in sql report?
Thanks
tauceefdo you want the users to select the column you wish to have the control break? if not you can use the BREAK ON command along with the order by in your select statement
regards, -
Run Options In Reporting
I'm trying to create a custom report to automatically produce output in excel format; however, when it runs it defaults to HTML. When you click "Run with Options", the only 2 format options are HTML and PDF. Is it possible to show excel as an option or is it a limitation in the RequestCenter/Cognos implementation. I've seen this option available in other Cognos environments not related to RequestCenter. Please see attachment.You are correct, Liz. This Cognos option was not incorporated by newScale into the RC06 or RC07 reporting implementation. It is being incorporated into the RC08 reporting.
-
Hi All
is there any option in report server that when a report till not run in 1 minute or any specific time time then the sesion expires or report server time out.how can we manually set this option to our desired time period.
thanksHI,
I'm not sure whether you mean that, but there is a reportserver conf file in [ORACLE_HOME]/reports/conf where you can define the following parameters of the certain server that may help you:
maxIdle
The number of minutes of allowable idle time
before the engine is shut down, provided the
current number of engines is higher than
minEngine.
callbackTimeOut
The number of milliseconds of allowable waiting
time between when the server calls an engine and
the engine calls the server back.
Hope it helps,
regards,
Heike -
Bursting options in Reporting
Hi,
Has anyone ever used bursting options in Cognos reporting? I read that we can use this option to distribute the reports. Actually we want to distribute the reports to the different service team managers to see the performance of their team only and not view the whole content.
Many thanks,
Wesley.Hi Wesley,
Bursting reports the way you need it will require you to make some changes to the report definition using Report Studio (ReportDesigner). That includes bringing in the group or user definition that you want the burst to be based on as a burst key.
I assume you are on a pre-2008.2 version, so you are probably on Cognos ReportNet1.1, there is some information in the Report Studio user guide that you might want to look into.
Following are some screenshots from that document.
Maybe you are looking for
-
Kernel panic analysis... is there a place I can upload?
To my fellow MAC users, I am getting some kernel panics on a MAC G5 PowerPC tower that has been checked and re-checked, OS uninstalled and re-installed, hardware diagnostics passed, permissions checked and repaired... with no luck. Is there somewhere
-
Photos = Adobe Photoshop Elements (Win-XP) capability / restrictions?
a-TV supposedly can sync with Adobe Photoshop Elements on Windows for its photo library. Which Elements 5.0 features are supported and will show/play right via the a-TV, and which are restricted? e.g. - Can I create slideshows in Elements? - Have the
-
I am getting this error when compiling an IPA with Flash CC 2014, AIR version 15.0: "ERROR ITMS-9000: "This bundle is invalid. The value for key CFBundleShortVersionString [1.0] in the Info.plist file must contain a higher version than that of the pr
-
Music cuts in and out when streaming from ipad to airport
After spending 45 minutes on the phone with airport tech support, this is what I was told to do: Change the channel to either 9 or 4 in the airport utility or router settings. Now music cuts out less often, but it didn't completely resolve the proble
-
JMS distributed queue on response
I have an ALSB business service sending requests to a distributed JMS queue and getting a response back from a distributed JMS queue using the correlation ID correlation pattern. This approach seems to work just fine in my tests, but the ALSB documen