Skip to Content
0
Former Member
May 24, 2011 at 11:04 AM

getting error message GETWA_NOT_ASSIGNED"

37 Views

Hi,

I created a report for the uploading of the excel data in the system and displaying in the alv grid display.

I am getting an error message "GETWA_NOT_ASSIGNED" .

Can anyone tell whats the problem in the feildcat and how to resolve it.

I think the problem is in BUILD_CATALOG.

{ FORM BUILD_CATALOG.

WA_FIELDCAT-OUTPUTLEN = '15' .

WA_FIELDCAT-FIELDNAME = 'PROCESSING TYPE'.

wa_fieldcat-fieldname = 'proctype'.

wa_fieldcat-tabname = 'ZNEWFINE_045'.

APPEND WA_FIELDCAT TO IT_FIELDCAT .

CLEAR WA_FIELDCAT .

WA_FIELDCAT-OUTPUTLEN = '15' .

WA_FIELDCAT-FIELDNAME = 'PROCESSING TYPE'.

wa_fieldcat-fieldname = 'BLART'.

wa_fieldcat-tabname = 'ZNEWFINE_045'.

APPEND WA_FIELDCAT TO IT_FIELDCAT .

CLEAR WA_FIELDCAT.

wa_fieldcat-no_out = ''.

ENDFORM.

FORM BUILD_LAYOUT.

FS_LAYOUT-WINDOW_TITLEBAR = 'EXCEL JOURNAL UPLOAD'.

FS_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.

ENDFORM.

Edited by: neel_arya15 on May 24, 2011 1:04 PM