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: 

Getting dump while executing the report

0 Kudos

Hi,

Please check the report that i have written for getting list of open sales order item .while executing it is getting dump.Here i am attaching the screenshot and my code.Please check and suggest me what is the wrong i have done.

1 ACCEPTED SOLUTION

former_member191761
Active Participant
0 Kudos

Hi Kumar,

Please give Field names in capital letters when filling Field Catalog.

FORM build_fcat .

*Build field catalog

  wa_fieldcat-col_pos = 1.

  wa_fieldcat-fieldname  = 'vbeln'.   --- this should be Capital letters 'VBELN'

  wa_fieldcat-tabname  = 'IT_FINAL'.

  wa_fieldcat-seltext_m  = 'Sales document no'.   " Column description

  APPEND wa_fieldcat TO t_fieldcat.

  CLEAR  wa_fieldcat.

thanks

sri

3 REPLIES 3

former_member191761
Active Participant
0 Kudos

Hi Kumar,

Please give Field names in capital letters when filling Field Catalog.

FORM build_fcat .

*Build field catalog

  wa_fieldcat-col_pos = 1.

  wa_fieldcat-fieldname  = 'vbeln'.   --- this should be Capital letters 'VBELN'

  wa_fieldcat-tabname  = 'IT_FINAL'.

  wa_fieldcat-seltext_m  = 'Sales document no'.   " Column description

  APPEND wa_fieldcat TO t_fieldcat.

  CLEAR  wa_fieldcat.

thanks

sri

kiran_k8
Active Contributor
0 Kudos

Kumar,

Also make it a practice to do ALV consistency check as explained in the below link.

SAP ALV Consistency Check

K.Kiran.

0 Kudos

Hi,

Thanks for advice me.It was correct.

Thanks

kumar