‎2006 Jun 28 3:14 PM
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
it_fieldcat = alv_fldcat
TABLES
t_outtab = <dyn_table>.
in alv_fldcat i see the title all of it
and in the screen i se only part why?
‎2006 Jun 28 3:18 PM
Please check the parameter <b>outputlen</b> for the fieldcat. the length specified there should be as long as the title
‎2006 Jun 28 3:21 PM
There are headings of three different lengths that you can specify in the field catalog. Depending on the display width of the column, appropriate heading will be displayed.
the fields will be scrtext_m, scrtext_s and scrtext_l.
Regards,
Ravi
‎2006 Jun 28 5:35 PM
As Ravi explained, you can fill your column descriptions in the field catalog fields SCRTEXT_M, SCRTEXT_S, and SCRTEXT_L and then you can pick which one you want to show up in the ALV grid by setting DDICTXT field to 'L', 'M', or 'S'.
‎2006 Jun 28 3:23 PM
Try settings->columns->optimize width, if it shows full title
Set Is_layout-colwidth_optimize to X.
Regards
Sridhar
‎2006 Jun 28 3:28 PM
Hi liat,
since it is ALV GRID so that is not a problem , you can strech the columns ,use the expander in between the columns and stretch it.if you expand you can see full text.but it is not possible with alv list.in your case you can see the full text by expanding columns.
Regards
vijay
‎2006 Jun 28 3:35 PM
HI
GOOD
CHECK WITH THE SYNTAX GIVEN HERE AND YOUR CODE
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
i_bypassing_buffer = 'X'
i_buffer_active = ' '
i_callback_program = ....
GO THROUGH THIS LINK
http://www.sap-img.com/abap/alv-grid.htm
&----
*& Report ZALV_GRID_SAMPLE *
*& *
&----
*& DISLAYS FIRST 10 RECORDS OF VBAK TABLE IN A GRID *
*& *
&----
REPORT ZALV_GRID_SAMPLE .
TABLES VBAK.
DATA it_vbak LIKE VBAK OCCURS 0 WITH HEADER LINE.
SELECT *FROM VBAK
INTO CORRESPONDING FIELDS OF TABLE it_vbak
UP TO 10 ROWS.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_STRUCTURE_NAME = 'VBAK'
I_GRID_TITLE = 'SALES ORDER INFO'
TABLES
T_OUTTAB = it_vbak
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
MRUTYUN