Skip to Content
0

SPACE character is not taken into account with dependency editor

Jun 17, 2017 at 02:41 PM

45

avatar image
Former Member

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

flavio ciotola Jun 19, 2017 at 07:56 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded