cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a field editable.

Former Member
0 Kudos

Hi all,

Can anyone tell me how do i get the 'reason' field of the opportunity. are there any function modules or methods to get this one. i need to make this field editable.

wat code should i write to make a field editable. im writing this code in a badi.

thanks,

Navitha

Edited by: Navitha prakash on Oct 17, 2008 11:08 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Reason field on opportunity is editable when you enter status, that in SPRO is configured in settings for opportunities.

in SPRO you can create catalogues and code groups.

Later you have to connect status of opportunity with profile of code groups.

regards

radek

Former Member
0 Kudos

Hi Radek,

Thanks for your replies.

I am implementing the badi order_save. my requirement is when Ienter the status of opportinity as 'lost',an error message should be displayed and the reason field should be editable. Can I do this by writing some code in the badi.

please reply.

Thanks in advance,

Navitha

Former Member
0 Kudos

hi

with order_save you can do sth like that. you can also check badi for status: CRM_ORDER_STATUS.

it is launched when status that you define is on document.

Msg can also be displayed with it.

I dont know if you can do field editable with it.

This field is controled by standard mechanism I explained you, that you can configure in SPRO.

so maybe you can with badi (eg this for status) do display message, and making field editable you can do with spro configuring.

regards

Radek

Former Member
0 Kudos

hi,

You said about the configuration that should be done to make a field editable.

but this should be done dynamically by my coding. is this possible

Edited by: Navitha prakash on Oct 20, 2008 1:07 PM

Answers (0)