Extracting masterdata - include ZXRSAU02 not executed

Hello experts,
We are trying to extract MD from R3 using transaction code RSA3.
We have some fields enhanced in a customer exit.
The function module EXIT_SAPLRSAP_002 is called (program LXRSAU02).
<b>----> The include ZXRSAU02 is not called <--
</b>
Does someone know why this include isn’t executed?
<b>INFO</b>
We have two systems D and Q.
We have modified ZXRSAU02 in D, and it works.
We have transported ZXRSAU02 from D to Q and the include is not called
Everything is active in both systems:
Project – Function module - include
<b>Differences</b> between D and Q:
The only difference is an empty line at the end of the include.
I don’t know where this last line come from, since I’ve recently retransported the include.
I can not generate this last line in D, when I activate the include, the last empty lines disappear (in D).
<b>Debugging</b>
When we debug the extraction in <b>D</b> we find:
1.- SAPLRSAP -> form CALL_MSD_CUSTOMER_FUNCTION
  We put a breakpoint before the CALL CUSTOMER-FUNCTION '002'
2.- We press F5
  We are inside the include ZXRSAU02, in the first instruction
When we debug the extraction in <b>Q</b> we find:
1.- SAPLRSAP -> form CALL_MSD_CUSTOMER_FUNCTION
  We put a breakpoint before the CALL CUSTOMER-FUNCTION '002'
2.- We press F5
  We are inside LXRSAU02, but in the line 21 (ENDFUNCTION after the include ZXRSAU02, which has not been executed)
See below LXRSAU02 in <b>Q</b>:
FUNCTION EXIT_SAPLRSAP_002.
*"*"Lokale Schnittstelle:
*"       IMPORTING
*"             VALUE(I_DATASOURCE) TYPE  RSAOT_OLTPSOURCE
*"             VALUE(I_CHABASNM) TYPE  SBIWA_S_INTERFACE-CHABASNM
*"             VALUE(I_UPDMODE) TYPE  SBIWA_S_INTERFACE-UPDMODE
*"       TABLES
*"              I_T_SELECT TYPE  SBIWA_T_SELECT
*"              I_T_FIELDS TYPE  SBIWA_T_FIELDS
*"              I_T_DATA
*"              C_T_MESSAGES STRUCTURE  BALMI OPTIONAL
*"       EXCEPTIONS
*"              RSAP_CUSTOMER_EXIT_ERROR
  INCLUDE ZXRSAU02.
ENDFUNCTION.
Please, help me with this X-File.
Thanks and regards
--Zorion

Hi all,
The issue is solved now.
In the TQM system we have “generated program” within the include
SE38 -> view ZXRSAU02
PROGRAM -> GENERATE
(program saplxrsa has been successfully generated)
Best regards

