cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Global Field of smartforms

Former Member
0 Kudos

Hi,

I'm new to ABAP.i got struck in creation of a smartform where it shows the error in Global definition

"IM_FS_VBRK" is a table without a header line and therefore has no component called "WAERK"

here 'IM_FS_VBRK' is a work area for table zvbrk that i created.

what might be the reason could any one help it out.

Regards,

syd.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ahmed,

You are using your internal table as work area. That why you are getting this error. Please check your code, the structure that you pass from print program should be same as that you define in global definition.

I hope this would resolve your issue.

Dont forget to appreciate if found helpful..

Regards,

Vinit

Answers (2)

Answers (2)

Former Member
0 Kudos

It sounds like you are trying to use this global field in a routine. Did you declare the field in the inputs? My guess is that you just need to declare the field in the inputs at the top left and it will recognize it.

gastn_jareo
Active Participant
0 Kudos

How do you declare IM_FS_VBRK? If ZVBRK is an internal table I think you probably use "LIKE zvbrk" and you should use "TYPE LINE OF zvbrk" instead.

Regards!