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

adding records in range abap 740

0 Likes
1,196

Hi, everybody I'm trying to create range adding records from table with news 740;

data tb_day_scd type TABLE OF CASDAYATTR WITH HEADER LINE .

tb_day_scd contains = '20180101' ...'20180102'......'20180103'

data(rg_auart) = VALUE TRGR_DATE( FOR I = 0 UNTIL i = lines( tb_day_scd )
( sign = 'I'
option = 'EQ'
low = tb_day_scd-date[ i ] ) ).

Givin'back error message ""TB_DAY_SCD-DATE" is not an internal table.

Thanks in advance !

1 ACCEPTED SOLUTION
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
0 Likes
1,025

WITH HEADER LINE ???

First, drop that and then correct the remaining errors ...

Hi, everybody I'm trying to create range adding records from table with news 740;

data tb_day_scd type TABLE OF CASDAYATTR WITH HEADER LINE .

tb_day_scd contains = '20180101' ...'20180102'......'20180103'

data(rg_auart) = VALUE TRGR_DATE( FOR I = 0 UNTIL i = lines( tb_day_scd )
( sign = 'I'
option = 'EQ'
low = tb_day_scd-date[ i ] ) ).

Givin'back error message ""TB_DAY_SCD-DATE" is not an internal table.

Thanks in advance !

2 REPLIES 2
Read only

retired_member
Product and Topic Expert
Product and Topic Expert
0 Likes
1,026

WITH HEADER LINE ???

First, drop that and then correct the remaining errors ...

Read only

0 Likes
1,025

Hi Korst , I do

then naturally FOR I = 1 UNTIL i = lines( tb_day_scd )

It's works , thanks