Skip to Content
author's profile photo Former Member
Former Member

How to get the path of DIR_HOME?

Hi all,

In transaction AL11 there are several paths for SAP-directories. One of them is DIR_HOME. This path can vary from system to system.

Is there a function or command or such which can be called from an ABAP program and return the path of DIR_HOME?

Thanks in advance,

Ioana

Add comment
10|10000 characters needed characters exceeded

3 Answers

  • Posted on Jun 24, 2004 at 09:52 AM

    Hi Ioana,

    try this code:

    report ZTEST.

    data h_path(75) type c.

    call 'C_SAPGPARAM' id 'NAME' field 'DIR_HOME'

    id 'VALUE' field h_path.

    write: / 'DIR_HOME:', h_path.

    Regard,

    Dirk

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 24, 2004 at 08:43 PM

    Hi!

    For your request and even more you can use the function module "TH_ENVIRONMENT".

    *--Serdar

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 29, 2004 at 03:58 PM

    Hi Ioana,

    see the Source of AL11!

    SA38 with rswatch0.

    Viktor

    Add comment
    10|10000 characters needed characters exceeded