cancel
Showing results for 
Search instead for 
Did you mean: 

SPACE character is not taken into account with dependency editor

Former Member
0 Kudos

Hello,

I tried to concatenate different characteristics in procedure with a SPACE in between those characteristics. The result is that the SPACE is not taken into account !

Example :

I have 3 Characteristics with 3 Values :

CHAR1 = A , CHAR2 = B and CHAR3 = C

$SELF.CHAR1 II

$SELF.CHAR2 II ' '

$SELF.CHAR3,

The expected result is : AB C...but i had : ABC

The space is not taken into accound when i execute the procedure.

Question : how we can consider the character SPACE in procedure when we execute the configuration ?

Thank you for your answers.

Accepted Solutions (0)

Answers (1)

Answers (1)

Flavio
Active Contributor
0 Kudos

Dear Redouane B,

one possible solution is to use an 'User-Defined Function' inside the procedure.

Please have a look at the following link to the SAP documentation for Variant Configuration:

User-Defined Functions

Here below, the sample code, again from SAP documentation, concatenating characteristic values. Values are separated by a dash, you can replace it with a space, as needed.

Function Call

Hope this could help. Feel free to ask here if you need any further assistance.

Thanks and bye,

Flavio