Application Development 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: 

default value in a mandatory field of t-code IE4N

former_member581430
Participant
0 Kudos
271

<modified subject line>

hi everybody

in transaction IE4N, I must default the value of cost centre based on the equipment input but the problem is that the field cost centre is mandatory and that field only appears after inputting the movement type.

So first input equipment

Secondly input movement type

Its only then that the field cost centre appears and its mandatory and I really dont know how to handle given the fact that the field cost centre is mandatory

thanks for your help

Moderator Message: Please use more meaningful subject lines in future.

Edited by: Suhas Saha on Jan 13, 2012 1:14 PM

1 ACCEPTED SOLUTION

mithun_shetty4
Contributor
0 Kudos
173

In Initialisation event.

Default some equipment based on which all other fields like cost center and movement type are filled

6 REPLIES 6

mithun_shetty4
Contributor
0 Kudos
174

In Initialisation event.

Default some equipment based on which all other fields like cost center and movement type are filled

madhu_vadlamani
Active Contributor
0 Kudos
173

Hi Prema,

I am not sure,can you try with variant.

Regards,

Madhu.

JeevanSagar
Active Contributor
0 Kudos
173

In most transactions cost center is needed only for certain movement types like 201/202 so all those transactions have cost center field hidden until you input a cost center relevant movement type and hit enter.

0 Kudos
173

Hi Jeevan

yea thats true

I am entering the equipment, press enter then the movement type and press enter

then the field cost center appears

what the client wants is that the field cost center takes the default value of the equipment's cost centre

I really dont know how to do that because theres no user exit at that stage

Do you have any soution for this?

0 Kudos
173

I am not able to access this tcode in my system some config missing. What you can try is as soon as you enter equipment press enter and start debugging.. You can make use of implicit enhancement to default the cost centre value...The point for implicit enhancement can be found while debugginhg look for some performs and implement the logic.

Nabheet

Former Member
0 Kudos
173

are you doing batch input or how are you calling this tcode?