on 06-06-2008 8:17 AM
I've developed a SF. In that there is an internal table and fetch data from DB into this itab. I got this error:
"Field IT_REGUH is unknown. it is neither in one of the specified tables nor defined by a 'DATA' statement."
how can i declare the itab?
Under global data
IT_REGUH TYPE TABLE OF T_REGUH.
under types
types: BEGIN OF t_reguh,
lifnr TYPE reguh-lifnr,
rwbtr TYPE reguh-rwbtr,
valut TYPE reguh-valut,
koinh TYPE reguh-koinh,
name1 TYPE reguh-name1,
END OF t_reguh.
under initialization
SELECT rwbtr valut koinh name1 lifnr
INTO CORRESPONDING FIELDS OF TABLE it_reguh from reguh.
Hi,
Give IT_REGUH under Output parameters.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi christy george ,
It wont take if you give the reference type under "types"
Just create in z-structure with same fields like t_reguh. say zreguh
then Under global data
IT_REGUH TYPE TABLE OF ZREGUH.
Thanks
Murugan.B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.