10-24-2007 3:53 PM
Hi all,
Does anyone knows how I can get the central abap instance name ?
If not I'd like to find the directory DIR_DATA like defined in AL11. But I do not know how. It does not seem like it is possible with file_get_name function module.
Thanks
Sylvain
10-24-2007 4:49 PM
Try FM
/SDF/INSTANCE_INFO to get the ABAP Instance.
TH_SERVER_LIST to get other details.
Also check other FMs in FunctionGp. THFB
Hope it helps.
Lokesh
PS. please reward helpful posts
10-25-2007 8:22 AM
Hi Lokesh,
Unfortunately I didn't find what I was looking for in these FM.
My AL11 transaction give me the following dir for DIR_DATA :
/usr/sap/B01/DVEBMGS07/data
I'm able to find B01 dynamicly (this is the sys id) but not the DVEBMGS07.
Best regards,
Sylvain
10-25-2007 10:19 AM
Hi all,
I found a solution :
CALL 'C_SAPGPARAM' ID 'NAME' FIELD 'stat/file'
ID 'VALUE' FIELD pfad.
This code give me the right url.
Best regards
Sylvain