Question on Runtime TID and MSDID

hi all,
I have been researching the cor-relation between TID > MSGID and IDOC created on backend system.
How can i corelate all of them and say that a particular TID is related to MSGID and "a" particular IDOC on the R/3 side.
I would also like to know that for IDOCS when TID is created at Runtime, does the same TID exist for IDOC going to backend system or does it get changed as it passes from AE > IE.
thanks
tony

Hello
Please do not use this forum for such basic questions. This forum is for PI developers who have at least a rudimentary knowledge of the component. If you want to learn about PI this is not the correct place to do so.
This thread will be locked.
Regards
XI/PI Moderator

Similar Messages

  • Not able to get rid of security-related questions in runtime

    Hi,
    I am simply using NetBeans 6.0.1 and the emulator QwertyDevice and the emulator platform WTK 2.5.2 for CLDC.
    I have chosen Alias as trusted in the signing option in the project configuration page. however still I am getting security confirmation questions in runtime to access the local files for instance.
    Would anyone please advise me how to get rid of that?
    Also I have deployed the application on SonyEricsson k800i and would like to get rid of the security confirmations on that device as well. What is the guideline?
    Thank you

    Right clicking on it is not even an option, just hovering over it seems to induce a "nuclear" reset of the whole desktop and graphic card on the iMac.
    Have meanwhile found a possible solution by erasing the dock preference file in the user/library/preferences folder to reset the dock to it's default state. Will try this out through a Skype conversation with that Buddy.
    Was seen here :
    https://discussions.apple.com/message/16447109#16447109
    Thank you for stepping in. Good to know that people are still willing to help in this community.
    Greetz to the UK from France

  • Question about Runtime.exec

    Rob,
    Thanks for your help.
    I asked a question about a weird Exception on Nov 14, and you told me that I am
    using Runtime.exec to start an external process, and that process is crashing.
    I am a green-hand on Weblogic, and I am trying to enhancing a project developped
    by another person, so I am not familiar with some concepts yet.
    Could you please give me some simple explanation about Runtime.exec and external
    process?
    I found two methods that uses "Runtime" from two classes as following, could you
    help me to see whether or not there is something wrong with the usage of Runtime?
    Thank you very much.
    private int runShellCommand(String command) {
    int exitVal = -1;
    try {
    File runDir = new File(runDirectory);
    String[] env = new String[0];
    Runtime rt = Runtime.getRuntime();
                   double start = System.currentTimeMillis();
    Process proc = rt.exec(command, env, runDir);
    // Capture output in separate thread
    ThreadedStreamReader error = new ThreadedStreamReader(proc.getErrorStream(),
    "ERROR");
    ThreadedStreamReader output = new ThreadedStreamReader(proc.getInputStream(),
    "OUTPUT");
    error.start();
    output.start();
    exitVal = proc.waitFor();
    if (logger.isDebugEnabled()) {
         double runtime = (System.currentTimeMillis() - start) / 1000.0;
         logger.info("run " + runId + " " + command + " finished in " + runtime
    + " seconds");
    } catch (IOException e) {
    logger.fatal("DOE-2 failed \n" + e.getMessage());
    } catch (InterruptedException e) {
    e.printStackTrace();
    return exitVal;
    public static void main(String[] args) throws Exception, InterruptedException
    final Doe2MessageServer server = new Doe2MessageServer();
    while(!connected) {
    Thread.sleep(1000);
    logger.info("Attempting to start JMS service ...");
                   try {
              server.init();
                   } catch (Exception ex) {
    // shutdown hook to close JMS connection
    Runtime.getRuntime().addShutdownHook(
    new Thread() {
    public void run() {
    server.finalize();
    server.receiveMessage();

    Runtime.exec is a J2SE API. It's not really specific to WLS.
    You can read about it here:
    http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Runtime.html
    It looks like you are starting a JMS Server in a separate process and
    that process is crashing.
    (You could of course just use WLS's JMS Server instead :>)
    -- Rob
    Iris Qu wrote:
    Rob,
    Thanks for your help.
    I asked a question about a weird Exception on Nov 14, and you told me that I am
    using Runtime.exec to start an external process, and that process is crashing.
    I am a green-hand on Weblogic, and I am trying to enhancing a project developped
    by another person, so I am not familiar with some concepts yet.
    Could you please give me some simple explanation about Runtime.exec and external
    process?
    I found two methods that uses "Runtime" from two classes as following, could you
    help me to see whether or not there is something wrong with the usage of Runtime?
    Thank you very much.
    private int runShellCommand(String command) {
    int exitVal = -1;
    try {
    File runDir = new File(runDirectory);
    String[] env = new String[0];
    Runtime rt = Runtime.getRuntime();
                   double start = System.currentTimeMillis();
    Process proc = rt.exec(command, env, runDir);
    // Capture output in separate thread
    ThreadedStreamReader error = new ThreadedStreamReader(proc.getErrorStream(),
    "ERROR");
    ThreadedStreamReader output = new ThreadedStreamReader(proc.getInputStream(),
    "OUTPUT");
    error.start();
    output.start();
    exitVal = proc.waitFor();
    if (logger.isDebugEnabled()) {
         double runtime = (System.currentTimeMillis() - start) / 1000.0;
         logger.info("run " + runId + " " + command + " finished in " + runtime
    + " seconds");
    } catch (IOException e) {
    logger.fatal("DOE-2 failed \n" + e.getMessage());
    } catch (InterruptedException e) {
    e.printStackTrace();
    return exitVal;
    public static void main(String[] args) throws Exception, InterruptedException
    final Doe2MessageServer server = new Doe2MessageServer();
    while(!connected) {
    Thread.sleep(1000);
    logger.info("Attempting to start JMS service ...");
                   try {
              server.init();
                   } catch (Exception ex) {
    // shutdown hook to close JMS connection
    Runtime.getRuntime().addShutdownHook(
    new Thread() {
    public void run() {
    server.finalize();
    server.receiveMessage();

  • Help with Runtime class and timeout of Process

    Hi,
    Question regarding using Runtime class, and yes I have looked at the javadocs, but I am still confused and frustrated.
    Here is part of my code.
    Process p;
    Runtime runtime = Runtime.getRuntime();
    p = runtime.exec("rsh localhost ls");
    if you are not familiar with rsh all it does is remote shell into the computer localhost and executes the command ls.
    Now, I dont have rsh running on my computer so it will hang at that line for about 40 sec and eventually time out on its own. Is there anyway I can specify a timeout argument like there is for the ping command? Like if there is no response from localhost after 3 sec, then just kill the process?
    I looked at the Runtime javadoc and Process javadoc and the closest thing I could come to with is something to do with envp (environment parameters), but I dont know what that is.
    Thanks guys.

    You can't timeout the "runtime.exec("rsh localhost ls");" call but if you execute the call in a seperate thread you can "timeout" and continue executing on the original thread (while letting the "runtime" thread to timeout on its own).
    Check the following class that I created for cases like this:
    abstract public class TimeoutHelper implements Runnable
        private Throwable error;
        private boolean running = true;
        private Object retValue;
        protected String name;
        private long waitTime;
        private Thread thread;
         * Creates a new helper. Use {@link #start} to run the code.
         * @param name A name that will be used in the helper thread name
         * @param waitTime The time (in msec) to wait before timeout.
        public TimeoutHelper(String name, long waitTime)
            this.name = name;
            this.waitTime = waitTime;
        public Object start() throws Throwable
            return asyncExecute();
        abstract protected Object execute() throws Throwable;
        private synchronized Object asyncExecute() throws Throwable
            createThread().start();
            if (running)
                try
                    wait(waitTime);
                    if (running)
                        // Timeout!!
                        abortThread();
                        throw new TimeOutException("Timeout for: " + name);
                catch (InterruptedException ie)
                    // Ignore
            if (error != null)
                throw error;
            return retValue;
        private void abortThread()
            if (thread != null)
                thread.interrupt();
        protected Thread createThread()
            thread = new Thread(this, name);
            return thread;
        public void run()
            try
                retValue = execute();
            catch (Throwable th)
                error = th;
            synchronized (this)
                running = false;
                notifyAll();
    }You use the class by extending it and implementing "execute". For example:
            TimeoutHelper helper = new TimeoutHelper("Runner", 5000)
                protected Object execute() throws Throwable
                    Runtime runtime = Runtime.getRuntime();
                    return runtime.exec("rsh localhost ls");
            try
                Process p = (Process)helper.start();
            catch (TimeOutException e)
                // Handle timeout here
            catch (Exception e)
                // Handle other errors here.
            }

  • Reading InputStream from Runtime.exec() and ffmpeg?

    I've got a lot of things going on here and I'm having trouble debugging. I'm working on a streaming music player, and the platform only handles MP3 natively. Specifically, the method that handles incoming requests has to return an InputStream for further processing upstream (out of my visibility).
    I'm trying to extend the music player to play AAC files with the extension ".m4a". To do this, my plan is to transcode from MP3 to AAC using Runtime.exec() and ffmpeg, and then return an InputStream that contains the MP3. This works fine if I use ffmpeg to transcode to a temp file, and then return a FileInputStream constructed from that temp file. But like I said, this is supposed to be a steaming music player, and the blocking for the ~30 seconds it takes to completely transcode to a file is too much of a delay.
    So what I'm trying to do is have ffmpeg transcode to stdout, and then use Process.getInputStream() to return the InputStream that contains ffmpeg's stdout while the transcoding is still going on. This doesn't work and I'm not sure why. (I'm fairly new to java, and this is the first time I've used Runtime.) My player just hangs there. I know Runtime is picky about exhausting the stdout and stderr streams, so I'm not sure if it's something related to that, or if I somehow need to buffer the stdout before returning it, or if I need to run something in a different thread, or if I'm just completely barking up the wrong tree.
    If anyone has any experience with something like this, or can point me at some code that implements something similar, I'd appreciate the help.
    Below a sample of the code in question. Also, for what it's worth, all of the console messages that I put in there are printing, but the music doesn't play.
       public InputStream getStream(String uri) throws IOException
                 System.out.println("Entering Factory.getStream()");
                  System.out.flush();
                File file = new File(URLDecoder.decode(uri, "UTF-8"));
                if (file.exists())
                     if(file.getPath().toLowerCase().endsWith(".mp3")) {
                            // This code for playing MP3 files works correctly
                          System.out.println("Playing MP3");
                          System.out.flush();
                          InputStream in = new FileInputStream(file);
                          return in;
                     else if(file.getPath().toLowerCase().endsWith(".m4a")){
                          System.out.println("Playing M4A");
                          System.out.flush();
                          // Create array for ffmpeg command line
                            // This command line transcodes to STDOUT
                          String[] command = { this.ffmpeg_path,
                                                             "-i", 
                                                             "input.m4a",
                                                             "-acodec",
                                                             "libmp3lame",
                                                             "-ac",
                                                             "2",
                                                             "-ab",
                                                             "256",
                                                             "-f",
                                                             "mp3",
                          // Begin transcoding with ffmpeg
                          System.out.println("Transcoding...");
                          System.out.flush();
                          Runtime runtime = Runtime.getRuntime();
                          Process ffmpeg = runtime.exec(command);
                          // Must exhaust error stream, or the application can become deadlocked.
                          System.out.println("Exhausting stderr...");
                          System.out.flush();
                          this.exhaustInputStream(ffmpeg.getErrorStream());
                          // Return ffmpeg's stdout as an input stream
                          System.out.println("Returning stdout...");
                          System.out.flush();
                          return ffmpeg.getInputStream();
                     else {
                          System.out.println("Unsupported Audio File");
                          System.out.flush();
                          return null;
                else
                    // We aren't requesting a file, so let the API handle the request upstream...
                    return super.getStream(uri);
         private void exhaustInputStream(final InputStream inputStream) {
                  // Since InputStream.read() blocks, exhast the stream in a separate thread
                  new Thread() {
                       public void run() {
                            try {
                                 while(inputStream.read() >= 0) {
                                      // Just throw the bytes away
                            catch(IOException e) {
                                 e.printStackTrace();
                  }.start();
             }

    Read this article
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Runtime.exec and setting environment variables

    Runtime.exec and setting environment variables
    I need a decent example which works on Windows.
    Got any?

    Thank you.
    I was hoping for an example of the use of
    http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Runti
    e.html#exec(java.lang.String,%20java.lang.String[]) or
    http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Runti
    e.html#exec(java.lang.String,%20java.lang.String[],%20j
    va.io.File) which take environment variable
    information such as PATH.
    The reason is because there is a library which is
    being loaded via loadLibrary (
    http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Syste
    .html#loadLibrary(java.lang.String) ). However, for
    the child process to find the library the PATH needs
    to be updated.
    Any example regarding changing the PATH variable via
    Java so that libraries can be loaded and processes
    created? (Perhaps, I should make a new post and
    restate the question with this more explicit
    information?)
    That won't work. LoadLibrary occurs in the JVM environment. As I said you can't change the JVM environment via exec().
    If the shared library needs something in the path then you are going to have to set the path before your application starts up.
    If you just need to load the library from someplace that is not on the path then you should be using System.load().

  • My iTunes program is giving me a message that says, "Runtime error" and wont open iTunes. How do I fix this?

    My iTunes program is giving me a message that says, "Runtime error" and wont open iTunes. How do I fix this?

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • Future buyer of W530 with questions on screen type and GPU.

    Hey guys,
    I'm contemplating buying a W530 laptop to replace my aged Acer Aspire 5517. Anyway, I have some questions regarding screen type and graphics cards. One, my current Acer has a 16x9 HD screen that works perfectly fine for me, unless I go outside, so is it really worth the extra 200 bucks to upgrade to the 1920x1080 screen, or is that just overkill? same question regarding making a choice between the NVIDIA Quadro K1000M or K2000M, again, is it worth the money and what"s the biggest difference? Now I'm not a hardcore gamer, I mostly surf the web, do my work, and play a few games that are not really too demanding on the GPU.
    Thanks!

    henrodstone wrote:
    Hey guys,
    I'm contemplating buying a W530 laptop to replace my aged Acer Aspire 5517. Anyway, I have some questions regarding screen type and graphics cards. One, my current Acer has a 16x9 HD screen that works perfectly fine for me, unless I go outside, so is it really worth the extra 200 bucks to upgrade to the 1920x1080 screen, or is that just overkill? same question regarding making a choice between the NVIDIA Quadro K1000M or K2000M, again, is it worth the money and what"s the biggest difference? Now I'm not a hardcore gamer, I mostly surf the web, do my work, and play a few games that are not really too demanding on the GPU.
    Thanks!
    The 1920 x 1080 screen offered on the W530 is one of the best TN panels on the market so it's a worthwhile upgrade. Upgrading from a K1000M to a K2000M isn't a good idea unless you either spend a good amount of time playing games (or want higher settings playable) or need the extra power for CAD.
    On my W530 , I upgraded the screen to the 1080P one and kept the K1000M GPU.

  • Many Questions on Windows 8 and Bootcamp

    Hi. I have a couple questions question on windows 8 and bootcamp. I know this is probably on the internet somewhere, but i can't find it anywhere if it is. So please don't strike me down for repeat questions.
    My first question is wether or not widows 8 will run on the current version of bootcamp. I know that it is not fully compatible but can it be installed with few issues since the underlying code for windows 7 and 8 should be relatively similair. I have read a posting on line that says this is possible but i wanted a second opinion. I have a 64 bit version system builder edition shipping to me right now, is this ok.
    My second question is when (if ever) the patches come out for winodws 8 to run perfectly on bootcamp, will I just be able to download them, Install the patches and everything will be just fine. Would/ could it be done with out having to reinstall the operating system. This is important because a system builder lisence can only be installed once and then i have to buy another copy of windows 8 for $100.
    Any and all input would be great. Thanks!

    in terms of updates to win8 then as far as windows8 goes it's running on a normal "pc" not on a mac it's not virtualization here so everything works as normal
    I bought an imac 2011 version 22" 4GB ....
    I installed windows7 ultimate 64bit on it
    since I bought the digital update to windows 8 pro
    updated over the internet (you download an exe and take it from there)
    it updated fine it use the windows7 drivers so everything in terms of mac stuff works as before
    I let it update the amd video card driver and got a lot of crashes at bootup
    rolled back to the bootcamp win7 drivers and it's a lot better
    sure every now and then startup result in a crash but a reboot always get me into win8
    play games and program in win8 never had a cash when I get in and because it's native games run great
    likely when the official apple win8 support comes along I will stop getting the odd crash at boot into win8

  • Where do i find daily posted question on sap abap and sap webdynpro abap

    Hi
    where do we find Daily posted questions on sap abap and sap webdynpro abap in scn sap  so that i can go through the questions and answer them .

    Hi,
    Go to the Content tab of any space and click on discussions. Then you can sort them by date created or any other
    For ex: This link for WDA discussions: - Web Dynpro ABAP
    You can also click on Receive email notifications for any space to get updates on that space.
    hope this helps,
    Regards,
    Kiran

  • I keep getting a message that itunes incorrectly tried to run the C runtime library and now itunes won't work anyone know how to fix it?

    My computer keeps telling me that itunes tried to incorrectly run the C runtime library and now I can't get into it, I've tried uninstalling and reinstalling it but nothing is working

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • CS5.5 Import for runtime sharing and preview problem

    Hello
    I'm having a strange issue with CS5.5 and the import for runtime sharing settings. Here's what I'm doing: I create two .fla's, Export.fla and Import.fla. In Export.fla, I create a shape, select it, press F8 and tick export for runtime sharing, to create a really simple exported movie clip. I click the exported symbol in the library, press Ctrl-C, switch to Import.fla and press Ctrl-V. Everything ok so far, the symbol is imported for runtime sharing.
    The first problem I have at this stage is that changes I do to the exported symbol in Export.fla are not reflected in Import.fla, only in the final .swf's I can see the changes. Also, unlike in CS4 and CS5 I cannot "Update" the imported symbol in the library right-click menu, to make changes to Export.fla visible in Import.fla. The menu entry is just greyed out...
    So I tried to use Authortime sharing, in the Symbol Properties for the imported symbol in Import.fla. I link the source to the symbol in Export.fla, and once I do that, everything is completely borked. The previously imported symbol is no longer imported. Whenever it is changed in Export.fla, it gets an "Export for Runtime Sharing" tick in its Properties in Import.fla, and worst, it is not shared at runtime, like I need it to.
    Can anyone tell me how to get the "normal" CS/4/5 behaviour in CS5.5: a runtime shared symbol, that can be updated in Import.fla (I dont care if manually or auotmatically) when I change it in Export.fla, and which also is runtime shared?
    Cheers
    Ulf

    Hi, JonnyDiamond
    Thank you for reporting the issue for runtime sharing settings affected by authortime sharing. It is fixed for parent symbols in Flash Pro CS6, but we just recognized it is not for nested items.
    As an alternative to deleting and re-copying the symbol, we see the following steps restore the original settings of the nested bitmap symbol (png in your case) for importing runtime shared library. After you open Bitmap Properties dialog of the bitmap symbol, go to ActionScript section and:
    1. Uncheck Export for ActionScript
    2. Check Import for runtime sharing
    3. Input the path to Library.swf in URL
    4. Click OK twice
    Please try these steps to see if they work for you. If they do, the simalr steps can be processed via JSFL script. It would be something like this:
    //// To restore the settings to import runtime shared library //////
    // Get Library items
    var myItems = fl.getDocumentDOM().library.items;
    // Store an item from myItems
    var myItem;
    // Path to runtime shared library. Change this to your path
    var pathToRSL = "Library.swf";
    // Go through Library
    for (var i = 0; i < myItems.length; i++)
              myItem = myItems[i];
      // Change the condition to suit to your Library
              if(myItem.itemType == "bitmap" &&
                 myItem.name.split(".").pop() == "png" &&
                 myItem.linkageExportForRS == true )
        switchRSSettings(pathToRSL);
    // Disable Export for runtime sharing and
    // enable Import for runtime sharing
    function switchRSSettings(path)
              myItem.linkageExportForRS = false;
              myItem.linkageExportInFirstFrame = false;
              myItem.linkageExportForAS = false;
              myItem.linkageImportForRS = true;
              myItem.linkageURL = path;
    ///////////////////////// End of Script ////////////////////
    We hope this would help you workaround the issue. Again, thank you for your report!
    Thanks
    Toshi

  • Tried to install the most recent update and now my ITUNES won't load. Getting an error message that says there is a "runtime error" and that I need to reinstall INTUNES. Help!!!

    Tried to install the latest ITUNES update, but now it won't open my ITUNES at all. Saying I have a "Runtime error" and that I need to reinstall ITUNES. Tried a "repair" in Programs on my computer, but that didn't work either.

    Hello joeydak,
    We've an article that provides troubleshooting steps which can help get iTunes back up and running.
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    Allen

  • Trying to install the new update and it kept saying runtime error and now my itunes has dissapeared from my computer.  All my music is gone!How do i get it back?

    trying to do the new update. it said runtime error``     and now my itunes is empty on my computer,  where/how do I get my music and playlists back?

    See Empty/corrupt library after upgrade/crash.
    tt2

  • Runtime error and unable to create new web application

    Hi
    when i create new web application i faced this error Runtime error and unable to create new web application.
    in this farm we have
    2 wfe servers
    2 application servers.
    adil

    Adil,
    There could be many reason like IIS issue, Space issue, Permission issue, SQL issue which is not possible us to guess rather
    you need to jump in the SharePoint log(Program Files\Common files\Microsoft Shared\Web Server Extensions\14\LOGS) and find out the specific error log its throwing after which trouble shoot can be start.
    You can refer few similar threads here -
    Link
    Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

Maybe you are looking for

  • E72: How to change home screen links/options?

    Hello, Is there a way to change the links/options shown under home screen ? For instance on my E72 I get following options: @Set Up e-mail <Mailbox1> <Mailbox2> ,Calendar Events WLAN scanning off Search I want to now change @Set up e-mail option with

  • "Run As" Command Not Working

    I'm trying to install a HP Printer & when install program checks for system requirements I'm getting this message...This system cannot be installed using the "Run As" command. Does anyone know why this would be and how to fix it?

  • TS3212 Error message while downloading itunes

    Trying to download itunes on my laptop with windows 7, getting an error message stating "Apple mobile device" not recognized.  My ipod is registered and the error message only asks to retry or ignore, niether works, any help would be great.

  • Issue when submitting XML report from back end.

    Hi All, I have a customized XXPrinted Purchase Order Report where I am submitting it from back end as below. l_var := fnd_request.add_layout (template_appl_name =>'XX Custom', template_code =>'XX_PRINTED_PO', template_language =>'English', template_t

  • Welcome file and Jsp compiled

    Hi, I have very problems with compiled JSP. I work with tomcat 4.0.1. 1) When I compile JSP with jspc and -webapp option and -webinc, he creates a file xml as :      <servlet> <servlet-name>.hdi_0005faideResolveur</servlet-name> <servlet-class>.hdi_0