cancel
Showing results for 
Search instead for 
Did you mean: 

Help on UDF

sahithi_moparthi
Contributor
0 Kudos

Hi,

  I need help on one if the UDF.I have a scenario like below:

Segment 1

   -E1KVM

         -PM

             -KUNN2

              -PARVW        

          -PM 

             -KUNN2

              -PARVW

   -E1KVM        

         -PM 

             -KUNN2

              -PARVW        

         -PM 

             -KUNN2

              -PARVW

   -E1KNN

        -PARNR

        -NAME1

-E1KNN 

        -PARNR

        -NAME1

Now the  my logic is

WHERE E1KNN-PARNR = E1KVM-KUNN2

AND E1KVM-PARVW = 'AP'

in the first queue i.e PARNR

                                 

PARNR          KUUN2                PARVW                      NAME1                 Target

  001              123                       ZN                               GGP                          PO

  002                 456                      PP                                 PO                             AP

003                 789                          PO                              AP

                        001                          AP

                     Context change     Context Change

                         4567                           PM

                           002                            AP

                           002                             BP

Could anyone please help how to compare 3 queues at a time

Accepted Solutions (0)

Answers (1)

Answers (1)

anupam_ghosh2
Active Contributor
0 Kudos

Hi Santhosi,

                      Could you please explain

1. Target xml structure?

2. logic of presence of GGP under name1?

3. logic of presence of "PO" in target side?

I am sure answers to these questions will help forum members to suggest a solution.

Understanding the requirement of the business is a big task in itself. Business would always give their requirement at a non technical level or business level. So PI consultants need to be careful while transforming business requirement to a technical design.Similarly when we express our requirement as a PI consultant, it is necessary to put ourselves in the shoes of the listener or reader. Listener or reader  knows nothing and we have to provide him/her a proper picture of our requirement.So we need to try to provide a much details as possible without noise. This ensures that we get a quick and correct delivery.

Regards

Anupam