‎2007 Oct 24 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
‎2007 Oct 24 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
‎2007 Oct 25 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
‎2007 Oct 25 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