Skip to Content
Former Member
Mar 16, 2014 at 10:23 AM

Solution Manager 7.1 : Get selected Status before save ?


Hi Gurus,

I need your help, I'm currently on solution manager 7.1, and I need to make some field mandatory for a particular status.

I'm using Implementation of BADI ORDER_SAVE method : CHECK_BEFORE_SAVE.

Description :

The user is in message incident UI, with an incident in status E0001 for example.

When the user set the status E0002 by the button Actions -> E0002 and SAVE, I want to make the specific field "FIELD1" as mandatory.

My problem :

In my implementation method, CHECK_BEFORE_SAVE, I can get only the past status (E0001) , and not the selected status (E0002).

I used for that function : CRM_ORDER_READ and CRM_ORDER_READ_OW but in table ET_STATUS, I have only the past status E0001.

Maybe I can use ABAP OO to get the status actually selected in the container UI ? I'm new in ABAP OO so I don't know how to get this value.

Thank for your help !