Skip to Content
author's profile photo Former Member
Former Member

Checking length of column in Transformation file

Hello Experts,

We are using BPC 10.0 Microsoft version, I need to use length function in Transformation file mapping section. The requirement is to check the length of column and apply the Pad function accordingly.

Please advise on how to check the length of a column in Transformation file.

Thanks & Regards,

Rohit

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 18, 2016 at 05:13 PM

    Hi Rohit,

    in transformation you have IF and COL conditions but I don't think it's possible to do what you ask but you can achieve it in conversion file using the vb functions like len("%external%") that give you the lenght of the external value, replace("%external%", ... that substitute one substring with another one, left,etc.

    this is just a hint, look in the vb functions and see what are the functions you need

    Regards

    Roberto

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2016 at 05:22 AM

    Hi Rohit....

    Would you please explain your requirement in detail so that maybe we can help you.....As Roberto pointed out LEN function cannot be used in Transformation file....If explain what is it that your trying to achieve then maybe we can find a way around...

    Regards,

    JP

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.