Target file system

Hi all,
            Can any one explain me how can we assign target file system dynamically.
Thanks in Advance
Naveen

You should be able to do it in a <b>receiver adapter module</b> by using a free ftp library like apache commons for easy implementation.
regards
krishna

Similar Messages

  • Target file system layout in homogeneous DB copy

    Gurus:
    We have a target system whose file system layout is totally different from the source system in that:
    1) the number of the file system is less than that in the source;
    2) the size of each targte file system is also different from the source system.
    BTW way the target has a DB running.
    Can we go ahead to do the import without doing anything on  above differences? i.e just go ahead to overwrite the target
    DB?
    Oracle on Unix.
    Thanks a lot!

    Hi,
    its better and recommemded by SAP if you have the same DB instance SID and SAPSID.
    If the target system has different SID than the source that will be more work to do for you. its makes things easyer if you have the same name as the source system.
    You have two different file system and different SID. So its better to minimize those things if you can.
    I think in this step where you are, I would prefer to deinstall oracle on the target system and install it again with the SAP recommendations for SAP Software which you will find on the installation guide. Because you wrote that oracle is already installed on the target system but without SAP. This means the installation was not for SAP and its different to SAP recommended..
    Chooce also Oracle DB instance name and SAPSID the same name.
    Good luck
    HaneAtik

  • Multiple files picked and to zipped at target file system

    Hi
    In my scenario multiple files to be picked from FTP server by using Sender File Adapter then it has to be Zipped at the receiver file system.
    Please help me in this scenario.
    Sri

    Hi,
    >> In my scenario multiple files to be picked from FTP server by using Sender File Adapter then it has to be Zipped at the receiver file system.
    First you need to pick multiple files by using advance selection source at file sender adapter.
    Once it' is  picked use module name is: AF_Modules/PayloadZipBean in receiver file system for zipping files
    Pls ref the blog :
    /people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework
    Abid Mazhar.

  • File system usage report chart generation - automated via reports and email

    Hello,
    I have requirement where I have to generate a monthly file system usage chart (just like a tablespace total_mb, used_mb, free_mb....) and mail it directly to the client.....
    Any ideas or suggestions would be welcome....
    Thanks,
    S.

    It's a pretty open-ended question, because a number of things can be causing slow performance.  You mention needing to look at ODBC connection performance - I found that using ODBC drivers for iSeries was very slow in the past.  You might want to look at using the JDBC driver in the IBM JTOpen Toolkit - it made a big difference for us when we were querying iSeries in the past.
    When you refer to "reports" in this thread's title, do you mean reports from ColdFusion Report Builder?  Or to just ColdFusion .cfm pages?  How complex are these reports?  How much information is displayed, especially in tabular form?  Just rendering huge HTML tables (as in thousands of rows of data) will often cause browsers to become temporarily unresponsive or hang.  If you provide more details, we might better be able to target where the "pain point" really is.
    -Carl V.

  • File system error while opening applications in jdeveloper

    I am facing issue while creating new application in jdev. Getting error An error occured creating the application.Check file system permissions. I am admin of my server and I have admin rights for my system.
    I am using 11.1.1.6.0 version of jdev and windows xp os.
    Thanks in advance.

    Hi,
    This is your private PC?
    Can you verify it's not permissions issues?
    Try run the jdev as an admin (right click-run as). Also try to manually create folder in the target location.
    Arik

  • Moving files to another directory got an error message [File System Task] Error: An error occurred with the following error message: "Could not find a part of the path.".

    Hi all,
    I am having a list of files in a folder named datafiles and I am processing them one by one when I finish each one I want to move the file into a folder archive.
    I am having a variable named filename and archivefilename and two fileconnections  one is originalfiles and archivefiles
    archivefilename=replace( @[User::filename],"datafiles","archive")
    orginalfiles connection is an expression =@user:filename
    archivefies connection is an expression=@user:archivefilename
    the filename comes from reading the folder that contains those files
    public void Main()
                string[] filenames;
                filenames = Directory.GetFiles(@"C:\luminis\datafiles\");
                Array.Sort(filenames);
                Dts.Variables["filelist"].Value = filenames;
                Dts.TaskResult = (int)ScriptResults.Success;
    The folder c:\luminis\archive\ exists
    why I am getting this error
    My filesystem task : destinationpathvariable =false
    destinationconnection:archivefile
    overwrite=true
    operation=movefile
    issourcepathvariable=false
    sourceconnection=original file
    why am i getting this error[File System Task] Error: An error occurred with the following error message: "Could not find a part of the path.".
    sohairzaki

    there may be 2 problem...
    1> specify a target directory only, not with the file name. 
    OR
    2> Try using the unc,path format \\computername\sharename\
    let us know your observation...
    Let us TRY this | Mail me
    My Blog :: http://quest4gen.blogspot.com/

  • ECC6 EHP2 (ABAP+Java)  system copy using file system copy

    Hello Experts,
    I have a question around system copy method for a dual stack ECC6 EHP2 system.
    We are planning to take full file system backup of this entire ECC6 EHP2 dual stack system and throw it on a completely new hardware with new host name but same SID.  We are also planning to do a host renaming in instance profiles and re-building the control files in target system after we finish the file system restore.
    Is this method supported in SAP ? Or we strictly have to use  SAPinst to do export and import method.  In any case our source and target platform is not going to chance as per our scenario.
    Any suggestions will be greatly appreciated.
    Thanks,
    Harshal

    > Thanks for the quick response. Is their any document that says it is not supported ?  Because of no proper document that says no to do it, client want's to try it out.
    For the ABAP part this is certainly feasible.
    The Java part has not only issues with the secure store but also with SID and hostname. The old values are stored in many places in the database and in, depending on the applications installed, many .properties files in the filesystem. So it would be not enough to somehow regenerate the secure store but also change hostname and SID in different places that are not really all documented.
    What you are basically looking for is
    Note 757692 - Changing the hostname for J2EE Engine 6.40/7.0 installation
    with the significant sentence
    This note should be applied only when the hostname of a machine
    where the j2ee engine was already installed has changed.
    It does not replace the SAP official system copy procedure and
    MUST NOT be used for copying of an instance to another host and/or with different SID.
    Markus

  • 1)Could not start up os x 2)Only could start bootcamp 3)Tried resetting nvram 4)Could not start even in bootcamp 5)Verify disk says -. Verifying volume "Macintosh HD" Error: Live file system repair is not supported 6)Installed maverick on USB d

    1) Could not start up os x
    2) Only could start bootcamp
    3) Tried resetting nvram
    4) Could not start even in bootcamp
    5) Verify disk says …. Verifying volume “Macintosh HD”
    Error: Live file system repair is not supported
    6) Installed maverick on USB drive
    7) Boot from USB drive. Tried verifying HD: Volume header needs minor repair. The volume Recovery HD was found corrupt and needs to be repaired. Verifying volume “Macintosh HD”: Error: live file system repair is not supported.
    8) The terminal code says
    9) Last login: Wed Feb 11 14:09:47 on console
    10)  xxxx-MacBook:~ xxxx$ diskutil list
    11)  /dev/disk0
    12)  #: TYPE NAME SIZE       IDENTIFIER
    13)  0:      GUID_partition_scheme *160.0 GB   disk0
    14)  1: EFI EFI 209.7 MB   disk0s1
    15)  2:                  Apple_HFS Macintosh HD            80.1 GB disk0s2
    16)  3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
    17)  4:       Microsoft Basic Data 50.0 GB    disk0s4
    18)  /dev/disk1
    19)  #: TYPE NAME SIZE       IDENTIFIER
    20)  0:      GUID_partition_scheme *15.6 GB    disk1
    21)  1: EFI EFI 209.7 MB   disk1s1
    22)  2:                  Apple_HFS BOOT                    14.8 GB    disk1s2
    23)  3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
    24)  Saeedehs-MacBook:~ saeedehmirbagheri$ diskutil cs list
    25)  No CoreStorage logical volume groups found
    26)  Saeedehs-MacBook:~ saeedehmirbagheri$ sudo gpt -vv -r show /dev/disk0
    27)  Password:
    28)  gpt show: /dev/disk0: mediasize=160041885696; sectorsize=512; blocks=312581808
    29)  gpt show: /dev/disk0: PMBR at sector 0
    30)  gpt show: /dev/disk0: Pri GPT at sector 1
    31)  gpt show: /dev/disk0: Sec GPT at sector 312581807
    32)  start       size  index  contents
    33)  0          1 PMBR
    34)  1          1 Pri GPT header
    35)  2         32 Pri GPT table
    36)  34          6
    37)  40     409600      1  GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
    38)  409640  156394528      2  GPT part - 48465300-0000-11AA-AA11-00306543ECAC
    39)  156804168    1269544      3  GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
    40)  158073712   56853648        
    41)  214927360   97652736      4  GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
    42)  312580096       1679        
    43)  312581775         32         Sec GPT table
    44)  312581807          1         Sec GPT header
    45)  xxxx-MacBook:~ xxxx$ sudo fdisk /dev/disk0
    46)  Disk: /dev/disk0 geometry: 19457/255/63 [312581808 sectors]
    47)  Signature: 0xAA55
    48)  Starting       Ending
    49)  #: id  cyl  hd sec -  cyl  hd sec [     start - size]
    50)  ------------------------------------------------------------------------

    Thank you -
    I booted from external USB. The diskutil list output is from OS x booting from the USB, which shows the following:
    Saeedehs-MacBook:~ saeedehmirbagheri$ diskutil list
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *160.0 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:                  Apple_HFS Macintosh HD            80.1 GB    disk0s2
       3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3
       4:       Microsoft Basic Data                         50.0 GB    disk0s4
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *15.6 GB    disk1
       1:                        EFI EFI                     209.7 MB   disk1s1
       2:                  Apple_HFS BOOT                    14.8 GB    disk1s2
       3:                 Apple_Boot Recovery HD             650.0 MB   disk1s3
    Saeedehs-MacBook:~ saeedehmirbagheri$ diskutil cs list
    No CoreStorage logical volume groups found
    I am not able to use target disk mode because I don't have firewire/thunderbolt ports.

  • How to get the target file name from an URL?

    Hi there,
    I am trying to download data from an URL and save the content in a file that have the same name as the file on the server. In some way, what I want to do is pretty similar to what you can do when you do a right click on a link in Internet Explorer (or any other web browser) and choose "save target as".
    If the URL is a direct link to the file (for example: http://java.sun.com/images/e8_java_logo_red.jpg ), I do not have any problem:
    URL url = new URL("http://java.sun.com/images/e8_java_logo_red.jpg");
    System.out.println("Opening connection to " + url + "...");
    // Copy resource to local file                   
    InputStream is = url.openStream();
    FileOutputStream fos=null;
    String fileName = null;
    StringTokenizer st=new StringTokenizer(url.getFile(), "/");
    while (st.hasMoreTokens())
                    fileName=st.nextToken();
    System.out.println("The file name will be: " + fileName);
    File localFile= new File(System.getProperty("user.dir"), fileName);
    fos = new FileOutputStream(localFile);
    try {
        byte[] buf = new byte[1024];
        int i = 0;
        while ((i = is.read(buf)) != -1) {
            fos.write(buf, 0, i);
    } catch (Throwable e) {
        e.printStackTrace();
    } finally {
        if (is != null)
            is.close();
        if (fos != null)
            fos.close();
    }Everything is fine, the file name I get is "e8_java_logo_red.jpg", which is what I expect to get.
    However, if the URL is an indirect link to the file (for example: http://javadl.sun.com/webapps/download/AutoDL?BundleId=37719 , which link to a file named JavaSetup6u18-rv.exe ), the similar code return AutoDL?BundleId=37719 as file name, when I would like to have JavaSetup6u18-rv.exe .
    URL url = new URL("http://javadl.sun.com/webapps/download/AutoDL?BundleId=37719");
    System.out.println("Opening connection to " + url + "...");
    // Copy resource to local file                   
    InputStream is = url.openStream();
    FileOutputStream fos=null;
    String fileName = null;
    StringTokenizer st=new StringTokenizer(url.getFile(), "/");
    while (st.hasMoreTokens())
                    fileName=st.nextToken();
    System.out.println("The file name will be: " + fileName);
    File localFile= new File(System.getProperty("user.dir"), fileName);
    fos = new FileOutputStream(localFile);
    try {
        byte[] buf = new byte[1024];
        int i = 0;
        while ((i = is.read(buf)) != -1) {
            fos.write(buf, 0, i);
    } catch (Throwable e) {
        e.printStackTrace();
    } finally {
        if (is != null)
            is.close();
        if (fos != null)
            fos.close();
    }Do you know how I can do that.
    Thanks for your help
    // JB
    Edited by: jb-from-sydney on Feb 9, 2010 10:37 PM

    Thanks for your answer.
    By following your idea, I found out that one of the header ( content-disposition ) can contain the name to be used if the file is downloaded. Here is the full code that allow you to download locally a file on the Internet:
          * Download locally a file from a given URL.
          * @param url - the url.
          * @param destinationFolder - The destination folder.
          * @return the file
          * @throws IOException Signals that an I/O exception has occurred.
         public static final File downloadFile(URL url, File destinationFolder) throws IOException {
              URLConnection urlC = url.openConnection();
              InputStream is = urlC.getInputStream();
              FileOutputStream fos = null;
              String fileName = getFileName(urlC);
              destinationFolder.mkdirs();
              File localFile = new File(destinationFolder, fileName);
              fos = new FileOutputStream(localFile);
              try {
                   byte[] buf = new byte[1024];
                   int i = 0;
                   while ((i = is.read(buf)) != -1) {
                        fos.write(buf, 0, i);
              } finally {
                   if (is != null)
                        is.close();
                   if (fos != null)
                        fos.close();
              return localFile;
          * Returns the file name associated to an url connection.<br />
          * The result is not a path but just a file name.
          * @param urlC - the url connection
          * @return the file name
          * @throws IOException Signals that an I/O exception has occurred.
         private static final String getFileName(URLConnection urlC) throws IOException {
              String fileName = null;
              String contentDisposition = urlC.getHeaderField("content-disposition");
              if (contentDisposition != null) {
                   fileName = extractFileNameFromContentDisposition(contentDisposition);
              // if the file name cannot be extracted from the content-disposition
              // header, using the url.getFilename() method
              if (fileName == null) {
                   StringTokenizer st = new StringTokenizer(urlC.getURL().getFile(), "/");
                   while (st.hasMoreTokens())
                        fileName = st.nextToken();
              return fileName;
          * Extract the file name from the content disposition header.
          * <p>
          * See <a
          * href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html">http:
          * //www.w3.org/Protocols/rfc2616/rfc2616-sec19.html</a> for detailled
          * information regarding the headers in HTML.
          * @param contentDisposition - the content-disposition header. Cannot be
          *            <code>null>/code>.
          * @return the file name, or <code>null</code> if the content-disposition
          *         header does not contain the filename attribute.
         private static final String extractFileNameFromContentDisposition(
                   String contentDisposition) {
              String[] attributes = contentDisposition.split(";");
              for (String a : attributes) {
                   if (a.toLowerCase().contains("filename")) {
                        // The attribute is the file name. The filename is between
                        // quotes.
                        return a.substring(a.indexOf('\"') + 1, a.lastIndexOf('\"'));
              // not found
              return null;
         }

  • Target File Size Too Large?

    Hello,
    We have an interface, that takes a Source File-> Transforms it in the Staging Area ->and outputs a Target File.
    The problem is the target file is way too large than what it is supposed to be.
    We do have the 'Truncate Option' turned ON, so its not duplicate records..
    We think its the Physical and Logical Lengths that are defined for the Target files.
    We think the logical length is way too large causing substantial 'spaces' between the data columns thereby increasing the file size.
    We initially had the Logical Length for the data columns as 12 and we got the following error:
    Arithmetic Overflow error converting numeric to data type numeric.
    When we increased the Logical Length from 12 to 20 the interface executed fine without errors. But now the target file size is just way too large 1:5
    Any suggestions to prevent these additional spaces in the target columns??
    Appreciate your inputs!
    Thanks

    Since 'File-system' does not have a property 'column length', ODI will automatically set a standard 'column length' according to the datatype of the column. In your case, as both your source and target is File, check the max length of each column in your source ( Ex: if your file is huge then open the file in excel and verify the lengths) and set the same 'Logical length' for your target file datastore.
    drop the temporary tables (set the 'delete temp objects' option to 'true' in the KMs) and re-run the Interface. hope this helps.
    Thanks,
    Parasuram.

  • Extra Blank line inserted at the end of the target file

    Hi,
    This is File to File senario and target files created with a extra blank line at the end of the file.
    Below is the source file structure and the content.
    <ns0:MT_MOD_FL xmlns:ns0="http://file2file/MES">
       <EMPLOYEE>
          <ID>12</ID>
          <Name>SREENI</Name>
          <Designation>M2</Designation>
       </EMPLOYEE>
       <EMPLOYEE>
          <ID>121</ID>
          <Name>RAJA</Name>
          <Designation>M3</Designation>
       </EMPLOYEE>
    </ns0:MT_MOD_FL>
    Below is the generated target file
    12     SREENI     M2
    121     RAJA     M3
    Here Generated target file suppose to have only two line instead of 3.
    What exactly do i need to change to generate the file with 2 line.
    I am not using any mapping as both source and target message structure are same.
    IN FCC i used only fieldSeparator, even i have not used endSeparator.
    Thanks in Advanace...

    Hi! Raghu,
    Just go through the below Help..documantation
    [http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm]
    NameA.endSeparator
    To define an additional string as a separator after the last column in a row, specify it here. The system skips this string when it processes the last column (otherwise the system would treat it as part of the last column).
    NameA.fieldSeparator
    If you make an entry here, the system expects that the structure contains the specified character string (one or more characters) as a separator between the individual columns.
    If you have not made an entry for fieldFixedLengths, this is the only specification to identify the individual columns in a row.
    If you made a specification for fieldFixedLengths, the extra length of the separator is taken into account, but no further consistency checks are performed.
    Regards::
    Amar Srinivas Eli

  • File name in the target file field

    Hi,
    In this below particular blog we are creating the UDF and assigning the output of UDF to a filed in the target file structure.
    /people/sravya.talanki2/blog/2006/12/20/accessing-system-parameters-in-mapping-runtime
    And even we are entering the target file name manually in the UDF. Whatever the filename that we enter in the UDF that will also be displayed as the target file name. To do this even we are selecting the adapter specific attributes.
    Please correct if my understanding is wrong.
    thanks
    kumar

    Hi Kumar,
    <i>Whatever the filename that we enter in the UDF that will also be displayed as the target file name</i>
    Yes
    <i>To do this even we are selecting the adapter specific attributes.</i>
    "We could be" instead of "we are". If u want to access sender metadata, u should use ASMA.
    Check this out
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c89607-e4d9-2910-7280-f6746e964516
    <i>[Reward if useful :)]</i>
    Regards,
    Prateek

  • Target file name using Dynamic Configuration

    Hi,
    Currently we have requirement Idoc to File interface.In this scenario if one field exists infile then we have to check and we need to create update directory and  if it is not exist then we should create one more  directory and upload files over there there files should create with timestamp. Since,File system using Sql database so we have used JDBC lookup to check that particaluar field  and if it exists we are passing update to UDF if it is not then we are passing constant Create to that. If we use Adapter Specific Message Attributes  then in reciever side file Communication Channel addtimestap will it consider or do we have to write anything in Udf it self? Could anybody explain on this?Please provide some sample udf .
    Thanks ,
    Aparna.
    Edited by: aparna_karnam on Dec 24, 2011 11:44 AM
    Edited by: aparna_karnam on Dec 24, 2011 11:52 AM

    Hi,   
            I have added little changes to the code you have written, to meet your expectations
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    conf.put(key,"/sap-dev/" +a);
    DynamicConfiguration conf1 = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
    string filename=conf1.get(key1);
    final String DATE_FORMAT_NOW = "dd-MM-yyyy_HH-mm-ss";
    String s;
    java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat(DATE_FORMAT_NOW);
    java.util.Calendar cal = java.util.Calendar.getInstance();
    s=sdf.format(cal.getTime());
    filename=a+" "+"User_"+s+".txt";
    conf1.put(key1,filename);
    return " ";
    So if value of input variable "a" is "update" then the target directory will be "/sap-dev/update" and the file formed will have name "update User_26-12-2011_01-20-50.txt", of course the date and time values will change depending on server settings. I just showed a sample. one more point, the directory will not be created, you have to create the directories before you run the scenario, only the final directory will be decided depending on value of variable "a". In case you wanna create new directory if directory is not pre-existing then try ticking  on "Create Target Directory" option under "file access parameters" in communication channel. (I have never used this option u can have a try. )
    Now coming to your queries
    1. But whether file type txt automatically it will take or do we have to give in udf it self ?
    ans) You have to put the value in UDF as I have done in code.
    2.    how it will consider timestamp ?
    ans) This has been generated in UDF itself.
    3.  how i can give file extension .txt?
    ans) same as ans 1
    4. And also in Receiver Communication Channel under Adapter Specific Message attributes we have option of file type how it works?
    ans) File type determines is the file you are going to write is of type "text" or "binary". From "Processing Parameters" tab you can select this from drop down menu in communication channel or you can set it through ASMA properties in similar manner as you have done for file name and directory name. For more details refer to http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    http://help.sap.com/saphelp_nwpi71/helpdata/en/44/6830e67f2a6d12e10000000a1553f6/content.htm
    Finally few more points I would like to add
    1) you have  not mentioned the operating system of the server where file is going to form. In case its UNIX/LINUX you are not allowed to use space in the filename. you can consult these links before you decide on file name and directory name in the UDF mentioned above
    http://www.med.nyu.edu/rcr/rcr/nyu_vms/unixfileanddirectorynames.htm     (UNIX)
    http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx#naming_conventions  (WINDOWS)
    2) you can alter the string "DATE_FORMAT_NOW" as per your requirement so  that the timestamp appears in the way you want. I have just showed a sample.
    3) Plesae do not forget to tick on the options "Use Adapter-Specific Message Attributes indicator", "Fail If Adapter-Specific Message Attributes Missing", indicators "File Name" and "Directory" under "Define Adapter-Specific Message Attributes." in receiver communication channel.
    Hope this solves your problem.
    Wish my dear forum members and users of SDN
    Merry Christmas and Happy new year (in advance)
    Regards
    Anupam
    N.B:- I initially forgot to add the ".txt" part to the file name. I made necessary corrections in code now.

  • Need Target File  Name  Timestamp  is  same  as Source File name Timestamp

    Hi ,
           I want to genereate Target file name (Target_09062008082030.xml)   but  this time stamp is exactly Sorce FileTime stamp..(Source_09062008082030.xml)..
         so, i want to create a  target file  with the same source file time stamp.. 
    for this.. i sed Message Specific attributes... in both sender and receiver side.. but  that was creating with the complete name.of source file name.. but i want only Timestamp of the source filename... and remaing is the constant.. for this  how can i proceed  ..
    Thanks
    Jain

    See in Sender CC when you set the Adapter Specific Message Attr  for file name it will send the filename in the header of the XI Message.
    To acces this file name inside mapping you need to create a UDF . The type can be any thing as you desire.
    You dont need to pass any variable .if suppose you want the file name (constant) e.g ABC_<timestamp>.xml
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String fileName= conf.get(key);
    //see above your key is FileName which will be sent by the sender CC automatically... You are simply accessing it here using get() method.
    //now ur filename will contain name of the source file... you need to perform a substring operation to get the timestamp and create a new file name as you desire.
    fileName = "New_<timestmp>.xml"; //for e.g
    //set this file name again in header message using put()
    conf.put(key, fileName);
    //when you check on the adapter specific message attr for fileName in the receiver CC ,it will automatically take this new file name value.
    return fileName;
    // if you want to use this new fileName inside your mapping payload (for other fields) you can assign this to any target field,else just assign it to the root tag which will make no difference if this file name is not used anywhere.

  • PI 7.1:  Transport configuration using the file system

    Hi!
    How can I transport the configuration objects from DEV to QA, when I have different business systems in DEV and QA (BS_dev and BS_qa)?
    I use individual landscapes per system (DEV, QA and PROD).
    What have i done?
    1. Export the software componet version from DEV/SLD in a file. --> ok
    2. Import in the QA/SLD --> ok
    3. Export of the objects from DEV/ESR in a file --> ok
    4. Import in QA/ESR -->
    5. Export of the objects from DEV/ID in a file --> ok
    6. Import in QA/ID --> error (different business systems)
    Thanks in advance!
    Edgar

    Hi.
    There are two ways to transport ID and IR Object to transport .
    1. CTS + : Totally automated Way .,
    2. .tpz : Manual Lagacy Import / Import way .
    Now . Steps .are :
    There are two types of transport mechanisms in XI/PI.
    1. File Transport System.
    Files are imported and exported into SAP XI OS Level for Development and Quality Server,
    This Process is risky as there is no automated system and there is no track record of imported or Exported Files,
    as in this syetem exported files are transported to QA System from DEV System.
    file Extension in file transport System : - .tpz
    2. Through CTMS(Change Transport Managment System).
    GUI Based tool, Installed on SAP XI BOX, This system provides the automated transport system , which keep tracks of transported Objects and Failed objects.
    There are initial level efforts to set up transport system.
    Transport Procedure for Various System :-
    DESIGN OBJECTS ---> (ENTERPRISE SERVICE REPSITORY OBJECTS) -
    > INTEGRATION BUILDER.
    Step -I
    1. Select NameSpace to trasport.
    2. Right Click on NameSpace to Transport.
    3. Select Export Option.
    4. Check or Select the Software Component Version.
    5. Check the Mode of transport.
    CTS MOde:-
    5.1 Select a required type of Object Set:
    IN OUR CASE: ALL OBJECT OF INDIVIDUAL NAMESPACE.
    5.2 Select Transort request.
    5.3 Finish the Process.
    TRANSPORT USING FILE SYSTEM:-
    5.1 Select a required type of Object Set:
    IN OUR CASE: ALL OBJECT OF INDIVIDUAL NAMESPACE.
    5.2 Finish the Process.
    Step II
    1. GO TO TOOLS OPTION IN MENU BAR
    2. OPEN CTS TRANSPORT ORGANIZER
    3. Select the request to Release.
    4. Press Button Release.
    Step III( Steps to be Perform at Target System).
    1. Execute Transection Code STMS.
    2. Check your Transport Request Number.
    3. Focus on that Trasport Request Number Through Mouse.
    4. Now Import The Transport Request on Specific client of Target System.
    5.Click Ok.
    FINAL :- NOw on Quality Server all Transported Objects Need to be activated.
    CONFIGURATION OBJECTS ---> (INTEGRATION DIRECTORY) -
    > INTEGRATION BUILDER.
    Step -I
    1. Select Configuration Scenario to trasport.
    2. Right Click on Configuration Scenario to Transport.
    3. Select Export Option.
    4. Check or Select the Configuration Scenario.
    5. Check the Mode of transport.
    CTS MOde:-
    5.1 Select a required type of Object Set:
    IN OUR CASE: ALL OBJECT OF Selected Scenario.
    5.2 Select Transort request.
    5.3 Finish the Process.
    TRANSPORT USING FILE SYSTEM:-
    5.1 Select a required type of Object Set:
    IN OUR CASE: ALL OBJECT OF Selected Scenario.
    5.2 Finish the Process.
    Step II
    1. GO TO TOOLS OPTION IN MENU BAR
    2. OPEN CTS TRANSPORT ORGANIZER
    3. Select the request to Release.
    4. Press Button Release.
    Step III( Steps to be Perform at Target System).
    1. Execute Transection Code STMS.
    2. Check your Transport Request Number.
    3. Focus on that Trasport Request Number Through Mouse.
    4. Now Import The Transport Request on Specific client of Target System.
    5.Click Ok.
    FINAL :- NOw on Quality Server all Transported Objects Need to be activated( CHANGE OBJECTS).
    Regards,
    Venkata S Pagolu

Maybe you are looking for

  • Open in same window, when using simple finder window

    When I am using finder windows in simplified mode (no sidebar) any folder I open, pops up a new window. Is it possible to have folders open in the same window? Thanks

  • How to solve this problem"exception in thread "main" java.lang.noclassdeff"

    I am a tyro of java programming . i downloaded the j2sdk-1_4_2_09-windows-i586-p.exe from www.java.sun.com and installed it at the defaulted path C:\j2sdk1.4.2_09, then i wrote down my first java program as follow: public class hello public static vo

  • Java mapping how to use com.sap.tc.logging

    Hi I would like to know how to use logging within a java mapping. I know i have to use theese classes : Location, Category, ConsoleLog but i dont know how. 1) How to load the P1, P2, P3 and P4 tags in the Error tag of the SOAP header watched in SXMB_

  • Using jsp in webi(BO).

    How can i use Jsp in BusinessObjects Webintelligence tool and for what purpose i can use jsp coding to create reports? Thanks in advance. Rp

  • Error with Excel 2007 display.

    We have recently upgraded to MS office 2007 and using BW 3.5 bex .When i ran workbook in Excel-07 , i am getting symbol £ instead of $ for a curreny column .Value for that cell is correct in dollars but the symbol is showing worng .if anyone encounte