on 10-30-2007 11:20 AM
Hi All,
I am getting this message on compile time when trying to create a new Smartform:
"Form Interface Type TYP_TAB_BSET does not exist"
even though I have declared:
TYPES TYP_TAB_BSET LIKE BSET OCCURS 0.
in the types tab in the global definitions menu.
Is there something I am missing?
Many thanks,
Points awarded,
Colm
All,
It turns out there is no way of declaring a table in a smartform that doesn't use a headerline using types.
The only way to do this is to create a table type in SE11 and use this table type as the associated type when declaring the internal table in the smartform.
Thanks anyway,
Colm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
check this ex,
TYPES: BEGIN OF WA_EKKO,
EBELN LIKE EKKO-EBELN,
BUKRS LIKE EKKO-BUKRS,
END OF WA_EKKO.
TYPES: BEGIN OF WA_EKPO,
EBELN LIKE EKPO-EBELN,
EBELP LIKE EKPO-EBELP,
MENGE LIKE EKPO-MENGE,
NETPR LIKE EKPO-NETPR,
END OF WA_EKPO.
TYPES: T_EKKO TYPE STANDARD TABLE OF WA_EKKO,
T_EKPO TYPE STANDARD TABLE OF WA_EKPO.
reward points ifuseful.
Thanks,
usha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Usha,
Many thanks, this let me compile the program but now it short dumps saying:
The function module interface allows you to specify only fields
of a particular type under "IS_BSET". The field "I_BSET" specified here
has a different field type.
I defined my types in the smartform as as this:
TYPES: BEGIN OF XTYP_TAB_BSET.
INCLUDE STRUCTURE BSET.
TYPES: END OF XTYP_TAB_BSET.
TYPES: TYP_TAB_BSET TYPE STANDARD TABLE OF XTYP_TAB_BSET.
and in the print program it is defined as this:
TYPES: typ_tab_bset LIKE bset OCCURS 0.
DATA: I_BSET TYPE TYP_TAB_BSET.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.