on 12-15-2013 5:24 AM
Dear professionals,
I have a question that it is really vital for me to find the answer.
First of all the case is like this:
I have a 3 characteristics as following:
1- SOCHANGE which is linked to VCSD_UPDATE table field ARKTX .
2- LENGTH which is our sheet length .
3- WIDTH which is our sheet width .
the scenario is that i want to change the configurable material description based on the LENGTH and WIDTH specified which can be every thing.
for doing so i created a procedure in CU01 to write the appropriate dependency, but i dont know how to write the code since i want the SOCHANGE to be some thing like this.
$SELF.SOCHANGE = 'SHEET' + LENGTH + WIDTH .
Please help me to wite the correct dependency wich is the combination of sheet and length and width .
Thank you so much inadvance .
Dear Mozhgan,
I think that a possible solution could be using an User-defined Function, called via an object dependency (procedure). There is a nice example in the Variant Configuration (LO-VC) document available on help.sap.com (here).
The function will get as input the length and width characteristic values, concatenate them with sheet and return the sochange characteristic, all this by means of the object dependency.
Just try it out and let me know in case of any trouble.
With kind regards,
Flavio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mozhgan,
If I understand correctly, what you're looking for is the syntax for concatenating values. For that, you should use the II (pipe) operator. Note that this allows concatenation only up to 30 characters.
Regards,
Akshat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.