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 a new field to table

Former Member
0 Likes
514

Hi, I am fairly new to abap so please bear with me.

I have a custom table that I need to add a new field to. This new field can hold either a W or a D for wet/dry.

My question is can I

A) create a data element that holds a W or D directly

or

B) do I have to create a table structure and then a table to hold the W or D and reference this from the data element

1 ACCEPTED SOLUTION
Read only

sridhar_meesala
Active Contributor
0 Likes
485

Hi,

You can create a domain and include W and D in the value range of the domain. Now you can create a data element for this domain and use it in the table.

Thanks,

Sri.

Hi, I am fairly new to abap so please bear with me.

I have a custom table that I need to add a new field to. This new field can hold either a W or a D for wet/dry.

My question is can I

A) create a data element that holds a W or D directly

or

B) do I have to create a table structure and then a table to hold the W or D and reference this from the data element

2 REPLIES 2
Read only

sridhar_meesala
Active Contributor
0 Likes
486

Hi,

You can create a domain and include W and D in the value range of the domain. Now you can create a data element for this domain and use it in the table.

Thanks,

Sri.

Read only

0 Likes
485

Thanks, thats what I was looking for.