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 : MESSAGE_TYPE_X

Former Member
0 Likes
422

Dear All,

I have done some modifications in the existing ALV report, added field in the internal table , and added it into field catalog

pos = pos + 1.

ls_fieldcat-col_pos = pos.

ls_fieldcat-fieldname = 'tot_Bslot'.

ls_fieldcat-outputlen = 12.

ls_fieldcat-inttype = 'P'.

ls_fieldcat-NO_OUT = ' '.

ls_fieldcat-seltext_l = 'Net Bill Amount1'.

append ls_fieldcat to rt_fieldcat.

it's giving me dump , if i commented or used the old value in fieldcat-fieldname in the code then it's working fine.

tot_Bslot i have added in the internal table.

Could plz any1 suggest for the same.

Looking forward to your response.

Regards,

Gulrez Alam

3 REPLIES 3
Read only

Former Member
0 Likes
404

Pl. pass the field name in uppercase.Also mention the internal table name in uppercase in field tabname.

os = pos + 1.

ls_fieldcat-col_pos = pos.

ls_fieldcat-fieldname = 'TOT_BSLOT'.

ls_fieldcat-tabname = '<Internal table name in uppercase>'.

ls_fieldcat-outputlen = 12.

ls_fieldcat-inttype = 'P'.

ls_fieldcat-NO_OUT = ' '.

ls_fieldcat-seltext_l = 'Net Bill Amount1'.

append ls_fieldcat to rt_fieldcat.

Regards,

Joy.

Read only

Former Member
0 Likes
404

Hi,

try: ls_fieldcat-fieldname = 'TOT_BSLOT'

not: ls_fieldcat-fieldname = 'tot_Bslot'

Regards, Dieter

Read only

Former Member
0 Likes
404

Hi,

Always use Capital letters for the text using between 2 single quotation's(').

Rgds,

Bujji