How to start a "File Sender" in a BPM?

Hi Experts,
Is there a way to start/trigger a File sender from a BPM i.e start it from the BPM? Or even trigger a Communication channel in a BPM?
The scenario is as follows:
We need to trigger the File Sender only when XI receives an IDoc from SAP.
Many thanks in advance.
Regards,
Tush

Thanks Prateek,
Okay let me explain the full scenario, as follows:
- IDoc sent to XI -> A file is created in the FTP
- IDoc is triggered through Change pointers and sent to XI
- Then, we should check the lines (records) of the file(currently in FTP) for the Material number in the IDoc.
    -If the material number is already in the file, replace that record.
    -If the material number is not yet in the file, add a new record.
Can you please suggest a way in achiving this?
Many thanks for your help.
Best regards,
Tush

Similar Messages

  • How to Start EXE-File from SUD Dialog

    Hello!
    My Problem is: I'm trying to start an exe-file by clicking a button within a SUD-Dialog. Does anybody know how to realize that?
    For example: Run("C:\Windows\Notepad.exe") ?!
    Thanks!
    Solved!
    Go to Solution.

    Thanks for you reply!
    Your code worked so far to start Notepad.exe but what I'm trying to do is to start a file, located one folder above my script folder.
    I tried the following...
    dim command : command = "Script Assistent\TSM Script Assistent.NET.exe"
    dim shell : Set shell = CreateObject("WScript.Shell")
    dim status : status = shell.Run(command, 1, true)
    If
    0 <> status ThenErr.Raise6, "", "Command returned error!"
    End If
    ...but then I receive an error message :-/
    The script and the sud-file is located in:
    G:\Script\Scriptfile.vbs + Dialogfile.sud
    The exe I'm trying to start is here:
    G:\Script\Script Assistent\TSM Script Assistent.NET.exe
    What's wrong with that?

  • How to start the file server for Agile PLM

    when i try to add one attachment for an Item, i got the following error message:
    The preferred file server http://agileserver:8080/Filemgr/AttachmentServlet for user : xxx is down
    how to startup the file mgr?

    Hi is this looks like a question for Agile A9.
    For Agile A9 or Primavera questions, you can use Oracle Support, Support Communities, Yahoo Groups for Agile API or WRAU.
    This forum is for Agile PLM for Process, which is part of the same Agile family but a different product.
    Thanks.

  • How to start an File- XI- IDOC -Scenario manually?

    Hi,
    we have a File->XI->IDOC -Scenario with a polling time of 60 minutes.
    Now it should be possible, that the enduser can start this scenario manually (by report or something else), because sometimes the user has to edit the file and then he/she cannot wait till the loop restarts.
    How can we manage it?
    Regards
    Wolfgang

    Hi,
    Wow - that's great!
    BUT.... it's working only in XI/2004 >=SPS17. We have PI 700/2004s SPS7
    Do you know the corresponding SPS for this feature in PI 700?
    I wanna ask my admin to upgrade - it's a feature the enduser (special endusers) really needs.
    Thanks a lot!
    Regards
    Wolfgang

  • How to Start Executable Files from JavaTM Applications?

    If it is possible to start other executable files, for example EXE or BAT, from a Java application, how can it be done in VC++??
    I can invoke executables (or whatever your OS is willing to execute) via Runtime.exec(). as per JDC member mtj or perhaps try:
    import Java.lang.*;
    import Java.io.*;
    public class RuntimeExecTest {
    public static void main(String[] args) {
    Runtime rt = Runtime.getRuntime();
    String[] callAndArgs = { "Notepad.exe",
    "D:\\TEMP\\Test.txt" };
    try {
    Process child = rt.exec(callAndArgs);
    child.waitFor();
    System.out.println("Process exit code is:
    " + child.exitValue());
    catch(IOException e) {
    System.err.println(
    "IOException starting process!");
    catch(InterruptedException e) {
    System.err.println(
    "Interrupted waiting for process!");
    But in VC++ on of the method signature is causing the problem:
    public Process exec( String command, String envp[] ) throws IOException
    If I use the above code, I get this error:
    Compiler Error J0122
    Exception 'identifier' not caught or declared by 'identifier'
    Please help
    Thanks

    Yes, it is possible to run both EXEs and BATs with exec().
    I also suggest you to look at the following article:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • How to start Windows file chooser?

    I don't mean the AWT file chooser FileDialog.
    I have seen a Java application use the new Windows file chooser which is used in Windows 2000 and Windows XP. On the left side it has a large bar.
    How can I start that new Windows file chooser?

    Hello, my name is Silvia.
    I'd like to know how to hide that large bar on the left side in the file chooser (jdk 1.4.x).
    My problem is about truncated names like 'My Document' (it is shown as 'My Docum...') or 'My Network Place' (it is shown as 'My Networ...').
    Should I extend the JFileChooser class? What is the name of 'the large bar on the left side in the file chooser'?
    Thank you very much, Silvia.

  • How to start macbook pro sending emails again

    My macbook pro inexplicably stopped sending emails for 24 hours; how do I fix the problem?

    In Mail program check the Outgoing Mail Server. Mail>Preferences>Accounts. Of course if you get a prompt when you try to send mail perhaps you might tell us what it says...

  • File Sender : Multiple File being picked

    Hi All
    I have a scenario where I have multiple files in a directory . I have set the option to Processing Parameters to be EOIO and poll interval to be 60 seconds.
    The processing sequence is by Name.
    This File sender triggers a BPM. What I see is that when the File sender polls the directory. If ther are  multiple files, they get picked up at the same time and as many BPM are started.
    I would like it to work pretty much in a serial format where it picks up only one file triggers the BPM. When the BPM is done it can trigger the next file.
    How can I do this ??
    Regards
    Aju Paul

    Hi Aju,
    I have come across such scenarios...but not ones wer you have files wid same names in the same path wid almost same time stamps:)...well, d time stamp format can be specified upto milli seconds!...
    Will you be able to give some kind of an "advanced selection for the source file"-this option is available in the ftp adapter..here's the link to the documentation(just in case u haven't come across it earlier):-
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Regards,
    Sushumna

  • Is it possible get special file in file sender adapter?

    Hi every SDNer.
    I want to get special file. for example like PJ<today>_return.dat
    Well, to paraphrase Marx, One folder has too many files. but I want one file in that folder.
    The rule is simple. if today is 20/07/2007 then I get the file as "PJ20070720_return.dat".
    How can i configuration File Sender Adapter?

    Dont have an XI system in front of me, but if I recall correctly, your options are pretty limited. The list of parameters in Advanced Selection for Source File does not include a date Better selection parms with the receiver channels.
    As such you may have to resort to writing a script on the OS that will do the following every minute... (basically run it more frequently than your channel)
    - look in that directory through all the PJ* files containing date = 'today'
    - rename the file to REAL_PJ_..... (for example)
    In your channel, pick the file REAL* and archive accordingly so it's not picked again by your script.
    If you find alternatives via cchannel - publish your results.
    sincerely,
    --NM

  • How to repost the file while getting an error

    Hi
             Friends , this is shalini shah.
    Iam facing one problem from  sender side(i.e file ) iam already send two files to IDOC,
    now one more file is sending to XI, here i faced problem.the third file got an error,
    it will be not posted to XI, so how to repost the file(sender side).
    i think do the same procedure from scratch(date types ,messagetypes,and message inteface)it is correct or not.
    please reply, thanks in advance.
    Regards
    Shalini shah

    Hi Shalini,
    You can resend it from Runtime work bench,while monitoring.
    If you rectify the problem.
    Ex: If any configuration mistakes can be altered and resend it again.
    OR
    If Data it self is wrong ,then change the data and Activate the scenario.
    Need not to do it from the scratch..
    Regards,
    Ramesh.

  • Sender File Adapter Conversion problem - how to start new recordset?

    Hi guys!
    I have a source file like following:
    aaaakkkkkk
    uuuupppppp
    &&hhhhffffff
    6666uuuuuu
    3333rrrrrrrr
    &&kkkkoooooo
    which means - fixed length 4,6 and && starts new recordset.
    I need to get structure like:
    <recordset>
      <item>
        <a>aaaa</a>
        <b>kkkkkk</b>
      </item>
      <item>
        <a>uuuu</a>
        <b>pppppp</b>
      </item>
    </recordset>
    <recordset> ... with h,f and 6,u </recordset>
    <recordset>
      <item>
        <a>kkkk</a>
        <b>oooooo</b>
      </item>
    </recordset>
    Any ideas?
    Let's say, I can add && on the beginning of the file and other "lite" changes... but structure stays the same...
    so, how to start new recordset? with which conversion parameter? for items it is clear...
    Thanx a lot!
    Olian
    Message was edited by:
            Olian Saludew

    aaaakkkkkk<end_of_line>&&uuuuwwwwww<end_of_line>...
    then normal parameters should work fine,
    item.fieldFixedLengths==4,6
    Item.fieldNames=field1,field2
    item.endSeparator=<end_of_line>

  • Neither "file, send" nor "send link" open email. This problem started a few months ago and has been on-going. How do I resolve the problem?

    I cannot email an article from my home page or something found elsewhere on the web by right clicking and selecting "send link". I also try "File, Send Link" without success. How can I fix this problem? I have never had this problem until a couple of months ago. Thanks.

    -> [[Troubleshooting extensions and themes]]
    -> Clear Cookies & Cache
    * https://support.mozilla.com/en-US/kb/Template:clearCookiesCache
    -> [[How to clear the cache#w_clear-the-cache|Clear the Network Cache]]
    -> [[Changing the e-mail program used by Firefox]]
    Check and tell if its working.

  • How to calculates averages and send to a file?(source code)

    how to calculates averages and send to a file?(source code) I need to get started but I don't know where to begin...........the book I have doesn't really say how to handle averages and send to a file.................anybody got suggestions on how to get started? I am a newbie so place in layman's terms.............thanx

    To calculate an average: add all of the numbers together and divide by how many numbers you added together.
    ex: (1 + 2 + 3 + 10)/4 = 4 (4 is the average)
    As for writing them to a file, look over the API for random or sequential access files.

  • How to set attched file name while sending email through ABAP

    Hi All- tell me how to set attched file name while sending email through ABAP.
    regards...
    Abhay

    Sure,  when you are adding your entry to the packing list,  give the name in the obj_name field.
    *File 2
      mailbin = 'This is file 2'.
      append mailbin.
      data: start type i.
      data: end type i.
      start = tab_lines + 1.
      describe table mailbin lines end.
      mailpack-transf_bin = 'X'.
      mailpack-head_start = 1.
      mailpack-head_num = 1.
      mailpack-body_start = start.
      mailpack-body_num = end.
      mailpack-doc_type = 'TXT'.
      mailpack-obj_name = 'TEST2'.        "<-  RIGHT HERE
      mailpack-obj_descr = 'Subject'.
      mailpack-doc_size = tab_lines * 255.
      append mailpack.
    Regards,
    RIch Heilman

  • Where can I find the Start up disk and how can I delete file from it.

    where can I find the Start up disk on theMac Book Air?
    How can I delete files from it?

    The startup disk is the internal SSD in your MBA.  You may delete files by draging the file  to Trash (or clicking on them and then execute COMMAND+Delete).  Then empty Trash.
    Ciao.

Maybe you are looking for