cancel
Showing results for 
Search instead for 
Did you mean: 

Help on the following udf

former_member452321
Participant
0 Kudos

Attached source and target structure Need help on the grouping of two levels on target

Accepted Solutions (1)

Accepted Solutions (1)

Harish
Active Contributor
0 Kudos

Hi Mahesh,

In  your UDF, you are only comparing the adjutant package id, so it will not work if package id is not sorted. So you have below option

1. Sort the inputs with package id before UDF

(Sort package ID and sort by key other inputs)

OR 2. Sort the input inside UDF (which make UDF bit complicated).

regards,

Harish

former_member452321
Participant
0 Kudos

Thank you Harish. It worked with sort and sortkey before the udf

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mahesh,

you can do your grouping using blow mapping logic.

Regards,
Bhavin