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

Mapping Requiremnt to create an idoc

Hi ,

I need a input that , There is requirement that same set of values need to be created a single idoc .

for example : Here in the below example my requiremnt is to compare the all the 3 values with their corresponding record values.if matches all the 3 the set values need to be created single idoc and remaning need to be created different idocs.

R1

PI

7.1

Middle wear

R2

PI

7.10

Middle wear

R3

P2

7.1

Middle

R4

PI

7.1

Middle wear

R5

PI

7.1

Middle wear

In the above test date R1 R4 R5 need to be created single idoc .I tried with spilt by value chaneg and by counting their values in contexts but it was not satsifying the exact requiremnt. Please suggest any ways to achieve this.

Thanks In Advance

Anusha Penneru

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 29, 2013 at 12:47 PM

    Thanks for the input.

    I accomplished this requirement.

    Note : Change the occurency of the idoc then only it allows to post the multiple idocs.


    multiple_idocs.jpg (17.5 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 29, 2013 at 09:24 AM

    Hello,

    R1

    PI

    7.1

    Middle wear

    R2

    PI

    7.10

    Middle wear

    R3

    P2

    7.1

    Middle

    R4

    PI

    7.1

    Middle wear

    R5

    PI

    7.1

    Middle wear

    Concat the first two fields (e.g PI and 7.1), then use a removeContext with Sort (case insensitive: ascending or descending) and only then use the splitByValue:ValueChanged and count operation. The output of the count operation should be in an ifWithoutElse Statement (if count = 3, then pass).

    Hope this helps,

    Mark

    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.