In ALV report how to do this..
Hi,
I worte one zreport, it displays the output in the Grid format.
Goto tr code : coois-> give some material number u will get output in the grid format..->above the grid u will look the bar on that u will see ENDUSER DOC, DISPLAY GRAPHIC, LAYOUT SETTINGS....
My requirement is : I have to add this bar to my grid report, please explain to me.
Thanks and Regards,
Surya
Hi Jai.
We can not display barcode in ALV but in Smartform and Script is possible becuase we can set font "BARCODE" or any fonts to our variable.
What you should do is create general ALV report ,Smatform for printing barcode and botton for call
Smartform in ALV program.When a line is selected and click botton then take data in that line and call
Smartform for printing barcode that what I have done.
Hope it help .
SayC.
Similar Messages
-
Check boxes in ALV Report how to do ?
ALV report how to keep check box in the first field?
thanks in advance..
chalapathihi,
Check this small code.. U will get clear idea.
Report.
data : begin of it occurs 0,
MATNR TYPE MATNR,
c1 , " CHECK BOX FIELDS
c2,
end of it.
type-pools : slis.
data itlog type slis_t_fieldcat_alv.
data walog type slis_fieldcat_alv.
SELECT MATNR
FROM MARA
INTO TABLE IT .
****INSERTING CHECKBOX IN CHANGE MODE
WALOG-FIELDNAME = 'C1'.
WALOG-TABNAME = 'IT'.
WALOG-SELTEXT_M = 'CHECKBOX1'.
walog-CHECKBOX = 'X'.
WALOG-EDIT = 'X'.
APPEND WALOG TO ITLOG.
****INSERTING CHECKBOX IN DISPLAY MODE
WALOG-FIELDNAME = 'C2'.
WALOG-TABNAME = 'IT'.
WALOG-SELTEXT_M = 'CHECKBOX2'.
walog-CHECKBOX = 'X'.
WALOG-EDIT = ''.
APPEND WALOG TO ITLOG.
WALOG-FIELDNAME = 'MATNR'.
WALOG-TABNAME = 'IT'.
WALOG-SELTEXT_M = 'MATERIAL'.
walog-CHECKBOX = ''.
WALOG-EDIT = 'X'.
WALOG-NO_ZERO = 'X'. " LEFT ZEROS WILL CUT
APPEND WALOG TO ITLOG.
*WALOG-FIELDNAME = 'ICON'.
*WALOG-TABNAME = 'IT'.
*WALOG-SELTEXT_M = 'ICON'. "IN FIELDCATALOG ADDING THAT ICON
*walog-ICON = 'X'.
*walog-just = 'R'. " RIGHT JUSTIFICATION OR LEFT
**WALOG-EDIT = ''.
*APPEND WALOG TO ITLOG.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = 'ZALV_SIMPLE1'
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT =
IT_FIELDCAT = ITLOG
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
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
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
I_HTML_HEIGHT_TOP =
I_HTML_HEIGHT_END =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT
EXCEPTIONS
PROGRAM_ERROR = 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.
Thanks and Regards,
surya -
In alv report , how to reserve 20 lines from beginning of page
hi experts
in alv report , how to reserve 20 lines from beginning of page.
regards
subhasis.If by reserve you mean should not move on scrolling then make them KEY from fieldcatalog.
But I think maximum of 10-12 can be handled by that.
Regards,
Amit
Reward all helpful replies. -
In ALV reports how can we capture separate data in 3 internal table
HI
In ALV reports how can we capture data in 3 Internal tables and combine them in another internal table to display........Hello Sudhanshu
Another option would be to display all three itabs together which is a piece of cake using OO-based ALV lists. Please refer to thread
Re: Alv
for a sample report.
Regards
Uwe -
In ALV reports how double click event works?
in ALV reports how double click event works? Explain in detail.....
hi,
last lines is used for clicking
*& Report Z_SWAS_FUNCTIONAL
report z_swas_functional.
tables: qmel,viqmel,iloa,afko.
-- global data declerations--
data: ok_code like sy-ucomm,
gt_itab type table of zfunctional,
t_output type table of zfunctional,
g_container type scrfname value 'CUSTOM_CONTROL',
grid1 type ref to cl_gui_alv_grid,
g_custom_container type ref to cl_gui_custom_container,
e_row type lvc_s_row,
e_column type lvc_s_col,
es_row_no type lvc_s_roid.
*CLASS DECLARATION
class z_functional definition.
public section.
class-methods : handle_double_click
for event double_click of cl_gui_alv_grid
importing e_row e_column.
endclass.
*CLASS IMPLEMENTATION
class z_functional implementation.
method handle_double_click.
perform handle_double_click using e_row e_column es_row_no.
endmethod.
endclass.
*CODE FOR SELECTION SCREEN
selection-screen begin of block 84433 with frame title text-t01.
parameters : n_number like viqmel-qmnum,
n_type like qmel-qmart,
f_loca like iloa-tplnr,
name like qmel-qmnam.
selection-screen end of block 84433.
screen validation event *
at selection-screen on n_number.
select single *
from viqmel
where qmnum eq n_number.
if sy-subrc ne 0.
MESSAGE 'NOTIFICATION NUMBER DOESNOT EXIST' TYPE 'E'.
endif.
select qmart from qmel into qmel where qmart eq N_TYPE.
endselect.
if sy-subrc ne 0.
MESSAGE 'NOTIFICATION TYPE DOES NOT EXIST' TYPE 'E'.
endif.
*START OF SELECTION EVENT
start-of-selection.
perform fetchdata.
end-of-selection.
*Call screen event
call screen 100.
*PERFORM DISPLAY.
*& Form FETCHDATA
text
--> p1 text
<-- p2 text
form fetchdata .
*SELECT VIQMEL~QMNUM VIQMEL~QMTXT VIQMEL~QMDAT VIQMEL~LTRMN VIQMEL~PRIOK
VIQMELBEZDT VIQMELAUFNR VIQMELTPLNR AFKOGLTRP into corresponding fields of table GT_ITAB
FROM VIQMEL INNER JOIN AFKO ON VIQMELAUFNR = AFKOAUFNR
WHERE VIQMELQMNUM IN N_NUMBER and VIQMELQMART IN N_TYPE AND VIQMEL~QMNAM IN NAME.
call function 'ZSWAS_TEST'
exporting
qmnum = n_number
qmart = n_type
tplnr = f_loca
qmnam = name
tables
output = gt_itab
if sy-subrc ne 0.
message e000(z84433_msg_class).
endif.
endform. " FETCHDATA
*& Module STATUS_0100 OUTPUT
text
module status_0100 output.
set pf-status 'MAIN'.
SET TITLEBAR 'xxx'.
*creating custom container and grid instance
if g_custom_container is initial.
create object g_custom_container
exporting container_name = g_container.
create object grid1
exporting i_parent = g_custom_container.
call method grid1->set_table_for_first_display
exporting
i_structure_name = 'ZFUNCTIONAL'
changing
it_outtab = gt_itab.
*set handler events
set handler z_functional=>handle_double_click for grid1.
endif.
endmodule. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
module user_command_0100 input.
case ok_code.
when 'EXIT'.
perform exit_program.
endcase.
clear ok_code.
endmodule. " USER_COMMAND_0100 INPUT
*& Form EXIT_PROGRAM
text
--> p1 text
<-- p2 text
form exit_program .
leave program.
endform. " EXIT_PROGRAM
*& Form handle_double_click
text
-->P_E_ROW text
-->P_E_COLUMN text
-->P_ES_ROW_NO text
form handle_double_click using e_row type lvc_s_row
e_column type lvc_s_col
es_row_no type lvc_s_roid.
data: t_output type zfunctional.
read table gt_itab into t_output index e_row-index .
if sy-subrc = 0 and e_column-fieldname eq 'QMNUM'.
set parameter id 'K01' field t_output-qmnum.
call transaction 'ZSMART' and skip first screen .
endif.
endform. " handle_double_click
regards,
swaroop. -
ALV Report: How to pass the variable in Work area to the FM ? Please help !
I want to pass the field in the work area which contains the floating point numbers to FM 'FLTP_CHAR_CONVERSION_FROM_SI'. This the correct FM, I have tested.
If I specify the field with Tab name in FM , It says its not an internal table with header line.
Please help me, How should can I proceed further and pass the field to FM and get it back in work area.
And an other issue is I want to sum the particular field in the output.
Is there a way to do using 'PF-STATUS', if so how ? or what is the alternative for this ?
Please help me with my issues.
I'm new to ALV reports.
Thanks in Advance !Hi,
For your FM issue, i think you are trying to pass the field in the FM as ITAB-field, while you should be taking the data in the work area first and then pass this work area in the FM as WA_ITAB-field.
I hope this will resolve your prob.
I mean loop at the table and take the values into work area, update the internal table with changed value. This way by the end of loop you will have all your fields converted.
Please explain a little more about your second doubt, it is unclear(to me atleast).
Edited by: DeepakNagar on Jul 28, 2011 6:08 PM -
Coloring of a (specific) row in ALV report-How?
Hi Experts,
Am looking to assign a color for a (specific)row in ALV report.......so, pls. let me know How to get it done?
thanqTABLES:LFA1.
SELECT-OPTIONS:LIFNR FOR LFA1-LIFNR.
DATA:BEGIN OF ITAB OCCURS 0,
LIFNR LIKE LFA1-LIFNR,
NAME1 LIKE LFA1-NAME1,
LAND1 LIKE LFA1-LAND1,
ORT01 LIKE LFA1-ORT01,
REGIO LIKE LFA1-REGIO,
SORTL LIKE LFA1-SORTL,
CFIELD(4) TYPE C,
END OF ITAB.
data:col(4).
data:num value '1'.
SELECT * FROM LFA1 INTO CORRESPONDING FIELDS OF TABLE ITAB WHERE LIFNR
IN LIFNR.
LOOP AT ITAB.
concatenate 'C' num '10' into col .
ITAB-CFIELD = col.
num = num + 1.
if num = '8'.
num = '1'.
endif.
MODIFY ITAB.
ENDLOOP.
TYPE-POOLS:SLIS.
DATA:FCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA:LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA:SORT TYPE slis_t_sortinfo_alv WITH HEADER LINE.
DATA:EVE TYPE SLIS_T_EVENT WITH HEADER LINE.
LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
LAYOUT-WINDOW_TITLEBAR = 'VENDORS DETAILS SCREEN'.
LAYOUT-EDIT = 'X'.
LAYOUT-info_fieldname = 'CFIELD'.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = SY-REPID
I_INTERNAL_TABNAME = 'ITAB'
I_INCLNAME = SY-REPID
CHANGING
CT_FIELDCAT = FCAT.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IS_LAYOUT = LAYOUT
IT_FIELDCAT = FCAT
TABLES
T_OUTTAB = ITAB.
this is for coloring cols
REPORT ZBHCOLOR_COLS.
TABLES:LFA1.
SELECT-OPTIONS:C_LIFNR FOR LFA1-LIFNR. " FOR GRID ONLY
PARAMETERS:LIST RADIOBUTTON GROUP ALV DEFAULT 'X',
GRID RADIOBUTTON GROUP ALV.
DATA:BEGIN OF ITAB OCCURS 0,
LIFNR LIKE LFA1-LIFNR,
NAME1 LIKE LFA1-NAME1,
LAND1 LIKE LFA1-LAND1,
ORT01 LIKE LFA1-ORT01,
SORTL LIKE LFA1-SORTL,
REGIO LIKE LFA1-REGIO,
COL TYPE LVC_T_SCOL,
END OF ITAB.
DATA:COLR TYPE LVC_S_SCOL.
SELECT * FROM LFA1 INTO CORRESPONDING FIELDS OF TABLE ITAB.
LOOP AT ITAB.
IF ITAB-LIFNR IN C_LIFNR.
COLR-FNAME = 'NAME1'.
COLR-COLOR-COL = '5'.
COLR-COLOR-INT = '1'.
COLR-COLOR-INV = '0'.
COLR-NOKEYCOL = 'X'.
APPEND COLR TO ITAB-COL.
COLR-FNAME = 'LIFNR'.
APPEND COLR TO ITAB-COL.
MODIFY ITAB.
ENDIF.
ENDLOOP.
TYPE-POOLS:SLIS.
DATA:FCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA:LAYOUT TYPE SLIS_LAYOUT_ALV.
LAYOUT-ZEBRA = 'X'.
layout-coltab_fieldname = 'COL'.
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME = SY-REPID
I_INTERNAL_TABNAME = 'ITAB'
I_INCLNAME = SY-REPID
CHANGING
CT_FIELDCAT = FCAT.
IF LIST = 'X'.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IS_LAYOUT = LAYOUT
IT_FIELDCAT = FCAT
TABLES
T_OUTTAB = ITAB.
ELSEIF GRID = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-REPID
IS_LAYOUT = LAYOUT
IT_FIELDCAT = FCAT
TABLES
T_OUTTAB = ITAB.
ENDIF.
Reward points if useful. -
ALV report -How to display list contains no data?
Hi Experts,
I have developed an drill down alv report ? I like to display if 'List contains no data ' or 'No data to display' in Grid itself when there is no data to dissplay instead of an Message ?how can i do that?hi
u should have used this command before calling your grid or list
if gt_itab[] is not initial. --> comment this
call function reuse or call method
endif.
assuming you have given a top of page for your grid output
if helpful, reward
Sathish. R -
In an alv report how to get data in next and previous pages.
in my alv report i require the output such that
when i will press the next button in the application tool bar the alv report will be displayed for the next inventory document number in the next page. like wise previous
would anybody please help me out.
thanks and regards
pappsIn your servlet you could set the arraylist into the HttpRequest object so that it is visible in the JSP you are forwarding to.
RegistrationDAO rdao=new RegistrationDAO();
ArrayList arr1=rdao.getsearchresults(af);
request.setAttribute("someArrayList",arr1);Then in the JSP you could use JSTL 1.1 and jsp:useBean tag to access the ArrayList like this
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:useBean id="someArrayList" class="java.util.ArrayList" scope="request"/>
<c:forEach var="currentRecord" items="${someArrayList}">
Some property of the AddressForm object: ${currentRecord.propertyName} <br/>
Another property of the AddessForm object : ${currentRecord.someOtherPropertyName} <br/>
<hr/>
</c:forEach>I guess you are using struts, so instead of JSTL there might be some struts tags that do the same as above JSTL tags. You can research further on that.
If you can't use struts tags or JSTL tags then you could write it with JSP scriptlets (highly discouraged option). -
ALV Report : How to display popup window?
Hello Friends,
I have developed oone ALV report using classes.
When i hit a button, I want to display one pop window which gives me my internal table details and one more button in this popup window.
Is it possible to call pop window with ALV using classes??
Regards
RHUse the following Methods:
METHODS: lmt_toolbar FOR EVENT toolbar OF cl_gui_alv_grid
IMPORTING e_object
e_interactive,
** Method for User Command
lmt_command FOR EVENT user_command OF cl_gui_alv_grid
IMPORTING e_ucomm,
FORM sub_create_toolbar USING uw_object
TYPE REF TO cl_alv_event_toolbar_set
uw_interactive TYPE char01.
DATA: lw_stb_button TYPE stb_button.
FIELD-SYMBOLS: <l_button> TYPE stb_button.
** Fill in the toolbar Button
lw_stb_button-function = 'IFLU'.
lw_stb_button-icon = icon_te_receipts.
lw_stb_button-quickinfo = text-b01.
lw_stb_button-text = text-b01.
INSERT lw_stb_button INTO uw_object->mt_toolbar INDEX 3.
READ TABLE uw_object->mt_toolbar ASSIGNING <l_button> INDEX 1.
IF sy-subrc = 0.
<l_button>-butn_type = 1.
ENDIF.
ENDFORM. " sub_create_toolbar
FORM sub_access_command USING uw_ucomm TYPE sy-ucomm.
DATA: lt_row TYPE lvc_t_row,
lt_rowid TYPE lvc_t_roid,
lw_count TYPE lvc_index.
FIELD-SYMBOLS: <l_row> TYPE lvc_s_row.
** Get the Selected row to be displayed
CALL METHOD gw_grid->get_selected_rows
IMPORTING
et_index_rows = lt_row
et_row_no = lt_rowid.
** User Command
CASE uw_ucomm.
WHEN 'IFLU'.
** Read the index from which the Document Flow was selected
READ TABLE lt_row ASSIGNING <l_row> INDEX 1.
IF sy-subrc = 0.
PERFORM sub_get_detail USING <l_row>-index.
ENDIF.
WHEN c_detail1.
** Call the screen or the Function Module here to display the popup.
PERFORM sub_show_detail USING abap_false.
WHEN c_detail2.
PERFORM sub_show_detail USING abap_true.
ENDCASE.
ENDFORM. " sub_access_command
Hope That Helps
Anirban M. -
ALV Report how to display from and to date values in the header.
I develoeped alv report . i want to display selection screen from and to date values in top of page...
any sample code pls guide me..You have to do many things...
first find the selection details using the FM.
RS_REFRESH_FROM_SELECTOPTIONS
use the Blog to Align/populate the Header from the selection table
/people/community.user/blog/2007/05/07/alignment-of-data-in-top-of-page-in-alv-grid -
ALV report: How to merge 2 columns into 1 column?
Hello,
I have a list of data which I would like format the header to look as below:
| -
Quater 1---- | -
Quater 2 -
| -
Quater 3---- | -
Quater 4---- | <--- header 1
| Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | <--- header 2
| -
F---- | -
S- | -F-- | -
S- | -F-- | -
S- | -F-- | -
S- | <- header 3
xxxxxxx | xxxxxx | xxxxx | xxxxx | xxxxxx | xxxxx | xxxxxx | xxxxx | <--- data lines start here....
Is there anyway I able to achieve this layout?
I found quite a numerous of "cell_merge" information on ALV but I do not know how exactly it work and how to modify it?
Would be appreaciate if anyone of you able to guide me with sample code.
Thanks in advance,
Aish :PHi,
U can do this by using Row position in FIELD CATALOG.
Steps are:
u2022 First we have to declare an internal table of output type with few dummy character type fields.
u2022 Use this structure when populating field catalog.
u2022 When populating field catalog we have to change row position, column position, offset value, field length, text, reference table and field name (if required), justification etc.
u2022 Pass this field catalog as exporting parameter into function module u2018REUSE_ALV_LIST_DISPALYu2019.
Type declaration for Output table
TYPES: BEGIN OF ty_address,
add_detl(1) TYPE c, u201CDummy field
add_init(1) TYPE c, u201CDummy field
pers_detl(1) TYPE c, u201CDummy field
res_detl(1) TYPE c, u201CDummy field
off_detl(1) TYPE c, u201CDummy field
addrnumber TYPE ad_addrnum, "Address number
name1 TYPE ad_name1, "First Name
name2 TYPE ad_name2, "Middle Name
name3 TYPE ad_name3, "Last Name
home_city TYPE ad_city3, "Residential City
city2 TYPE ad_city2, "District
post_code1 TYPE ad_pstcd1, "Residential postal code
city1 TYPE ad_city1, "Office City
post_code2 TYPE ad_pstcd2, "Office postal code
tel_number TYPE ad_tlnmbr1, "First telephone no.
tel_extens TYPE ad_tlxtns1, "First Telephone No.: Extension
fax_number TYPE ad_fxnmbr1, "First fax no.
END OF ty_address.
In the above type declaration first five fields are used to populate field catalog only for the first and second line headings. These fields do not contain any data.
Main processing:
To get multiple line ALV layout we have to declare few dummy fields. When we build field catalog, then we have to put those dummy fields in proper places. In our example last 12 fields are known as valid fields with data and first 5 fields (1 at first line and 4 at second line) are knows as invalid or dummy variables containing no data.
When we build field catalog, we call a perform name CREATE_CATALOG using
Column position Row position
Field name Table name
Justification Text heading
Reference table Reference field
Output length Offset value
For the first row, we have to set row position 1, column position 1. When we call the perform we have to pass, these two values in addition with dummy field name (ADD_DETL), table name (I_ADDRESS), justification (left or right), text (Address Details), Reference table and Reference field name (we can pass SPACE, if not required), Output length and Offset value (Length from left margin or last field, for the first row it is 225. Means the text u201CAddress Detailsu201D will be printed at 225th char position).
l_off = 225. "Offset Value
l_pos = 1. "Column position
l_row = 1. "Row position
l_just = u2018Lu2019. "Allignment (u2018Lu2019 for Left)
l_outlen = 50. "Field length
Address Details *****************
PERFORM create_catalog USING
l_pos l_row 'ADD_DETL' 'I_ADDRESS' l_just text-002 space space l_outlen
l_off.
Perform CREATE_CATALOG is used to append the field catalog table with the passing parameters.
SUBROUTINE ***************************************
FORM create_catalog USING p_pos TYPE sycucol
p_row TYPE sycurow
p_field TYPE any
p_tab TYPE any
p_just TYPE char1
p_text TYPE reptext
p_reftab TYPE any
p_reffld TYPE any
p_outlen TYPE outputlen
p_off TYPE outputlen.
s_fieldcat-col_pos = p_pos. "Column position
s_fieldcat-row_pos = p_row. "Row position
s_fieldcat-fieldname = p_field. "Field name
s_fieldcat-tabname = p_tab. "Table name
s_fieldcat-just = p_just. "Justification
s_fieldcat-reptext_ddic = p_text. "Text heading
s_fieldcat-ref_tabname = p_reftab. "Reference table
s_fieldcat-ref_fieldname = p_reffld. "Reference field
s_fieldcat-outputlen = p_outlen. "Output length
s_fieldcat-offset = p_off. "Offset value
APPEND s_fieldcat TO i_fieldcat.
CLEAR s_fieldcat.
ENDFORM. " create_catalog
Regards,
Joy. -
Version count in statspack report-How to reduce this
I generate stats report every week for 24 Hr time period and analyze all top20 queries interms of buffer gets,physical reads and executions.I could tune the queries with the help of you.Recently my Boss asked me to look in to top version count queries and reduce the number of versions.
I have 4-5 queries which are running 300,000 times and has version count of 35.How can I reduce this number.please suggest me how to approach it.
Your help will be appreciated.Thanks in advance.
Thanks
AnandVersion count 35 out of 300000 doesn't look like a problem to me. Are you having performance issue on your system at all?
<br>
<br>
1. Are the subject queries using Bind variables ?<br>
2. What's the setting of CURSOR_SHARING?<br>
should have CURSOR_SHARING=FORCE<br>
3. check if Bug 3406977 apply to your case <br> -
Request in cube is not avilable for reporting, how to trace this in chain?
Hello,
We have cube that gets the delta daily.
Some day, some body did full load and its failed.
Regular process chain delta load were sucessfull but they never turned reportable since the previous full load was failed.
Since we have not received any failure notification.
Is there way we can find if the request is not reportable to get notification>?
I have checked the avilable process types, it looks like we need to build custom process type.
Please advice.
Cheers
AngeloHi Angelo,
If the full update is run via a process chain then you can configure for that chain that if the load fails you get an email notification,
in the setup of the email notificaton you could make a reference to the target cube and then at least you know that if you don't fix this issue subsequent requests will not be available for reporting in the cube.
Best Regards,
Des -
Creating a word report , how to do this ?
Hi all ,
My first post . I have been working with PL/SQL for the last 3 months. I have a question in APEX. My application allows users to enter data .So once the data entry is done , I have to create a word document by clicking 'create ' button ' . How can I send the data to the word document ( I already have the format for the word document and have been able to generate a dummy word document when I click 'create' ) . The only thing left is to replace the dummy data which I have inserted in word document by the data from the user entries
Thank you every one ..Both are blogs, and the first one is probably easier to understand and describes the process extremely well - best you ask for an exception in this case so you can do your job.
It uses a library that is also hosted here
http://code.google.com/p/plsql-utils/
It's a complex problem, so unfortunately it can't be described too simply - well, any more simply than Morten does in his blog.
Maybe you are looking for
-
I use a gmail account for my mail. When I send an email I sometimes get multiple duplicates (up to 10-12) of the same sent message saved in my sent file. help
-
Boot Camp not able to download Windows 7 Install Disk
I am trying to install Windows 8 on my 2011 Mac Mini. I have a Windows 8 disk, 8GB bootable USB drive, and am trying to download from Boot Camp: 1) a Windows 7 install disk, 2) latest Windows support from Apple, all to install 3) the Windows 8 OS on
-
TS1717 error message New itunes library
I hit the itunes icon on my home screen and the small error message box opens up and says "New itunes Library" with a "ok" tab..nothing else happens I'm running windows 7. It worked less than one week ago, now nothing!
-
Time Machine Airdisk Trouble! Help!
I have had my old 160GB macbook drive in an enclosure connected to my airport extreme for my wireless backups for about 3 months. About 2 weeks ago, the drive started indexing every time time machine tried to do a backup. It would take from 1-2 hrs t
-
Only 4x5 prints from Lightroom
I'm running Lightroom 2.4 with Mac OS 10.5.7. When I try to print a photo full-size or in several sizes using the contact sheet or picture package templates, I get a beautifully done print in 4x5 size, i.e. on one quarter of the page. If I export t