04-13-2010 10:35 AM
I need to add a new field bseg to i_final in internal table. I can't add bseg to zstruct_cfm. My code is as follows.
DATA : BEGIN OF i_final OCCURS 0.
INCLUDE STRUCTURE zstruct_cfm.
DATA : ENDOF i_final.
Regards,
SAURAV LAHIRY
04-13-2010 10:40 AM
Why cant you do like this,
DATA : BEGIN OF i_final OCCURS 0.
INCLUDE STRUCTURE mara.
data :var type string, " Your required field
END OF i_final.
04-13-2010 10:42 AM
Try this...................
TYPES: BEGIN OF TEST,
TEST TYPE char1,
END OF TEST.
DATA BEGIN OF i_final OCCURS 0.
INCLUDE STRUCTURE mara.
INCLUDE TYPE TEST.
DATA END OF i_final.
04-13-2010 10:46 AM
thanks a lot for ur help. it is working fine.
Regards,
SAURAV LAHIRY