Skip to Content
0
Former Member
Oct 29, 2012 at 11:22 AM

Transformation for End Routine

40 Views

Hi Experts,

I wrote End Routine to calculate and inserted data into new InfoObjects.

My Requirement is to caluculate MTBF.

Product Complaint1 1st Aug

Complaint2 5th Aug

Complaint3 15th Aug

Complaint4 28tg Aug.

1. i want to calculate Difference between date to date - 28 days (ZField-Keyfigure)

2. i want to calculate no. of complaints - 4(ZField-keyfigure)

MTBF is 28/4 = 7 days.

I added those 2 Zfields in Infoprovider. My code is working fine, result also fine.

My Question is -- In the Transformations how can i map the transformation for those field. If i keep rule type as No Transformation. In the Result the values is showing 0's.

Can anybody please provide the solution.

Thanks,

Ananth