cancel
Showing results for 
Search instead for 
Did you mean: 

Mandatory fields for changing status

Former Member
0 Kudos

Hi,

How to make some fields as mandatory for a particular status.For example in CRMD_ORDER - change request(SDCR), how can I make "description" field as manadtory.The system should through error message when I change the status without entering that field.

Also is it possible to mark some fields(Text or Date) as mandatory based on my status.

Regards,

M.R

Accepted Solutions (0)

Answers (1)

Answers (1)

raguraman_c
Active Contributor
0 Kudos

Hi,

You can use <b>BADI DNO_EVENT_SAVE </b> see note 571782 - Basis notification Badi during the saving.

Feel free to revert back.

--Ragu

Former Member
0 Kudos

Hi Raghu,

Could you please give me a detailed information on how to use this particular Badi.Whether I have to create a new action and schedule it automatically for all the statuses.If so how to call this Badi (Method call, External communication etc)

Regards,

M.Ramu

raguraman_c
Active Contributor
0 Kudos

Hey hang on, its not about creating an action or scheduling something. Ask your ABAPer to make use of this BADI and make the field mandatory. Some coding needs to be done.Did you open the BADI and read the documentation.

Feel free to revert back.

--Ragu

Former Member
0 Kudos

Thanks for ur inputs.I need some more additional information on this.

Requirement:

During creation of change request, I need the description field to be mandatory which I think the BADI will work fine.Again when I change the status from Open to inprocess,I need some text field or partners field to be mandatory. likewise for every status I need some fields to be mandatory which will be specific to that status alone.

Regards,

M.R

raguraman_c
Active Contributor
0 Kudos

Hi,

I will explore it and let you know soon.

Feel free to revert back.

--Ragu

*Reward if my answer was helpful.

Former Member
0 Kudos

Hi,

I achieved this by using Incompleteness procedure.

Regards,

M.Ramu

Former Member
0 Kudos

Hi Ramu,

Could you please explain on how you solve the problem?

Thanks.

Former Member
0 Kudos

Hi,

I created incompletion procedure which I assigned to transaction type.In incompletion procedure we can select the fields as mandatory saying to throw Information message or error message.This will work fine for the initial status alone.For other statuses,we have use the Badi under incompletion procedure.

Thanks & Regards,

M.R

Former Member
0 Kudos

HI Ramu,

We are also working on same requirement,can you please explain in detail.