Target directory path

Hi all,
   I am trying to change the target directory, in the receiver communication channel to an external server and I am not getting any output file. But I can create the output file to the same XI server.
Have any one come across issue like this?
This is what I tried:
//Externalservername/sharename/foldername. (did not work)
//XIserver/Sharename/foldername. ( works ).
Regards,
N.S

Hi,
1. Try using the IP addreess instead of the servername
2. Make sure the servername entry is made in the host file
3. Make sure that the Server can be accesed from XI and XI has read , wrtie permisssion on the folder.
Regards,
Bhavesh

Similar Messages

  • Creating Target Directory Paths

    My questions are mixed in below, marked with "Q:"
    Task 7A-1-6 in the PTools 8.48 Installation Guide talks about directory path structures that are required by the Oracle DBMS install wizard, but need to be manually created by me.
    I installed database 10g. My SID is "HCM". There is an initHCM.ora file in my database folder. The contents were:
    SPFILE='C:\oracle\product\10.2.0\db_1/dbs/spfileHCM.ora'
    and I added the following, per install guide instructions:
    DB_NAME = HCM
    DB_FILES = 1021
    CONTROL_FILES = (/filesystem1/cntrl1HCM,/filesystem2/cntrl2HCM)
    OPEN_CURSORS = 255
    db_block_size = 8192
    remote_login_passwordfile=NONE
    Q: I substituted HCM for <SID> in the CONTROL_FILES variable, but are things like filesystem1 and filesystem2 meant to be literals, or is it intended that I substitute something for these? Also, there are some forward slashes in the SPFILE variable - is that ok for Windows?
    The guide mentions these CREATEDB.SQL references...
    startup nomount pfile=%ORACLE_HOME%\database\init<SID>.ora
    DATAFILE '<drive>:\oradata\<SID>\system01.dbf' SIZE 400M
    LOGFILE '<drive>:\oradata\<SID>\log01.dbf' SIZE 70M,
    '<drive>:\oradata\<SID>\log02.dbf' SIZE 70M;
    *...So I assume that I need to create c:\oradata\HCM*
    The guide then says:
    The init<SID>.ora parameter file that is referenced in the CREATEDB.SQL script makes the following
    directory path structure references:
    Note. Portions of the init<SID>.ora parameter file have been omitted for clarity. These paths are hardcoded
    by the user creating the init<SID>.ora parameter file. The Data Configuration Wizard will not make any
    substitutions for mount point, target directory path, or <SID> in the init<SID>.ora file.
    +
    Control file references:
    +
    control_files = ("c:\apps\db\oracle9i\oradata\ORC1\control01.ctl", "c:\apps\db⇒
    \oracle9i\oradata\ORC1\control02.ctl", "c:\apps\db\oracle9i\oradata\ORC1⇒
    \control03.ctl")
    background_dump_dest = c:\apps\db\Oracle9i\admin\ORC1\bdump
    core_dump_dest = c:\apps\db\Oracle9i\admin\ORC1\cdump
    user_dump_dest = c:\apps\db\Oracle9i\admin\ORC1\udump
    Q:  Does this mean I need to create c:\apps\db\Oracle10g\admin\ORC1 plus subfolders bdump, cdump and udump?  I particularly wonder if those exact names are correct, especially since the examples are for the 9i version.
    Q:  The guide says (above) that it's the init<SID>.ora parameter file which makes the above control file references... but as I showed above, that file only contained the one line, before I added the parms I mentioned.  Is the install guide saying that I should add the control file references above to my initHCM.ora file?

    With regard to the CONTROL_FILES variable...
    I'm not sure how forward slashes are meant to be interpreted in the Windows world. Are you saying that I should substititute an entire valid Widows path, like this?
    CONTROL_FILES = (c:\myfilesys1\cntrl1HCM.txt,c:\myfilesys2\cntrl2HCM.txt)
    ...after having first created folders c:\myfilesys1 and c:\myfilesys2, and that the database creation script will generate files cntrl1HCM.txt (I added the extension) and cntrl2HCM.txt?
    Can you post a sample Windows init<SID>.ora file?
    Edited by: M_Borok on Oct 7, 2008 7:46 AM
    (continued)
    ...on re-reading, it seems to me that section Task 7A-1-5: Creating an INIT<SID>.ORA File shows the general format:
    CONTROL_FILES = (/filesystem1/cntrl1<SID>,/filesystem2/cntrl2<SID>)
    ...but section Task 7A-1-6: Creating Target Directory Paths shows an example of substituted code for this line:
    control_files = ("c:\apps\db\oracle9i\oradata\ORC1control01.ctl", "c:\apps\db\oracle9i\oradata\ORC1control02.ctl", "c:\apps\db\oracle9i\oradata\ORC1\control03.ctl")
    Is that true? i.e. does this mean that I can create any path and file name I want, and the database create script will read it here and use it?
    If so, does this mean that I have to substitute actual paths ANYWHERE I see a forward slash?
    Also... I'm thinking that ORC1 in the sample code is their example of the SID, and for me it might be HCM instead.
    I note that their example shows three control files instead of the two shown in the first template. Does it matter.
    Q: Are these control files files that will be written by the create script, or are they a reference to files I should have created and populated?
    Edited by: M_Borok on Oct 7, 2008 7:51 AM
    Edited by: M_Borok on Oct 7, 2008 8:02 AM

  • Dynamically deciding the target directory without ESR objects

    Hi Experts,
    I have come across File to File scenario(NFS) where I have to serve 2 purpose in one scenario using single receiver communication channel as the client have more than 40 plants.
    1.     I need to copy the file from source directory to target directory without creating the mapping objects.
    2.     based on source file name the target directory path will be the 'target directory + First 4 character of source file name i.e.(Plant name)'.
    I am able to achieve the First requirement, can any one tell me how to achieve Second requirement.
    Thanks in advance.
    Ragards,
    Gopi

    Hi Inaki Villa/ Anupam Ghosh,
    Thanks for your previous reply. I was busy with some other WS related task.
    I have gone through the thread which uses java code to dynamically set the Target Directory.
    'Dynamic file name for pass-through scenario - Process Integration - SCN Wiki'.
    But the mentioned JAR files are not available on our clients PI System (PI 7.0) I tried by importing the required JAR files from other system but it was giving some error. So I decided to go with ABAP Mapping and I am quite successful in setting the target directory. I am able to view the Target Directory and Target File name in 'DynamicConfiguration' in SXMB_MONI.
    But it is not over writing the 'Target Directory' path mentioned in Receiver Communication Channel.
    Could you please help me in this? Do I need to set anything else?
    Regards,
    Gopi

  • FTPs connection error:When using Variable substitution for Directory path

    Hi
    I am transferring data from BI to xml file via PI: Here a Client proxy from BI sends the data to PI and the PI FTPs the XML file to a remote location. For FTP I am using FTPs SSL connection.
    It was working fine untill I used Variable susbstitution to determine Directory path dynamically. I am using this because different xml files are intended to goto the different locations.
    I did the variable substitution like this:
    Target Message Structure:
    ---> Target Directory: %var1%
    <?xml version="1.0" encoding="UTF-8" ?>
    <MT_BI_EXTRACT_FILE>
      <Header>
         <Directory>/Customer</Directory>
    </Header>
    <Detail>
    </Detail>
       </MT_BI_EXTRACT_FILE>
    And in the variable substitution I am doing it this way
    payload:MT_BI_EXTRACT_FILE,1,Header,1,Directory,1
    And the error I am getting is:
    Attempt to process file failed with Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
    MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
    Exception caught by adapter framework: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
    Delivery of the message to the application using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure.
    Does anybody have some Idea of this ??
    Regards
    Naina

    Hi,
    I guess the problem is not with Variable Substitution..
    Error when getting an FTP connection from connection pool:
    So its a connection problem..
    Also check the option Disable Security check and try again...
    Try to check again if the interface is executing properly without Variable substitution and let us know..
    Babu
    Edited by: hlbabu123 on Jan 7, 2011 2:46 PM

  • Adapter moduler in file adapter receiver - get Target Directory from param

    Hi everybody,
    We are in PI 7.1
    I need in an adapter module (file adapter receiver) to access to the Target Directory comming from parameters
    I foound the code in a weblog
    /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
    Here is the code I found
    public ModuleData process(
              ModuleContext moduleContext,
              ModuleData inputModuleData)
              throws ModuleException {
              Object obj = null;
              Message msg = null;
              try {
                   Channel ch = new Channel(moduleContext.getChannelID());
                   obj = inputModuleData.getPrincipalData();
                   msg = (Message) obj;
                   XMLPayload xmlpayload = msg.getDocument();
                   String path = ch.getValueAsString("file.targetDir");
                   if (!path.endsWith("
    ") && !path.endsWith("/"))                    
                             if(path.indexOf("
    ")!=-1)
                                  path+="
                             else
                                  path += "/";
                   if (xmlpayload != null) {
                        convert(xmlpayload.getContent(), path);
                   inputModuleData.setPrincipalData(msg);
              } catch (Exception e) {}
              return null;
         private void convert(byte[] bs, String path) throws Exception {
              String bs_out = new String(bs);
              String filename =
                   bs_out.substring(
                        bs_out.indexOf("<FileName>") + 10,
                        bs_out.lastIndexOf("</FileName>"));
              bs_out =
                   bs_out.substring(
                        bs_out.indexOf("<Base64>") + 8,
                        bs_out.lastIndexOf("</Base64>"));
              byte bb[] = com.sap.aii.utilxi.base64.api.Base64.decode(bs_out);
              File f1 = new File(path + filename);
              FileOutputStream fos = new FileOutputStream(f1);
              fos.write(bb);
              fos.close();
    The object Channel come s from the package import com.sap.aii.af.service.cpa.Channel;
    The jar is in the build path (com.sap.aii.af.service.cpa.jar);
    When I write in NWDS
    Channel ch = new Channel(moduleContext.getChannelID());
    NDWS gives me an error "Cannot instantiate the type Channel".
    Can somebody help me about that, please?
    Does that code dosn't work in pi 7.1?
    Thanks in Advance for your help.
    Best Regards.
    E. Koralewski
    Edited by: Eric Koralewski on Feb 3, 2011 1:40 PM

    > When I write in NWDS
    > Channel ch = new Channel(moduleContext.getChannelID());
    > NDWS gives me an error "Cannot instantiate the type Channel".
    it should be:
    Channel ch = (Channel) LookupManager.getInstance().getCPAObject(CPAObjectType.CHANNEL, moduleContext.getChannelID());
    (taken from sample module ConvertCRLFfromToLF)
    http://help.sap.com/javadocs/pi/pi711sp03/index.html?com/sap/aii/af/service/cpa/Channel.html
    Edited by: Stefan Grube on Feb 3, 2011 2:02 PM

  • Dinamic Directory Path in Receiver File Adapter

    Hi everyone,
    I have a question for you.
    How can I give a dinamic path to the target directory in a file to file scenario?
    The scenario is like this:
    I have to take only certain files from a source directory. The names of the files are like 'S10048796050.txt', when the four chars in the beginning (1004) are the company code.
    With this code, I have to put the file in a different target folder.
    Examples:
    file with code 1004 --> p/xrt/universe/LOGISTICA/Conciliacion
    file with code 1005 --> p/xrt/universe/SEVISUR/Conciliacion
    etc...
    The easiest solution is to create an interface for every company, but I'm trying to do it dinamically.
    I only have SP14.
    Any ideas?
    Thank you very much.
    I'll give points who can help me.

    Hi,
    Please try the follwing code in Java UDF. This will work.
    Map map= container.getTransformationParameters();
    String strFilePath ="";
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey keyFileName = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String sourceFileName = conf.get(keyFileName );
    if(sourceFileName.indexOf("1004") !=-1)
    strFilePath = "p/xrt/universe/LOGISTICA/Conciliacion";
    }else if(sourceFileName.indexOf("1005") !=-1)
    strFilePath = "p/xrt/universe/SEVISUR/Conciliacion";
    DynamicConfigurationKey keyFileName = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileDirectory");
    conf.put(keyFileName, strFilePath );
    return strFilePath ;
    PS: Check the property Adapter-Specific Message Attributes -> Use Adapter-Specific Message Attributes , File Name in Source and File Path in Target Channels respectively.
    Thanks
    Amit
    Reward points if solution helps

  • Problem in setting the target directory in communication channel

    hi...
    my idoc 've been send successfully from the sender system and it also reached the receiver system. i conform it by checking the inbounds in IDX5.
    but it is not generating the xml file in the target directory.
    plz help me...

    Hi,
    Check the status of the receiver communication channel in RWB
    Configure Your Receiver File Channel as Following
    http://help.sap.com/saphelp_nw70/helpdata/EN/ae/d03341771b4c0de10000000a1550b0/frameset.htm
    File to File scenario:
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/flatFILETOFLATFILE&
    Regards
    Seshagiri

  • File Adapter - pass in target directory as parameter

    Hi
    I'm currently using a number of File/FTP Communication Channels
    all of which talk to the same FTP server
    but I have a requirement to send my translated file to specific directories on the FTP Server
    Ideally I'd like to have just 1 FTP Comms channel that has parameters for the Target Directory - how can this be done exactly.
    I can see in the File/FTP comms channel in advanced tab the ability to provide parameters and the saphelp
    is saying I'd need to pass in a directory paramater.... But where do I get to do this - I can think of Receiver or Interface Determination
    but I can see nothing there to do this.... what am I missing ?

    hi,
    In your Receiver Determination, you can add multiple Receievers and you can also add the condition on which the receiver has to be choosen.
    you can refer to:
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    regards,
    ujjwal kumar

  • Decide target directory dynamically.

    Hi All
    I need to configure a receiver communication channel with file adapter. Important thing is target directory need to be decided dynamically based on some content in the message.  Please let me know what are the possibilities to achieve this.
    Thanks & Regards
    Shantha
    Edited by: Shantha Bandara on Feb 12, 2008 1:05 AM

    Hi Shantha,
    Create UDF in that you derive directory name and/or file name based on message content and store them in Dynamic Configuration.
    When you are giving Directory name just give generic name from UDF(from the following code in place of directory name just give %Directory%  File name %FileName%).
    Here the sample value UDF code
    AbstractTrace trace = container.getTrace();
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String fnam = conf.get(key);
    String dir = <Path to directory>;
    String newfnam =  <File name>;
    conf.put(key,newfnam);
    key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    conf.put(key,dir);
    return("");
    Please let me know if you have any issues.
    Cheers,
    Jag

  • BI (BOE) XI R3.1 (Linux) Server Migration -  Update BOE base directory path

    Hello,
    Performing a server migration using BOE XI R3.1 (from BOE XI R3.1 to same release BOE XI R3.1) on Linux Platform.
    After performing a data restore, the BOE server executables could not be launched (do not start) due to different BOE base directory path in these environments.
    Could someone help point me on how to edit server configuration data to correct the base path in the migrated server?

    Hi,
    Thanks for the input.   Unfortunately, I don't see an option in ccm.sh to delete sia/servers..  Using serverconfig.sh, I tried to recreate the sia using option 1 - Add a Server Intelligence Agent, and this option is supposed to recreate the sia and default servers if it already exists in the database.   However, this yields same result: CMS is running with correct base path, but all servers are not launched since the server configuration path reflects the from environment, and not the current/target environment.
    Thanks again.

  • Date and Time in Sender File Adapter Target Directory

    Hi there,
    is there a way of using Date and Time from XI to the Target Directory naming? To use variable substitution some fields of the message had to contain that date and time information, which is not our case.
    For filename you can use "add time stamp" option, but and for target directory?
    Thanks and regards,
    Henrique.

    > <i>Do you have further information on how to perform
    > this with shell commands?</i>
    > >> You need to write a shell script. This script will
    > add the date/time stamp into the folder in the target
    > system. This shell script is executed from the File
    > adapter. So once the file is written into the target
    > directory, then it will rename the directory.
    Hi there, Moorthy
    We've tried to write that shell script that you mentioned, but now we have a few doubts on how to make it create the proper directory.
    In the file adapter, my target directory is "/%var1%/%var2%/", where %var1% and %var2% are variable substitutions, referencing data which comes from the payload. Now, I need the shell script to append "/<Year>/<Month>/" in the target directory. But where to archive the script? If it stays in the root directory, than how to make it create "/<Year>/<Month>/" folders inside a directory which is variable (/%var1%/%var2%/)?
    Is there a way of passing %var1% and %var2% as parameters for the shell script?
    Thanks a lot,
    Henrique.

  • Firefox won't open following update. Can't open Profile Mgr, even when using entire directory path in cmd line

    I'm running Firefox on a Windows 7 machine. Firefox won't open following the latest update. I've read the help articles and it seems like I need to create a new profile because my settings have likely been corrupted. I'm unable to open Profile Mgr, even when using entire directory path in cmd line. I've tried the following commands in the command line:
    firefox -p
    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -p
    Nothing happens with either command.
    I'm also running Norton Internet Security. I read a help article Re Virtual Browsing features possibly causing a problem. The article said to check the virtualization setting in the internet security software and to clear the virtual cache. I went thru all of the settings menus in Norton Internet Security version 21.6.0.32 and I didn't see anything that looked like 'virtualization" settings, so I assumed that this doesn't apply to me.
    If you have any ideas, I'd sure appreaciate your expertise!!

    ''arcandl [[#question-1038482|said]]''
    <blockquote>
    I'm running Firefox on a Windows 7 machine. Firefox won't open following the latest update. I've read the help articles and it seems like I need to create a new profile because my settings have likely been corrupted. I'm unable to open Profile Mgr, even when using entire directory path in cmd line. I've tried the following commands in the command line:
    firefox -p
    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -p
    Nothing happens with either command.
    I'm also running Norton Internet Security. I read a help article Re Virtual Browsing features possibly causing a problem. The article said to check the virtualization setting in the internet security software and to clear the virtual cache. I went thru all of the settings menus in Norton Internet Security version 21.6.0.32 and I didn't see anything that looked like 'virtualization" settings, so I assumed that this doesn't apply to me.
    If you have any ideas, I'd sure appreaciate your expertise!!
    </blockquote>
    ''philipp [[#answer-670108|said]]''
    <blockquote>
    hello arcandl, when firefox isn't launching after you double-click on the shortcut this is sometimes also a sign of malware being active on a system.
    you might want to try running a scan with some different other security tools like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes] and [http://www.bleepingcomputer.com/download/adwcleaner/ adwcleaner] which are specialised in removing adware and browser hijackers.
    [[Troubleshoot Firefox issues caused by malware]]
    </blockquote>
    Phillip - You're a genius!!! I ran malwarebytes and it resolved my problem. Thank you so much!!!

  • How can I get rid of directory path in front of my folder names in Folder listing in Library mode???

    Im using the most recent version of Lightroom 5.3 (updated through CC - even though this has shown up on previous version) on Windows 7 and all the folders in my library are showing up with the directory path in front of my folder names. How can I get rid of this? I do not see any options in preferences to turn this off. I have also turned off preferences in Windows > Folder Options Control Panel "Display full Path in Title bar" option.
    I have Lightroom on several computers and have set up preferences the same on each workstation, and this only shows up on one workstation.
    Any help would be appreciated.
    You can see from the image  below how this is showing up.
    Thanks
    Thanks!

    Click the little down arrow/+ symbol  next the + - in the folders bar.

  • UTL_file Procedure- some error on invalid directory path

    Hi,
    I Created a file procedure...but while executing a procedure its showing directory Error....
    Find the solution and post it...
    Heading 2: h2. ERROR -29280ORA-29280: invalid directory path
    create or replace
    PROCEDURE HELLOFLE IS
    v_MyFileHandle UTL_FILE.FILE_TYPE;
    BEGIN
    v_MyFileHandle := UTL_FILE.FOPEN('C:\','HELLO.TXT','a');
    UTL_FILE.PUT_LINE(v_MyFileHandle,'Hello World! ' || TO_CHAR(SYSDATE,'MM-DD-YY HH:MI:SS AM'));
    UTL_FILE.FCLOSE(v_MyFileHandle);
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERROR ' || TO_CHAR(SQLCODE) || SQLERRM);
    NULL;
    END;

    This is the spec of fopen:
    UTL_FILE.FOPEN (
       location     IN VARCHAR2,
       filename     IN VARCHAR2,
       open_mode    IN VARCHAR2,
       max_linesize IN BINARY_INTEGER)
      RETURN file_type;
    Location is not "c:\" but a directory object name. See the pl/sql manual:
    http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/u_file.htm

  • How To Find Oracle Home Directory Path...

    Hello,
    I am working on deployment of java web service on Oracle Application Server(LINUX) 10g, EBS - R12.
    I am working on other system and i want to deploy web service remotely on application server.
    And i am not getting the oracle home directory path. I want to find the home directory path remotely.
    so suggest me how to find out path of that.
    or weather i have to install jdevloper on server system and than i have to deploy it,
    or any other alternative way is available.
    Reply as soon as possible......

    Thanks for your reply.
    It's precisely the registry key which got tampered, and there's no ORACLE_HOME environmental variable(Or that too is tampered)
    Now,how to set it to one of the Oracle home directories?
    Regards,
    Bhagat
    !!!!!!!!!!!!!!!!!!!!

Maybe you are looking for