cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting default setting

Former Member
0 Kudos

Dear Gurus,

i would like to know if is possible to delete a default value setted from procedure.

For example i have the following procedure  (for multivalue Characteristic).

$SET_DEFAULT ($SELF,SP01N , 'A')

With this syntax i get the value default, but the user is able to change but no to clear the default value.

How i can clear  the value ? I have already use $DEL_DEFAULT ($SELF,SP01N , 'A')  but  in this way i delete immediately the value and not after the user valutation.

Thanks a lot

Daniele

Accepted Solutions (0)

Answers (1)

Answers (1)

Flavio
Active Contributor
0 Kudos

Hi Daniele,

I think that with the following procedure code it should work:


$SET_DEFAULT($SELF,SP01N, 'A') IF NOT SP01N SPECIFIED


$DEL_DEFAULT ( $SELF, SP01N, 'A' ) IF SP01N SPECIFIED

AND $ROOT.SP01N <> 'A'

I do hope this will help

Thanks and bye,

Flavio

Former Member
0 Kudos

Dear Flavio,

your advise is very useful , but my requirement is to delete value and delete the default value when the

user setting without inputad described below:

Is possible ?

Thanks a lot

Daniele