Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8734

Re: Reading TXT file to SAP table.

$
0
0

Hello Bartlomiej,


Step 1 is fine, it should work well.


2. Create a structure and a table from ty_output_pos and Insert the data to your table.


     DATA: ls_item TYPE ty_output_pos,

                 lt_item TYPE TABLE OF ty_output_pos.


     ls_item-mag = vl_field_1.

     ls_item-aso = vl_field_2.

     ls_item-kat = vl_field_3.

     ls_item-source = vl_field_4.

     ls_item-name = vl_field_5.

    

INSERT ls_item INTO TABLE lt_item.


3. that's correct.

 

 

Regards,

Genaro.


Viewing all articles
Browse latest Browse all 8734

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>