Quantcast
Channel: SCN : Blog List - SAP Business Warehouse
Viewing all articles
Browse latest Browse all 333

BW transformation: defining custom methods

$
0
0

Sometines we need to create a huge ABAP expert routine to shave a mammoth into an elephant by bussines requirements.

And we using the FORM statement to split and structurize a ABAP code, but I've found a little hack that making possible to define and implement custom methods inside of transformation class.

 

Process consist of only two steps:

 


1. Methods definition in 1st global part.

expert_routine_1.PNG



2. Methods implementation after ENDMETHOD statement used to artificially close expert routine's body

expert_routine_2.PNG


 

That's it.

 

And I don't want discuss possible future migration issues on "BW 15.x", just enjoy.


Viewing all articles
Browse latest Browse all 333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>