cancel
Showing results for 
Search instead for 
Did you mean: 

variable substitution do not function

Former Member
0 Kudos

Hello All,

I have a problem to implement dynamique variable in my scenarii

I read many blogs but I did not find the solution.

I create a very simple configuration abap proxy to file.

My goal is to create my file name with a message_id

in Advanced

under Variable Name : var2

under Reference : message:message_id

I also selected in Advanced

Use Adapter-Specific Message Attributes

Fail If Adapter-specific Message Attributes Missing

File Name

in my target

Target directory : E:\XI\out\wjb

File Name scheme : test%var2%

The message is sent in abap proxy (ERP system) and received in file adapter (NFS) (PI System, 7.0 SP16) who normally creates a file.

The message appears in sxmb_moni (status processed successfully in ERP and PI) BUT the file is not created !!!!

Thanks in advance

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Go to runtime workbench, component monitoring -> communication channel monitoring and check the status of your Receiver communication channel status.

Thanks,

Pooja

Former Member
0 Kudos

indeed i have a problem with my receiver (file adapt) CC

Message processing failed.

Cause: com.sap.aii.af.ra.ms.api.RecoverableException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: The Adapter Message Property 'FileName' was configured as mandatory element, but there is no 'DynamicConfiguration' element in the XI Message header

thanks

Edited by: Nor Goudjil on Dec 17, 2008 8:43 PM

Former Member
0 Kudos

Hi Nor

You need to remove ASMA

FileName is selected at receiver but you are not passing it from Sender or Mapping right ? remove this selection and test again.

Thanks

Gaurav

Former Member
0 Kudos

OOooooooooooook

Thanks the message was created...

BUt in which case must be used ASMA ??

for java mapping (dynamic configuration) or sender file adapter ?

thanks

Edited by: Nor Goudjil on Dec 17, 2008 9:00 PM

Edited by: Nor Goudjil on Dec 17, 2008 9:01 PM

Former Member
0 Kudos

Hi

Using ASMA you need to set values for Dynamic Configuration

Either sender adapter can set it if applicable like (FILE, HTTP etc.) but your case its proxy then no adapter config required for sender.

You can set it in Mapping as well and use it if required.

Thanks

Gaurav

Former Member
0 Kudos

hi gurav,

thank you for the details

Ng

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Nor

As Sudhir said try it removing ASMA

Moreover is it working without variable substitution just give it a check.

Thanks

Gaurav

SudhirT
Active Contributor
0 Kudos

Hi,

everything seems ok. just remove all the checks from ADAPTER SPECIFIC ATTRIBUTES.

then it will work.

thanks.