Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Acces dynamic configuration variable (e.g. filename) in ABAP mapping class

Hi experts

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 = ''.
l_record-name = 'FileName'.
l_record-value = 'test.xml'.
dynamic_configuration->add_record( l_record ).


Hi Markus,

you can find everything in my blogs




0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question