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.

Markus

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.

replied

Hi Markus,

you can find everything in my blogs

/people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping

Regards,

michal

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