Application Development 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: 

Creating a folder in application server in background.

former_member216668
Participant
0 Kudos
317

Hi experts,

Is it possible to Creating a folder in application server in background.?

My requirement is like this , every time a PO is created it has to be saved locally.

When atlast i manged to do this, i get stuck again by this CR ,

The PO has to be saved in a folder with the same name as PO number,

I do not know if it is possible.

So as always I am looking for inputs/suggestions or knowledge if you had come across scenario like this one.

Thanks and Regards,

K

1 ACCEPTED SOLUTION

Former Member
0 Kudos
69

Hi,

You could create a system command in SM69 to create a directory and then use the function module SXPG_CALL_SYSTEM to invoke the command and pass in the directory name as a parameter at run time.

Darren

3 REPLIES 3

Former Member
0 Kudos
70

Hi,

You could create a system command in SM69 to create a directory and then use the function module SXPG_CALL_SYSTEM to invoke the command and pass in the directory name as a parameter at run time.

Darren

0 Kudos
69

Thanks Darren,

It worked like a dandy.

cheers,

K

0 Kudos
69

Ken

What command have you created in SM69? I am giving operating system command 'mkdir <path>\<new dir name>', it return error code 1.

Regards

K