2024 Mar 28 5:42 AM
Hi ABAP Cloud Experts.
I would like to know, How to call Class in the BW transformations. I have created a class where it will give the output as Current date. I would like to use this class in BW transformations and along with other data, System date should display for all records.
Please find the sample code.
CLASS zsample11 DEFINITION
PUBLIC
FINAL
CREATE PUBLIC .
PUBLIC SECTION.
INTERFACES if_oo_adt_classrun.
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
CLASS zsample11 IMPLEMENTATION.
METHOD if_oo_adt_classrun~main.
out->write( cl_abap_context_info=>get_system_date( ) ).
ENDMETHOD.
ENDCLASS.
Thanks.
2024 Apr 08 9:55 AM
Dear BW Experts,
It will be great, if you share some sample code on how to call class in BW transformations of the AMDP method.
THanks,