cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent save Message when there is an error

Former Member
0 Kudos

Hi all,

Please help me out here.

I want to prevent saving a new Support Desk Message when there is an error in the message.

Kind regards,

Remy Piets

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey Remy,

This can be achieved if you are ready to do some coding...

U need to use implement BADI ORDER_SAVE..

Within this BADI u can have your business validations done...

If the Validations fails then you have to raise an exception DO_NOT_SAVE...

This is satisfy your requirment.....

Reward for usefull post...

Regards,

Anand........

Former Member
0 Kudos

Hi Remy

Is this an initial message? Do you want to do this to avoid a number from the number range to be used? I'm not sure since a document is always created and then deleted if you dont use it, but if its after the first initial save then you have to give error messages from certain conditions from "Make settings for change transaction type"

/Daniel