Skip to Content
author's profile photo Former Member
Former Member

Start routine

Hi SDN,

I have created one internal table in start routine with identical structure of communication structure...........I know tht there would be an Internal Table already with name Data_package.......i dont wan to distrub it thats why i created another internal table to do some manupulations

Now my question is how to Fill the data to New internal Table.......from which table should i copy the data to internal table.........im loading data from Flat files.

Points will be rewarded

Thanks

sujan

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2007 at 10:31 AM

    Hi

    Declare the internal table with fields u want to copy.

    TYPES:BEGIN OF t_compcode,

    /bic/g00000526 TYPE /bic/oig00000526,

    currency TYPE /bi0/oicurrency,

    END OF t_compcode.

    Define the internal table

    DATA : i_compcode TYPE STANDARD TABLE OF t_compcode.

    use the select statement below goes its syntax

    select field one field 2

    form ODS or wat ever

    into table i_compcode ( internal table)

    where (comp fields) x= data_package x.

    hope u got it and later on in the update routine u can use the read statement to read the records into the workarea form the internal table.

    Assign points if applicable

    Thanks

    puneet

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2007 at 10:35 AM

    In the start routine you can fill your internal table from DAT_PACKAGE[] itself if you are going to do any manipulation with the in coming data from flat files..

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Dash,

      How to Fetch data from Data_package to new Internal Table....

      Could you give some specific code......I included all Info objects which are there in Data_package into New internal table....so now how to write code..

      Regards

      sujan

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.