Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

File on Windows system using Linux Application Server

SantoshKallem
Active Contributor
0 Likes
2,468

Hi Friends,

I want to create an XML File on Windows system using Open Dataset, But my application server is on Linux.

so it is not generating the file.

if the application server is on windows , file is generating on windows system perfectly.

ex: //10.2.202.651/xml/customer/

Can we create a file on windows system when iam using Linux Application server.

Regards,

Santosh Reddy

12 REPLIES 12
Read only

SantoshKallem
Active Contributor
0 Likes
2,046

Any Inputs Please.

Read only

0 Likes
2,046

No Clues...

Read only

Former Member
0 Likes
2,046

I think open dataset should work if your basis team maps(or mounts) the windows server to your current Linux application server. Once the do a mount you will get a logical address for the server(not the ip address) which you can use in your open dataset statement.

Read only

0 Likes
2,046

Thanks Aparna,

if you can you tell me the procedure, will be more appriciate.

Regards,

Santosh Reddy

Read only

0 Likes
2,046

The changes are completely Basis related. Wish i knew the details, but i dont. Maybe your Basis team might throw some light.

Read only

SantoshKallem
Active Contributor
0 Likes
2,046

Do Tcode 'FILE' will resolve my Issue.

Can any one throw an idea on this.

Logical file and Physical file. How to work with TCODE 'FILE'

Regards,

Santosh Reddy

Read only

Former Member
0 Likes
2,046

Hi Santosh,

When we create a file on application server using open dataset concept, the OS does not come into picture much. More over we do not need to specify any IP address such as mentioned //10.2.202.651/xml/customer/. The file gets generated on the server/box itself.

If you are using Linux, check if the the basis security settings are restricting to create file.

Regards,

Amit Mittal.

Read only

0 Likes
2,046

Hi Amit,

Thank you for your response.

Actually i want to generate a file on a system which is not exactly an application server and not even a presentation server.

It is a standalone system which is in same network.

I am Sure that we can generate a file on system which is not application server using dataset, the only think is that folders should be shared and should assign the write access to our application server. so that in background it will generate the file on our expected system. i.e, for ex. //10.2.202.651/xml/customer/

My issue is My application server is in Linux and i want to generate file on Windows. My program executes fine with out any error, but physically the file won't get generated.

I worked with scenario of windows application server to windows standalone system.

Hope you Understood where i am stucked.

Regards,

Santosh Reddy

Read only

0 Likes
2,046

Hi Again,

What I understand is :

a) You want to generate a file on a different machine (not front-end, nor server) on the same network.

b) you also want to be able to generate this file in background.

For this, according to my opinion, this should be a feasible and workable option;

a) Generate the file on application server first, using open dataset and save on some application server folder.

b) use FTP to transfer file from application server to different machine.

(We use FTP, bcos this is more or less same across different OS)

and the problem of different OS can be solved.

(Note : FTP service should be running on the 3rd machine

This FTP service will also have a username and password)

FTP* function modules are also there and sample programs are also available.

c) This will also work in background. The basis team has to make sure that

FROM app server, we are able to PING to the 3rd machine. They can also try some simple FTP on application server (by logging on to the OS from remote) just to test it works, before we write an abap program.

Hope this helps.

Regards,

Amit Mittal.

Read only

0 Likes
2,046

Thanks Amit,


(Note : FTP service should be running on the 3rd machine
This FTP service will also have a username and password)

FTP* function modules are also there and sample programs are also available.

Can you provide some information how to work with FTP Function modules. what are the prerequisites for it?

We have an option to do the process you said.

I am trying to generate directly on required(windows) system. Is it Not Possible to do it.

Regards,

santosh

Read only

0 Likes
2,046

Hi again,

There are some standard FTP related programs, which we should check and execute (for the connectivity and working) before writing our own code.

RSFTP002

RSFTP*

Note: paramter RFC_DESTINATION while calling FM 'FTP_CONNECT

SAPFTP means, connecting using front-end machine (front-end <-----> 3rd machine)

SAPFTPA means, connecting using app server machine (app server<-----> 3rd machine)

So when we want background functionality, we necessarily have to use SAPFTPA.

However, while checking (in case basis team needs time for opening the restriction), we can always check the connectivity and functionality using SAPFTP (i.e. front-end)

Hope this helps.

Regards,

Amit Mittal.

Read only

0 Likes
2,046

Thanks alot Amit.

I will get back to you, if any where i stuck.

Regards,

Santosh