Similar Messages

  • Include file not executing

    Hi guys,
    I have a strange problem using the jstl... An included file is not executing.
    My code
    main.jsp
    <%@taglib uri="http://jakarta.apache.org/taglibs/core" prefix="c" %>
    <html>
         <head>
              <title><c:out value="${article.title}" /></title>
              <link rel="stylesheet" type="text/css" href="webber.css">
         </head>
         <body>
              <table width="100%" border="0">
                   <tr>
                        <td width="200">
                              <jsp:include page="navitem.jsp" flush="true"/>
                        </td>
                        <td>
                             <h3><c:out value="${article.title}" /></h3>
                             <c:out value="${article.text}" escapeXml="false" />
                        </td>
                   </tr>
              </table>
         </body>
    </html>navitem.jsp
    <table width="100%" border="0">
         <c:forEach var="nI" items="${navItem}">
         <tr>
              <td>
                   <a href="<c:out value="${nI.navToURL}" />"><c:out value="${nI.displayText}" /></a><br />
              </td>
         </tr>
         </c:forEach>
    </table>and the resultant html as seen in view source from the browser...
    <html>
         <head>
              <title>My First Test Article</title>
              <link rel="stylesheet" type="text/css" href="webber.css">
         </head>
         <body>
              <table width="100%" border="0">
                   <tr>
                        <td width="200">
                              <table width="100%" border="0">
         <c:forEach var="nI" items="${navItem}">
         <tr>
              <td>
                   <a href="<c:out value="${nI.navToURL} />"><c:out value="${nI.displayText}" /></a><br />
              </td>
         </tr>
         </c:forEach>
    </table>
                        </td>
                        <td>
                             <h3>My First Test</h3>
                             <p>It is the simplest of things.</p>
                        </td>
                   </tr>
              </table>
         </body>
    </html>As you can see, the code in main.jsp is executing fine, but not the code in navitem.jsp. Does anyone have any clues as to why this is happening?
    Thanks in advance
    Elija

    Whoops I think I missed
    <%@taglib uri="http://jakarta.apache.org/taglibs/core" prefix="c" %>
    from navitem.jsp
    however putting that in and trying again results in
    org.apache.jasper.JasperException: javax/servlet/jsp/jstl/core/LoopTagSupport
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
         at vss.servlets.ControllerServlet.forwardToJSP(ControllerServlet.java:64)
         at vss.servlets.ControllerServlet.doFind(ControllerServlet.java:59)
         at vss.servlets.ControllerServlet.doGet(ControllerServlet.java:38)
         at vss.servlets.ControllerServlet.doPost(ControllerServlet.java:32)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    root cause
    javax.servlet.ServletException: javax/servlet/jsp/jstl/core/LoopTagSupport
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)
         at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:822)
         at org.apache.jsp.showarticle_jsp._jspService(showarticle_jsp.java:67)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:432)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:356)
         at vss.servlets.ControllerServlet.forwardToJSP(ControllerServlet.java:64)
         at vss.servlets.ControllerServlet.doFind(ControllerServlet.java:59)
         at vss.servlets.ControllerServlet.doGet(ControllerServlet.java:38)
         at vss.servlets.ControllerServlet.doPost(ControllerServlet.java:32)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
         at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)Any clues as to what I'm doing wrong?
    Thanks in advance
    Elija

  • Problem with not executed include

    Hi all,
    I've a problem with my include in production system. Whole story looks like this. We have product from 3rd company so this is not z-namespace. There are some places in which we can add our own code - function module with not existing z-include. This FM is called with CALL FUNCTION statement, not CALL CUSTOMER-FUNCTION, so there are no CMOD entries to modify. I've created this include and implemented my functionality. Unfortunatelly my code in production is sometimes executed and sometimes not. What I've observed is that when include is not executed debugger steps over it (it goes in to FM but ignores include) and what is more funny I'm not able to set breakpoint in this include (I'm getting a message that ithis is not possible). 2 Minutes later everything works (I can set break point and include is executed) although I didn't do anything (no activation). I've transported once more all transports from development to production without any change. I didn't observe this behavior in development or test systems, but to be honest I didn't do so many tests to be sure that problem is only in production.
    I suspect that there is something wrong with 3rd party product, but I'm not 100% sure. Did anyone has this kind of problem?
    Best Regards
    Marcin Cholewczuk

    hi,
    I've transported once more all transports from development to production without any change.
    you could not  activate debugger because  . during transporting object from dev to prd  all the object where not transported correctly  .  and some times  the include  which gets created has there namespace registered in repository objects , so when you re transported that request  it corrected those entries  .
    regards
    Deepak.

  • Why is my data set marking server not included in my executable​?

    I have a program that writes data sets to a citadel database with a data set marking I/O server.  Everything works fine in the labview environment, but when I create an executable of the program, the data set I/O server does not appear to be included.  The executable can create a database and write individual traces to it, but they are not grouped into data sets.  I have looked everywhere in the project window and in the build specifications window for the executable for a setting that would affect this, but have found nothing.  Here is a picture of the build specification window for the executable. You can see in the Project Files window the lvlib file and the included Shared Variables folder, but the data set marking server is not shown as it is in the project window above it.
    The lvlib file created with the executable appears to remain in tact, because I can open it in the LV environment and see the data set I/O server included with it:
    Finally, here is a picture of the databases that MAX sees.  The VI in the LV environment produced the top database called C__Program_Files_National_Instruments_Labview_8_2_​data with the DataSets folder, and the executable version produced the bottom database called mVROC_Database with no DataSets folder:
    I'm using LV 8.2.1 and DSC module 8.2.
    Thanks,
    Craig

    Hi, Drew,
    Thanks for the reply.  As I was looking into your questions above, I found that the I/O server was indeed geting included in the executable, but it was configured in the original project to look at the wrong database.  After a fair amount of playing around, I at least got it to create data sets.  However, there are some other weird things going on now.  The logged values of the variables are mismatched, or the value from say variable A shows up recorded in variable B. This stuff is all way too touchy.  Overall, I've been very dissapointed with using the DSC and database stuff. The promotional literature talks about how easy it is to use, but that is just not the case, and I've been programing in labview for about 10 years now.  Unfortunately I need to set this project asside for now so I can't investigate further, but I'll eventually get back to it. 
    Regards,
    Craig

  • I have a slide with 4 smart shapes that I am using as buttons. If I select include in quiz, the On Success branch does not execute. If I deselect include in quiz, the On Success branch executes. What am I missing?

    I have a slide with 6 smart shapes that I am using as buttons. If I select include in quiz, the On Success branch does not execute. If I deselect include in quiz, the On Success branch executes. What am I missing?

    What setting do you have in Quiz > Settings > Required?  If it's not set to Optional, do that.

  • The VI is not executable. The full development version...

    "The VI is not executable. The full development version of LabVIEW is required to fix the errors." That is the error I've been dealing with all day. Actually it is repeated 3 to 4 times in the error message, seen when first launching the EXE. Also of note is that the run-arrow is broken. This is in an EXE that was developed well before version 2013, but I recently upgraded it to 2013 to hopefully fix some random LVRT crashes. There is obviously no issue running the code on my development machine, only once it's deployed.
    The good news is I've been able to solve the problem (mostly). My EXE now runs without the errors. I found that the problem wasn't actually in the EXE.
    We have a separate project with no files, but in the build specification we have the LabVIEW 2013 Run-Time Engine, as well as NI-VISA for serial support. We then bundle the deployment in a self-extracting RAR and it does its business. In the past this has worked just fine, but with LV2013, it seems that there is a component missing from the deployment.
    I found that if I download the Run-Time Engine directly from NI.com and run it, the only things I need to install are the Run-Time Engine, and the DEPLOYABLE LICENSE. If I do this, my EXE runs great, but with the custom installer, it is not included for some reason!
    Putting aside the fact that I don't know why the Deployable License package is needed (we aren't connecting to remote panels), I can't seem to modify my custom installer to install the Deployable License. There are versions for LabVIEW 2009 and 2011 SP1 in the Additional Installers list, but I don't see 2013.
    Can anyone explain why this is??? For now I will just distribute the 257MB Run-Time Engine and the NI-VISA installers separately I guess. But I'd really like to get back to a single, simple package to install all the prerequisites we need. HELP!

    iannicholson wrote:
    Yes, but then every installer I build will contain the runtime engine. That gets very large very quick. So I have an installer for JUST the runtime engine and VISA runtime.
    Just remove them from the "Additional Installers" tab of the Installer dialog.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • MS Office Report (Report Generation toolkit) is not executable​, Xnode broken?

    Hi, I am trying to generate an excel report, and I figured it would be easier to use the MS Office report VI, but I am getting the broken arrow saying the SubVI is not executable and that the library that defines the xnode is broken... here is a screensot attached, I already uninstall and reinstall the report generation toolkit and still the same... this is what I found on NI: "This error occurs when the library that defines the XNode you used is broken. To correct this error, reconfigure the XNode." but no idea how to reconfigure xnode
    Attachments:
    Error.png ‏67 KB

    What version of LabVIEW are you using?
    What is the nature of your Report?  What should it look like?  What kind of data should it contain?
    Can you show us some code that you've tried to use?  If so, include the code as either a Snippet or as a VI attachment (so we can plug it into our own LabVIEW installations and experiment with it).
    I generally find that the Report Generation Toolkit is a very easy way to generate Excel Workbooks.  I work primarily with LabVIEW 2012 and LabVIEW 2014.
    Bob Schor

  • For Loop Will Not Execute

    I have been a software engineer for a number of years now, and thus far I have never come across any coding issues that truly merit a post such as this. Someone has almost always run across the issue before, so there is no need to reinvent the wheel, or solution as it were.
    However, a number of times I have run across instances where the JRE simply... does not execute parts of my code, and throws no exceptions.
    The sample code is a simple logging application, watered down to the bare minimum for the purposes of this forum:
    public class Log {
    public static void main(String[] args)    {Log log = new Log();}
    public Log() {Logger.log("Hello World");}
    import java.util.*;*
    import java.io.*;
    import java.text.SimpleDateFormat;
    public abstract class Logger {
    private static final int SIZE = 2;
    private static final SimpleDateFormat DAY = new SimpleDateFormat("EEEE");
    private static final String
      DIR = "logs/",
      EXT = ".log",
      FILTER = ".*log\\z",
      DNE = "DNE";
    private static int i,oldest;
    private static long previous = 0;
    private static FileFilter filter = new LogFilter();
    private static FileWriter out;
    private static File file,directory;
    private static File[] list;
    public synchronized static void log(String param) {
      try {
       directory = new File(DIR);
       file = new File(DIR + getDay() + EXT);
       list = directory.listFiles(filter);
       if (file.createNewFile()) {
        readOnly();
        reconcile();
       write(param);
      catch (Exception exception) {}
    private static void write(String param) throws Exception {
      out = new FileWriter(file, true);
      out.write(param);
      out.close();
    private static void readOnly() throws Exception {
      for (i=0;i<list.length;i++) {list.setReadOnly();}
    private static void reconcile() {
    try {
    previous = list[SIZE].lastModified();
    oldest = SIZE;
    for (i=SIZE;i<=0;i--) {
    if (list[i].lastModified() <= previous) {
    previous = list[i].lastModified();
    oldest = i;
    list[oldest].delete();
    catch (Exception exception) {System.out.println("Skipping reconciliation...");}
    private static String getDay() throws Exception {
    return DAY.format(Calendar.getInstance().getTime());
    private static class LogFilter implements FileFilter {
    public LogFilter() {}
    public boolean accept(File param) {
    try {
    if ((param.getName()).matches(FILTER)) {return true;}
    else {return false;}
    catch (Exception exception) {return false;}
    *The problem*:
    Ok, easy visual, this is the "log/" directory as I run the Log.java application repeatedly and iterate the date on my computer as I do so.
    Thursday
    *log/*
    +Thursday.log+
    Friday
    *log/*
    +Thursday.log+
    +Friday.log+
    Saturday
    *log/*
    +Thursday.log+
    +Friday.log+
    +Saturday.log+
    Sunday
    *log/*
    +Friday.log+
    +Saturday.log+
    +Sunday.log+
    Monday
    *log/*
    +Friday.log+
    +Saturday.log+
    +Monday.log+
    This is the point at which I go ???
    Turns out, the JRE skips the execution of my for loop in the *reconcile()* method when the date rolls over to Monday, and from then on it simply deletes the previous day's log instead of the oldest log.
    Why?  Who knows.
    Things I have tried:
    - Using another variable integer for the *readOnly()* method
    - Removing the synchronized keyword from the *log(String param)* method
    - Second call to *directory.listFiles(filter)* and setting *SIZE* to *3* after the old files have been set to read-only
    - Removing the call to *readOnly()*
    - Verified that the call to *readOnly()* does not alter the +modified+ date on the log files
    - Changed Logger.java from a +static+ class to a +local+ class
    Things I cannot do:
    This log application stores privy information about end-users at locations across the country in the event that there are support issues that need to be resolved, and the agreement is that we store this information no more than three days.  Just wanted to make sure, that the hopefully informed respondants to this issue, know that the obvious solution (storing seven day records), is unfortunately not available to me.
    Edited by: Threadstorm on Jan 8, 2009 8:24 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    HA! Most excellent. The last place I would ever look.
    Yes, seems like Java sorts the files in such a way that everything works fine without the loop until Monday rolls over.
    Now I can have a better appreciation for that second set of eyes.
    I use for loops so frequently that I never look at them (though I did stare at this one myself prior to this post, much to my chagrin now) but the subtracting iteration (which I use once in a blue moon) was necessary for the nature of the code.
    But ok, up and running! (whew) was going to be a long day until now.
    To answer your question though, the Logger is static so I don't have to pass it around to dozens and dozens of other modules but rather just include the package on the fly as I develop new modules that need to log information, and I like to write most mundane things myself if I can, that way I have the freedom to modify them at will.
    Thanks again! I'm now a happy camper once more.
    I'm also thankful that I don't have to chalk up another notch on the wall of cases where the JRE behaves magically and truly ignores code which I have definitely run into before. Something about listCellRenderers and the order of calls made to them, or some such and JRE doesn't read one of the lines. It's been a year or two.
    Edited by: Threadstorm on Jan 8, 2009 8:47 AM

  • ICal failing to run applescripts: The 'Open' button does not change to 'Run', and the script file is opened but not executed on alert.

    iCal failing to run applescripts: The 'Open' button does not change to 'Run', and the script file is opened but not executed.

    Calendar (not called iCal anymore) does not include that capability any longer, apparently.  What you have to do now is go to Automator and create a Calendar Alert action.  You can add a Run AppleScript object to the action and paste in your script there, then when you save it, it will become available as a choice in the alert menu in Calendar.

  • Is it possible to extract a VI from an executable which has debug mode enabled?

    It is a curiosity question from a client.
    Is it possible to extract a VI from an executable which has debug mode enabled?
    Since the block diagram would not be in edit mode....  Is it possible to "peer" into the executable, look at a VI and recover the block diagram?  This owuld be for a deleted VI that is part of an executable which had debug mode enabled..
    Did anyone try this?
    Curious..

    Extract VIs from an EXE?  No problem.  Even if debugging isn't enabled you can extract VIs, they just won't have block diagrams, and may not have front panels depending on if they were removed in the EXE making process.
    Attached is an example project for making an EXE, the EXE itself, and a VI for extracting VIs from the EXE.  The code is quite primative and it was just meant to demonstrate how this can be done.
    To extract the Main.vi from the Application.exe, run Extract Main.vi from EXE.vi, provide the path to the EXE and the path to where the VI should be saved and then run the VI.  This VI will set keys in the INI file for the application, then run th EXE.  Then it opens an application reference to the EXE, then opens a VI reference to Main.vi.  Then it aborts Main.vi, and extracts it.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    Test EXE Extract.zip ‏763 KB

  • Error 1003 - The vi is not executable​. Simulated DAQ-cards.

    Hi all,
    I am updating an application written in LabVIEW 7.1 for a customer. The code is not made by my company and is pretty horrendous but it works. I can not develop the code on the machine that it is supposed to run on so I have to do it on my own computer which means that I have to simulate two DAQ-cards that the program needs. I have pretty much finished the program and I want to test if I can build an exe-file. This is where I run in to trouble an get the error message:
    Error 1003 occurred at \\Server1\Users\martinh\LabVIEW Data\app\internal.llb\_Main.vi
    Possible reason(s):
    LabVIEW:  The VI is not executable.
    I know that this has been discussed at length here and that one has to look out for global variables, dynamically loaded VI:s etc. My question is, does anyone think that the simulated DAQ-cards give me trouble? Do they use some VI:s placed somewhere odd which I need to include when I build the application?
    Sincerely
    Martin

    Hi Martin,
    I suggest you try what is suggested in this link, some of the information is already covered in the posts above but some might be new.
    http://digital.ni.com/public.nsf/allkb/705C2ECA081​F3C7986256C0F00559B02?OpenDocument
    If you are using the office toolkit, it might be an idea to masscompile the _office folder and you might also need to uncheck the "Disconnect type definitions and remove unused polymorphic VI instances".
    Good Luck
    Andreas E
    Applications Engineer
    National Instruments

  • Tried the solutions posted for this "SubVI filter not executable​. Undefined error" but not solving the problem

    Hello,
    I am trying to use a lowpass filter for my application but getting the error "SubVI filter not executable. Undefined error".I tried working with the solutions at this post 
    http://forums.ni.com/t5/LabVIEW/SubVI-filter-not-e​xecutable-Undefined-error/m-p/1996701#M657751 and results with
    1. Create a blank vi, put a VI filter in the block diagram (this should not be functional as it is not wired), copy it and paste it in my other project. I believe if the filter is the first vi of a blank project, it is funcitonal and then you may copy it wherever you need to.
    Result:
    2.Tried to open the filter panel of the Filter but showing the same error as shown inthe below image
    Don't why the solutions worked for others are not working.Can someone suggest a solution for this.
    thanks in advance.

    Hi PatanGova,
    Very strange error. Actually, there are no required inputs on this express VI, so it should be able to run even without wires. It is not correct as you said: "this should not be functional as it is not wired". Nothing will happen, true, but the run arrow should not be broken.
    For some reason, the VI with the Filter express VI fails to compile. I tried it on my computer (LV 2013) and get no error when I add it to a new VI. As was suggested in the linked forum thread, you need to open the front panel of the Filter VI and run it to see the explicit error.
    If you do, do you also get the error:
    "This VI claims to be part of a library that does not include the VI. The VI might have been deleted from the library. Add the VI to the library again or select File - Disconnect from the library."?
    If you do, it seems that you may have a project library somewhere that has taken ownership of the express VI. The ownership prevents you from running or editing the express VI. To free the VI, you need to do one of two things. Either, you need to load the library into memory, or you need to disconnect the VI from the library. Either way, you need to find the project library that has taken the ownership of the VI. As soon as it is released, it should run for you. You release it by selecting File»Disconnect from Library on the VI.
    The workaround described in your link (and also here: http://forums.ni.com/t5/LabVIEW/compatibility-prob​lem-labview-2009-2010-2011-quot-This-VI-claims/td-​... tells that you can make a copy of the VI and thereby create another instance that is free. This solution may work for you as well, but if not, you may not have created the copy properly. Maybe your copy of the VI also became part of some project library that took ownership. In either way, you should rather find the project library to release the VI before trying the workaround to copy it.
    If project library ownership is not the problem, maybe the problem is connected to LV 2011, as most forum posters report that it only happens here.

  • Compiling COBOLs in PSOVM - psrun.mak error - "cob64: can not execute Id".

    Hi All,
    After installing PeopleSoft OVM in our server, I need to recompile the COBOL. I believe this is not included in the OVM. These are the steps I did.
    1. Installed Microfocus Server Express 5.0 WrapPack 4
    2. Follow the steps in Compiling Cobol in Unix mentioned is the PeopleTools_8.50_Installation_Oracle guide.
    I was able to successfully compille the COBOL files by running ./pscbl.mak. The next step is Linking COBOL Components on UNIX by running ./psrun.mak and here I got the error:
    +./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.18-92.0.0.0.1.el5xen ...+
    +./psrun.mak - Error(s) encountered creating PSRUN!+
    +./psrun.mak - See /opt/oracle/psft/appbatch/tools/setup/psrun.err for messages+
    +[root@pshcm91ab setup]# more /opt/oracle/psft/appbatch/tools/setup/psrun.err+
    cob64: can not execute ld
    +[root@pshcm91ab setup]#+
    I followed all the steps in setting environment variable mention in the "Compiling Cobols in Unix" in PeopleTools_8.50_Installation_Oracle.
    Is there any specific documentation of compiling COBOLs in PeopleSoft OVM?
    Can anyone help me with this?
    Thanks in advance.
    -Chris
    Edited by: user9977167 on 4/02/2010 15:52
    Edited by: user9977167 on 5/02/2010 06:18

    Hi,
    Ok, I reproduce your case :
    [psadm1@psovmab setup]$ ./psrun.mak
    ./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.18-92.0.0.0.1.el5xen ...
    ./psrun.mak - Error(s) encountered creating PSRUN!
    ./psrun.mak - See /opt/oracle/psft/appbatch/tools/setup/psrun.err for messages
    [psadm1@psovmab setup]$ more /opt/oracle/psft/appbatch/tools/setup/psrun.err
    cob64: can not execute ld
    [psadm1@psovmab setup]$It looks like a lot of rpm packages required by ld are missing on Peoplesoft OVM App/Batch server compared to the Peoplesoft OVM database server for instance.
    I added a lot of packages because of the dependendcies as below :
    From OEL5.2 Disk 1
    ==================
    -rw-r--r-- 1 root root  899210 Feb  7 10:10 kernel-headers-2.6.18-92.el5.x86_64.rpm
    -rw-r--r-- 1 root root  3073639 Feb  7 10:25 binutils-2.17.50.0.6-6.el5.x86_64.rpm
    -rw-r--r-- 1 root root  3114462 Feb  7 10:29 cpp-4.1.2-42.el5.x86_64.rpm
    [root@psovmab rpm]# rpm -Uvh kernel-headers-2.6.18-92.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:kernel-headers         ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh binutils-2.17.50.0.6-6.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:binutils               ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh cpp-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:cpp                    ########################################### [100%]
    [root@psovmab rpm]#
    From OEL5.2 Disk 2
    ==================
    -rw-r--r-- 1 root root  614718 Feb  7 10:05 glibc-headers-2.5-24.x86_64.rpm
    -rw-r--r-- 1 root root 2535024 Feb  7 10:05 glibc-devel-2.5-24.x86_64.rpm
    -rw-r--r-- 1 root root 2105297 Feb  7 10:05 glibc-devel-2.5-24.i386.rpm
    -rw-r--r-- 1 root root 5544086 Feb  7 10:20 gcc-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root 3987493 Feb  7 10:20 gcc-c++-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root    83518 Feb  7 10:31 libgomp-4.1.2-42.el5.i386.rpm
    -rw-r--r-- 1 root root    84654 Feb  7 10:41 libgomp-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root  2980440 Feb  7 10:43 libstdc++-devel-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root    20483 Feb  7 11:46 elfutils-libelf-devel-0.125-3.el5.x86_64.rpm
    -rw-r--r-- 1 root root    58852 Feb  7 11:46 elfutils-libelf-devel-static-0.125-3.el5.x86_64.rpm
    -rw-r--r-- 1 root root   102193 Feb  7 11:49 elfutils-libs-0.125-3.el5.x86_64.rpm
    [root@psovmab rpm]# rpm -Uvh glibc-headers-2.5-24.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:glibc-headers          ########################################### [100%]
    [root@psovmab rpm]#
    [root@psovmab rpm]# rpm -Uvh glibc-devel-2.5-24.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:glibc-devel            ########################################### [100%]
    [root@psovmab rpm]#
    [root@psovmab rpm]# rpm -Uvh glibc-devel-2.5-24.i386.rpm
    Preparing...                ########################################### [100%]
       1:glibc-devel            ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh libgomp-4.1.2-42.el5.i386.rpm
    Preparing...                ########################################### [100%]
       1:libgomp                ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh libgomp-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:libgomp                ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh gcc-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:gcc                    ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh  libstdc++-devel-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:libstdc++-devel        ########################################### [100%]
    [root@psovmab rpm]#
    [root@psovmab rpm]# rpm -Uvh gcc-c++-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:gcc-c++                ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh elfutils-libs-0.125-3.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:elfutils-libs          ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh elfutils-libelf-devel-0.125-3.el5.x86_64.rpm elfutils-libelf-devel-static-0.125-3.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:elfutils-libelf-devel-s########################################### [ 50%]
       2:elfutils-libelf-devel  ########################################### [100%]
    [root@psovmab rpm]#
    From OEL5.2 Disk 3
    ==================
    -rw-r--r-- 1 root root  4588773 Feb  7 10:22 compat-gcc-34-3.4.6-4.x86_64.rpm
    -rw-r--r-- 1 root root 13542100 Feb  7 10:23 compat-gcc-34-c++-3.4.6-4.x86_64.rpm
    -rw-r--r-- 1 root root   232846 Feb  7 12:21 compat-libstdc++-33-3.2.3-61.x86_64.rpm
    [root@psovmab rpm]# rpm -Uvh compat-gcc-34-3.4.6-4.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:compat-gcc-34          ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh compat-gcc-34-c++-3.4.6-4.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:compat-gcc-34-c++      ########################################### [100%]
    [root@psovmab rpm]#The initial error is gone, but got a new one when linking :
    [psadm1@psovmab setup]$ ./psrun.mak
    ./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.18-92.0.0.0.1.el5xen ...
    ./psrun.mak - Error(s) encountered creating PSRUN!
    ./psrun.mak - See /opt/oracle/psft/appbatch/tools/setup/psrun.err for messages
    [psadm1@psovmab setup]$ more /opt/oracle/psft/appbatch/tools/setup/psrun.err
    ld: cannot find -lgcc
    [psadm1@psovmab setup]$I looked around for this error, found a Metalink note, but the suggestion does not apply here, the path directory metioned in $COBDIR/etc/cobopt already exists :
    [psadm1@psovmab setup]$ more $COBDIR/etc/cobopt
    -C nolist
    set GCC_LIB=/usr/lib/gcc/x86_64-redhat-linux/3.4.6
    [psadm1@psovmab setup]$ ls /usr/lib/gcc/x86_64-redhat-linux/3.4.6
    32          crtbeginS.o  crtend.o   include   libgcc_eh.a  libgcc_s_32.so  libstdc++.a   libstdc++_nonshared.a  libsupc++.a
    crtbegin.o  crtbeginT.o  crtendS.o  libgcc.a  libgcc_s.so  libgcov.a       libstdc++.so  libstdc++_shared.so    specs
    [psadm1@psovmab setup]$So far, no luck, I'll still try, but you may have more luck to install a separate server with all the packages install from the scratch and run a process scheduler from there.
    Nicolas.

  • SSIS Catalog views are not executing from PROC calling from a service broker

    Hi Exprets,
    I have a package deployed on SSISDB (the new concept in MS SQL 2012, SSIS catalogs). I have t-sql code in which i will be able to execute SSIS package in SSISDB with no problems. But if i place the same t-sql code inside of a procedure which will be called
    by a service broker , the code is not executing.
    I am using the following code to execute a package in the SSISDB catalog
    Declare @execution_id bigint
    EXEC [SSISDB].[catalog].[create_execution] @package_name=N'LoadToABC.dtsx',
    @execution_id=@execution_id OUTPUT, @folder_name=N'ABC', @project_name=N'LoadToABC',
    @use32bitruntime=False, @reference_id=Null
    DECLARE @var0 NVARCHAR(200)
    = N'D:\MyData\SampleText20120830100001.txt'
    EXEC [SSISDB].[catalog].[set_execution_parameter_value] @execution_id, @object_type=30,
    @parameter_name=N'strFileName', @parameter_value=@var0
    EXEC [SSISDB].[catalog].[start_execution] @execution_id
    This code executes if run it alone or placed in a regular stored procedure , but not executes if i palce this same code inside of a procedure which is being called/executed by a service broker call like this:
    CREATE QUEUE dbo.SampleQueue
    WITH STATUS=ON, ACTIVATION
    (STATUS = ON, MAX_QUEUE_READERS
    = 1,
    PROCEDURE_NAME = spMessageProcSample,  
    EXECUTE AS OWNER);
    The problem occurs if we call the SSIS catalogs inside a proc which will be calling through a service broker queue.
    I am running all these steps on my local instance of SQL SERVER 2012 in which i am the administrator.
    Please advice where i am doing wrong ?
    Thanks,
    Jyodhu.

    Hi ArthurZ,
    Thanks for reply. What i ment was i tried with all the "EXECUTE AS" options. but no luck.
    Can you please explain step by step if you can ? That would be great help.
    This is the error message from server log.
    Message
    The activated proc '[dbo].[spMessageProcSample]' running on queue 'FileTableDB.dbo.SampleQueue' output the following:  'The server principal "USA\cccsat1nmg" is not able to access the database "SSISDB" under the current security context.'
    I logged in with WIndows authentication (Admin) and i created all the objects including Integration services Catalog.
    Thanks,
    Jyodhu.

  • Database migration query not executing in database

    We moved over our SQL database to another server. We have a few .cfm template files that have queries to get 'content' from our database. These queries in the .cfm template files work fine and execute properly. However, for some reason, since we moved over our database, the queries in the actual database don't execute/run anymore. In the old server we didn't have this problem. Our queries in the database would run properly then. The data would display correctly on the webpages.
    Is there some kind of properties setup that was overlooked when migrating over our database?
    The output we now see when viewing our pages is the actual query code.
    Example:
    SELECT lname
    FROM table
    This is actually displayed on the website and therefore the query is not executing/running. Our code was never changed. So why is it not outputting the same?
    Thanks for any help provided.

    Sorry for the confusion.
    The coldfusion templates and database queries both worked fine on the previous old server.
    Now since the migration onto the new server, only the coldfusion templates work fine, but not the queries in the database.
    So for example, a query in the coldfusion template will run fine, and execute the intial pull of data. But once the content is pulled from the database, the queries inside the database (including stored procedures) don't execute.
    We do get the expected results when we run our stored procedure in Management Studio and if we put the stored procedure on a standalone web page we do see the records. 
    We only see the sql code when we have the stored procedure inside of our w_content table of our database, and its being called by the first query in the template.  For some odd reason the stored procedure does not execute if it is inside the database.  
    Hopefully that clarifies our problem.
    Thank you for helping!

Maybe you are looking for

  • I updated to ios 5 and now when sending an email it says no subject, do you still want to send ? Can this be turned off ?

    I updated my iphone 4 to ios 5. When sending emails now it says " there is no subject, do you want to still send ? " Is there a way to turn that off. I could not find the setting. In ios 4 this problem never happened .  Anyone have an answer ? Steve

  • Newbie help-clips & scenes

    I am having a hard time learning action script. I want to have a movie clip that was pulled from the library with "attach_movie", but once it is done I need it to go to another scene. Is this something simple, or am I asking for a lot? I have been th

  • Catalog is not showing

    I have some how lost my catalog. It shows nothing when I click on Media, Places, People etc... I think I may have disconnected from the catalog file, but in the manage catalogs, it does not allow me to reconnect when I click the catalog. I have attac

  • Screen Share option gone from machines in the sidebar 10.5.7

    Regretting installing it now. I use this several times a day. Now I don't get the button to allow me to start a screen share. It was there earlier before I upgraded to 10.5.7. Also all my Mac PCs appear as generic Windoze PCs in the sidebar (hence no

  • Syncing iPad from Two Locations

    My son just received an iPad Mini. While he spends most of his time at his mom's house, I'm the more "device savvy" of the two parents, and will probably be the one getting it all set up and organized. Is it possible to have two iTunes installations