Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV's

Former Member
0 Likes
1,067

Pls urgetn helpme ,

i am passing one internal table to REUSE_ALV_GRID_DISPLAY to dispaly list having 30 col's.the data is there in internal table but in the output list last field (30th col) is not diaplying .i debugged at the FM in the internal table data is there for 30 th col but i am not finding in the list . is there any solution for this pls help me

10 REPLIES 10
Read only

Former Member
0 Likes
1,048

Hi,

Pls check whether your fieldcatalog contains all the 30 fields.

If it's not there in fieldcatalog , then it is not going to be displayed .

Regards,

Raghavendra

Read only

0 Likes
1,048

Field Catalog is also having 30 fields

Read only

0 Likes
1,048

Hi ,

Check whether the field no_disp = 'X' is there in the fieldcatalog display

or check the layout buttons ie change layout (cntrl + F8) button on the alv function toolbar, see there some columns might be hidden.

regards,

Santosh Thorat

Read only

Former Member
0 Likes
1,048

Hi ,

Check ur fieldcatalog table , some columns might be hidden positon or check the layout variant there some columns might have hidden.

regards,

Santosh Thorat

Read only

Former Member
0 Likes
1,048

chk field cat and itab .

Read only

Former Member
0 Likes
1,048

hi,

can u plz send me ur code.

thanks,

maheedhar

Read only

Former Member
0 Likes
1,048

hi pandu

u have 30 fields so pls use fm

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'

EXPORTING

I_PROGRAM_NAME = SY-REPID

I_INTERNAL_TABNAME = 'I_OUTPUT' "capital letters!

I_INCLNAME = SY-REPID

  • I_BYPASSING_BUFFER = 'X'

CHANGING

CT_FIELDCAT = I_FIELD_CAT

EXCEPTIONS

INCONSISTENT_INTERFACE = 1

PROGRAM_ERROR = 2

OTHERS = 3.

IF SY-SUBRC = 0.

ENDIF.

Read only

0 Likes
1,048

y we have to use 'REUSE_ALV_FIELDCATALOG_MERGE'

Read only

0 Likes
1,048

HI,

this function module is for creating the fieldcatalog.

see this example.

TABLES:MARA.

DATA:BEGIN OF ITAB OCCURS 0,

MATNR LIKE MARA-MATNR,

ERSDA LIKE MARA-ERSDA,

ERNAM LIKE MARA-ERNAM,

MBRSH LIKE MARA-MBRSH,

END OF ITAB.

TYPE-POOLS:SLIS.

<b>DATA:FIELDCAT1 TYPE SLIS_T_FIELDCAT_ALV.</b>

<b>CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'

EXPORTING

I_PROGRAM_NAME = SY-REPID

I_INTERNAL_TABNAME = 'ITAB'

I_INCLNAME = SY-REPID

CHANGING

CT_FIELDCAT = FIELDCAT1.</b>

SELECT * FROM MARA INTO CORRESPONDING FIELDS OF TABLE ITAB

UP TO 20 ROWS.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_CALLBACK_PROGRAM = SY-REPID

IT_FIELDCAT = <b>FIELDCAT1</b>

TABLES

T_OUTTAB = ITAB.

rgds,

bharat.

Read only

Former Member
0 Likes
1,048

Hi

it will happens some time

please check the fieldcatalog 1st

2nd check wether that 30th field name is in CAPITOL letters or not

i got same problem once at that time my field name is in small letters

in debugging it is showing that that last field have data but its not displaying tehre

finally i changed that field name into CAPITOL letters then the output came corectly

<b>Reward if usefull</b>