cancel
Showing results for 
Search instead for 
Did you mean: 

Data Type, Message Type and Mapping for FTP

Former Member
0 Kudos

Thanks in advance for your replies.

As our first production XI scenario, we need to move several (at least 46) files from our SAP instance to a couple of different servers to support our legacy systems. Once all locations are on SAP this requirement should go away.

I only want to pick up the file from the one server and place it on the other and this leads me to some questions.

How do I define the Data Type and Message Type for each of the files? Do I need to consider the size of the record in each interface and create DT/MT with different sizes.

Do I need a mapping program that simply maps one structure to the other?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Refer to this weblog for the same requirement.

/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp

Thanks,

Prateek

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Amol,

All you need to do is create one data type, one message type and you can reuse it

<data>

<ROW></ROW>

</data>

and put all your records into this row.

You don't have to do any message mapping. Just create a Inbound and outbound message Interface.

Regards

VIjaya

Former Member
0 Kudos

Thanks for all the responses!!!

I'll punch it in and see what I get with some of the test files I have.

Since I'm new the the community I wasn't aware of the weblog section of the site, so I'll venture there as well.

Cheers.

Former Member
0 Kudos

Hi Mark,

Go thro this blog and its comments.

/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp

Hope this helps.

regards,

P.Venkat

Former Member
0 Kudos

I recently completed a similar exercise.

It looks like this...

server1 ftp (Sender - delete file) - XI - Server2 ftp (receiver - create file). This will move the file from one server to another.

I used the same schema and mapped fields on a one to one basis.

The Size of the files I process are between 6kb and 500kb each, but the mapping/fields remain constant, just the numebr of items change.

Worked seemelessly for the last three weeks (since go-live)

Shabarish_Nair
Active Contributor
0 Kudos

I would suggest to <b>avoid mapping</b> to improve performance. Even <b>content conversion can be avoided</b> if the task is only to FTP the file from one location to another.

ShaBZ

Shabarish_Nair
Active Contributor
0 Kudos

Do have a look at my weblog : /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp

you can have any dummy DT / MT and no need of a mapping.

But then it would all depend on your file size.

Refer the discussion below the weblog for further info.

Message was edited by: Shabarish Vijayakumar