‎2007 Apr 18 12:19 PM
gt_messages like yfi_message_xml occurs 0 with header line.
itab03 type table of yfi_message_xml,
yfi_message_xml is nothing but a structure which has the components like msgid,msgno,msgtyp etc.
i should not use gt_messages.
i want to append data to this itab03.
if i use itab03-msgid or itab03-msgtyp and append data to it, it givs an error mesg. that itab03 does not have the components of yfi_message_xml sine itab03 is a table without header line.
without changing anything to itab03 is there anyother way to append data to itab03 .
can i append data to this itab03 workarea.
Please help.
‎2007 Apr 18 12:22 PM
Hi Joesph,
You can make use of the Work Area of gt_messages instead.
like this:
<b>gt_messages-msgid = < value>.
gt_messages-msgtyp = <value ..
append gt_messages to itab03.
clear gt_messages.</b>
Regards,
Ravi
‎2007 Apr 18 12:25 PM
Two ways
1) create a work area
Data w_itab03 like line of itab03
2) use work area of gt_messages
santhosh
‎2007 Apr 18 12:23 PM
Hi
Try like this
gt_messages like yfi_message_xml occurs 0 with header line.
itab03 <b>type or like</b> yfi_message_xml,
May be u will get the solution.
Regards
Haritha.