Skip to Content
avatar image
Former Member

ASMA tick for variable subs?

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 ?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Jul 27, 2012 at 05:40 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 27, 2012 at 07:01 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 27, 2012 at 07:24 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded