cancel
Showing results for 
Search instead for 
Did you mean: 

error in form interface

Former Member
0 Kudos

Hi,

I had an error in form interface.I declared as,

IN_VOICE TYPE VBRK-VBELN for parameter.

error: "VBRK-VBELN" is not a pre-defined type or a type from a type group.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

VBELN is a data element that is used in tables like VBAP, VBRP etc. So we can access such data elements in the Smartforms independent of the table that they are used in.

So, In form interface. Declare it as IN_INVOICE TYPE VBELN is enough.

Cheers,

Riaz

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi dilip,

Declare in the Import tab in the global definitions:

t_vbrk type y_ty_vbrk.

t_vbrp type y_ty_vbrp.

Create the table types for these two parameters (t_ vbrk and t_vbrp) in se11.

In the driver program declare:

fs_vbrk LIKE LINE OF t_vbrk,

fs_vbrp LIKE LINE OF t_vbrp.

Regards,

Sravanthi

Former Member
0 Kudos

Hi Dilip,

Create the table type for the VBRK and VBRP and for that assign line type as VBRK and VBRP accordingly.

Regards,

Sravanthi

Former Member
0 Kudos

Hi Sravanthi,

I cant get u.I declared only in IMPORT tab, not in TABLES tab.

Former Member
0 Kudos

try to give only vbeln there in import paramenter.

i mean to say in_voice type vbeln. and check both the pass value and optional check box.

Former Member
0 Kudos

Hi,

Please declare as * invoice like vbrk-vbeln.*

Regards

jana