cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Configuration - CC Receiver - Abap Mapping

former_member182004
Contributor
0 Kudos

How can I add info in the xml message in Dynamic Configuration from Abap Mapping ?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Your question is not clear! Plz provide lil more details to understand.

Regards,

Jilan

former_member182004
Contributor
0 Kudos

The scenario is: IDOC -> XI -> File

I'm using ABAP Mapping and I want to add in the Dynamic Configuration of the XML Message the FileName.

Former Member
0 Kudos

Hi juan,

Do you mean that you want to configure the reciever determination dynamically based on some value in the mapping?

If yes, you can do that in the ID.

Just go to receiver determination and select condional routing in "Configured receivers". Set the condition and then value of teh service.

I hope that i have answered your question based on my understanding. If not, please elaborate the scenario.

Thanks

-Kulwant

Former Member
0 Kudos

Hi,

The following should do the trick:


data: l_dyn_record type MPP_DYNAMIC.

l_dyn_record-namespace = 'http://sap.com/xi/XI/System/File'.
l_dyn_record-name = 'FileName'.
l_dyn_record-value = 'myFileName'.

CALL METHOD dynamic_configuration->add_record
  EXPORTING
    record = l_dyn_record.

Regards,

Daniel

Answers (0)