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 folders in Workplace

Former Member
0 Kudos

Hello,

I need to create new folder in my Private folder in Workplace,

and I need to do it in ABAP.

Do You know if there is any FM to do that or maby some sample code...?

2 REPLIES 2

Former Member
0 Kudos

try

GUI_CREATE_DIRECTORY

or

TMP_GUI_CREATE_DIRECTORY

CALL FUNCTION 'GUI_CREATE_DIRECTORY'

EXPORTING

DIRNAME = 'C:\Mfbf-Bdc Error.Record'

EXCEPTIONS

FAILED = 1

OTHERS = 2.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

regards

shiba dutta

0 Kudos

No, no

I need to create that folder in my WORKPLACE under my 'Private' folder