cancel
Showing results for 
Search instead for 
Did you mean: 

Error: Tables with Header line No longer Supported In WD-ABAP

Former Member
0 Kudos

Hi folks,

I am working on WD4A functionality.I have to use Abap code to retrive data from database and i am doing it by declaring internal table with header line in one of the Methods.I have to do manipulation on table before i can bind table to result node.I can do manipulation in Header in ABAP,but now it is no longer supported in WD4A.What can i do for this?

Nirad.

Accepted Solutions (0)

Answers (2)

Answers (2)

mohammed_anzys
Contributor
0 Kudos

Could you put some code here.

Message was edited by:

Mohammed Anzy S

Former Member
0 Kudos

Hi NIrad.

Just use internal table without header line and use working area to manipulate and update data by e.g. looping the internal table.

Cheers,

Sascha

Former Member
0 Kudos

hi sasha,

thnx for reply.Can you provide any example?

Nirad

Former Member
0 Kudos

hi nirad.

The example is not of much sense

but explains the funtionality. Hope this is what you are searching for.


data:
         lt_flights    type table of sflight.

data:
         ls_flight     type sflight.

select * from sflight
 into corresponding fields of table lt_flights.

loop at lt_flights into ls_flight.
  ls_flight-price = 1000.
  modify lt_flights from ls_flight.
endloop.

Cheers,

Sascha