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

Posting Information Bubble

Former Member
0 Likes
569

Hello,

I'm looking for the code which allows the posting of information bubble when one puts the mouse on a zone of a Report ALV.

Thnx for all.

Hello,

I'm looking for the code which allows the posting of information bubble when one puts the mouse on a zone of a Report ALV.

Thnx for all.

3 REPLIES 3
Read only

Former Member
0 Likes
526

Hi


data : ls_stru type LVC_S_FCAT.
data : lt_stru type lvc_t_fcat.
ls_stru-TOOLTIP = (set to a meaningful value).
append ls_stru to lt-stru.
call reuse_alv_grid_display.

BCALV_DEMO_TOOLTIP Test Program for Tooltip in ALV

SALV_TEST_TOOLTIPS Test Program for Tooltip in ALV OM

Refer the above programs for some insight.

Regards

Preeti

<b>

Reward if useful</b>

Read only

0 Likes
526

Hi,

Thnx for your answer.

I need to know witch parameter in reuse_alv_grid_display i will use to affect lt_stru.

I found just 3 parametrer :

I_GRID_TITLE type LVC_TITLE,

I_GRID_SETTINGS type LVC_S_GLAY,

IT_HYPERLINK type LVC_T_HYPE

But no one is correct.

Regards

Read only

0 Likes
526

Hi,

The following code anable to post information bubble in the column's name.

But i'm looking for posting the all contents of a cellule of ALV because ALV allow to post just 40 caracter, so i want that when a user see all the contents when he

puts the mouse on the cellule of ALV.

*************************Code anable to post information bubble in the column's name

***********************************************************************************************

LOOP AT I_FIELDCAT.

W_INDEX = SY-TABIX.

CASE I_FIELDCAT-FIELDNAME.

WHEN 'CARRID'.

I_FIELDCAT-SCRTEXT_S = 'CARRID'.

I_FIELDCAT-KEY = ' '.

I_FIELDCAT-COL_POS = '1'.

WHEN 'CONNID'.

I_FIELDCAT-SCRTEXT_S = 'CONNID'.

I_FIELDCAT-OUTPUTLEN = '18'.

I_FIELDCAT-COL_POS = '2'.

I_FIELDCAT-ROW_POS = '777'.

I_FIELDCAT-TOOLTIP = 'Information bubble'.

ENDCASE.

MODIFY I_FIELDCAT INDEX W_INDEX.

ENDLOOP.

READ TABLE I_FIELDCAT INDEX 1 .

IF W_CALL = 1.

PERFORM F_STD_HEADER.

CALL METHOD W_GRID->SET_TABLE_FOR_FIRST_DISPLAY

EXPORTING

IS_VARIANT = W_VARIANT

I_SAVE = W_SAVE

CHANGING

IT_OUTTAB = I_MARA[]

IT_FIELDCATALOG = I_FIELDCAT[]

EXCEPTIONS

INVALID_PARAMETER_COMBINATION = 1

PROGRAM_ERROR = 2

OTHERS = 3.