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

Function Module CSM_SHOW_DIR

Former Member
0 Likes
383

Hi all,

I am trying to figure out the proper use of this function module. When i execute this function module it asks for a RFC destination and a directory name. I have tried giving various inputs but i donot get any proper information in OUTPUT_STD table.

Any of you guys ever used this function module ? if so please share your experiences

regards,

Awaiz

2 REPLIES 2
Read only

Former Member
0 Likes
360

If you view the source code:


data: textline like CCMCTLTXT.

textline =  'for internal use only'.
move textline to output_std.
append output_std.

It seems all it ever does, no matter what you pass it, is append 'for internal use only' to table output_std.

Why are you trying to use this FM? Have you tried doing a 'where used' to find out if SAP use it anywhere?

There are other FM available if you're trying to read directories found in AL11.

Read only

0 Likes
360

Hi,

Thanks a ton for your answer ! What iam trying to do is to figure out a way to upload certain logs to the SAP system. The path of the log can be any file path on any server.

This function module is used within an other function module SALK_XML_FILE_POLL. If you know a better way to do this please let me know.

regards,

Awaiz