cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Requiremnt to create an idoc

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thanks for the input.

I accomplished this requirement.

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

Answers (1)

Answers (1)

markangelo_dihiansan
Active Contributor
0 Kudos

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