Skip to Content
0
Former Member
Jun 10, 2009 at 07:47 AM

Is possible use REUSE_ALV_FIELDCATALOG_MERGE with a type

31 Views

Hello

I only speak a little English, I wait that you can understandme.

I have a type:

TYPES: BEGIN OF pedidos_total_type,

kunag LIKE vbpa-kunnr,

kunwe LIKE vbpa-kunnr,

lzone LIKE tzont-vtext,

END OF pedidos_total_type,

t_pedidos_total_type TYPE STANDARD TABLE OF pedidos_total_type.

DATA: i_pedidos_total TYPE t_pedidos_total_type WITH HEADER LINE.

And I want use the REUSE_ALV_FIELDCATALOG_MERGE to get the information about the fields of my type.

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'

EXPORTING

i_program_name = repid

i_internal_tabname = 'I_PEDIDOS_TOTAL'

i_inclname = repid

CHANGING

ct_fieldcat = alv_field[].

But, I don't recive anything.

I can use REUSE_ALV_FIELDCATALOG_MERGE with a TYPE?

Thank you very much.