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

Creating a folder in application server in background.

former_member216668
Participant
0 Likes
1,000

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
Read only

Former Member
0 Likes
752

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
Read only

Former Member
0 Likes
753

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

Read only

0 Likes
752

Thanks Darren,

It worked like a dandy.

cheers,

K

Read only

0 Likes
752

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