Powered By

Free XML Skins for Blogger

Powered by Blogger

Tuesday, December 30, 2008

InfoSpoke with Transformation Using a BAdI in SAP BW BI Data Distribution

Use

You have the option of transforming the data to be transferred using a Business Add-In (BAdI). The original structure for transfer is thereby the InfoObject list. Possible user scenarios for a transformation would be, for example, the reading of texts or a currency conversion.

For more information about using Business Add-Ins (BAdIs), read the detailed documentation for Business Add-Ins.

Prerequisites

For the Transformation tab page, set the indicator for InfoSpoke with Transformation Using BAdI so that the InfoSpoke is activated first. Then you arrive in the BAdI builder.

Procedure

The definition for the BAdI is called OPENHUB_TRANSFORM. For this, you create your implementation.

You can find detailed information about implementing a BAdI under: Structure linkImplementing Business Add-Ins.

Implementing the BAdI

...

1. You are in the BAdI builder. Enter a short text for the implementation. The implementation name is always the same as the technical name of the InfoSpoke.

2. The implementation of this BAdI is always filter-dependent. Enter your InfoSpoke on the Properties tab page under Filter Specifications. You can only have one implementation for each InfoSpoke.

Caution

If you do not specify an InfoSpoke under Filter Specifications, then this implementation is valid for all InfoSpokes. This means that this is called up for all InfoSpokes during the extraction.

3. Activate your class.

4. From the Interface tab page, you arrive at the TRANSFORM method in the class builder by double-clicking. There you can enter your code:

method IF_EX_OPENHUB_TRANSFORM~TRANSFORM .

your code

endmethod.

5. Activate your method. Return to the BAdI builder. Return to your InfoSpoke.

Result

You can now write the data into the open hub destination using your own transformations.

4 comments:

anushya said...

this blog is really awesome. thanks for publishing this information. Visit my link as well.
Ethical Hacking Course in Bangalore
Hacking Classes in Bangalore
Data Analytics Courses in Bangalore
Digital Marketing Courses in Bangalore
RPA Training in Bangalore
Big Data Training in Bangalore
Hacking Course in Bangalore
Robotics Courses in Bangalore

Aparna said...

The blog was having such a wonderful and useful information with a comprehensive concept. I like this kind of info from your great blog. Kindly updating them...
JMeter Training in Chennai
JMeter Training Institute in Chennai
Power BI Training in Chennai
Job Openings in Chennai
Linux Training in Chennai
Corporate Training in Chennai
Tableau Training in Chennai
Oracle Training in Chennai
Job Openings in Chennai
JMeter Training in Anna Nagar

Unknown said...

Awesome blog thanks for sharing While choosing your perfect ride for driving, Accord Cars comes with and the best packages for you to pick from. Self drive Cars in Chennai are done the easier. Just pick out your plan from hourly, daily, weekly and even monthly plans available.

shiva said...

I love your writing style very much, I would like to suggest your blog in my dude circle, so keep on updates.
Cyber Security Training Course in Chennai | Certification | Cyber Security Online Training Course | Ethical Hacking Training Course in Chennai | Certification | Ethical Hacking Online Training Course |
CCNA Training Course in Chennai | Certification | CCNA Online Training Course | RPA Robotic Process Automation Training Course in Chennai | Certification | RPA Training Course Chennai | SEO Training in Chennai | Certification | SEO Online Training Course