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 doubt

Former Member
0 Likes
931

1)wat is the use diff b/w reuse_alv_comments_write. &

reuse_alv_events_get.

2) in fieldcatlog method how to pass the events

plz reply me aspl

1)wat is the use diff b/w reuse_alv_comments_write. &

reuse_alv_events_get.

2) in fieldcatlog method how to pass the events

plz reply me aspl

7 REPLIES 7
Read only

Former Member
0 Likes
899

Hi,

A. <b>REUSE_ALV_EVENTS_GET</b> : Returns table of possible events for a list type

Parameters :

I. Import :

Et_Events : The event table is returned with all possible CALLBACK events

for the specified list type (column 'NAME'). For events to be processed by Callback, their 'FORM' field must be filled. If the field is initialized, the event is ignored. The entry can be read from the event table, the field 'FORM' filled and the entry modified using constants from the type pool SALV.

II. Export :

I_List_type :

0 = simple list REUSE_ALV_LIST_DISPLAY

1 = hierarchcal-sequential list REUSE_ALV_HIERSEQ_LIST_DISPLAY

2 = simple block list REUSE_ALV_BLOCK_LIST_APPEND

3 = hierarchical-sequential block list

REUSE_ALV_BLOCK_LIST_HS_APPEND

B. <b>REUSE_ALV_COMMENTARY_WRITE</b> : This is used in the Top-of-page event to print the headings and other comments for the list.

Parameters :

I. it_list_commentary : internal table with the headings of the type slis_t_listheader.

This internal table has three fields :

Typ : ‘H’ – header, ‘S’ – selection , ‘A’ - action

Key : only when typ is ‘S’.

Info : the text to be printed

C. <b>REUSE_ALV_FIELDCATALOG_MERGE</b> : This function module is used to populate a fieldcatalog which is essential to display the data in ALV. If the output data is from a single dictionary table and all the columns are selected, then we need not exclusively create the field catalog. Its enough to mention the table name as a parameter(I_structure name) in the REUSE_ALV_LIST_DISPLAY. But in other cases we need to create it.

The Important Parameters are :

I. Export :

i. I_program_name : report id

ii. I_internal_tabname : the internal output table

iii. I_inclname : include or the report name where all the dynamic forms are handled.

II Changing

ct_fieldcat : an internal table with the type SLIS_T_FIELDCAT_ALV which is

declared in the type pool SLIS.

regards,

sowjanya

Read only

0 Likes
899

Thanks sowjanya,

1) What is use of blocked alv & hierarchical alv.

2) What are the parameters in bloced and hierarchical.

3) When we will use these two alv's & functionality .

plz reply me back aspl

Read only

0 Likes
899

Hi Vishnu,

Both Blocked ALV and Hierarchical ALV can display header and item details.

Blocked list: Is a combination of two reports. You can have combination of one general list and one hierarchical list in a blocked list.

Ex: you can display Header details in a list display &

you can display item and line item details using hierarchical list display.

Hierarchical list: It can display header and item details.

Ex: Header and item details.

If the above post is useful and your issues has been solved, please close the post.

Thanks,

GSK

Read only

Former Member
0 Likes
899

Hi vishnu,

send me your mail id, i will send you good document for the same

Regards,

Sowjanya

Read only

0 Likes
899
Read only

0 Likes
899

Hi,

Please send to me also.

[email protected]

Read only

Former Member
0 Likes
899

Hi,

i have sent both of you alv documnet

Please go thru it

Regards,

Sowjanya