‎2009 Feb 13 9:09 AM
In al11 there are two colums, one is 'NAME OF DIRECTORY PARAMETER' and other is' DIRECTORY'.
my requirment is i want pass a name of the parameter and get the directory.
For eg,
By passing 'DIR_SOURCE' in directory parameter, i will get ' D:\usr\sap\DEV\SYS\src'.
Is there any FM through which i can do this.?
‎2009 Feb 13 9:42 AM
Use the following code
DATA: dirname TYPE DIRNAME_AL11.
CALL 'C_SAPGPARAM' ID 'NAME' FIELD 'DIR_SOURCE'
ID 'VALUE' FIELD dirname.
‎2009 Feb 13 12:24 PM
hi,
can you please tell me the complete procee as i am unaware of that.
‎2009 Feb 13 10:37 PM
Please try this abap code and then if something does not work as you want, explain what is the problem (or what you don't understand).
‎2015 Oct 27 5:04 PM
I'm getting sy-subrc = 4 even when the parameter name is correct. Any ideas?
Best regards.
‎2009 Feb 14 9:16 AM
Hi,
EPS_GET_DIRECTORY_LISTING
Call this FM.Hope it will be helpful to u
Regards
Kiran