Application Development 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: 

GETWA_NOT_ASSIGNED in ALV Grid

Former Member
0 Kudos

Hi all,

I am getting runtime error (GETWA_NOT_ASSIGNED)

while printing data from print option in ALV Grid.

Can anyone help.

Thanks in advance.

Pranav

13 REPLIES 13

former_member194669
Active Contributor
0 Kudos

Please check your field catalog fields are all available in output internal table. and also field names are all in CAPS in field catalog.

0 Kudos

Yes. Everything in field catalog is correct. I have written using uppercase.

Pranav

0 Kudos

Then,

If you are using sy-repid , please save in variable and pass that variable to ALV


    call function 'REUSE_ALV_GRID_DISPLAY'
      exporting
        it_fieldcat                 = i_fieldcat[]
        is_layout                   = pt_grplayout2
        i_callback_program          = 'ZCCU0007' " <<=== hardcode the report name
        i_callback_html_top_of_page = p_header
        i_callback_user_command     = v_user_command1
        it_events                   = i_events[]
      tables
        t_outtab                    = i_zcchdr.

0 Kudos

Hi a®s,

I tried that. But still I am getting runtime error.

Pranav

0 Kudos

plz send us the code so that we can look into it..

Former Member
0 Kudos

Hi pranav can you share the solution for this as i am facing the same issue

former_member453448
Discoverer
0 Kudos

Has anybody a solution for this issue?

Thanks in advance you share it.

Dimitar

0 Kudos

Hi,

share the code so we look into it.

regards

Sadiq

Former Member
0 Kudos

Hi All,

It must be issue with the Field Catalog.

You can also check if the Fields Names in Field catlalog are all in Caps,Because it had created a problem for me since my Field name were in small letters.

Thanks,

Vikas Mulay.

former_member946717
Contributor
0 Kudos

Hi Pranav,

Please send us the code so that we can analyze.

Also, it looks like its to do with work area. Work Area does not have a value (GETWA not assigned) so maybe there is  a problem in the field catalog or if you have used field-symbol anywhere, please check that too.

Azeemquadri
Contributor
0 Kudos

Please check the spelling in your field names that you are using in the field catalog.

They should match the spellings for field names in your output structure.

Example - 'ORDERNO' in fieldcatalog and orderno in output structure like w_output etc....

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

Try not to pass layout at first display .

Regards