cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible in XI?

Former Member
0 Kudos

HI all,

i have this requirement and i have to do in mapping,iam geting three feilds from legacy

1) Plant

2)Heat number

3)Produced material and combination of all this three feilds i will get Batch

the logic given below.

Batch number for GR of finished bundles is derived by concatenating as below:

1.Last six digits of the heat number

2.An alphabetic identifier for the plant as: A = Plant 1200, B = 1300, C = 1400, D = 1500, E = 9300.

3.Last three digits of the material number.

plant and heatnumber are in header data,Material in ITEM data so material will be more and repleating

now how to write this code in UDF please tell me

Regards,

Phani

Accepted Solutions (0)

Answers (2)

Answers (2)

justin_santhanam
Active Contributor
0 Kudos

Phani,

Could you give us the source and target structure? B'coz only with ur reqmt, it's not possible to suggest. We don't know how many time Batch GR field needs to occur in target. So give the structure, occurrence with sample data populated on it.

Thanks for understanding.

Best regards,

raj.

Former Member
0 Kudos

hi raj,

Thanks for ur reply, give me ur mail di i will forward mapping sheet to u.

regards,

phani

Former Member
0 Kudos

please answer this post................

Former Member
0 Kudos

Hi

Here you need to write two functions while mapping, i.e.

1. Concat

To split the value from Input values

2. Valuemapping

By using this function we can pass fixed values based on input which in flow.