Skip to Content

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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.