Reg the Al11 directory parameter FM

I need a FM that takes the Directory parameter(DIR_LOCAL) in AL11 as import and File path(D:/test\data\path\) as output, please help me in this reg.

Hi,
U can use Tcode CG3Y for downloading the file from application server to file on presentation server.
With Regards,
Dwaraka.S

Similar Messages

  • AL11 Directory Parameter

    Hello Everybody,
    I feel like this question has either been answered and/or asked before, but I can't really find exactly what I'm looking for. The solutions that I did find didn't really match what I'm doing either.
    Basically, I have a directory parameter in AL11 DIR_PASSWORD Which real path is on the server E:\usr\...\passwords.
    As of now, I have the path hard-coded, but this can't stay like this. The idea is this system has to work on different application servers where the path is different, so using the directory parameter DIR_PASSWORD saves a lot of time. The path is obviously different on each application server.
    I've so far looked at transaction FILE but a logical path isn't what I'm looking for. I've also checked into multiple function modules such as file_get_name, eps2_get_directory_listing, eps_get_directory_listing, and rzl_read_dir_local. These are all ok, but the problem is that I have to use the hardcoded path, I can't use the directory parameter.
    Even after doing SQL traces and debugging I can't really find what I'm looking for either, and using google and SDN search just brings up these function modules which aren't really what I'm looking for either.
    Is there a way that I can use the directory parameter to point to a path of a folder on the application server without hard coding it? Or maybe a function module or so that'll make the conversion for me?
    Thanks a lot!

    Hi Bryan, this is a difficult one ;).
    There seems to be no Function Module to retrieve these paths.
    If you check this link, you'll see that the Directories in AL11 are all hardcoded in the standard program.
    AL11 - table behind
    There is only one table, USER_DIR, that might contain some entries (those created by the user? I am not sure though). If this is correct, then you might want to create a new Directory (the same for all of the application servers) and then you can maintain it through this table.
    Regards,
    Ernesto.

  • AL11 Directory length

    Dear all,
    Let say I have a work area with 6 fileds and each is of CHAR100 type. so if I completely populate the work area then, it will contain 600 characters.
    Now, when I create a file in the AL11 Directory with the contents of the work area, it is showing only 512 characters in the AL11 directory. However, if we open the same file through Unix system and display it, it displays all the characters.
    There is no truncation of data. But my requirement is to increase the limit from 512 characters to say 1024 or something like that, so that I can see all the characters in AL11 also.
    Is that possible? if so how can I do that?
    Thanks and Regards,
    S.Dakshna Nagaratnam.

    evem the display is not there also,once you download the files you will have all the data..
    if particlulary you want to increase the size viewable in AL11 then contact the BASIS..

  • Reg. the Business Service and Business System(Integration Directory).

    Hi,
            I have a small doubt reg. the Business Service and Business System. When do we need to go for creating a Business Service AND a Business System? I want to know the difference b/w them and the usage of a Business Service as compared to a Business System. Generally I create Business Systems in my configuration scinerioes. Could anybody pl. clarify on this?
    Regards,
    Murthy

    Murthy,
    It's been already discussed so many times, Juz give a search option in the thread, you will find a lot.
    Anyhow,Please refer the below threads.
    Re: Business Service <--> Business System
    Business service or Business system??
    Business Service and Business system
    Diff b/w Business service & Business System?
    Business Service / Business System
    business system and business service
    Best regards,
    raj.

  • Find directory from directory parameter.

    Hello all,
    My current requirement is to find the directory from the directory parameter.
    Using AL11 we are able to see the logical path name (directory parameter), eg ZINT, and the directory path /your/path/here/int.
    I would expect to find a function module that can perform this, but I am having some difficulty finding it.  I have found many that will give me the file from a file path, but I do not want the file or the entire file path.  My requirement is to find the first bit of the directory.
    If anyone knows of a thread, link, documentation, of function module I can check out to find the solution please let me know.
    Thanks in advance.
    Regards,
    C

    Did you try FM FILE_GET_NAME?
    This is te FM Documentation:
    FU FILE_GET_NAME
    Short Text
    Assign the Physical File Name Using a Logical File Name
    Functionality
    R/3 applications run on various platforms with various file systems. This function module enables you to
    use platform-independent logical file names in your application programs.
    Based on definitions maintained in customizing tables for platform-independent file names, the function
    module converts a logical file name to the corresponding physical file name and path for the hardware platform concerned.
    For this conversion to work for different platforms, the definition of a logical file name must include a logical
    file path, which in turn is converted to different physical file paths, depending on the particular platform.
    The platform-specific file name returned by the function module is composed of the physical file path for the current platform and the physical file name associated with the logical file name. Placeholders in physical file and path names are substituted at runtime by the corresponding current values.
    Example
    logical file name: MONTHLY_SALES_FILE
    physical file name: VALUES<PARAM_1>
    logical path: SALES_DATA_PATH
      physical path (UNIX): /usr/<SYSID>/<FILENAME>
      physical path (Windows): C:\SALES\<FILENAME>
    Example 1
    Get file name for UNIX platform
    (current system: K11)
    CALL                                                                                FUNCTION                                                                                'FILE_GET_NAME'
       EXPORTING
          LOGICAL_FILENAME = 'MONTHLY_SALES_FILE'
       IMPORTING
          FILE_NAME = FILE
          FILE_FORMAT = FORMAT.
    Result:
    FILE = /usr/K11/VALUES
    FORMAT = WK1
    Example 2
    Get file name for UNIX platform, passing a parameter
    (current system: K11)
    CALL                                                                                FUNCTION                                                                                'FILE_GET_NAME'
       EXPORTING
          LOGICAL_FILENAME = 'MONTHLY_SALES_FILE'
          PARAMETER_1 = '_TST'
       IMPORTING
          FILE_NAME = FILE
          FILE_FORMAT = FORMAT.
    Result:
    FILE = /usr/K11/VALUES_TST
    FORMAT = WK1
    Example 3
    Get file name for WINDOWS platform, with file name extension
    CALL                                                                                FUNCTION                                                                                'FILE_GET_NAME'
       EXPORTING
          LOGICAL_FILENAME = 'MONTHLY_SALES_FILE'
          WITH_FILE_EXTENSION = 'X'
       IMPORTING
          FILE_NAME = FILE
          FILE_FORMAT = FORMAT.
    Result:
    FILE = C:\SALES\VALUES.WK1
    FORMAT = WK1
    Notes
    All definitions needed for the platform-independent assignment of file names are maintained client-
    independently with transaction FILE. Logical file names (but not logical file paths) can also be defined
    specifically for the current client with transaction SF01. Transaction SF07 generates a list of current definitions.
    The following concepts are used in the platform-independent assignment of file names:
    Logical file name
    A descriptive name for a file which is associated with these values:
    physical file name
    file format
    logical file path.
    If no logical file path is specified, the function module returns the physical file name only; placeholders are
    substituted by current values.
    Physical file name
    The physical file name may contain placeholders.
    Logical file path
    A descriptive name for a path which is associated with these values:
    syntax groups (groups of operating systems)
    physical file paths.
    Physical file path
    The physical file path is defined for a particular syntax group. It must contain the reserved word <FILENAME> as a placeholder for the file name. It may also contain other placeholders.
    Operating system
    Presentation server and application server can run under different operating systems. The current value for the application server can be obtained from the system field SY-OPSYS, the value for the presentation server by calling function module WS_QUERY.
    Both operating systems must be defined and assigned to a syntax group.
    Syntax group
    Group of operating systems with a common syntax for file and path names (e.g. HP-UX and SINIX).
    Placeholder
    Reserved words, set in angle brackets, which can be included in physical file and path names (e.g.
    <DATE>, <FILENAME>). You can find information on possible reserved words in the online help (F1 help)
    for the fields physical file name and physical file path when maintaining platform-independent file names
    with transaction FILE.
    If the logical path associated with a logical file name does not specify a physical path for the current operating system (syntax group), the path stored in the profile parameter DIR_GLOBAL of the current
    system is used for generating a complete platform-specific file name.
    Parameters
    CLIENT
    LOGICAL_FILENAME
    OPERATING_SYSTEM
    PARAMETER_1
    PARAMETER_2
    PARAMETER_3
    USE_PRESENTATION_SERVER
    WITH_FILE_EXTENSION
    USE_BUFFER
    ELEMINATE_BLANKS
    EMERGENCY_FLAG
    FILE_FORMAT
    FILE_NAME
    Exceptions
    FILE_NOT_FOUND
    Function Group
    SFIL

  • I want to change the transport directory

    Hello gurus,
    I want to change the tranport directory in all our systems. Please advise me how to do it.
    I really appreciate your help.
    Regards,
    N.S

    Hi N.S,
    How about :
    http://help.sap.com/saphelp_47x200/helpdata/en/d5/10b4496f0f11d2b41a006094b9ea64/frameset.htm
    is it common transport directory ?
    To change the common transport directory configuration, you can
    first go to transaction AL11 of one of your system, for example, PRD.
    Change the 'DIR_TRANS' parameter, so that it points to the directory that you want to change
    Then go to STMS, choose 'System Overview' button to display systems
    of your transport domain. Double click PRD, with 'Transport
    Tool' tab, click 'Display <-> Change' button, you can change the
    'transdir' value.
    Please make sure it is equal to the same configuration of 'DIR_TRANS'.
    Repeat the above steps on your other system. Make sure the configurations
    of 'transdir' and 'DIR_TRANS' are the same as that on the PRD system.
    cheers,
    Vincent

  • How can I get the remote directory from an FTPActivationSpec header?

    The header message generated for the oracle.tip.adapter.ftp.inbound.FTPActivationSpec contains the file name, FTP host and FTP port. Is there any way of getting the remote directory as well?
    <schema attributeFormDefault="qualified" elementFormDefault="qualified"
    targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/ftp/"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:FTPAPP="http://xmlns.oracle.com/pcbpel/adapter/ftp/">
    <element name="InboundFTPHeaderType">
    <complexType>
    <sequence>
    <element name="fileName" type="string"/>
    <element name="ftpHost" type="string"/>
    <element name="ftpPort" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    This is already specified in the activation spec parameters:
    <activationAgents>
    <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="ReadFileService">
    <property name="ftpRemoteDir" type="LogicalDirectory">out</property>
    <property name="portType">Read_ptt</property>
    </activationAgent>
    </activationAgents>
    But I don't want to have to add a separate preference parameter to hold the same thing if I don't have to. Alternatively, is there any way of querying the activation agent parameters from within an xpath expression, similar to "ora:getPreference()"?
    Cheers,

    add:
    <element name="directory" type="string"/>
    to the FTP adapter header WSDL

  • [SOLVED]mpd does not detect the music directory

    I recently installed mpd with the gmpc gui, set my "music_directory" in /etc/mpd.conf to the location of all of my music (which contains lots of other folders and subfolders), but there's no listing of the audio files in the database in gmpc.
    Here's the /etc/mpd.conf if that helps:
    # An example configuration file for MPD
    # See the mpd.conf man page for a more detailed description of each parameter.
    # Files and directories #######################################################
    # This setting controls the top directory which MPD will search to discover the
    # available audio files and add them to the daemon's online database. This
    # setting defaults to the XDG directory, otherwise the music directory will be
    # be disabled and audio files will only be accepted over ipc socket (using
    # file:// protocol) or streaming files over an accepted protocol.
    music_directory "/var/lib/mpd/music"
    # This setting sets the MPD internal playlist directory. The purpose of this
    # directory is storage for playlists created by MPD. The server will use
    # playlist files not created by the server but only if they are in the MPD
    # format. This setting defaults to playlist saving being disabled.
    playlist_directory "/var/lib/mpd/playlists"
    # This setting sets the location of the MPD database. This file is used to
    # load the database at server start up and store the database while the
    # server is not up. This setting defaults to disabled which will allow
    # MPD to accept files over ipc socket (using file:// protocol) or streaming
    # files over an accepted protocol.
    db_file "/var/lib/mpd/mpd.db"
    # These settings are the locations for the daemon log files for the daemon.
    # These logs are great for troubleshooting, depending on your log_level
    # settings.
    # The special value "syslog" makes MPD use the local syslog daemon. This
    # setting defaults to logging to syslog, otherwise logging is disabled.
    log_file "/var/log/mpd/mpd.log"
    # This setting sets the location of the file which stores the process ID
    # for use of mpd --kill and some init scripts. This setting is disabled by
    # default and the pid file will not be stored.
    pid_file "/var/run/mpd/mpd.pid"
    # This setting sets the location of the file which contains information about
    # most variables to get MPD back into the same general shape it was in before
    # it was brought down. This setting is disabled by default and the server
    # state will be reset on server start up.
    state_file "/var/lib/mpd/mpdstate"
    # The location of the sticker database. This is a database which
    # manages dynamic information attached to songs.
    #sticker_file "~/.mpd/sticker.sql"
    # General music daemon options ################################################
    # This setting specifies the user that MPD will run as. MPD should never run as
    # root and you may use this setting to make MPD change its user ID after
    # initialization. This setting is disabled by default and MPD is run as the
    # current user.
    user "mpd"
    # This setting specifies the group that MPD will run as. If not specified
    # primary group of user specified with "user" setting will be used (if set).
    # This is useful if MPD needs to be a member of group such as "audio" to
    # have permission to use sound card.
    #group "nogroup"
    # This setting sets the address for the daemon to listen on. Careful attention
    # should be paid if this is assigned to anything other then the default, any.
    # This setting can deny access to control of the daemon.
    # For network
    #bind_to_address "any"
    # And for Unix Socket
    #bind_to_address "~/.mpd/socket"
    # This setting is the TCP port that is desired for the daemon to get assigned
    # to.
    #port "6600"
    # This setting controls the type of information which is logged. Available
    # setting arguments are "default", "secure" or "verbose". The "verbose" setting
    # argument is recommended for troubleshooting, though can quickly stretch
    # available resources on limited hardware storage.
    #log_level "default"
    # If you have a problem with your MP3s ending abruptly it is recommended that
    # you set this argument to "no" to attempt to fix the problem. If this solves
    # the problem, it is highly recommended to fix the MP3 files with vbrfix
    # (available from <http://www.willwap.co.uk/Programs/vbrfix.php>), at which
    # point gapless MP3 playback can be enabled.
    #gapless_mp3_playback "yes"
    # This setting enables MPD to create playlists in a format usable by other
    # music players.
    #save_absolute_paths_in_playlists "no"
    # This setting defines a list of tag types that will be extracted during the
    # audio file discovery process. Optionally, 'comment' can be added to this
    # list.
    #metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
    # This setting enables automatic update of MPD's database when files in
    # music_directory are changed.
    #auto_update "yes"
    # Limit the depth of the directories being watched, 0 means only watch
    # the music directory itself. There is no limit by default.
    #auto_update_depth "3"
    # Symbolic link behavior ######################################################
    # If this setting is set to "yes", MPD will discover audio files by following
    # symbolic links outside of the configured music_directory.
    #follow_outside_symlinks "yes"
    # If this setting is set to "yes", MPD will discover audio files by following
    # symbolic links inside of the configured music_directory.
    #follow_inside_symlinks "yes"
    # Zeroconf / Avahi Service Discovery ##########################################
    # If this setting is set to "yes", service information will be published with
    # Zeroconf / Avahi.
    #zeroconf_enabled "yes"
    # The argument to this setting will be the Zeroconf / Avahi unique name for
    # this MPD server on the network.
    #zeroconf_name "Music Player"
    # Permissions #################################################################
    # If this setting is set, MPD will require password authorization. The password
    # can setting can be specified multiple times for different password profiles.
    #password "password@read,add,control,admin"
    # This setting specifies the permissions a user has who has not yet logged in.
    #default_permissions "read,add,control,admin"
    # Input #######################################################################
    input {
    plugin "curl"
    # proxy "proxy.isp.com:8080"
    # proxy_user "user"
    # proxy_password "password"
    # Audio Output ################################################################
    # MPD supports various audio output types, as well as playing through multiple
    # audio outputs at the same time, through multiple audio_output settings
    # blocks. Setting this block is optional, though the server will only attempt
    # autodetection for one sound card.
    # See <http://mpd.wikia.com/wiki/Configuration#Audio_Outputs> for examples of
    # other audio outputs.
    # An example of an ALSA output:
    #audio_output {
    # type "alsa"
    # name "My ALSA Device"
    ## device "hw:0,0" # optional
    ## format "44100:16:2" # optional
    ## mixer_type "hardware" # optional
    ## mixer_device "default" # optional
    ## mixer_control "PCM" # optional
    ## mixer_index "0" # optional
    # An example of an OSS output:
    #audio_output {
    # type "oss"
    # name "My OSS Device"
    ## device "/dev/dsp" # optional
    ## format "44100:16:2" # optional
    ## mixer_type "hardware" # optional
    ## mixer_device "/dev/mixer" # optional
    ## mixer_control "PCM" # optional
    # An example of a shout output (for streaming to Icecast):
    #audio_output {
    # type "shout"
    # encoding "ogg" # optional
    # name "My Shout Stream"
    # host "localhost"
    # port "8000"
    # mount "/mpd.ogg"
    # password "hackme"
    # quality "5.0"
    # bitrate "128"
    # format "44100:16:1"
    ## protocol "icecast2" # optional
    ## user "source" # optional
    ## description "My Stream Description" # optional
    ## genre "jazz" # optional
    ## public "no" # optional
    ## timeout "2" # optional
    ## mixer_type "software" # optional
    # An example of a recorder output:
    #audio_output {
    # type "recorder"
    # name "My recorder"
    # encoder "vorbis" # optional, vorbis or lame
    # path "/var/lib/mpd/recorder/mpd.ogg"
    ## quality "5.0" # do not define if bitrate is defined
    # bitrate "128" # do not define if quality is defined
    # format "44100:16:1"
    # An example of a httpd output (built-in HTTP streaming server):
    #audio_output {
    # type "httpd"
    # name "My HTTP Stream"
    # encoder "vorbis" # optional, vorbis or lame
    # port "8000"
    # bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
    ## quality "5.0" # do not define if bitrate is defined
    # bitrate "128" # do not define if quality is defined
    # format "44100:16:1"
    # max_clients "0" # optional 0=no limit
    # An example of a pulseaudio output (streaming to a remote pulseaudio server)
    audio_output {
    type "pulse"
    name "My Pulse Output"
    server "remote_server" # optional
    sink "remote_server_sink" # optional
    ## Example "pipe" output:
    #audio_output {
    # type "pipe"
    # name "my pipe"
    # command "aplay -f cd 2>/dev/null"
    ## Or if you're want to use AudioCompress
    # command "AudioCompress -m | aplay -f cd 2>/dev/null"
    ## Or to send raw PCM stream through PCM:
    # command "nc example.org 8765"
    # format "44100:16:2"
    ## An example of a null output (for no audio output):
    #audio_output {
    # type "null"
    # name "My Null Output"
    # mixer_type "none" # optional
    # This setting will change all decoded audio to be converted to the specified
    # format before being passed to the audio outputs. By default, this setting is
    # disabled.
    #audio_output_format "44100:16:2"
    # If MPD has been compiled with libsamplerate support, this setting specifies
    # the sample rate converter to use. Possible values can be found in the
    # mpd.conf man page or the libsamplerate documentation. By default, this is
    # setting is disabled.
    #samplerate_converter "Fastest Sinc Interpolator"
    # Normalization automatic volume adjustments ##################################
    # This setting specifies the type of ReplayGain to use. This setting can have
    # the argument "off", "album" or "track". See <http://www.replaygain.org>
    # for more details. This setting is off by default.
    #replaygain "album"
    # This setting sets the pre-amp used for files that have ReplayGain tags. By
    # default this setting is disabled.
    #replaygain_preamp "0"
    # This setting enables on-the-fly normalization volume adjustment. This will
    # result in the volume of all playing audio to be adjusted so the output has
    # equal "loudness". This setting is disabled by default.
    #volume_normalization "no"
    # MPD Internal Buffering ######################################################
    # This setting adjusts the size of internal decoded audio buffering. Changing
    # this may have undesired effects. Don't change this if you don't know what you
    # are doing.
    #audio_buffer_size "2048"
    # This setting controls the percentage of the buffer which is filled before
    # beginning to play. Increasing this reduces the chance of audio file skipping,
    # at the cost of increased time prior to audio playback.
    #buffer_before_play "10%"
    # Resource Limitations ########################################################
    # These settings are various limitations to prevent MPD from using too many
    # resources. Generally, these settings should be minimized to prevent security
    # risks, depending on the operating resources.
    #connection_timeout "60"
    #max_connections "10"
    #max_playlist_length "16384"
    #max_command_list_size "2048"
    #max_output_buffer_size "8192"
    # Character Encoding ##########################################################
    # If file or directory names do not display correctly for your locale then you
    # may need to modify this setting.
    #filesystem_charset "UTF-8"
    # This setting controls the encoding that ID3v1 tags should be converted from.
    #id3v1_encoding "ISO-8859-1"
    # SIDPlay decoder #############################################################
    # songlength_database:
    # Location of your songlengths file, as distributed with the HVSC.
    # The sidplay plugin checks this for matching MD5 fingerprints.
    # See http://www.c64.org/HVSC/DOCUMENTS/Songlengths.faq
    # default_songlength:
    # This is the default playing time in seconds for songs not in the
    # songlength database, or in case you're not using a database.
    # A value of 0 means play indefinitely.
    # filter:
    # Turns the SID filter emulation on or off.
    #decoder {
    # plugin "sidplay"
    # songlength_database "/media/C64Music/DOCUMENTS/Songlengths.txt"
    # default_songlength "120"
    # filter "true"
    Last edited by vlad951 (2011-05-07 09:36:11)

    vlad951 wrote:
    Thanks, I successfully launched mpd as a user and it detected all of my music. However, if I launch mpd with the mpd.conf that I created in my home directory, it launches, but outputs the following:
    [vladislav@vladislav .mpd]$ mpd ~/.mpd/mpd.conf
    listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
    Is this normal?
    *sigh* i answer this for the 3rd time in a row... this is no error it just says that binding to your ipv6 interface happened before the binding to ipv4.
    If you want to use your ipv4 interface hardcode it in mpd.conf
    bind_to_address "127.0.0.1"
    you can also have several binds:
    bind_to_address "127.0.0.1"
    bind_to_address "192.168.1.13"
    to make it listen on localhost and the external IP of your network card.
    If your music is on the same machine as your mpd i recommend to use a unix socket in addition.
    bind_to_address "/path/to/some/file/that/does/not/exist/yet"
    and make your client connect to that file instead of the IP. Speeds things up a log e.g. in ncmpcpp
    and btw: you can save your mpd.conf file as ~/.mpdconf and mpd will automatically use it.
    Last edited by Rasi (2011-05-07 08:41:30)

  • No service for system X client Y in the integration directory

    Hi guys and gurus,
    I've struggling with the following case for a couple of months (!!) and still I can not make it. I have to say that I am coming from the MM modules but trying to set up a ICH demo by myself during my spare time.
    I send an idoc from R/3 to XI using program RSMIPROACT and I get message <b>No service for system SAPR3I, client 800 in Integration directory</b>. Even though, idoc has status 03 (Outbox).
    - I have created a technical and business system.
    - Connections work properly in SM59
    - Port XIDOCPORT with RFC XIDCLNT100 maintained txn WE21
    - Partner XIDCLNT100 (LS) with Outbound parameter:
      Idoc name - Port created. txn WE20.
    - IDX1 maintained in XI system.
    Is there something missing?
    This is my first post but points rewarded if somebody takes me out of this hole.
    Thanks,
    Ivan.
    key words: ICH, Note 940313 IDoc adapter: Error messages in SM58, <a href="https://service.sap.com/sap/support/notes/940313">Idoc Adapter : Error Messages in SM58</a>, No service for system SAPABC client 123 in the integration directory,

    Hi ,
    Create a technical system and bussienss system of type WEB AS ABAP and use this bussiness system for source system in XI and try it.
    Thanks & Regards,
    Sekhar

  • There has to be a way to find the current directory in JSP, right?

    I've read a number of posts, with limited results.
    Here's my problem. I have 3 databases set up, and I'd like to use a different one depending on which directory I am in. (ie Stage, Production, Dev). So I am reading the database name from a parameter file.
    I am simply trying to read a text file from the same directory as my jsp file. For example, my jsp file is in /home/username/public_html/prod
    When I try System.getProperty("user.dir"), it returns /home/username/public_html/.
    Is there a way for the jsp page to let me know it is in the prod subdirectory? Verses another subdirectory? Everything I've tried puts me in either the /home/username directory or the home/username/public_html directory. I can't get to any of the subdirectories!!! Please help!

    This is what I'm working with right now, seems to work. Anyone know a better way:
    ServletContext context = getServletContext();
    String servletpath_str = request.getServletPath();
    StringTokenizer st = new StringTokenizer(servletpath_str,"/");
    int nooftokens_int = st.countTokens();
    nooftokens_int--;
    String virtualpath_str = "";
    for(int i=0; i<nooftokens_int; i++) {
    if(i == 0) { virtualpath_str = "/" + st.nextToken(); }
    else { virtualpath_str = virtualpath_str + "/" + st.nextToken(); }
    String currentDir = context.getRealPath(virtualpath_str);
    String filename = currentDir + "/file.txt";

  • Role based authorisations in the Integration Directory

    We have built a new PI landscape (Pi 7.11) and worked with our security teams to perfect the various roles. I am now attempting to implement role based authorisations in the ESR & ID so that objects in our QAS and PRD environments can be configured but not deleted or created.I have implemented role based authorsations as per the SAP standard process performing the following actions
    Exchange profile com.sap.aii.ib.util.server.auth.activation was set to true and the Java Stack Restarted.
    I created a role in the ID that allowed editing of any object.
    I assigned the role to my userid in NWA useradmin
    I am unable to edit ANY object in the ID
    When I set the Exchange profile parameter to false I found I was able to edit any object in the ID.
    So its obvious that the Exchange Profile Parameter does make a difference. However, it doesn't appear as if the role I created is being referenced, even though I assigned it to my account in NWA user admin. I looks like I may be missing some exchange profile parameters. I have the following exchange profiles set:
    IntegrationBuilder.IntegrationBuilder.Repository com.sap.aii.util.server.auth.activation (string) = true
    IntegrationBuilder.IntegrationBuilder.Repository com.sap.aii.ib.server.acl.enable (boolean) true
    IntegrationBuilder.IntegrationBuilder.Directory com.sap.aii.util.server.auth.activation (string) = true
    IntegrationBuilder.IntegrationBuilder.Directory com.sap.aii.ib.server.acl.enable (boolean) true
    Any advice you can offer would be appreciated

    Resolved this issue.
    The documentation is confusing but finally found the answer by referring to the SAP XI 3.0 documentation.

  • What if the log directory is full?

    I've  just switched from Oracle to DB2.
    I have a simple question: what if the log directory is full before the logs are archived?
    Forgive me if this is to basic.
    Thanks!

    Hello,  this depends on the setting of the blk_log_dsk_ful database configuration parameter.
    [http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/index.jsp?topic=/com.ibm.db2.luw.admin.config.doc/doc/r0005787.html]
    SAP standard setting is YES

  • How to set the working directory for reports in linux

    Hi All,
    Can you anyone help me to set the working directory for oracle application server 10g reports? I am using RHEL4 and AS10g. Actually i want to run my reports from my define
    working directory. How can I do this?
    Thanks in advance
    Arif

    Hi,
    your rep_srv.conf should look like something like
    +<?xml version = '1.0' encoding = 'ISO-8859-1'?>+
    +<!DOCTYPE server PUBLIC "-//Oracle Corp.//DTD Reports Server Configuration //EN" "file:D:\oracle\FRHome_1/reports/dtd/rwserverconf.dtd">+
    +<server version="10.1.2.0.2">+
    +<!--Please do not change the id for reports engine.-->+
    +<!--The class specifies below is subclass of _EngineClassImplBase and implements EngineInterface.-->+
    +<cache class="oracle.reports.cache.RWCache">+
    +<property name="cacheSize" value="50"/>+
    +<!--property name="cacheDir" value="your cache directory"-->+
    +<!--property name="maxCacheFileNumber" value="max number of cache files"-->+
    +<!--property name="ignoreParameters" value="parameter names to be ignored in constructing cache key, separated by comma ','"-->+
    +</cache>+
    +<engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="3" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000" jvmOptions="-Xmx512M -Xss512K">+
    +<!--property name="sourceDir" value="your reports source directory"/-->+
    +<!--property name="tempDir" value="your reports temp directory"/-->+
    +<!--property name="keepConnection" value="yes"/-->+
    +</engine>+
    +...+
    some more definitions
    +..+
    +<!--pluginParam name="proxy" type="file">proxyinfo.xml</pluginParam-->+
    +<pluginParam name="xmlpds" type="file">xmlpds.conf</pluginParam>+
    +<pluginParam name="jdbcpds" type="file">jdbcpds.conf</pluginParam>+
    +<pluginParam name="textpds" type="file">textpds.conf</pluginParam>+
    *<environment id="APP1">*
    *+<envVariable name="REPORTS_PATH" value="/application1/reports"/>+*
    *+</environment>+*
    *+<environment id="APP2">+*
    *+<envVariable name="REPORTS_PATH" value="/application2/reports"/>+*
    +</environment>+
    +</server>+
    The environment ids you can choose yourself and you have to put them in there yourself too (here I put two environments for two different applications "1" and "2").
    If you call a report from Forms, then you have to code something like
    ADD_PARAMETER(p_list,'ENVID',TEXT_PARAMETER,'APP1');
    Details depend on how you call your reports, my example is for using a parameter list and calling a report out of application1
    Hope that helps.
    Volker

  • Where is the Database Initialization Parameter file (inti.ora ??) located ?

    I have E-Business Suite R12 installed on Windows XP.
    I want to change utl_file_dir path.
    I know that I have to change the Database Initialization Parameter file (inti.ora ??)
    Does anybody know, where is the file located ?
    When I search I am getting two files. (init.ora and init.ora.txt)
    Which file I need to make the changes in ???
    Thanks in advance

    The initialization file for the database is located in the $ORACLE_HOME/dbs directory, and is called init<SID>.ora

  • How to set the Rman backup parameter.

    Hi,
    Can U guide me how to set the Rman backup path,control file auto backup & others parameter.

    Hi,
    Go through this,
    Show all configurable settings:
    RMAN>SHOW ALL;
    Write disk backups to the /rmanback directory: (%U will be replaced with unique filenames)
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rmanback/%U';
    Backup using a flash recovery area rather than disk
    RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT CLEAR;
    Configure RMAN to back up the control file after each backup
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
    By default, RMAN automatically names control file backups and stores them in the flashrecovery area.
    To configure RMAN to write control file backups to the /backup directory:( %F will generate a unique filename)
    RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backup/controlfile%F';
    Ensure that RMAN retains all backups needed to recover the database to any point in time in the last 7 days:
    RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
    Retain three backups of each datafile:
    RMAN> CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    Delete backups no longer required by the retention policy:
    RMAN> DELETE OBSOLETE;
    To override the configured retention policy for individual backups - use BACKUP.. KEEP (or CHANGE.. KEEP)
    Configure backups to run in parallel by assigning two sbt channels:
    RMAN> CONFIGURE DEVICE TYPE sbt PARALLELISM 2;
    Reset any CONFIGURE setting to its default by running the command with the CLEAR option
    RMAN> CONFIGURE CHANNEL DEVICE TYPE sbt CLEAR;
    RMAN> CONFIGURE RETENTION POLICY CLEAR;
    Regards,
    oraclekt
    Edited by: oraclekt on Sep 1, 2010 9:58 PM

Maybe you are looking for

  • How to install OS on only C with USB media deployment

    I have one hard drive with four partitions.The 1st one is OS. There is an error shows "Unable to determine destination disk" with USB deployment. And also the error comes out when there is a USB drive plug in during Network deployment. But it works f

  • Itunes freezing when launched.

    I just upgraded to 7.5 and now my itunes will not open properly. I read other peoples posts about "missing files" and itunes not even starting up at all.. I think my problem is a bit different. When I click on the itunes application to launch.. itune

  • Highlights the whole shuttle and starts scrolling down the shuttle

    Hi, I created a shuttle on a page and when I submit the page, which right now has no processes executing, automatically it highlights the whole shuttle and starts scrolling down the shuttle and then goes to a Page Not Found. I have a branch to this s

  • Disable availability check in UWL on rejecting shopping cart

    Dear all, We are using SRM 7.0 and the portal in an approval workflow for shopping carts. On ECC side we create reservations for stock - materials. Now we have the problem that in the UWL a availability check is started when the user approves or reje

  • Middle Eastern versions

    Hallo people from Adobe or whoever can help us in this matter. Previously, Middle Eastern versions were supported by third-party companies (WinSoft). In CS6, Adobe has taken over development, support, and sales of such versions. However they have not