Skip to Content
avatar image
Former Member

Get central abap instance name or DIR_DATA path

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 24, 2007 at 03: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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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