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 in ALV while downloading

Former Member
0 Likes
1,457

Hello Gurus,

In my ZPROGRAM when I am trying to download ALV to local system it is going for short dump with runtime error GETWA_NOT_ASSIGNED.

I am using FM 'REUSE_ALV_FIELDCATALOG_MERGE' for buliding fieldcatalogue.

and FM 'REUSE_ALV_GRID_DISPLAY' for displaying alv.

Please suggest the solution.

Regards,

Vijay

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,434

it is mainly because of layout or Fieldcatalog. Are you passing any layout information..??

how are you creating you Fieldcatalog, is it from Structure or Internal table.

Hello Gurus,

In my ZPROGRAM when I am trying to download ALV to local system it is going for short dump with runtime error GETWA_NOT_ASSIGNED.

I am using FM 'REUSE_ALV_FIELDCATALOG_MERGE' for buliding fieldcatalogue.

and FM 'REUSE_ALV_GRID_DISPLAY' for displaying alv.

Please suggest the solution.

Regards,

Vijay

10 REPLIES 10
Read only

Former Member
0 Likes
1,435

it is mainly because of layout or Fieldcatalog. Are you passing any layout information..??

how are you creating you Fieldcatalog, is it from Structure or Internal table.

Read only

0 Likes
1,434

Hello vijay,

I am using ztable as structure to fm alv_fieldcatalogue_merge

which has some currency fields

Read only

0 Likes
1,434

what about layout..??

if you specify anything wrong in layout also you will get the error.

can you show the ALV Function call..??

Read only

0 Likes
1,434

Please Find the below call

CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'

EXPORTING

I_PROGRAM_NAME = SY-REPID

  • I_INTERNAL_TABNAME = 'G_IT_ZORDERCOST'

I_STRUCTURE_NAME = 'ZORDERCOST'

I_CLIENT_NEVER_DISPLAY = 'X'

  • I_INCLNAME = I_INCLNAME

  • I_BYPASSING_BUFFER = I_BYPASSING_BUFFER

  • I_BUFFER_ACTIVE = I_BUFFER_ACTIVE

CHANGING

CT_FIELDCAT = FIELDCATALOG[]

EXCEPTIONS

INCONSISTENT_INTERFACE = 1

PROGRAM_ERROR = 2.

Read only

0 Likes
1,434

This is ok, I am asking for ALV Display function Call..

Read only

0 Likes
1,434

Hi please find the below alv call.

data:G_WA_ZORDERCOST TYPE ZORDERCOST,

G_IT_ZORDERCOST TYPE STANDARD TABLE OF ZORDERCOST,.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_CALLBACK_PROGRAM = GD_REPID

I_CALLBACK_TOP_OF_PAGE = 'TOP-OF-PAGES' "see FORM

I_STRUCTURE_NAME = 'G_WA_ZORDERCOST'

I_CALLBACK_USER_COMMAND = 'USER_COMMAND'

  • I_GRID_TITLE = OUTTEXT

IS_LAYOUT = GD_LAYOUT

IT_FIELDCAT = FIELDCATALOG[]

I_DEFAULT = 'X'

IS_PRINT = GD_PRNTPARAMS

I_SAVE = 'X'

  • it_special_groups = gd_tabgroup

IT_EVENTS = IT_EVENTS1

  • is_variant = z_template

TABLES

T_OUTTAB = G_IT_ZORDERCOST[]

EXCEPTIONS

PROGRAM_ERROR = 1

OTHERS = 2.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Read only

0 Likes
1,434

> IS_LAYOUT = GD_LAYOUT

what are you passing in GD_LAYOUT, check what options you are filling in layout. if you send some wrong values you will get the same error.

Edited by: Vijay Babu Dudla on Apr 25, 2009 3:05 AM

Read only

0 Likes
1,434

hi vijay,

Thanks for your time

i am passing following data to layout

GD_LAYOUT-NO_INPUT = 'X'.

GD_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.

GD_LAYOUT-ZEBRA = 'X'.

GD_LAYOUT-COLTAB_FIELDNAME = 'TABCOLOR'.

GD_LAYOUT-NO_HOTSPOT = 'X'.

Read only

0 Likes
1,434
GD_LAYOUT-COLTAB_FIELDNAME = 'TABCOLOR'.

Ok, as per the above code, if there is no field in internal table called TABCOLOR then you will get the similar dump. Check you have the fieldname called TABCOLOR in your internal table or not.

Read only

0 Likes
1,434

Thanks

Vijay It solved the problem.

Thanks again