Skip to Content
avatar image
Former Member

Split a characteristics value

Hi Gurus, I've two characteristics, the value of the 1st characteristics is referenced from the table and it's automatically assigned. I need to determine the value of the 2nd characteristics by using the value from 1st characteristics. Let's say the value of the 1st characteristics from the table is CD110001, the value of the 2nd characteristics should be 0001. In ABAP I can use the offset functionality (i.e. +4) to determine the value. Is there a way using dependency to achieve similar function? If not is there anyway to achieve this.

Thank you

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Feb 03, 2017 at 08:45 AM

    Hi Cyrus,

    Yes sure, your requirement can easily be accomplished by using a User-Defined Function, see the following link about it in the documentation:

    User-Defined Function

    The example quoted in the above documentation is concatenating characteristic values into another characteristic, in your case you will just split the value of a characteristic into another one, as needed.
    If you need further details, just feel free to ask here.

    Thanks and regards,

    Flavio

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 21, 2017 at 06:23 AM

    Thank you Flavio, I followed the documentation and was able to achieve my goal. Greatly appreciated.

    Add comment
    10|10000 characters needed characters exceeded