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

Dump error

Former Member
0 Likes
571

Hi All,

I am using function module , fieldcatalog merge in my program.

its going to dump at some point inside the function module .

Trigger Location of Runtime Error

Program CL_GUI_ALV_GRID===============CP

Include CL_GUI_ALV_GRID===============CM01G

Row 14

Module type (METHOD)

Module Name SET_SORT_CRITERIA

Here its going to dump,

and showing 'No field catalog available.

can anyone pls tell me how to rectify this.

thanks in advance.

Regards,

Bindu.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
510

hi

could u plz send the Fm code

how u populated it........

3 REPLIES 3
Read only

Former Member
0 Likes
511

hi

could u plz send the Fm code

how u populated it........

Read only

0 Likes
510

Hi prema,

gv_table = 'T_SUMMARY'(002).

gv_repid = sy-repid.

call function 'REUSE_ALV_FIELDCATALOG_MERGE'

EXPORTING

i_program_name = gv_repid

i_internal_tabname = gv_table

i_inclname = gv_repid

CHANGING

ct_fieldcat = t_fldcat

EXCEPTIONS

inconsistent_interface = 1

program_error = 2

others = 3.

Regards,

Bindu

Read only

0 Likes
510

hi

population is correctly only

did u declare the t_fldcat as an internal table or as a structure....

if u declare it as internaltable then pass only the structure of it...

ie

t_fldcat type slis_t_fieldcat_alv occurs 0 with header line.

then pass t_fldcat[] to FM

just chk this....u again run the same program ....

can u plz paste the code....