Skip to Content
avatar image
Former Member

itab

data : begin of i_tab occurs 0.

include structure ztable.

data: end of i_tab.

SELECT * FROM zbu_mstr INTO TABLE i_tab.

loop at i_tab.

when i look at the data in DEBUG

i seel that the data does not enter into the same column why?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    avatar image
    Former Member
    May 22, 2006 at 08:05 AM

    Hai Rani

    <b>data : begin of i_tab occurs 0.

    include structure zbu_mstr.

    data: end of i_tab.

    SELECT * FROM zbu_mstr INTO TABLE i_tab.</b>

    Thanks & regards

    Sreeni

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 22, 2006 at 08:00 AM

    Hi

    Try this

    SELECT * FROM zbu_mstr INTO <b>corresponding fields of</b> TABLE i_tab.

    hope it will help

    Anirban

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 22, 2006 at 08:00 AM

    data : begin of i_tab occurs 0.

    include structure <b>zbu_mstr</b> .

    data: end of i_tab.

    SELECT * FROM zbu_mstr INTO TABLE i_tab.

    loop at i_tab.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 22, 2006 at 08:01 AM

    Hi

    Try to use

    SELECT * FROM zbu_mstr <b>INTO corresponding fields of</b> TABLE i_tab.

    Regards,

    Pragya

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 22, 2006 at 08:02 AM

    r the structures of the 2 tables same.

    the one in the INCLUDE structure <b>ztable</b> and the one which is used in select statement

    SELECT * FROM <b>zbu_mstr</b> INTO TABLE i_tab

    if they are not same pls use like this

    SELECT * FROM <b>zbu_mstr</b> <b>INTO CORRESPONDING FIELDS</b> OF TABLE i_tab

    Add comment
    10|10000 characters needed characters exceeded

  • May 22, 2006 at 08:04 AM

    Hi Rani,

    SELECT * FROM zbu_mstr INTO <b>corresponding fields of</b> TABLE i_tab.

    Regards

    vijay

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 22, 2006 at 09:29 AM

    Hi Rani,

    You use the following query.

    SELECT * FROM zbu_mstr

    INTO corresponding fields of TABLE i_tab.

    It will helps you.

    Dharmesh

    Add comment
    10|10000 characters needed characters exceeded