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

data dictionary

Former Member
0 Likes
1,061

How to give mandatory to a field in data dictionary

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,038

Hi Asia,

Whenever you design a table in ABAP dictionary, you need to specify <b>MANDT</b> field in the DB tables, this MANDT means that the table stores Client specific data, here MANDT specifies the Client ,i.e. the present client which we have logged on into.

Other than this one, if we want tomake any other field mandatory, while designing the table just tick in the two checkboxes coloumns beside the field and this makes the field primary and also mandatory.

Hope this resolves your query.

Reward all the helpful answers.

Regards

11 REPLIES 11
Read only

Former Member
0 Likes
1,039

Hi Asia,

Whenever you design a table in ABAP dictionary, you need to specify <b>MANDT</b> field in the DB tables, this MANDT means that the table stores Client specific data, here MANDT specifies the Client ,i.e. the present client which we have logged on into.

Other than this one, if we want tomake any other field mandatory, while designing the table just tick in the two checkboxes coloumns beside the field and this makes the field primary and also mandatory.

Hope this resolves your query.

Reward all the helpful answers.

Regards

Read only

0 Likes
1,038

it's not that mandatory, like as we do in reports giving a field mandatory/obligatory means that field needs to be entered.Like that we hwve to do in data dictionary.

What i got a clue is at the domain level

Read only

0 Likes
1,038

Hi Asia,

As said earlier my meaning was to tick the KEY checkbox to make it mandatory, you did not understand it. Just do it in the Table creation level and you can understand it yourself.

Hope this resolves your query.

Reward all the helpful answers.

Regards

Read only

0 Likes
1,038

Hi,

You can use 'obligatory' to do the require field in field level. see the following example,

<b> data: l_vkorg like vbak-vkorg as obligatory.</b>

This may helpful for you !

If it helps you dont forget to reward.

Reg,

<b>Suresh Kumar. V</b>

Read only

Former Member
0 Likes
1,038

Asia ,

While creating the table you have select the check box Under the "KEY " then that filed will become mandatory for that table.

If you want on Screen you have the set the attribute of that field as "required" .

For this you need authorization to change the screen.

Pls. rewars if useful.

Read only

Former Member
0 Likes
1,038

Hi,

chk this

Reward if helpful..

Read only

Former Member
0 Likes
1,038

Hi Asia,

When you are creating a Table then just specify the field with a key, it will become the mandatory field.

Thanks and regards

Vipin Das

Read only

Former Member
0 Likes
1,038

Hi,

which field you want to mandatory then check the key field so that fields become key(mandatory) filed.

Thanks

sasmita

Read only

Former Member
0 Likes
1,038

Hey..I can see many correct answers for this thread but you have not rewarded any points to any one... If this is gonna continue.. then ur questions will be just ignored and none will answer ur queries..

Cheers,

Sam

Read only

Former Member
0 Likes
1,038

hi,

While we are creating table there is a check box i;e optional,if we chose this the field is not mandatory............

thanx.

Read only

Former Member
0 Likes
1,038

thanks