Command line feature in File Adapter

Hi  Experts,
      Can any one please explain how to use command line feature present in FTP.
      Thanks in advance for you help!
      Regards,
      Ravi Kiran L

Hi,
By openning SAP Help (!): [http://help.sap.com/saphelp_nwpi711/helpdata/en/44/556cb799c93677e10000000a114a6b/frameset.htm]
And by using search button on SDN web site (!!), for instance with terms "PI OS command", there are several info...
[http://wiki.sdn.sap.com/wiki/display/XI/RuntimeOScommand]
[http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature]
etc...
Regards.
Mickael

Similar Messages

  • Command Line Parameter in File Adapter in SAP PI

    Hi
    Can any body explaine me what is the purpose of 'Command Line' parameter in File Adapter (Sender/Receiver).
    Regards,

    Hi,
    Refer below two links for more help!
    SAP XI File Adapter OS Command Line Feature     
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/sapXIFileAdapterOSCommandLine+Feature
    More with the File Adapter      
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/morewiththeFileAdapter
    Regards,
    Jilan

  • Command Line Scripts in File Adapter

    Hi,
    In the file adapter, does the command line script support "PERL" Scripts.
    thanks.
    Krishnan

    YES It will support.
    For clarification check below one.
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
    FTP channel - not processing files, coz one of the files is wrong,

  • Command line in XI file reciver adapter

    Hello,
    I need to debug calling to command line in XI reciver adapter.
    I saw an artical telling how to write logs of error in the XI server.
    Please show me the link,
    Thanks in advance

    Dear Elad,
    This might help you
    Page- 36 onwards
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ee5bc490-0201-0010-e9b5-a258cf083bca
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1eb928a1-0601-0010-f890-be9169f0d856
    Regards
    Agasthuri Doss

  • [svn:osmf:] 14412: Added the Syndication. swc to the command line build config file for the AkamaiPluginSample project .

    Revision: 14412
    Revision: 14412
    Author:   [email protected]
    Date:     2010-02-24 17:48:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Added the Syndication.swc to the command line build config file for the AkamaiPluginSample project.
    Modified Paths:
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/AkamaiPluginSample-build-config.xml

    I think it is not supported through ant script and you may have to contact Oracle Support. Please go through below thread (hisaak's reply) -
    Re: Export OSB configuration jar file using Ant
    Regards,
    Anuj

  • [svn:osmf:] 14411: Adding command line build config files for the syndication library.

    Revision: 14411
    Revision: 14411
    Author:   [email protected]
    Date:     2010-02-24 17:45:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Adding command line build config files for the syndication library.
    Added Paths:
        osmf/trunk/libs/Syndication/syndication-build-config.flex
        osmf/trunk/libs/Syndication/syndication-build-config.flexcov
        osmf/trunk/libs/Syndication/syndication-build-config.xml

    Revision: 14411
    Revision: 14411
    Author:   [email protected]
    Date:     2010-02-24 17:45:22 -0800 (Wed, 24 Feb 2010)
    Log Message:
    Adding command line build config files for the syndication library.
    Added Paths:
        osmf/trunk/libs/Syndication/syndication-build-config.flex
        osmf/trunk/libs/Syndication/syndication-build-config.flexcov
        osmf/trunk/libs/Syndication/syndication-build-config.xml

  • Firefox always start it self when windows start (around 5 - 6mb ram) with process explorer i got this [Path C:\Program Files\Mozilla Firefox\firefox.exe} [Command line "C:\Program Files\Mozilla Firefox\firefox.exe" -requestPending -osint -url "%1"]

    firefox always start it self when windows start (firefos.exe around 5 - 6mb ram) with process explorer i got this
    [Path >> C:\Program Files\Mozilla Firefox\firefox.exe]
    [Command line >> "C:\Program Files\Mozilla Firefox\firefox.exe" -requestPending -osint -url "%1"]
    is this a bug or a virus?? Thank you..
    == windows start

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!

  • Cisco Jabber MSI Install Command lines/ Orca MST file

    Greetings....
    We are trying to deploy cisco jabber 9.7.4 either by using msi command line or configuring a custom installer using Orca. Both options have worked partially. 2 places we are getting stuck.  The EULA is prompting to accept (which if we run in quiet mode, it stalls and fails) and after the install I am prompted to select account type and server. The server is populated with the correct address but it defaults to the "use default server". It seems to work with the default server but I still need to select "Cisco IM and Presence" from the account type.
    I followed the deployment guide for jabber to create the installer file.
    I am pretty new to CUCM and CUP. So feel free to answer me like I am a 4th grader.
    Attached are screen shots of the msi command line and the settings in Orca I was playing around with.
    Any help and guidance is appreciated.

    In your doc you have:
    msiexec /i CiscoJabberSetup.msi TPYPE=CUP ADDRESS=10.21.0.10 DOMAIN=chi-sd.com
    TYPE=CUP is mispelled.
    Regards
    Aaron

  • Multiple Header line in Receiver File adapter

    Hi,
    I have an issue in Receiver File adapter with multiple header lines. I am able to get only 1 header lines in the receiver file but not multiple header lines with 'nl' since it is static in file mode
    [CommunityTag:Header]
    empNo,EmpName,Age
    [CommunityTag]
    I tried with the below in content conversion one as below with no luck
    Root.addHeaderLine=1
    Root.headerLine=[CommunityTag:Header] 'nl' empNo,EmpName,Age 'nl' [CommunityTag]
    Root.fiedSeparator=,
    Root.endSeparator='nl'
    I am getting the Header line as same row as static text.
    Can you advise this.

    Hi Gabriel, I suggest to produce the header lines from additional nodes in the message payload. That means you need to modify the data type of the target message in order to generate an extra structure in the payload. Use constants in message mapping to generate the header column names, e.g.
    <Header>
      <H1>CommunityTag:Header</H1>
      <H2>empNo,EmpName,Age</H2>
      <H3>CommunityTag</H3>
    </Header>
    In content conversion you have to convert the Header row with
    Header.endSeparator='nl'
    You won't need parameter addHeaderLine anymore then.
    Regards, Martin

  • New line character in File adapter

    I am having a receiver file adapter which generates files with multiple lines.
    My problem is when the target file is opened in notepad there is no line break and the lines comes as continous string with small rectangle as separator.This fails the target upload program.
    When I remove those small squares in notepad and hit enter and then upload it gets uploaded successfully.
    Is there any way to have line break so that new line will be generated each time (the documenation says the by-default it adds new line character then why in notepad it opens like a continous string?)
    Thanks in advance.
    Regards
    Rajeev

    Hello
    I know by default File Adapter value is line break. But if I open that generated file in notepad, the record does'nt appear on the new line. Instead at the end of each line there is special character added at the end of each record. When I hit enter and deletes that special character and then try to load that file it gets loaded successfully.
    So my problem is how to generate the file will give record on the new line. I tried to give 'nl' as endSeparator.
    How to give hexadecimal values? I tried giving '0xHH' but that gives error in File Adapter
    "Error: Conversion initialization failed: Exception: java.lang.NumberFormatException: For input string: "HH"
    Thanks in advance.
    Regards
    Rajeev

  • Execute windows command line to a file

    Hi,
    I would like to run a windows command line from Java and output the result to a file.
    eg.
    cmd> mycommand hello > output.txt
    in windows ">" is to output the result to a file.
    I've tried
    String command  = "mycommand hello > output.txt";
    Process process = Runtime.getRuntime().exec(command);But that exec() didn't output to a file.
    Can someone give me an example on how to do this?
    Thanks

    You are falling for one of the traps described here. The redirection operator '>' has to be interpreted by a shell or command processor. On windows this would be
    String command  = "cmd.exe /C mycommand hello > output.txt";and on Linux this would beString command  = "sh -c mycommand hello > output.txt";You should read all 4 sections of the traps article and implement ALL the recommendations or you will be back here again.

  • Blank line in receiver file adapter content conversion

    Hi,
    I am using a receiver file adapter. Everything is working fine. Except that a blank line is put by the file adapter between each records. It is a flat file format.
    I have used the stting below. How do we remove the blank line?
    Recordset : ACCTHDR,BATCHDR,TRANSREC,BATCHTLR,FILETLR
    ACCTHDR.fieldFixedLengths 1,7,4,9,8,665
    ACCTHDR.absoluteRowWidth  694
    ACCTHDR.addHeaderLine 0
    Thanks
    Sachin K

    Hi,
    .endSeparator
    The default value is a line break (no explicit separator after the last column; instead the structures are arranged line-by-line).
    If you enter a character string here, the system adds it to the last column as a closing character. You can also make this specification in addition to NameA.fieldFixedLengths. To include a line break following the closing character, you must explicitly define it by attaching ´nl´ (including the quotation marks) to the string.
    Regards
    Agasthuri Doss

  • Can you use command lines to copy files in UNIX to Oracle Apps

    Hi! We have installed the oracle apps 11.5.0 to a unix operating system. And we use ftps to upload the rtf and xml files to the unix server. Is there any command lines we can use to copy all the rft and xml files in the server to the real location of where the report files stored without going through the XML Publisher font end through the internet explorer? Thanks for your help!

    Hi,
    From what you have mentioned, I believe you are writing custom xml pub report
    1) Storing all your template and sample xml data file on Unix box by FTPing it. This step is not required as XML publisher picks template from XDO tables (where it is stored in CLOB), unless you are explicitly Coding to use templates from a fixed location like <CUST_TOP>/<xml_templates>
    2) As part of XML setup, you need to define the template and datasource using the front end. This causes the Template and XML data (sample) to be stored in XDO tables (as clobs). This step is basically required and unavaoidable.This step can be automated using FNDLOAD tool (not sure).
    Hope it helps somewhat.
    Neeraj

  • Command line to extract file in windows XP and Windows 7

    I want to copy files from a zipped folder of any source to C:\XYZ folder.
    which command should I use? 
    example:
    source folder : Ashok.zip
    This zip folder contains a.txt and ABC folder. Now i have to copy this a.txt and whole ABC folder to C: XYZ using command line. Please Suggest !

    Hi A Lamichhane,
    As I know, there is no legacy command could get that goal in Windows xp and 7 since it might need java command or vbscript, however if you really need unzip from the command prompt using ONLY Windows' built-in capabilities, we could use powershell script.
    $shell = new-object -com shell.application
    $zip = $shell.NameSpace(“ fiel path you need unzip”)
    foreach($item in $zip.items())
    $shell.Namespace(“path you need copy to”).copyhere($item)
    I tested that and it is easy to use.
    Regards
    D. Wu

  • Command line to change file type association?

    I'm trying to find the correct way to change the association for .PDF files by command line, to add to a deployment script.  The client mahcines have Reader X and Acrobat 7.  I'm trying to get it so by default, all users on a machine will use Acrobat 7 to open PDF files.  I have had no luck editing the registry key under Explorer/Shell, or using the commands FTYPE and ASSOC.  Is there another way to get this done?

    Hi Brian,
    You're looking for a hack because not only are 7 and 8 not supported, they are doubly not supported in conjunction with Reader 10.0. If you had 9.x and later products, you could specify which app was the default PDF handler. There could be a way to do what you want, but you're out in the wilderness on this one.
    Ben

Maybe you are looking for

  • Not able to display the 18 cloumns inthe alv output

    Hi Everybody, I am developing one report to the display the output in alv for the 18months report. basically my requirement is when ever i execute the program based on the current month it should calculate the next 18months and fetch the data and dis

  • Where Can I get a pre-paid phone plan and microSIM card for iPhone 4 in Seoul, Korea?

    I have (US) iPhone 4 that takes a microSIM card.  I will be traveling in Seoul, S. Korea this summer for ~ 1month.  I'd like to take my iPhone 4 with me to Seoul and just switch out the microSIM card so that i can get a local Korea number, etc.  Does

  • How to deselect the itemlistbox entries

    hi,     using itemlistbox for currency display, once user select the value and press the save button. In itemlistbox value want to be deselect. while am using invalidate() method it clearing the value in listbox . i don want to clear just deselect th

  • V570 Nvidia display driver problem

    Hi, I just bought a laptop Lenovo V570 with the serial nr.: 59-3157502y. When i try to instal the nvidia display driver i get the message: "This graphics driver could not find compatible graphics hardware". Please give a solution how to fix this prob

  • External Hard Drive incompatibility X2

    Several months ago I installed a new LaCie 250GB external drive. I saved 50 or so GB of files and then after a week or so, the "Firewire" icon for the disk drive became generic - a few days later - the drive did not show up on the desktop at all. I s