2015 May 20 9:49 AM
Hi exports,
it is going dump please help me an find the attached code.
run time Errors GETWA_NOT_ASSIGNED
BAP Program SAPLSLVC
2015 May 20 9:58 AM
Hi,
Change the following in your code
ts_fieldcat-col_pos = 0 .
ts_fieldcat-fieldname = 'F_LIFNR'. "Change the field name LIFNR to F_LIFNR
ts_fieldcat-seltext_l = 'Vendor'.
* ts_fieldcat-outputlen = 10.
APPEND ts_fieldcat TO ta_fieldcat.
CLEAR : ts_fieldcat.
Like this change the all fields names in fieldcatlog mentioned in ty_final.
And also check the ts_fieldcat-seltext_l in fieldcatlog there is duplicate column names.
Regards,
Chandu
2015 May 20 9:57 AM
Hello Praveen,
Please attach a screeshot of the dump showing the place in ABAP code.
I t may be linked to your field catalog definition (field name error ? or other error...), have you deactivated most of fields and added them one by one testing between each change.
Regards
2015 May 20 9:58 AM
Hi,
Change the following in your code
ts_fieldcat-col_pos = 0 .
ts_fieldcat-fieldname = 'F_LIFNR'. "Change the field name LIFNR to F_LIFNR
ts_fieldcat-seltext_l = 'Vendor'.
* ts_fieldcat-outputlen = 10.
APPEND ts_fieldcat TO ta_fieldcat.
CLEAR : ts_fieldcat.
Like this change the all fields names in fieldcatlog mentioned in ty_final.
And also check the ts_fieldcat-seltext_l in fieldcatlog there is duplicate column names.
Regards,
Chandu
2015 May 20 10:02 AM
Hi Praveen,
After read statement check if field symbol is assigned instead of sy-subrc.In the code if ta_lfm1 table does not contain any data then <fs_lfm1> is not assigned and you are checking read ta_t024e table with the value which is not assigned. End your f statement after completion of usage of that variable.
Hope this solves your problem.
Regards
Pallavi
2015 May 20 10:23 AM
hi exports,
Thank you for your quick response it is working when i change below
ts_fieldcat-fieldname = 'F_LIFNR'. "Change the field name LIFNR to F_LIFNR
Regards,
praveen.
2015 May 20 12:02 PM
Hi Praveen,
the field catalog in alv is missing the field tabname field.
Please added to field catalog with this statement : ts_fieldcat-tabname = 'ta_final'.
ex:
ts_fieldcat-col_pos = .
ts_fieldcat-fieldname = ' '.
ts_fieldcat-seltext_l = ' '.
ts_fieldcat-tabname = 'ta_final'.
APPEND ts_fieldcat TO ta_fieldcat.
CLEAR : ts_fieldcat.
Thanks & Regards,
K.Manoj.