cancel
Showing results for 
Search instead for 
Did you mean: 

ASMA tick for variable subs?

former_member474221
Participant
0 Kudos

Hi

I now understand that we need a tick in the adapter specific message attribute 'filename' option in the receiver file adapter if i need a dynamic receiver file name using dynamic configuration.

My question is why we do not require that tick for the variable subs method.....that also needs the filename in the XI message header right ?

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Dynamic configuration uses ASMA to retrieve values in the UDF coding whereas VS defines variables that are directly referring to attributes of message header, elements in the XML Schema of payload etc. So it does not need ASMA.

http://help.sap.com/saphelp_nwpi71/helpdata/en/44/6a316af5a23672e10000000a114a6b/frameset.htm

Answers (2)

Answers (2)

former_member182004
Contributor
0 Kudos

Hi Hema, please kindly read this blog:

´´´´ Dynamic Configuration vs Variable Substitution - The Ultimate Battle for the File Name

https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13704

Regards,

  Juan.

Former Member
0 Kudos

With DC code u dynamically set the "filename" adapter specific messsage attribute in XI message header and just by checking Filename (ASMA property) under receiver channel u allow ur filename to be read from there directly

Now when u use variable substitution u are actually reading the XI message header attribute/reciver payload elements value in some variable and then u are referring that variable  inside the filename scheme. so in that u really dont need ASMA because u r not reading filename attribute directly from ASMA rather than u r storing it in some variable and then forming filename.

U can also use DC+ VS

http://wiki.sdn.sap.com/wiki/display/XI/Combining+three+different+aspects+of+PI+in+one+shot

Thanks

Amit Srivastava