‎2008 Dec 16 6:24 AM
Hi all,
TYPES: BEGIN OF ty_zvag_s_pmt02,
linc6 TYPE linc6.
TYPES: include structure zvag_s_pmt02.
TYPES: END OF ty_zvag_s_pmt02.
i m getting error , expected after include.. but when i do tat still i get the serror..
thanks
‎2008 Dec 16 6:27 AM
HI Neha,
Change your declaration as below.
TYPES: BEGIN OF ty_zvag_s_pmt02,
linc6 TYPE linc6.
include STRUCTURE zvag_s_pmt02.
TYPES: END OF ty_zvag_s_pmt02.
This works!!!!!
Best Regards,
Ram.
‎2008 Dec 16 6:27 AM
HI Neha,
Change your declaration as below.
TYPES: BEGIN OF ty_zvag_s_pmt02,
linc6 TYPE linc6.
include STRUCTURE zvag_s_pmt02.
TYPES: END OF ty_zvag_s_pmt02.
This works!!!!!
Best Regards,
Ram.
‎2008 Dec 16 6:27 AM
‎2008 Dec 16 6:30 AM
TYPES: BEGIN OF ty_zvag_s_pmt02,
TYPES: include structure zvag_s_pmt02.
linc6 TYPE linc6.
TYPES: END OF ty_zvag_s_pmt02.
keep the include statement as first statement in types and now try.
‎2008 Dec 16 6:36 AM
Hi Neha
Please note every ABAP statement start with a KEY WORD and include structure is also a key word
so you can combine types and include structure in a single statement.
try this out
TYPES: BEGIN OF ty_zvag_s_pmt02,
linc6 TYPE linc6.
include structure zvag_s_pmt02.
TYPES: END OF ty_zvag_s_pmt02.
Best Regards
Ramchander Rao.K
Edited by: ramchander krishnamraju on Dec 16, 2008 7:37 AM
Edited by: ramchander krishnamraju on Dec 16, 2008 7:37 AM
‎2008 Dec 16 6:58 AM
Hi Neha,
Try this.
DATA: BEGIN OF ty_zvag_s_pmt02,
linc6 TYPE linc6.
include structure zvag_s_pmt02.
TYPES: END OF ty_zvag_s_pmt02.
Rgds,
Santosh Kumar M.
‎2008 Dec 16 7:09 AM
‎2008 Dec 16 7:30 AM
Hi Neha,
TYPES: BEGIN OF ty_zvag_s_pmt02.
INCLUDE STRUCTURE zvag_s_pmt02.
TYPES: linc6 TYPE linc6.
TYPES: END OF ty_zvag_s_pmt02.
try this. it will work
i can say this will work 100%
Regards,
Arjun.
Edited by: mallikarjuna goud on Dec 16, 2008 8:31 AM