on 06-12-2007 9:11 PM
Hi Experts,
i am now working in smartform.i am getting following error
@8O@ Global Definitions The internal table "T_ZPS_ORDEM_SERV" has no header line - explicit specification of an output area with "INTO wa" or "ASSIGNING
but i already define in GLOBAL DEFINITIONS
GLOBAL DEFINITIONS --> GLOBAL DATA
T_ZPS_ORDEM_SERV TYPE TABLE_ZPS_SERV (FOR INTERNAL TABLE)
WA_ZPS_ORDEM_SERV TYPE ZPS_ORDEM_SERV (FOR WORK AREA)
I_ORDEM TYPE ZORDEM
GLOBAL DEFINITIONS --> TYPES
TYPES: TABLE_ZPS_SERV TYPE STANDARD TABLE OF ZPS_ORDEM_SERV.
GLOBAL DEFINITIONS --> INITIALIZATION
INPUT PARAMETERS:
T_ZPS_ORDEM_SERV
WA_ZPS_ORDEM_SERV
I_ORDEM
CODING:
READ TABLE T_ZPS_ORDEM_SERV INTO WA_ZPS_ORDEM_SERV WITH KEY ORDEM = I_ORDEM.
SELECT ORDEM DATA_ABERTURA DATA_ABERTURA_P REDE OPERACAO FAZENDA DATA_FENCHA DATA_FENCHA_P FROM ZPS_ORDEM_SERV
INTO CORRESPONDING FIELDS OF TABLE T_ZPS_ORDEM_SERV
WHERE ORDEM = I_ORDEM.
READ TABLE T_ZPS_ORDEM_SERV WITH KEY ORDEM = I_ORDEM.
SELECT ZPS_TALHOESORDEM ZPS_TALHOESTALHAO ZPS_TALHOESAREA ZPS_INSUMOS_OSINSUMO_TXT ZPS_INSUMOS_OSDOSAGEM ZPS_INSUMOS_OSRESE
INNER JOIN ZPS_INSUMOS_OS ON ZPS_INSUMOS_OSORDEM = ZPS_TALHOESORDEM
INTO CORRESPONDING FIELDS OF TABLE T_ZPS_TALHOES
WHERE ZPS_TALHOESORDEM = I_ORDEM AND ZPS_INSUMOS_OSTALHAO = ZPS_TALHOES~TALHAO.
SELECT ORDEM EQUI_TXT TIPO DATA_INICIO HORA_INICIO DATA_FIM HORA_FIM DURACAO FROM ZPS_EQUIP_ORDEM
INTO CORRESPONDING FIELDS OF TABLE T_ZPS_EQUIP_ORDEM
WHERE ORDEM = I_ORDEM.
when i activate i am getting following errors:
Global Definitions The internal table "T_ZPS_ORDEM_SERV" has no header line - explicit specification of an output area with "INTO wa" or "ASSIGNING
anyone help me to fix this problem.thanks for advance and i will give good points.
thanks and regards,
bbm.
The problem is with the second READ of the internal table T_ZPS_ORDEM_SERV where the <b>INTO WA_ZPS_ORDEM_SERV</b> is missing.
You probably don't even need that second READ since it was already done two commands earlier.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
in Table declarations, in data tab check whether you have mentioned itab and its work in the area
itab into wa
if not use the wa then it will solve ur problem
Regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.