Acces dynamic configuration variable (e.g. filename) in ABAP mapping class
I am searching for a possibility to acces a dynamic configuration variable (DCV) in an ABAP mapping class. Since I could not find a solution in SDN and other sources, I hope somebody in this forum can help me.
What I already found is the following code which can be used to set a DCV, but what I would be interested in is how to read a DCV.
Any help is appreciated.
METHOD if_mapping~execute. DATA l_record type mpp_dynamic. * copy payload result = source. * add an adapter specific attribute l_record-namespace = 'http://sap.com/xi/XI/System/File'. l_record-name = 'FileName'. l_record-value = 'test.xml'. dynamic_configuration->add_record( l_record ). ENDMETHOD.