Skip to Content
0
Former Member
Dec 12, 2006 at 01:44 PM

Add file name to the element in target message

49 Views

Hi all!

I try to configure scenario:

Get all files from directory (it will not be the same number of file every time) and mapping this file to the ERP system. I use File adapter to do this. But what Is necessary I need to mapp the file name to the element in target message.

I mean: When I have got the RFC structure imprted from ERP and there I have got the element "filename". I would like to put the file name of file which I mapping to this element. Next put the all file contents with file name to the ERP table.

It is possible to do that??

I found in sap help that I can keep file name in the message header to get the same target file name, but I wont to put file contents (with file name) to the ERP table not to another file.

THX for all your opinions.