Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3548

Re: Assign interval multiple value into characteristic

$
0
0

Hi Budi Sujono,

 

Is your requirement is to assign default values to a multiple value char?

 

If so, it can be achieved through Procedure, not with Pre-condition.

 

Below is the syntax for assigning default values.

 

$SET_DEFAULT ($SELF, <characteristic>, <string>)

   

As the string, you can enter either a characteristic value or, for numeric characteristics, a calculation.

 

Please refer : Setting Default Values with Procedures - Variant Configuration (LO-VC) - SAP Library

 

In your dependency you have written  - $set_default($self, tpreast, in(6 - 11))

 

error is in <STRING>  part, you have to give value as a string if Characteristic is in char format OR numeric value if it is numeric.

 

try : $SET_DEFAULT ($SELF, TPREAST, 6-11) if it is numeric characteristic

 

$SET_DEFAULT ($SELF, TPREAST, '6'),

$SET_DEFAULT ($SELF, TPREAST, '7'),

$SET_DEFAULT ($SELF, TPREAST, '8'),

$SET_DEFAULT ($SELF, TPREAST, '9'),

$SET_DEFAULT ($SELF, TPREAST, '10'),

$SET_DEFAULT ($SELF, TPREAST, '11')  - for char format characteristic

 

Regards,

Ravikumar B


Viewing all articles
Browse latest Browse all 3548

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>