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

Obligatory field

Former Member
0 Likes
1,206

Hi all,

how can I make a field obligatory in a tablation? In IW31 transaction, there's a component section, there can be found a tablation, I need to make the field lgort obligatory. How can I do that?

Hi all,

how can I make a field obligatory in a tablation? In IW31 transaction, there's a component section, there can be found a tablation, I need to make the field lgort obligatory. How can I do that?

9 REPLIES 9
Read only

Former Member
0 Likes
1,177

Use the transaction code SHD0 and create transaction variant

Read only

0 Likes
1,177

I want to program it in the source code, how can I set it to obligatory?

Read only

Former Member
0 Likes
1,177

Hi

Ask the functional persons to do this. This is easily possible by customizing.

Incase you need to do it by programming, then you need to make modifications to standard SAP code.

Pls reward suitable points.

Regards

- Atul

Read only

Former Member
0 Likes
1,177

do u want to modify standard code of IW31, then u need to get access number from SAP and then u can change it.

if ur writing ur own program and reffering this field, then

select-options: s_logrt like vbak-logrt obligatory.

Read only

Former Member
0 Likes
1,177

Hi Sz. Laszlo,

use TCODE: OICMPD.

Regards, Dieter

Read only

Former Member
0 Likes
1,177

Hi,

1) Write the Field exit for that field and write the code, if the field is initial then give the error message.

2) see the User exit, and write the code in that exit like if the field is initial then give the error message.

better, the functional person will do this with the help of SPRO, so it is better first ask the functional person, if he is not able to do that then use any one from the aboe one

Regards

Sudheer

Read only

Former Member
0 Likes
1,177

Thanks for answering.

Read only

0 Likes
1,177

Hi Sz. Laszlo,

did the answers solve your Problem?

regards, Dieter

Read only

0 Likes
1,177

Hi

Incase your problem is resolved, do let us know and if possible, reward suitable points as well.

Regards

- Atul