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

Creating an extra column

Former Member
0 Likes
289

Hi...

How to dynamically create an extra column to a itab of a table. The <b>Source</b> column is to be create dynamically indicating the source of the data. E.g. 1111, A is fetch from Table A.

Example:

<b>Source</b> Field1 Field2

<b>Table A</b> 1111 A

<b>Table B</b> 1111 A

<b>Table A</b> 2222 B

<b>Table B</b> 2222 B

Thanks.

1 REPLY 1
Read only

Former Member
0 Likes
263

hi,

link :

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/dynamic%2binternal%2btable

check out this blog :

/people/rich.heilman2/blog/2005/07/27/dynamic-internal-tables-and-structures--abap