cancel
Showing results for 
Search instead for 
Did you mean: 

Get File Name Into Message

Former Member
0 Kudos

Hi all

Is there anyway I can get the file name that was send into xi into my message. The file name is needed to do mapping, I followed this blog /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 we are on SP 17 but I cantt find where to set adapter speceficts?

Any help will be appreciated

Regards

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi

Thx for your reply. I went trought the sap help document you gave me.

It looks like we are missing some of the Paramater you can choose in the sender communication channel. I dont have the option to choose:

Advanced Tab Page

Adapter-Specific Message Attributes

Any Idea why?

Shabarish_Nair
Active Contributor
0 Kudos

Ignore the advanced ta.

DO you find anything that mentions Adapter Specific attributes inside your communication channel?

It should be followed by multiple checkboxes.

www.erpgenie.com/sap/netweaver/xi/XI%20Service%20Packs%20Described.doc

refer: section 16.3

This is a feature since SP 14 in XI 3.0 ie SP05 in PI 7.0

If you are unable to locate this yet again contact your basis team to get this feature via the service pack or else bring to notice this issue, with them.

Former Member
0 Kudos

It seems you need to upgrade to a higher Service Pack. As far as i can remember this should work.

GReets

Former Member
0 Kudos

Component version : SAP NetWeaver 2004s

SAP_ABA SP17

SAP_BASIS SP17

PI_BASIS SP07

ST-PI SP06

SAP_BW SP19

Former Member
0 Kudos

Stephan,

See below

Adapter-Specific Message Attributes

A configured variable substitution (see above) is performed after the attributes from the message header are applied.

● To evaluate adapter attributes in the message header of the XI message, select Use Adapter-Specific Message Attributes.

● If you want missing message attributes to trigger an error message, select Fail If Adapter-Specific Message Attributes Missing. If the indicator is set and the header for adapter-specific message attributes or one of the set attributes is missing from the message, this leads, in asynchronous cases, to a delivery exception in the audit log of the message. In synchronous cases, the sender of the message is notified.

If you do not set the indicator, and message attributes are missing, the adapter accesses information from the adapter configuration.

To evaluate the following attributes in the XI message header, set the corresponding indicators:

Name Technical name

File Name FileName

Directory Directory

File Type FileType

File Encoding FileEncoding

You can only set this indicator if the file type is text, and if the file type indicator above is already set.

and so on please take a look at sap help.

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/0a7d1be4e622f3e10000000a1553f7/frameset.htm

You can access these variables using the Dynamic Configuration as well

Former Member
0 Kudos

Hi

Software component Release Level

SAP_ABA 700 0017

SAP_BASIS 700 0017

PI_BASIS 2006_1_700 0007

ST-PI 2005_1_700 0006

SAP_BW 700 0019

Regards

Former Member
0 Kudos

Hi

Thx for the replies, We dont seem to have the option for that paramater it's not in the communication channel. Is there any other config that needs to be done?

Regards

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hi

>

> Thx for the replies, We dont seem to have the option for that paramater it's not in the communication channel. Is there any other config that needs to be done?

>

>

> Regards

what SP are you on?

Former Member
0 Kudos

Stephan

When the adapter specific attributes are enabled in the adapter settings, you can use the values via a UDF inside the mapping logics.

see for accessing them:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm

and

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/0a7d1be4e622f3e10000000a1553f7/frameset.htm

for a generic view.

Greets

Former Member
0 Kudos

Hi

In Sender File/FTP adapter

there is a Check Box, for adapter specific attributes, just above 'Run Operating system......'

check that box, then you can see more options

like File name, Directory.....etc

For rest of the requirements your blog itself has the solution

Regards

Vishnu