Finding path for transport directory

I need to find the path to the directory where the transport info is saved. In our setup, it is there at /usr/sap/trans.
My first question is that, is the transport info always at this path or can this path be changed?
If it can be changed, how can i find what is the path from a c/c++ program? Is there a config file which has all this information or are there any APIs that we can use?

Hello,
the root directory for transports is defined by the SAP profile parameter DIR_TRANS which is normally set in the instance profile under /sapmnt/<SID>/profile/<instance profile file>, it can be changed and you just could read the profile file with an external program and get the value of this parameter.
regards
Christian

Similar Messages

  • To find path for T.code in SPRO

    How to find path in SPRO  for T  code OMJX  and how to set default setting (user should be able to change if required ) for certain fields in MIGO for example -in excise tab - part 1 entry only which are not in personal setting.

    Hi,
    Go the Menu Path in SPRO
    Addition information>Display key>IMG activity the Last four alphabets always correspond to the transaction
    Customising PATH is MMIM>Settings for Enjoy transactions>Settings for Goods Movt MIGO->Field selection for MIGO
    regards,
    Lalita

  • Relative path for Download directory folder.I created a firefox profile and i wanted to use this profile in multiple machines.I wanted to use a relative path for download directory with respect to the profile folder.I need this on Linux machines

    I have a use case where I need to use different download directories with different firefox profiles.I need to use this profiles in multiple linux machines.
    I need to have a relative path to my download directory with respect to the profile folder.
    Ex: I have a selenium test which opens a website and downloads it to my machine.I want this downloaded file to go into some specific folder relative to this profile folder.How do I do this??

    That is not a practically empty xinitrc - that file only needs one line: exec WM.  Other things are entirely optional, and some of them very useful, but I'd encourage you to stick with the simplest xinitrc that will do what you require.
    Is slim involved?  Probably.  That is the source of many problems.  But to start narrowing this down, I have 3 suggestions:
    1) temporarily (at least) change your inittab to default to runlevel 3 ... actually, is it currently set to 5 or 3? if it is currently 3 that would explain why slim doesn't start.
    2) at a tty in runlevel 3 use "xinit" instead of "startx".  Startx is fine most of the time, but it is essentially just a complex wrapper for xinit.  That complexity can often iadd useful functionality, but it *always* makes troubleshooting more difficult.  So for now just use a vanilla 'xinit'.
    3) remove dbus-launch from your exec line in xinitrc.  This is done by console-kit so it is redundant and potentially problematic.  Further BOTH of these are taken care of by slim, so I'd even suggest getting both a jump start on being ready for slim and simplifying troubleshooting by removing both of them.  Just make that line "exec openbox-session"
    Edit: adding one more:
    4) temporarily switch out openbox-session for openbox.  I suspect the reason feh's setting of the background is getting overridden is due to a script or setting in openbox's autostart settings - many of these are only invoked when "openbox-session" is called, while "openbox" starts *just* the window manager itself.
    Last edited by Trilby (2012-10-03 17:30:36)

  • How to find path for an OA page

    Dear All,
    I need to modify a seeded page in OA fmwk. for which I am unable to get its physical location in the directory structure for its CO and related java and class files.
    This page is regarding the Purchase Order . Also when I navigate to this page, the URL that appears in the address bar is : "http://supplierapt.jcpenney.com:15600/OA_HTML/OA.jsp?akRegionCode=POS_VPO_MAIN_PAGE&akRegionApplicationId=177&SearchType=Simple&menu=Y&dbc=entfnl20_fnuat2&transactionid=1688843644" .
    Can somebody please let me know what is the way to find that particular page in directory.
    Please help!
    Thanks a lot

    About this page functionality was not available in FWK 5.7
    so you will not see the link.
    Now coming to your query, if you are on 5.7, then from the url pick the ak_region_code and log on to apps using AK Developer responsibility.
    Query for the region with the region code that you got from the URL in the Regions form.
    You will find the page metadata in AK Dictionary.
    Thanks
    Tapash

  • Jardiff Failing Cannot find path for creation

    I get the following error when I try to enable versioning:
    2002-08-12 17:54:53 Generating JarDiff for spotlight.jar 1.4->1.5
    2002-08-12 17:54:53 Failed to genereate jardiff
    java.io.IOException: The system cannot find the path specified
         at java.io.WinNTFileSystem.createFileExclusively(Native Method)
         at java.io.File.checkAndCreate(File.java:1294)
         at java.io.File.createTempFile(File.java:1382)
         at java.io.File.createTempFile(File.java:1419)
         at com.sun.javaws.servlet.JarDiffHandler.generateJarDiff(JarDiffHandler.java:156)
    Any ideas

    What version of java are u running the servlet on ?

  • Finding path to source directory

    I have recently started using NetBeans to run previously written programs. In these programs, to get an image file I would make a call like
    File imgFile = new File("images" + File.separator + "someimage.jpg");
    This worked fine because I was running the program from the root directory of my project. However, running from NetBeans (or just executing from a directory that is not my project root) the default File directory is no longer the expected directory. How can one ascertain the base directory of an executing application progamatically?
    Thanks,
    Colvin

    How can one ascertain the base directory of an
    executing application progamatically?You don't. Instead, you load files as resources, from the classpath, via getClass().getResourceAsStream("/myresource.txt") instead of the File API.

  • Cannot find real path for '/var/install/Client/DATA_UNITS/HDB_CLIENT_LINUX_X86_64/../install/sdbrun': No such file or directory

    Hi Experts,
    I got the error "cannot find real path for '/var/install/Client/DATA_UNITS/HDB_CLIENT_LINUX_X86_64/../install/sdbrun': No such file or directory" and "Error during execution of HdbCmdClazz section!" during SAP NW 740 HANA installation. I specified the right path for HDB client (see in attachment).
    Any ideas, please?
    Thanks & best regards,
    Sreenu

    The service file is in $srcdir, not $_svnmod/builders/cmake.
    You're using an outdated PKGBUILD template too. The svn source should be included in the source array and not checked out manually during the build process.
    EDIT: since this repository requires authentication, perhaps the correct format won't work.
    Last edited by WorMzy (2015-02-08 23:07:59)

  • Set default directory/path for SaveAs Dialog using WPG_DOCLOAD

    Hi, im trying to set the default directory/path for the SaveAs Dialog called by wpg_docload.download_file.
    I'm not able to find where I can specify the default path.
    Is it something like "htp.p('Content-Disposition: attachment; path=:PX_OUTPUT_DIR" ?
    Thx for your help !
    Here's a part of my code
    owa_util.mime_header( NVL(mime,'application/octet'), FALSE );
    htp.p('Content-length: ' || length);
    htp.p('Content-Disposition: attachment; filename="'||substr(fileName,INSTR(fileName,'/')+1)|| '"');
    owa_util.http_header_close;
    wpg_docload.download_file( lobLoc );
    /*********************/

    I don't believe you're allowed to set the directory path in the Content-Disposition (or any other) header. More accurately, you can set path in the filename, but browsers don't pay any attention to that, they only look at only the terminal filename.
    <p>According to RFC 2183, browsers are supposed to ignore any path information sent with the filename. Even though it's dated 1997, I believe this RFC is still in effect.
    <p>This was done as a security precaution against malicious web apps that might try to download into a system directory or other dangerous place. Also, browsers (usually) allow users to specify their own default download directories. Further, even if you could specify the path, you'd have to do it for any and all filesystems (Linux, Mac HFS, Mac OSX, Windows, etc etc).

  • How to find out import & export path for object migration between D Q & P?

    Hi guys!
    Is there a way, how to find out export and import path for object transport on XI?
    Thanx!
    Olian

    Hi,
    Have a look at these links.
    When we do an export of the IR or the ID Oblects, a typical path at which it gets exported in the XI Server is as follow:
    For IR Objects:
    “C:\usr\sap\PI1\SYS\global\xi\repository_server\export “
    For ID Objects:
    "C:\usr\sap\PI1\SYS\global\xi\directory_server\export"
    Now in case you need to import the ".tpz" that you have.... You need to place it in the path mentioned below and u will be able to do import it from IR or ID...
    For IR Objects:
    “C:\usr\sap\PI1\SYS\global\xi\repository_server\import “
    For ID Objects:
    "C:\usr\sap\PI1\SYS\global\xi\directory_server\import"
    File Level transport in sap xi
    Every SLD related transport details are explained here
    Regarding transport of SLD objects
    https://service.sap.com/~sapdownload/011000358700001684302005E/HowToSLDandXI.pdf
    Regarding transport of XI objects
    http://help.sap.com/saphelp_nw04/helpdata/en/93/a3a74046033913e10000000a155106/content.htm
    Regards,
    Akshay Jamgaonkar.
    Reward points if find useful.
    Message was edited by:
            Akshay Jamgaonkar
    Message was edited by:
            Akshay Jamgaonkar

  • Listing directory path for all Itunes songs

    I have songs in my Itunes that I've managed to put in a number of different places on my computer, as well as on a second hard external hard drive. I want to list the inventory of all my songs, and be able to see what the path is for each, which I know is in "Info" - but I don't want to have to go through song by song. Is there a way to add that date to a print out or some other easy tool so I can find the ones that aren't in either of my primary, default Itunes folders (C: and my external drive)

    I'm trying to find the paths for over 3000 songs on my C drive to confirm that they've been copied to my external drive. First of all, I'm not finding a current .itl or .xml file - they're dated 7/29/08 and I've updated Itunes with new content numerous times since then. When I open the .xml file that's in the directory, I'm getting pages that don't clearly show me or allow me to sort the data.

  • Dynamic Configuration - Set Directory Path for File Receiver Adapter

    Hi Experts,
    I have a question regarding the dynamic configuration for the file adapter. Is it possible to set a directory path without a message mapping for the file receiver adapter? the problem is that I want to import a pdf document. this pdf document I want to store in a dynamic directory (depending on the filename). so I have to read the filename out of the dynamic configuration and generate (depending on the filename) a directory for this file. Is that possible without a message mapping? I cannot make a message mapping because the file has the pdf format and should not get changed.
    best regards
    Christopher Kühn

    Hi Gaurav,
    I use the ASMA (respectively the filename) for the sender adapter. After the pdf was imported into XI this filename is in the ASMA.
    But what then??? How can I get this filename with the help of the variable substitution? and if I have this filename I have to change this filename a bit to generate the name / path of the directory.
    Please explain it to me detailled
    Thanks and regards
    christopher

  • Add TFTP directory path for controller backups

    Hello
    We are trying to get controller backups sent to a remote TFTP server via WCS.
    We have configured the TFTP server IP in WCS via the 'Configure' > 'TFTP Server' section.
    We then schedule the TFTP via 'Administration' > 'Background Tasks' > 'Controller Configuration Backup', choosing the TFTP server we have previously configured.
    However, we are being asked to send the files to a particular sub-directory of the TFTP server rather than the root folder, does anybody know if it is possible to define the file path for these TFTP's via WCS?
    thank you in advance
    regards
    Bryn

    If you want to dump the files to the root directory of the TFTP server just put ./ in for the path.

  • Path for Directory in Selection Screen

    I have one field in selection screen Error log.
    I have to pick path for dirctory in that parameter, so that I can save my error log there on that path.
    how i can do it ?
    F4 for the path is needed. how i will define that parameter in selection screen?

    Hi
    Check the below logic:
    DATA :G_DIR1 TYPE STRING.
    DATA : G_T_FILENAMES TYPE SETST_TYPE_STANDARD_TABLE,
           G_WA_FILES LIKE LINE OF G_T_FILENAMES.
    PARAMETERS: P_FOLDER TYPE RLGRAP-FILENAME OBLIGATORY
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FOLDER.
      PERFORM F1000_GET_DIR.
    START-OF-SELECTION.
      IF G_DIR IS INITIAL.
        G_DIR = P_FOLDER.
      ENDIF.
    PERFORM F1100_GET_FILENAMES USING G_DIR.
    FORM F1000_GET_DIR .
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_BROWSE
        EXPORTING
          WINDOW_TITLE         = 'Folder for ADP Files'
          INITIAL_FOLDER       = G_DIR1
        CHANGING
          SELECTED_FOLDER      = G_DIR1
        EXCEPTIONS
          CNTL_ERROR           = 1
          ERROR_NO_GUI         = 2
          NOT_SUPPORTED_BY_GUI = 3
          OTHERS               = 4.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        P_FOLDER = G_DIR1.
      ENDIF.
    ENDFORM.
    FORM F1100_GET_FILENAMES  USING    P_DIR.
      DATA : L_DIR TYPE STRING,
                L_COUNT TYPE I,
                L_COUNT1 TYPE I.
      DATA : L_T_FILES TYPE SETST_TYPE_STANDARD_TABLE,
             WA_FILES LIKE LINE OF L_T_FILES.
      L_DIR = P_DIR.
      CLEAR : G_T_FILENAMES[], G_T_FILENAMES.
      CALL METHOD CL_GUI_FRONTEND_SERVICES=>DIRECTORY_LIST_FILES
        EXPORTING
          DIRECTORY                   = L_DIR
       FILTER                      = '.'
       FILES_ONLY                  =
       DIRECTORIES_ONLY            =
        CHANGING
          FILE_TABLE                  = L_T_FILES
          COUNT                       = L_COUNT
        EXCEPTIONS
          CNTL_ERROR                  = 1
          DIRECTORY_LIST_FILES_FAILED = 2
          WRONG_PARAMETER             = 3
          ERROR_NO_GUI                = 4
          NOT_SUPPORTED_BY_GUI        = 5
          OTHERS                      = 6
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      G_T_FILENAMES[] = L_T_FILES[].
      LOOP AT G_T_FILENAMES INTO G_WA_FILES.
        IF G_WA_FILES CS SY-DATUM.
          G_WA_FILES1 = G_WA_FILES.
          APPEND G_WA_FILES1 TO G_T_FILENAMES1.
        ENDIF.
      ENDLOOP.
    Regards,
    Ravinder

  • Find Import user for transports

    Hi,
    We need to write a report which will run on production and find the import user certain transports.
    I know how to obtain the user who released the transport (in E070), and
    I am aware that the transport history in transaction STMS shows the actual import user, but I have not been able to find the table/function module that will return this information to be used in my program.
    Does anyone know how to obtain the import user for a transport?
    Regards,
    Eugene

    Hello Eugene
    The function module which is behind the <i>Transport History</i> button is:
    - TMS_TM_GET_HISTORY
    Call this function module using the following parameters:
    IV_SYSTEM = <sysid>                    " e.g. E01
    IV_DOMAIN = DOMAIN_<sysid>      " e.g. DOMAIN_E01
    and set values for CV_START_DATE and CV_END_DATE. I believe the functions of the other IMPORTING parameters are quite obvious.
    In addition to this function module have a look at threads:
    Table Name for Transport Requests & Program name
    There you will find another interesting function module (<b>TR_READ_GLOBAL_INFO_OF_REQUEST</b>) described.
    Regards
      Uwe

  • Need FM to find physical path for given logical path

    Hi Guru's,
    I wanted to find the physical path for the given the logical path.
    I have a requirement where i have to write records into the file  mentioned via logical path .Inside the program i wanted to fetch the physical path for given logical path .
    Is there any FM to achieve this functionality.
    Thanks!!
    Pravee

    Use fm FILE_GET_NAME to get physical file name from a logical file name. But u have to maintain the mapping between logical file name and physical file name in tran. FILE.
         call function 'FILE_GET_NAME'
              exporting
                   logical_filename = lds_name << Logical file name
              importing
                   file_name        = ds_name << Physical file name
              exceptions
                   file_not_found   = 01.
    Regards,
    Joy.

Maybe you are looking for

  • New PC will I lose my songs?

    I had all my music on my old computer, but that computer broke and I cant get my music back. So if I plug in my Ipod NANO into my NEW computer, will I lose all my songs? And is there a way to save them? adri92683 Nano 4 GB   Windows XP  

  • What is Difference between ANSI SQL and ORACLE SQL

    Hi, I am going to take the assesment test for ANSI SQL Programming before that i want to know any difference between ANSI SQL and ORACLE SQL? I am studying for SQL but the test will be ANSI SQL please let me give an idea about the both. Thanks Merina

  • I need a file for EPLAN P8 Version 2.4

    My problem is that I need a file for EPLAn P8 about NI USB-6501.

  • Portage 3110CT factory restore

    Please I badly need to restore my protege 3110CT to factory settings and I do not have the factory CDs. The CD is dead and there is no way to get an USB installed also, so there is no way to do anything. Could some one help? It'll be very very much a

  • [Solved]Starting up the database

    Hi Gurus, I have installed Oracle 10g Release2 in my Windows XP machine. I created 2 databases A and B. Now I would like to start the database manually. I set the ORACLE_SID=A. If I want to use the OS authentication I can go with sqlplus /nolog SQL>