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

message mapping

Hi experts

iam working on message mapping

my requrement is

i have a filed FILED1 = "1234phonex"

i need to take first 4 digits (offset) form the value and pass it another filrd FIELD2.

please tell me what is the function should be used in message mapping

thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 10, 2008 at 03:25 PM

    Hi,

    if you always want the first 4 chars you could use the standard Text function substring .

    Regards

    Patrick

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thanks you all.

      finally i designed the mapping and the date also displaying in the required format. but still iam have a probelm that

      if the file contain only one line with one date evrthing working fine

      suppose afile contain 2 lines then only the first date in first line converting proeprly and the second date coming as blank

      can you please tell how can i find the error in my message mapping

      thanks

      vasavi

  • Posted on Oct 10, 2008 at 05:02 PM

    Hi

    First of all, you use the standard substring function and extract the first 2 characters, and check if your SALESAREA is equal to it,if it is, then DATE1->TRANSFORM DATE->TARGET FIELD.

    Thanks

    Saiyog

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2008 at 06:50 PM

    its sloved

    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.