on 2016 Mar 19 6:32 AM
Hi Experts,
Need your help on following things. I tried searching for this but could not really get any help. I am looking for exact syntax to achieve this.
1. I want to restrict characteristic value to be entered. Only certain range should be allowed. It should be between <= 'X' and >= 'Y'.
2. I have characteristic (ch_price) with SDCOM-VKOND reference. I want to assign a value to this characteristic. It takes when I mention the value like this '4000' for example. But it throws a syntax error when I assign a value from other characteristic ($self.ch_price = ch_val). Also the value is getting assigned when I queried the variant table but not sure how to assign a value from other characteristic.
Though it is bit similar to ABAP coding it is really confusing for me. Appreciate your help !
Request clarification before answering.
Hi Shanthi Kumar,
for 1) if your values are X = 100 and Y = 300
1) Create the characteristic with values 0 -100 and 300 - 999999
2) for setting up defaults use below syntax refer the link for more details
$SET_DEFAULT ($SELF, <characteristic>, <string>)
Setting Default Values with Procedures - Variant Configuration (LO-VC) - SAP Library
-
Ravikumar B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
15 | |
10 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.