Can I Modify headings style of a report
Hi:
I have a report one of its column has small width in value but long width in heading name.... which makes the column wide.
suppose this report
aaaa bbbb ddddddddddd
1234 666 1
1234 666 2
1234 666 3
1234 666 4
1234 666 5
See the point, the column ddddddddddd has a big heading name but small values and it takes place for nothing..
So can I make the heading in small font or size,,,,,
WITHOUT affecting the values....
DO NOT say rename the heading.....
Thanks
Hello,
The change Denes is suggesting is in your theme CSS file, and not in your report template. The CSS file is part of your server OS file system, in the specific theme directory you are using. E.g. if you are using theme 1, the CSS file will be in the /i/themes/theme_1/ directory.
Changing the original theme CSS file is not advised. If you choose to use Denes solution, you should define your own CSS file, and load it in your page template.
Bear in mind that changing a predefined class attribute (in the original or your own CSS file) will change all the report headings, in all the pages of all the applications that use this theme. If you want to make more local change (e.g. in a specific report ) you can define your own class, with the attributes you need, and apply it to your own report template, which you should duplicated from an existing one.
Regards,
Arie.
Similar Messages
-
Can I modify the name of UUT report
Hi, I am a new one of TS! Can I modify the name of UUT report? Who can help me. Thanks in advance!
Under Normal Circumstances, I finish the UUT test,TS generating the report like this"Report[4F492CAB04][13 29 06][2012-11-28].html".
Can I modify something,When TS generating report will like this"Report[4F492CAB04][13 29][2012-11-28].html" without the seconds!
Solved!
Go to Solution.Ivrat, Thank you for your reply! This way can modify the name of UUT report certainly!
But, it is difficult to me deal with deleting seconds when use functions(like SerachAndReplace) !
In these days I also find another way to solve this problem and I think your way much better than mine! Can you show me more details about use functions to solve this problem!
My way show as below:
1.Find this file"SequentialModel.seq". The path is"C:\Program Files (x86)\National Instruments\TestStand 2010\Components\Models\TestStandModels" .
If you are using TS2012,the path is"C:\Program Files (x86)\National Instruments\TestStand 2012\Components\Models\ModelPlugins\NI_ReportGenerator.seq"
2.You can find "Determine Report File Path Expression"
3.Use function Left(Time(),5) -
Can we modify the ME5A standard report
dear gurus
I wnat to include the two columns where i need to fetch the data from P.R , Can we modify the ME5A standard report.
Regards
srinivasHi
Pl do n't do any modification the SAP standard report would suggest you to copy the programme and rename & create Z report with addition of two columns as per your requirement which is the best option
Regards -
In Address Book, how can i modify several contacts (several cards) at the s
Hello,
In Address Book, how can i modify several contacts (several cards) at the same time ?
for exemple : I have 100 contact which live in Paris, I select all of them together, but when I put "Paris" in the field "city", it puts "Paris" only in the fisrt contact !
how to edit several contact at a time ?
And I would like to put some kind of "tags", or words, in "remark", also by selecting several contact and edit them together...
Thanks by advance !
Alexandre.Welcome to the discussions, Alexandre1975 et bonjour.
Just using Address Book this can't be done, but if you are prepared to try a little Applescript it is easy. This script will set the city for example - but only if there is already an address.
AK
click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Address Book"
set ContactList to the selection
repeat with ThisOne in ContactList
set city of first address of ThisOne to "Paris"
end repeat
end tell</pre>
(The recent upgrade to the discussions has disabled the link that allows direct opening of a script, so run Script Editor and copy in the script.)
Message was edited by: Austin Kinsella1 -
How to modify standard or custom Interactive Reports
Hello everyone!
Is there a possibility to modify SAP standard Interactive Reports? Where can this be done?
Also if I create a new custom Interactive Report using Wizard in WebUI I don't find any transaction where I can modify it. Should I use some SAP GUI transaction to do this? Or even BEX Analyzer? Perhaps there is SAP Documentation about how to do it but I wasn't able to find it.
Many thanks in advance for any help! Kind regards,
SashaSasha
To do this, you need to be logged in with the ANALYTICSPRO business role (standard). Once you access the web UI you will have the option to Search reports. Doing this will show you both the standard reports and the ones modified by you. If you want to modify the SAP delivered reports, select the report, click the Copy button and then rename it etc. You then walk through the wizard and make the changes you need.
You can also modify the ones you created by clicking on Edit.
Once you have created your new reports, go to t-code ordywb, then make sure the Show Custom Reports checkbox is clicked. This will show you the identifier for your custom report - this is what you put against your logical link in the nav bar profile to enable the users to run the reports.
Hope this helps!
Lisa -
How can you modify the displayed columns on a Related Information List?
How can you modify the displayed columns on a Related Information List? For example, how could you add the "Type" column to the List of columns displayed for Service Requests when you are viewing the Contacts Detail page?
ThanksI'd have to say I think this is one of the biggest flaws in the OnDemand system currently. The solution I have come up with is to create reports and put them in webapplets showing the data I want to show. I have then removed the standard Related Info List Objects and added weblinks to create new records as the button on the List object is also gone.
Keep in mind that doing this does slow things down a little, so it may not work if you have a big user base.
RWB. -
How to modify existing code of SQVI report?
Hi Expert,
There is a SQVI report which has already been created but we need to change the one for new requirement.
is there any way to modify existing code for new requirement?
Can we edit in abap workbench?
Thanks & Regards
SavitaSavita,
You can not modify SQVI system generated code. You need to go to SAVI change mode and make modifications. If your requirement is a sort of additional fields or inserting come code into the program , then SQVI is not the choice. You need to use Infoset Queries (SQ03, SQ02, Sq01).
KJogeswaraRao -
Revision: 3148
Author: [email protected]
Date: 2008-09-08 15:01:15 -0700 (Mon, 08 Sep 2008)
Log Message:
You can now use CSS styles to set the default text format for TextView. It no longer has any formatting properties. It supports the entire set of Gumbo text format styles.
SkinnableComponent and Group now also support all these styles. However, skins such as ButtonSkin, TextInputSkin, and TextAreaSkin continue for now to specify instance styles on their TextBox, TextGraphic, and TextView, in order to give them a Gumbo look rather than a Halo look. So if you try setting, for example, the fontSize on the Application, it doesn't yet affect the text format of a Button, TextInput, TextArea, etc. unless you remove the instance style in the skin.
Reviewer: Glenn
Bugs: -
QA: Lots of new stuff to test!
Doc: No
Modified Paths:
flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextArea.as
flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as
flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as
flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as
flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/SkinnableComponent.as
flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextBox.as
flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as
flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicEle ment.asNevermind guys - I did it using the 'rb_on.selected' command on the "on" radio button if the .txt file variable was "on", else the "off" radio button is selected.
Thanks for taking a look though!
Shaun -
Can I modify standard program RFASLD20?
Hello experts,
I Get the modification option when I try to change the program RFASLD20. Can I modify the program?
I actually need to change the program at the FM FI_PAYM_FILE_OPEN , to add the Code page (unicode system).
Cheers,
BalajiHi Balaji,
I've never had a problem with the modification assistant not working. To modify a standard SAP report, you need a modification key from OSS. You should always use the modification assistant to record your amendments. Think carefully about whether there is another way of acheiving what you want -- perhaps using SUBMIT...EXPORTING LIST TO MEMORY, a couple of standard reports, and then merging them into yours.
You could copy the standard report, and modify the copy, but then you put yourself outside of SAP's maintenance and bug-fix track -- you might end up having to re-copy to incorporate new features. I'd always recommend modification over copying.
Thats all i can suggest........
Let me know if you need some help.
Manas M. -
Field headings display in clasical report
Hi ABAPERS
iam working on clasical report. in that i have to display 16 field headings.
when executing the report, the column headers should be frozen at the top so that when the user is scrolling down, they can see what the column title is.
how can i over come this problem.Put your colum headers in TOP-OF-PAGE Event.
This should give you your desired result. -
How can we modify alv output list
Hi
this is fazil.
Please tell me any body How can we modify alv output list.
Thanks & Regards
Fazil
[email protected]Fazil,
check the program,
You can find the code in this program 'BCALV_FIELDCAT_TEST'
*& Report BCALV_FIELDCAT_TEST *
This report allows to modify the fieldcatalog of a corresponding
output table and to view the effects of your changes directly.
Note that for some changes you need to newly display the whole
ALV Grid Control, e.g., DDIC-Fields are read only the first time
you call SET_READY_FOR_FIRST_DISPLAY.
Note also that not all scenarios can be tested since the output
table does not comprise all fields to test available features
of the fieldcatalog. Copy this program and extend the output
table accordingly if you want to test such a special feature.
(The field CARRNAME in 'gt_sflight' was added to test field REF_FIELD
and TXT_FIELD of the fieldcatalog - see what happens if you
calculate subtotals by carrier-id).
report bcalvt_fieldcatalog .
data: ok_code type sy-ucomm,
save_ok_code type sy-ucomm,
fieldcatalog for output table
gt_fieldcat type lvc_t_fcat,
fieldcatalog for fieldcatalog itself:
gt_fcatfcat type lvc_t_fcat,
gs_fcatlayo type lvc_s_layo.
Output table
data: begin of gt_sflight occurs 0.
data: carrname type s_carrname.
include structure sflight.
data: end of gt_sflight.
data: g_max type i value 100.
data: g_all type c value SPACE.
Controls to display gt_sflight and corresponding fieldcatalog
data: g_docking type ref to cl_gui_docking_container,
g_alv type ref to cl_gui_alv_grid.
data: g_custom_container type ref to cl_gui_custom_container,
g_editable_alv type ref to cl_gui_alv_grid.
LOCAL CLASS Definition
class lcl_event_receiver definition.
public section.
methods handle_data_changed
for event data_changed of cl_gui_alv_grid
importing er_data_changed.
endclass.
class lcl_event_receiver implementation.
method handle_data_changed.
at the time being, no checks are made...
endmethod.
endclass.
data: event_receiver type ref to lcl_event_receiver.
end-of-selection.
set screen 100.
*& Module STATUS_0100 OUTPUT
text
module status_0100 output.
set pf-status 'BASIC'.
set titlebar 'BASICTITLE'.
create ALV Grid Control in the first run
if g_docking is initial.
perform create_and_init_controls.
endif.
endmodule. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
module user_command_0100 input.
save_ok_code = ok_code.
clear ok_code.
case save_ok_code.
when 'SUBMIT'.
set the frontend fieldcatalog
ATTENTION: DDIC-Fields are not updated using this method!
(see 'RESTART')
call method g_alv->set_frontend_fieldcatalog
exporting
it_fieldcatalog = gt_fieldcat.
call method g_alv->refresh_table_display.
call method cl_gui_cfw=>flush.
when 'RESTART'.
Destroy the control currently visible and display it again
using the changed fieldcatalog.
perform restart_sflight.
when '&ALL'.
perform switch_visibility.
endcase.
endmodule. " USER_COMMAND_0100 INPUT
*& Form CREATE_AND_INIT_CONTROLS
text
--> p1 text
<-- p2 text
form create_and_init_controls.
create object g_docking
exporting
dynnr = '100'
extension = 150
side = cl_gui_docking_container=>dock_at_bottom.
create object g_alv
exporting
i_parent = g_docking.
create object g_custom_container
exporting
container_name = 'CC_0100_FIELDCAT'.
create object g_editable_alv
exporting
i_parent = g_custom_container.
register events
create object event_receiver.
set handler event_receiver->handle_data_changed for g_editable_alv.
call method g_editable_alv->register_edit_event
exporting
i_event_id = cl_gui_alv_grid=>mc_evt_modified.
perform build_fieldcatalogs changing gt_fieldcat gt_fcatfcat.
perform modify_fieldcatalog changing gt_fcatfcat.
perform select_data. "CHANGING gt_sflight
call method g_alv->set_table_for_first_display
changing
it_outtab = gt_sflight[]
it_fieldcatalog = gt_fieldcat[].
optimize column width of grid displaying fieldcatalog
gs_fcatlayo-cwidth_opt = 'X'.
Get fieldcatalog of table sflight - alv might have
modified it after passing.
call method g_alv->get_frontend_fieldcatalog
importing et_fieldcatalog = gt_fieldcat[].
call method cl_gui_cfw=>flush.
Display fieldcatalog of table sflight:
call method g_editable_alv->set_table_for_first_display
exporting
is_layout = gs_fcatlayo
changing
it_outtab = gt_fieldcat[]
it_fieldcatalog = gt_fcatfcat[].
register events
create object event_receiver.
set handler event_receiver->handle_data_changed for g_editable_alv.
endform. " CREATE_AND_INIT_CONTROLS
*& Form restart_sflight
text
--> p1 text
<-- p2 text
form restart_sflight.
data: ls_fieldcat type lvc_s_fcat.
free g_docking and thus g_alv
call method g_docking->free.
clear g_docking.
clear g_alv.
create new instances
create object g_docking
exporting
dynnr = '100'
extension = 150
side = cl_gui_docking_container=>dock_at_bottom.
create object g_alv
exporting
i_parent = g_docking.
This is an internal method to invalidate all fields in the fieldcat
loop at gt_fieldcat into ls_fieldcat.
clear ls_fieldcat-tech_comp.
modify gt_fieldcat from ls_fieldcat.
endloop.
Newly display the list with current fieldcatalog.
call method g_alv->set_table_for_first_display
changing
it_outtab = gt_sflight[]
it_fieldcatalog = gt_fieldcat.
Get fieldcatalog - it might be changed by ALV in the last call
call method g_alv->get_frontend_fieldcatalog
importing
et_fieldcatalog = gt_fieldcat[].
call method g_editable_alv->refresh_table_display.
call method cl_gui_cfw=>flush.
endform. " restart_sflight
*& Form select_data
text
--> p1 text
<-- p2 text
form select_data.
data: lt_sflight type table of sflight with header line,
ls_scarr type scarr.
select data of sflight
select * from sflight into table lt_sflight up to g_max rows.
copy data to gt_sflight and update CARRNAME
loop at lt_sflight.
move-corresponding lt_sflight to gt_sflight.
select single * from scarr into ls_scarr
where carrid = gt_sflight-carrid.
gt_sflight-carrname = ls_scarr-carrname.
append gt_sflight.
endloop.
endform. " select_data
*& Form BUILD_FIELDCATALOGS
text
<--P_GT_FIELDCAT text
<--P_GT_FCATFCAT text
form build_fieldcatalogs changing p_fieldcat type lvc_t_fcat
p_fcatfcat type lvc_t_fcat.
data: ls_fcat type lvc_s_fcat.
Fieldcatalog for table SFLIGHT: p_fieldcat
generate fieldcatalog automatically
call function 'LVC_FIELDCATALOG_MERGE'
exporting
i_structure_name = 'SFLIGHT'
I_CLIENT_NEVER_DISPLAY = 'X'
changing
ct_fieldcat = p_fieldcat[]
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 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.
shift all column positions to the right except for MANDT
loop at p_fieldcat into ls_fcat.
if ls_fcat-fieldname ne 'MANDT'.
add 1 to ls_fcat-col_pos.
if ls_fcat-fieldname = 'CARRID'.
ls_fcat-txt_field = 'CARRNAME'."link CARRNAME to CARRID
endif.
modify p_fieldcat from ls_fcat.
endif.
endloop.
create a new line for CARRNAME in p_fieldcat
clear ls_fcat.
ls_fcat-fieldname = 'CARRNAME'.
ls_fcat-ref_table = 'SCARR'.
ls_fcat-col_pos = 1.
insert new line before CARRID (do not forget MANDT!).
insert ls_fcat into p_fieldcat index 1.
Fieldcatalog for table LVC_T_FCAT:p_fcatfcat
Generate fieldcatalog of fieldcatalog structure.
This fieldcatalog is used to display fieldcatalog 'p_fieldcat'
on the top of the screen.
call function 'LVC_FIELDCATALOG_MERGE'
exporting
i_structure_name = 'LVC_S_FCAT'
I_CLIENT_NEVER_DISPLAY = 'X'
changing
ct_fieldcat = p_fcatfcat[]
EXCEPTIONS
INCONSISTENT_INTERFACE = 1
PROGRAM_ERROR = 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.
Hide all fields that are not documented (valid for release 4.6A)
perform hide_fields changing p_fcatfcat.
endform. " BUILD_FIELDCATALOGS
*& Module EXIT_PROGRAM INPUT
text
module exit_program input.
leave program.
endmodule. " EXIT_PROGRAM INPUT
*& Form MODIFY_FIELDCATALOG
text
<--P_GT_FCATFCAT text
form modify_fieldcatalog changing p_fcatfcat type lvc_t_fcat.
data ls_fcat type lvc_s_fcat.
loop at p_fcatfcat into ls_fcat.
ls_fcat-coltext = ls_fcat-fieldname.
ls_fcat-edit = 'X'.
if ls_fcat-fieldname = 'COL_POS' or ls_fcat-fieldname = 'FIELDNAME'.
ls_fcat-key = 'X'.
endif.
modify p_fcatfcat from ls_fcat.
endloop.
endform. " MODIFY_FIELDCATALOG
form hide_fields changing p_fieldcat type lvc_t_fcat.
data: ls_fcat type lvc_s_fcat.
Only show documented fields of fieldcatalog.
For a documentation choose "Help->Application Help" in the menu.
loop at p_fieldcat into ls_fcat.
if not (
ls_fcat-fieldname eq 'CFIELDNAME'
or ls_fcat-fieldname eq 'COL_POS'
or ls_fcat-fieldname eq 'COLDDICTXT'
or ls_fcat-fieldname eq 'COLTEXT'
or ls_fcat-fieldname eq 'CURRENCY'
or ls_fcat-fieldname eq 'DD_OUTLEN'
or ls_fcat-fieldname eq 'DECIMALS_O'
or ls_fcat-fieldname eq 'DECMLFIELD'
or ls_fcat-fieldname eq 'DO_SUM'
or ls_fcat-fieldname eq 'DRAGDROPID'
or ls_fcat-fieldname eq 'EDIT_MASK'
or ls_fcat-fieldname eq 'EMPHASIZE'
or ls_fcat-fieldname eq 'EXPONENT'
or ls_fcat-fieldname eq 'FIELDNAME'
or ls_fcat-fieldname eq 'HOTSPOT'
or ls_fcat-fieldname eq 'ICON'
or ls_fcat-fieldname eq 'INTLEN'
or ls_fcat-fieldname eq 'INTTYPE'
or ls_fcat-fieldname eq 'JUST'
or ls_fcat-fieldname eq 'KEY'
or ls_fcat-fieldname eq 'LOWERCASE'
or ls_fcat-fieldname eq 'LZERO'
or ls_fcat-fieldname eq 'NO_OUT'
or ls_fcat-fieldname eq 'NO_SIGN'
or ls_fcat-fieldname eq 'NO_SUM'
or ls_fcat-fieldname eq 'NO_ZERO'
or ls_fcat-fieldname eq 'OUTPUTLEN'
or ls_fcat-fieldname eq 'QFIELDNAME'
or ls_fcat-fieldname eq 'QUANTITY'
or ls_fcat-fieldname eq 'REF_FIELD'
or ls_fcat-fieldname eq 'REF_TABLE'
or ls_fcat-fieldname eq 'REPREP'
or ls_fcat-fieldname eq 'REPTEXT'
or ls_fcat-fieldname eq 'ROLLNAME'
or ls_fcat-fieldname eq 'ROUND'
or ls_fcat-fieldname eq 'ROUNDFIELD'
or ls_fcat-fieldname eq 'SCRTEXT_L'
or ls_fcat-fieldname eq 'SCRTEXT_M'
or ls_fcat-fieldname eq 'SCRTEXT_S'
or ls_fcat-fieldname eq 'SELDDICTXT'
or ls_fcat-fieldname eq 'SELTEXT'
or ls_fcat-fieldname eq 'SP_GROUP'
or ls_fcat-fieldname eq 'SYMBOL'
or ls_fcat-fieldname eq 'TECH'
or ls_fcat-fieldname eq 'TIPDDICTXT'
or ls_fcat-fieldname eq 'TOOLTIP'
or ls_fcat-fieldname eq 'TXT_FIELD' ).
ls_fcat-tech = 'X'.
endif.
modify p_fieldcat from ls_fcat.
endloop.
endform.
form switch_visibility.
data: lt_fcatfcat type lvc_t_fcat,
ls_fcat type lvc_s_fcat.
call method g_editable_alv->get_frontend_fieldcatalog
importing ET_FIELDCATALOG = lt_fcatfcat.
if not g_all is initial.
perform hide_fields changing lt_fcatfcat.
g_all = SPACE.
else.
loop at lt_fcatfcat into ls_fcat.
if ls_fcat-tech eq 'X'.
ls_fcat-tech = SPACE.
ls_fcat-no_out = 'X'.
modify lt_fcatfcat from ls_fcat.
endif.
endloop.
g_all = 'X'.
endif.
call method g_editable_alv->set_frontend_fieldcatalog
exporting it_fieldcatalog = lt_fcatfcat.
call method g_editable_alv->refresh_table_display.
endform.
Don't forget to rewaard if useful.. -
How can I modify the SQLQueryString at runtime? (VB6 Application, CR XI)
I have created a report in Crystal Reports XI which uses a stored procedure to retrieve data. The report was created using our test database (AS/400 DB2) as its datasource. In our Visual Basic 6 application we want to be able to run against the production database. In the code a CRAXDRT.Report object is instantiated and the .rpt file is specified in the OpenReport command. I can see that the SQLQueryString property is {CALL "TESTSERV"."ABCLIB"."RPT_ONE_SP"}, where TESTSERV is the test machine, ABCLIB is the library (Default Collection property value in the connection properties which can be modified) and "RPT_ONE_SP" is the stored procedure name. If a change to the SQLQueryString is attempted an error is raised. Even if all connection properties are changed the stored procedure call still defers to what is specified in the call (from the .rpt file). Is there a workaround for this situation?
Hi Daniel,
You can't change the info directly in the SQL you have to use the .Location method. This will update the SQL and re-direct from your original server to the new server.
Please read the info in the link Dan attached to is first reply. It will show you how to do this and it does work.
Once you set all the logon info then use the .Verify method or Testconnectivity API to confirm it's going to the new Server. Then export the report to RPT format to confirm the new logon info is saved.
Changing to SQL Server (OLE DB) at Runtime
'Declare a Connection Info Object
Dim ConnectionInfo As CRAXDRT.ConnectionProperties
'Set the Connection Info to Connection Properties of u2018the table object
Set ConnectionInfo = Report.Database.Tables(1).ConnectionProperties
'Set the DLL name
Report.Database.Tables(1).DLLName = u201Ccrdb_ado.dllu201D
'Clear the ConnectionProperties collection
ConnectionInfo.DeleteAll
'Add the OLE DB Provider
ConnectionInfo.Add u201CProvideru201D, u201CSQLOLEDBu201D
'Add the physical server name
ConnectionInfo.Add u201CData Sourceu201D, u201CServer nameu201D
'Add the database name
ConnectionInfo.Add u201CInitial Catalogu201D, u201CDatabase nameu201D
'Add the user name
ConnectionInfo.Add u201CUser IDu201D, u201CUser nameu201D
'Add the password
ConnectionInfo.Add u201CPasswordu201D, u201CPasswordu201D
'Set the fully qualified table name if different from u2018the original data source
Report.Database.Tables(1).Location = u201Cdatabase.owner.tablenameu201D
Thank you
Don -
Can not change the field property - 10gR2 reports crashing on Linux :(
All I want to do, is to change one field's property from NUMBER to DATE in the property palette. It does not allow me to do it (not east like forms). I can not change the field property - 10gR2 reports keep crashing on Linux :(
I don't know if this is a Linux specific iDS issue, or a generic one.
What are the proper steps to change one field (in my query, the field name is ptime, it was defined as a number field originally, and now I need to change it to DATE and apply the proper format mask). The matching database field definition was modified from number to date.
very frustrating...
Any input is appreciated.
Message was edited by:
zaferaktannop, did not change anything in the select statement at all. Just selected the related query under the data model (in the navigator), then selected the related query from within the property panel, connected to the db, then from the related navigor menu selected compile all, when the related query was highlighted (selected). Then I saved it, checked the groups, and bingo - the datatype was changed from number to date. Then I went to the related object under the page layout and applied the format mask (that was another funny story). And it worked. It is not as flexible as the forms for sure - pain in the a.. And I still don't know why Reports Builder keeps crashing on Linux - have no problems with Forms Developer on Linux at all. It is a certified RH platform with all the required libs, rpms, etc installed. I am certain it is not an installation issue. Maybe I should check Metalink and apply if an iDS 10gR2 patch exists for reports.
-
You can safely ignore some errors that fsck reports....?
I got the following report while Verifying in DU after installing the latest Security Update 2009-001. I took every possible precaution: installed in Safe Boot from standalone download, repaired Permissions before and after, disconnected all peripherals and stood on my head.
I repaired successfully, booted from the Disc. DU, while booted from the disc, saw the error too, so I know it wasn't a spurious error appearing only when booted from the HD. I'm wondering if there's anything here to be concerned about. I have never before had DU report the disc needed repair.
(I also repaired a Permissions error while booted in Safe Mode, before doing any of this. This was strange, since I'd just done a Permissions repair only a few days earlier for the QT Update. I won't get into that now, since I my main concern is the Disc error, and I don't want to overload this post with too many questions).
Checking volume bitmap.
Volume Bit Map needs minor repair
Checking volume information.
Invalid volume free block count
Invalid volume free block count
ead of %@)",2)
28212389
28211294
The volume Hard Drive needs to be repaired.
Error: The underlying task reported failure on exit
Both the Pogue, Missing Manual, Tiger, book and this KB article, report "Volume Bit Map needs minor repair" and "Invalid volume free block count " as "benign" errors, to be ignored.
"You can safely ignore some errors that fsck reports when journaling is enabled."
http://support.apple.com/kb/TS2028
I've been looking into this on my own, but here's the source of my confusion: 1. The heading of the KB article says it is for 10.3.9 or earlier (the article was last modified August, 2008), but way down at the bottom, 10.4 is listed under "Products Affected." Is this just someone at Apple being sloppy? 2. Both the Pogue Tiger book p.778, and the KB article describe this as an error that can be reported while repairing using fsck. They don't mention errors reported by DU, which is how I got this error. But just to be certain, can I safely assume it would apply to errors reported by DU as well? They are, effectively, the same thing, aren't they?
No strange sounds coming from the HD and everything seems to be fine. And no more reports of this kind coming from DU.OK. Thanks very much,
My question arose because both the KB article and Pogue discuss these errors only in the context of running fsck. Since you say journaling is automatically turned off when DU does repairs, _does that, then, mean that these errors are only spurious when coming from fsck, not DU, because journaling is enabled in fsck? Journaling enabled is what causes them to appear in fsck?_ Is this why there's no mention of DU for these errors from the Apple KB article and Pogue? And does that mean that *if DU reports them, not fsck,* they are to be taken more seriously, that they are benign, meaning not very serious, but not to be dismissed completely as when they are reported by fsck?
Yes, the errors are benign, but should not be ignored.
I thought the KB article and Pogue were letting me off the hook completely. I see that's, maybe, not exactly the case.
*I never ran fsck.* I did everything from DU, either booted from the HD or the Tiger Installer disc. Fsck only came up because I discovered this KB article and the Pogue excerpt, which made me think that, since fsck is essentially DU, but run from a command line, they applied as well to the errors DU found. I didn't realize that, maybe, journaling enabled in fsck was at the heart of this issue.
As mentioned, I ran DU from the Tiger Installer disc and it repaired the error right away on the first run. I ran it twice just to be sure.
If DU ran successfully but did not repair the problem, then run Repair Disk repeatedly until no problems are reported.
There was no other problem, only the error DU reported, which was successfully repaired.
DU is supposed to disable journaling before repairing the drive. But there's nothing wrong with disabling journaling manually before repairing the drive.
Meaning I can't always assume it will? And, perhaps, it didn't this time and that's why I got the error?
Everything seems fine now; I was just somewhat alarmed, since I didn't understand where this could be coming from. I'd already verified the disc, booted from my clone, very recently.
Message was edited by: WZZZ -
Can we use Dynamic SQL in Oracle Reports ?
Hi ,
Can we use Dynamic SQL in Oracle Reports ?
If yes please give some examples .
Thanx
sriniI believe the built-in package SRW.Do_Sql is what you are looking for
Example from the document:
/* Suppose you want to create a "table of contents" by getting the
** first character of a columns value, and page number on which its
** field fires to print. Assume that you want to put the "table of
contents"
** into a table named SHIP. You could write the following construct:
DECLARE
PAGE_NO NUMBER;
PAGE_FOR INDEX NUMBER;
SORT_CHAR CHAR(1);
CMD_LINE CHAR(200);
BEGIN
SORT_CHAR := :SORT_NAME ;
IF :CALLED = Y THEN
SRW.GET_PAGE_NUM(PAGE_FOR_INDEX);
SRW.USER_EXIT(RWECOP PAGE_FOR_INDEX
P_START_PAGENO);
SRW.MESSAGE(2,TO_CHAR(:P_START_PAGENO));
END IF;
SRW.GET_PAGE_NUM(PAGE_NO);
CMD_LINE := INSERT INTO SHIP VALUES
(||SORT_CHAR||,||TO_CHAR(PAGE_NO)||);
SRW.MESSAGE(2,CMD_LINE);
SRW.DO_SQL(CMD_LINE);
COMMIT;
EXCEPTION
WHEN DUP_VAL_ON_INDEX THEN
NULL;
WHEN SRW.DO_SQL_FAILURE THEN
SRW.MESSAGE(1,FAILED TO INSERT ROW INTO SHIP TABLE);
WHEN OTHERS THEN
COMMIT;
END;
Maybe you are looking for
-
How do i install the airport on my windows pc
how do ik install the airport on my windows pc (windows 7)?
-
Track 1 bleeds into transistions on track 2 and 3
I have 3 video tracks on my timeline. Track 1 runs, uninterupted, from start to finish. Tracks 2 and 3 have clips that overlay track 1. The problem is that track 1 keeps bleeding through transitions taking place on track 2 and 3. It occurs right in
-
Hi gents, In my beekpr, within my enterprise i have a list of workspaces listed in the workspace templates. (basic team, Project, Beeki, community of practice etc.) When i create a workspace using outlook, i cannot select which type of workspace i wa
-
Class location issue. simple but strange one..
Im trying to figure out how to find out where the class file Im running at different location. Here is the example. xxx.class is at c:\a\ and set classpath "set classpath=c:\a\" at c:\b\, type java xxx to run xxx which class file is at c:\a\. is it p
-
I've made a survey portlet using the wizard but it shows the "next","previous", and "finish" buttons, and my language is set to spanish so i like to have my portlet showing spanish text in buttons. can anybody tell me how to do that? Thanks in advanc