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

Making internal table from DD03L

former_member302630
Participant
0 Likes
1,200

I perform a select statement on DD03L for a particular DB table containing salesorg and take out all fields in that DB table of type currency.

So in my internal table IT_DD03L , I have 'fieldname' . And that is filled with about 50 rows pertaining to 50 columns from the DBtable of type currency.

Now I request to know how to create a new internal table having structure, salesorg and all currency fields found in IT_DD03L-fieldname.

For. e.g.

It_dd03l-fieldname

Avv015

Avv032

Avv010

the created internal table should have columns

salesorg , Avv015 , AVV032 , AVV010

I perform a select statement on DD03L for a particular DB table containing salesorg and take out all fields in that DB table of type currency.

So in my internal table IT_DD03L , I have 'fieldname' . And that is filled with about 50 rows pertaining to 50 columns from the DBtable of type currency.

Now I request to know how to create a new internal table having structure, salesorg and all currency fields found in IT_DD03L-fieldname.

For. e.g.

It_dd03l-fieldname

Avv015

Avv032

Avv010

the created internal table should have columns

salesorg , Avv015 , AVV032 , AVV010

3 REPLIES 3
Read only

0 Likes
968

I know how build an dynamic internal table from DB table passed as parameter. But here the challenge I am having is that I have to build a subset of that DB table passed. An internal table with only salesorg and all fields of currency type. How do I zero in on currency type for building a dynamic internal table?

Read only

0 Likes
968

You must construct the component table that you pass to the RTTS method.