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

Conversion File

Friends,

I need to pass only last 4 digits of territory ID out of 25 digits in to BPC from BW Infoobject. i know we can achieve this with conversion file but no clue how should be the conversion file.

Ex. Territory ID = 12435689765443466778788 i need only 4 digits 8788.

Pls suggest me.

Thanks,

RRRR

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 22, 2011 at 07:07 AM

    Hi,

    have you tried to archive it in the transformation file?

    In the Mapping section you wuld need something like:

    ID = ID(22:25)

    This would make a selection of the last four positions (from 22 to 25) from you ID and write back only the for numbers ypu need.

    Hope it helps.

    Cheers,

    Àlex

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 22, 2011 at 01:43 AM

    Hi,

    Try as follows in conversion file:

    External               Internal
    *                           js: %external%.substring(22,4)

    Hope it helps...

    regards,

    Raju

    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.