cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Invoice smartform

Former Member
0 Kudos

Hi,

I had the following error while creating smartform for invoice.

Form interface: The type Y_TY_VBRK is unknown.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You have created the type 'Y_TY_VBRK ' in smartform Global definitions TYPES.

But it should be existed in the dictionary. Please define table type

'Y_TY_VBRK' type in SE11.

Regards,

Raju.

Answers (2)

Answers (2)

Former Member
0 Kudos

hi,

You need to define your Global Data within your SMARTFORM to be used, otherwise the type will be unknown, since SMARTFORMS are generated FMs they need their own data declarations.

regards,

Bhupal.

Former Member
0 Kudos

Hi,

thanks for the solns.

But i come across another type of errors.

LOOP1: "IM_T_VBRK" is neither specified under "TABLES" nor defined as an internal table.

ITEM : "IM_T_VBRP" is neither specified under "TABLES" nor defined as an internal table.

Former Member
0 Kudos

Hi,

Solved.

Former Member
0 Kudos

hii

It means that there is no table-field or data element with that name in data dictionary..

In form interface, we generally declare tables for which we need to give the values from the print program.

When u call the FM in ur print program,u give the values which u already retrieve from database and pass it to the FM..

Regards,

Vishwa.