Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

getting data into itab

Former Member
0 Likes
710

Hi experts,

Pls ignore the earlier question.

There is a table ECLOG_DATA with field XML_LINE.

I wanted to get XML_LINE data into an ITAB using

SMUM_XML_PARSE FM.

Is it suitable FM or is there any FM exiting to get this

XML_LINE data??

Can any one tell me how can i do this.

reward guaranteed

Thanks

kaki

Message was edited by:

Kaki R

null

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
685

Hi,

DATA: ITAB LIKE ECLOG_DATA OCCURS 0 WITH HEADER LINE.

SELECT * FROM ECLOG_DATA INTO TABLE ITAB

Is this what you want??

Thanks,

Naren

5 REPLIES 5
Read only

Former Member
0 Likes
686

Hi,

DATA: ITAB LIKE ECLOG_DATA OCCURS 0 WITH HEADER LINE.

SELECT * FROM ECLOG_DATA INTO TABLE ITAB

Is this what you want??

Thanks,

Naren

Read only

Former Member
0 Likes
685

If you want to get all the data from the table into the internal table.

Data T_ECLOG_DATA like ECLOG_DATA occurs 0 with header line.

Start-of-selection.

Select * from ECLOG_DATA

into table T_ECLOG_DATA..

Shreekant

Read only

Former Member
0 Likes
685

hi,

do like this...

DATA ITAB LIKE ECLOG_DATA OCCURS O WITH HEADER LINE.

<b> SELECT XML_LINE FROM ECLOG_DATA INTO CORRESPONDING FIELDS OF TABLE ITAB.</b>

reward point if this helps u

ravi

Read only

0 Likes
685

Thanks ravi.

Full points alloted.

Read only

0 Likes
685

thks a lot kaki