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: 

Internal table with out header line

Former Member
0 Kudos
252

Hi all,

Morning can clarify me about internal table.

if we dont have header for internal table .what all operation can we do.

thanks,

satish

4 REPLIES 4

Former Member
0 Kudos
212

Hi,

You will find thousands of posts regarding you query in this forum. Please search before posting your question.

e.g take a look at this post

Link:http://wiki.sdn.sap.com/wiki/display/SI/WorkingwithInternaltables.

Regards

Ahsan

0 Kudos
212

i dint found answer thats why i posted it man.

Subhankar
Active Contributor
0 Kudos
212

Hi ,

If you did not declare internal table with out header line then you need to create one work area. Then use this work area like header line.

Some sample code

  • Declaration

  • INTERNAL TABLES *

data:

i_tvarvc type standard table of x_tvarv initial size 0.

  • Work area

data: wa_tvarvc type x_tvarv, " TVARVC parameter

  • How to use work area

loop at i_tvarvc into wa_tvarvc where name = c_tvarvc_plant.

  • Now use wa_tvarvc instead of header line

Endloop.

Thanks

Subhankar

ThomasZloch
Active Contributor
0 Kudos
212

Please search even harder before posting, there is a lot of information available, and treat community members with respect.

Thread locked.

Thomas