Vous êtes sur la page 1sur 5

Effective Date Transformation in SAP Business Objects Data Services ...

1 of 5

Home

About Us

Submit An Article

http://sapsimplified.com/sap-bods/effective-date-transformation-in-sap-bods/

Online Quiz

SAP Simplified
ERP

SAP

Tutorials

Interview Questions

Tcodes

Tables

Video Tutorials

Sample Resumes

SAP Job In India

Eective Date Transformation in SAP


BODS
SAP February 11, 2014 SAP BODS, Tutorials No Comment

FLARES

--

Summary:
Eective Date transformation is a readymade logic that helps to dene Time Dependent
Dimensions. Time dependent dimensions are the attributes which have a validity that expires.
Eective Date transformation denes validity of each and every record in a Time
dependent table.
It calculates and provides Eective-to (End date) value for an Eective date (Start date)
in the input dataset. Logic behind the Eective-to value depends on the Sequence
column provided.
Default date (Ex: 9999.12.31) is assigned to the latest or active record for which validity
cannot be dened.
Prerequisite:
Input dataset must contain Eective Date eld.
(Note: If eld name is given as EFFDT, Data services automatically select it as Eective Date
column else, we have to select the eld manually.)
The input to the Eective Date transform must dene at least one primary key.
Sequence column must be dened as a primary key which helps from primary constraint
error.
NOTE:
Default date is provided in the Eective Date transform. It can be changed to required
value manually.
If Sequence column is not dened, The Eective-to value of a record will be equal to
Eective Date value of next record regardless the logic.
Example Scenario:

10-Feb-16 12:20 AM

Effective Date Transformation in SAP Business Objects Data Services ...

2 of 5

http://sapsimplified.com/sap-bods/effective-date-transformation-in-sap-bods/

Figure1 shows a sample input dataset which gives an Employee designation details with Start
date in EFFDT eld.

Figure 1: Sample Source Data

Sapsimplified
527 likes

Eective-to value or End date is determined using Eective date transform as shown in sample
target in Figure2.

Like Page

Share

Be the first of y our friends to like this

Figure 2: Sample Target DataThe logic behind calculating Eective-to


value is:

Eective-to value of nth record = Eective date of (n+1)th record.


Search

Recent Posts
Pro ABAPer Week 3 Quiz Question and
Answers and Results
Pro ABAPer Week 3 Quiz
Pro ABAPer Week 2 Quiz Question and
Answers and Results

Figure 3: Eective Date Transformation Object


Hierarchy

Pro ABAPer Week 2 Quiz


Pro ABAPer Week 1 Quiz Question and
Answers and Results

Subscribe For Free Updates!


Enter your email...

Signup Now!

Figure 4: Eective Date Transformation job ETL ow

In gure 4, Target T1_Imperio_Data_Transfer gives the actual performance of Data


Transfer Transform.

10-Feb-16 12:20 AM

Effective Date Transformation in SAP Business Objects Data Services ...

3 of 5

http://sapsimplified.com/sap-bods/effective-date-transformation-in-sap-bods/

Figure 5: Eective Date Transformation Dening rules

In Figure 5, Schema out consist of an extra eld EFFECTIVE_TO_COLUMN generated by


Eective Date transform.
Default eective to date value is 9999.12.31 assigned to latest or active records.

Figure 6: Query Transformation Mapping rules

Figure 6 shows the mapping rules in Query_1 for Target T2_Imperio_E_Date


Mapping rule for Eective_To_Column eld helps to get the Eective-to value = a day
before the Eective Date value of next record (Note: In Target T1_Imperio_E_Date,
Eective-to value of a record = Eective Date value of next record, Which is the actual
logic inside the Eective data transform).
Mapping rule for No_Of_Days eld helps to nd the No. of days between the Start and
End dates.
Attachments:
Source File:
Use the below le as source for working out on the transformation.
Click Here to Download Source Data.
.atl File:
Import the below .atl le in the Data Services Designer to nd the Job for Eective Date
transformation.

10-Feb-16 12:20 AM

Effective Date Transformation in SAP Business Objects Data Services ...

4 of 5

http://sapsimplified.com/sap-bods/effective-date-transformation-in-sap-bods/

Click Here to Download ATL Files.


Thats it.
Enjoy

Like this Article? Subscribe to Get Daily Updates!


Enter Your Name

Subscribe Now

Enter Your Email Address

FLARES

--

business objects data services, data services, Eective Date Transformation, sap bods, SAP BODS Beginners Tutorials,
sap bods tutorials, SAP Data Services

Related Posts

Case Transformation in SAP


BODS

Hierarchy Flattening
Transformation in SAP BODS

Data Transfer Transformation


in SAP BODS

History Preserving
Transformation in SAP BODS

Date Generation
Transformation in SAP BODS

Key Generation
Transformation in SAP BODS

No Comments Yet
Subscribe to comments feed

Leave a Reply

Hierarchy Flattening Transformation in SAP BODS

Date Generation Transformation in SAP BODS

10-Feb-16 12:20 AM

Effective Date Transformation in SAP Business Objects Data Services ...

5 of 5

http://sapsimplified.com/sap-bods/effective-date-transformation-in-sap-bods/

Copyright 2015. SAP Simplied

About Us

Contact Us

Privacy Policy

Copyright Policy

Recommended for you

Hierarchy Flattening
Transformation in SAP...

How to Create
Transaction Code for T...

Reverse Pivot
Transformation in SAP...

Deloitte Recruiting SAP


Technical and Functio...

sapsimplied.com

sapsimplied.com

sapsimplied.com

sapsimplied.com

AddThis

10-Feb-16 12:20 AM

Vous aimerez peut-être aussi