on 04-29-2008 11:03 AM
Hi,
Can you tell me where and how to declare this internal table in a SmartForm?
Data : t_mhnd like mhnd occurs 0 with header line.
Thanks!
hi,
You cannot declare an internal table directly in smartforms. Follow the below procedure.
go to the Global definition in the smartforms.
EX:
int_kna1 like kna1
wa_kna1 type kna1.
body of the internal table will be taken care by int_kna1 and work area will be taken care by wa_kna1.
thanks & regards
Kishore Kumar Maram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tarik,
In Global Settings -> Form Attributes
Click Types button in that
you can decleare internal table..
TYPES: BEGIN OF TYPE_INV_ITM ,
VBELN LIKE VBRP-VBELN, "Billing doc No
POSNR LIKE VBRP-POSNR, "Billing Line item No
KNUMV LIKE VBRK-KNUMV,
MATNR LIKE VBRP-MATNR, "Material No
END OF TYPE_INV_ITM.
TYPES: IT_INV_ITM type standard table of type_inv_itm.
if help regards point .
with regards
srinivas.k
Hello,
We do not have the internal table in SMARTFORMS, only table structures are supported,
please do follow the below process.
In global settings, click on Global data, under the types tab
declare the same
TYPES: BEGIN OF ty_htext,
htext TYPE tdline, "Text of Header
END OF ty_htext.
and now in the Global data tab
it_htext will be the variable name
type table of is the type assignment
ty_htext will be the assiociated Type.
This will work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
in global definition give like
i_mhnd like mhnd
wa_mhnd type mhnd
this way we can use this as internal table
thanks & regards,
srinivas
reward points if use full
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.