Skip to Content
avatar image
Former Member

SPACE character is not taken into account with dependency editor

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 19, 2017 at 07:56 AM

    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

    Add comment
    10|10000 characters needed characters exceeded