cancel
Showing results for 
Search instead for 
Did you mean: 

ASMA parameters in file adapter

Former Member
0 Kudos

Hi experts,

Please explain when exactly we will get the requirement to use ASMA attributes in file adapter and provide few examples?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kristen,

pls refer this blog

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

Hope it helps..

Thanks,

vasanth.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

To save adapter attributes in the message header of the XI message, select Set Adapter-Specific Message Attributes.

refer below links:

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm

/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping

Former Member
0 Kudos

HI,

Just to add a quick note, in the case of adapter like File Adapter you have the option in the Sender / Receiver File Adapter to select the ASMA and the corresponding Attribute ( eg : FileName, Directory etc ) to be used from the SOAP Header.

In the case of few other adapters like SOAP, you do not have such explicit option. You add the ASMA to the SOAP Header using a UDF and you just select ASMA and Varibale Transport Binding in the Receiver SOAP adapter and all the SOAP Adapter value are replaced with header ASMA.

Each adapter has a few specific ASMA and these can be seen along with the technical names while trying to set some condtion in the Condition Editory under Context Objects.

If we check ASMA of file adapter ......all the information corresponding to that attributes will be available in the SOAP header

Every adapter has a defined set of attributes, which are described individually as part of the configuration for each of the adapters. So these attributes would be visible. And better to call it Message Header instead of SOAP header.

If we check ASMA in the receiver file adapter then receiver file adapter will pick those values from the SOAP header and will assign to the target file.

Yes, if mapping of these attributes are done.

Even we can directly set the target file name by accessing the system parameters through UDF.

Yes

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e96...

/people/jin.shin/blog/2007/04/27/sap-netweaver-xi-variable-substitution-with-adapter-specific-message-attributes-via-dynamicconfigurationbean

/people/sravya.talanki2/blog/2006/12/20/accessing-system-parameters-in-mapping-runtime

/people/alessandro.guarneri/blog/2007/03/18/basic-spam-protection-for-xi-mail-adapter

Thanks

Swarup

Former Member
0 Kudos

Hi,

Adapter-Specific Message Attributes is used when u wanted to send the file name,directory etc in mapping to target system. For this u need to write the UDF in Mapping and hat UDF will get the file name from the file adapter and send it to target system.

http://help.sap.com/saphelp_nw04s/helpdata/en/22/b4d13b633f7748b4d34f3191529946/frameset.htm

Refer the below link:

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping

chirag.