Custom Code not Executing

We implemented SAP 3/1/2010 and have had 3 separate custom programs that have behaved in this same manner.  Here is what happens.
1.  User runs tcode per usual business process
2.  Custom program results are not created.  In other words, it appears that the custom program does not execute because the results of the custom program are not created.
3.  Rerun same tcode with debug stopper
    a)  If the user puts a "debug stopper" in the custom program
    b) the custom code is executed
    c) custom code functions as expected and results are displayed properly
4.  remove the stopper
5.  Execute tcode and it works properly
So, the custom program is active and is executed (when stopper is there) and functions as expected.  However, it does not ALWAYS execute the code (or so it seems from the results that are displayed)
Another work around that we have discovered.
1.  User executes tcode and discovers the custom program did not produce expected results
2.  User logs off of SAP
3.  Logs back on and executes tcode
4.  custom program expected results are displayed.
As I said at the beginning, we have experienced this with 3 different custom programs now.  I have worked with our Basis team and have not found a solution as to why the custom programs are not executing "all the time".
PLEASE help!

Here are the answers to your questions.  Thanks for the quick response.
Custom program = It is code that is executed in a user exit, or is a stand alone program
The 3 different programs are all doing various things.  1) Passing parameters to vertex  2) very complex as it adds pricing conditions and updates forwarding agent partner  3) Stand alone program updates field in BSEG
No security objects are involved in any of the 3 programs.
Yes, this is in the production environment.
No, I have not tried in any other environment because we can not find a situation where the problem always occurs.  In other words, I can not duplicate the problem "EVERY TIME" however, when a user encounters the problem it occurs all the time until they do one of our "work arounds" which is to log off SAP or to put a "degug stop" in the program.

Similar Messages

  • F-26  Customer code not showing on clearing document

    Hello,
    I usually run transaction F-26 to do customer clearings.
    I dont know what happened for this customer that when I simulate the clearing document the customer line disappear.
    The document is cleared normally but the customer code line item does not show on the clearing document (type "CM"-cheque)
    PS: When I run F-26 I insert any bank account and amount 0.00 just to specify  the document numbers on "additional selections"
    I dont know why this happened just this time. I´ve analyzed customer master data on XD03 but I dont know if its something related to this.
    What else could I check ?
    Thanks,
    Alex

    Hi Kyoko,
    I agree with you that system probably is working as intended, and also I don't think F-26 is the ideal transaction for this.  Probably F-13 is more appropriated.
    Anyway, the 2 documents for customer "Y" are with zero balance clearing too (the same as customer "X") but the customer line item appears on the clearing document.
    We usually run F-26 to clear more than 2 customers also. We inform the document numbers on additional selection.
    So I still need to know why the item line for customer "X" did not appear on clearing document
    Regards,
    Alex

  • OADialogpage:......and code not Executing in if loop..........help me out

    if("linkRepairOrder".equals(pageContext.getParameter(EVENT_PARAM)))
    String csdRepairNumber=pageContext.getParameter("csdRepairNumber");
    oracle.apps.fnd.common.MessageToken tokens[] =
    { new MessageToken("csdRepairNumber", csdRepairNumber) };
    OAException mainmsg =
    new OAException("CSD", "START CLOCK", tokens);
    String yes="OA.jsp?page=/oracle/apps/csd/ro/mgmt/webui/HvrRepairMainPG";
    String No="OA.jsp?page=/oracle/apps/csd/ro/mgmt/webui/HvrRepairMainPG";
    OADialogPage dialogpage =
    new OADialogPage(OAException.INFORMATION, mainmsg, null, "Yes", "No");
    dialogpage.setOkButtonItemName("DeleteYes");
    dialogpage.setOkButtonToPost(true);
    dialogpage.setNoButtonToPost(true);
    dialogpage.setPostToCallingPage(true);
    dialogpage.setOkButtonLabel("Yes");
    dialogpage.setNoButtonLabel("No");
    java.util.Hashtable formParams = new java.util.Hashtable(1);
    formParams.put("csdRepairNumber", csdRepairNumber);
    dialogpage.setFormParameters(formParams);
    pageContext.redirectToDialogPage(dialogpage);
    if(pageContext.getParameter("DeleteYes")!=null)
    pageContext.setForwardURL("OA.jsp?page=/oracle/apps/csd/ro/mgmt/webui/HvrRepairMainPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO, // Do not display breadcrums
    OAWebBeanConstants.IGNORE_MESSAGES);
    this is not working
    System.out.println("hi before OABodyBean.........");
    OABodyBean body=(OABodyBean)pageContext.getRootWebBean();
    String csdRepairNumber = pageContext.getParameter("csdRepairNumber");
    String page1 ="/oracle/apps/csd/ro/search/webui/ClockRunning&retainAM=Y&addBreadCrumb=Y&csdRepairNumber={@csdRepairNumber}";
    String destURL = APPS_HTML_DIRECTORY + OAWebBeanConstants.APPLICATION_JSP + "?"+ OAWebBeanConstants.JRAD_PAGE_URL_CONSTANT+ "=" + page1;
    OABoundValueEmbedURL jsBound = new OABoundValueEmbedURL(body,"openWindow(self, '", destURL, "' , 'longTipWin', {width:"+200+", height:"+500+"}, true); return false;");
    System.out.println("In OABodyBean....");
    body.setAttributeValue(UIConstants.ON_LOAD_ATTR,jsBound);
    upto hear
    else
    //pageContext.setSkipProcessFormRequestForMessageLevel((byte)0);-------does this work
    pageContext.setForwardURL("OA.jsp?page=/oracle/apps/csd/ro/mgmt/webui/HvrRepairMainPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO, // Do not display breadcrums
    OAWebBeanConstants.IGNORE_MESSAGES);
    }

    Hi,
    to open a data set, you need to have the path for the application server file, to see the application server files. goto AL11 transaction code, there you will find the directories then inside it you will find sub directories then you will find the file names, there you need to open the file using the open datasets ..
    you have written DATA : FNAME(90) VALUE 'j:/ hai.txt'. , but this is not a application server file name, just goto AL11 then you will find the file names and give the correct path
    Regards
    Sudheer

  • How can I have any new pernr creation dynamically trigger custom code

    I would like to develop a custom process that is triggered whenever a new pernr is created. So basically when pa40 is used to hire an employee, is there a way for this new hire event to trigger my custom code. I would like to grab the new pernr, look up the CP object just created, and save this CP data in a custom infotype. I looked into the possibility of using dynamic actions, and the user exit zxpadu02 option. The options I mentioned may work, but I was hoping to find a more solid solution where the moment a pernr and its CP are created, my custom code can execute.

    The major issue with the user-exit approach is the fact that screen navigation varies during the pa40 process depending on action and country grouping. When the user-exit executes during infotype 0000 processing, the new pernr and CP object have not yet been created. If we use a different infotype (IT0002 for example) to trigger our custom code in the bapi, we may get unexpected results due to user unpredictability. If they decide to exit the hiring screens early for some reason.

  • Custom Trigger after Delete not  executing

    I have a custom trigger that I want to execute after a user performs a DELETE Transaction. Here is the PHP code:
    $DB_SERVER = "somewhere.com";
    // username:
    $DB_USER = "me";
    // password:
    $DB_PASS = "password";
    // database name:
    $DB_NAME = "training";
    $sessid=$_GET['sessid'];
    $userid=$_GET['id'];
    mysql_connect($DB_SERVER, $DB_USER, $DB_PASS);
        mysql_select_db($DB_NAME);
    $sql = "DELETE FROM tms_registered where eid ='$sessid' AND uid = '$userid'";
    $sql2 = "SELECT COUNT(*) AS max FROM tms_registered WHERE eid ='$sessid'";
    $result = mysql_query( $sql2 )
            or die ( 'Unable to execute query.' );
    $max_value = mysql_result($result, $i, "max");
    $sql3 = "UPDATE tms SET cur_reg='$max_value' WHERE tmid='$sessid'";
    I have also written the trigger by declaring the variables at the top of the PHP script page and then use 'global': at the begining of the trigger:
    global $DB_SERVER, $DB_USER, $DB_PASS, $DB_NAME, $sessid, $userid;
    The trigger does not execute after the DELETE transaction. What am I doing wrong?
    TIA

    Dear Karthi & Santosh,
    Thanks for your prompt replies.
    I am already maintaining following detail in OPJF
    01     5     S     1     Production     4     Released (general)
    Dear Santosh,
    I have changed the Syst.Sts from REL to CNF and save it. Deleted the trigger point assignment and reassign it. Create new Production Order. But Now
    Trigger is not executing at the time of order creation as well as Order confirmation (CO11N).
    There are following functions available in the system:
    Release succeeding operations
    Release up to stop indicator
    Release preceeding operations
    Create order with reference
    Insert reference operation set
    Start workflow task
    and i am using "Create order with reference" is it OK, or I have to use another function.
    Please suggest.
    With thanks,
    DSC

  • Customer exit code  not  fetching exact value.

    Dear All,
    My requirement is as per the user entry date
    for that date in one column   for that month in one column    for that finacial year in one column
    fo that date it is coming fine
    even for month  when i give 14/06/2010 a user entry data has to come up to 14th of that month in year also from financial year starting to  14/o6/2010.
    for tha i created three varaibles on calday
    as below
    zv_sn_dat  user entry varaible  ready for input
    zv_mtd_dat---- customer exit not ready for input
    zv_ytd_dat----- customer exit not ready for input
    and written the code as below
    for fetching the current date data
        WHEN 'ZV_SN_DAT'.
       IF i_step = 1 .
         CLEAR l_s_range.
         l_s_range-low = sy-datum.
         l_s_range-opt = 'EQ'.
         l_s_range-sign = 'I'.
         APPEND l_s_range TO e_t_range.
       ENDIF.
    For fetchin month to date ( current date)
    WHEN 'ZV_MTD_DAT'.
       DATA : month(2) TYPE n ,
              year(4) TYPE n .
       IF i_step = 2.
         CLEAR : loc_var_range,month,year.
         LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZV_SN_DAT'.
           IF sy-subrc = 0.
             CLEAR l_s_range.
             l_s_range-high = loc_var_range-low.
             year = loc_var_range-low(4).
             month = loc_var_range-low+4(2).
             CONCATENATE year month '01' INTO l_s_range-low.
             l_s_range-sign = 'I'.
             l_s_range-opt = 'BT'.
             APPEND l_s_range TO e_t_range.
           ENDIF.
         ENDLOOP.
       ENDIF.
    *(financial year starts from october first)
       For fetching the Year to Data ( Current Date)
    WHEN 'ZV_YTD_DT'.
       IF i_step = 2.
         CLEAR : loc_var_range,month,year.
         LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZV_SN_DAT'.
           IF sy-subrc = 0.
             CLEAR l_s_range.
             year = loc_var_range-low(4).
             month = loc_var_range-low+4(2).
             l_s_range-high = loc_var_range-low.
             IF month NE '01' OR month NE '02' OR month NE '03' OR MONTH NE '04' OR MONTH NE '05' OR MONTH NE '06' OR
               MONTH NE '07' OR MONTH NE '08' OR MONTH NE '09'.
               CONCATENATE year '10' '01' INTO l_s_range-low.
             ELSE.
               year = year - 1.
               CONCATENATE year '10' '01' INTO l_s_range-low.
             ENDIF.
             l_s_range-sign = 'I'.
             l_s_range-opt = 'BT'.
             APPEND l_s_range TO e_t_range.
           ENDIF.
         ENDLOOP.
       ENDIF.
    But the month to date even though iam executing from july 1st but for month to date the data is coming is JUne data
    for year also up to may there is no data , but it is showing June data.
    where the code is wrong ,
    please can anybody suggets where i was gone wrong in code.
    or  may be i was gone wrong to create varaibles all te varaibles onot on the calday?
    Thansk & Regarsd,
    sathish
    *ENDCASE.

    In debugging you can check what are the values being assigned to low and high.
    Place check points at places where you assing the high and low values.
    Double click on them during debugging, you can then find out where the logic is not fine.
    Try by commenting out the code where you are initializing the system date to variable.
    Also this would be fine for IF MONTH LT 10 instead of
    IF month NE '01' OR month NE '02' OR month NE '03' OR MONTH NE '04' OR MONTH NE '05' OR MONTH NE '06' OR
    MONTH NE '07' OR MONTH NE '08' OR MONTH NE '09'.
    -Neelesh
    Edited by: Neelesh Jain on Jul 3, 2010 6:57 PM

  • How to execute custom code only when a specific node is selected in infoset

    Hi,
    We have written a piece of custom code under a node (P1045). Not all users will have access to this Infotype as it is related to Appraisals. So, when users (w/no access to 1045) try to run a Query for other info types data, they are getting error message 'Can not access 1045'. Custom code is getting generated whenever user runs a query. Tried to control custom code with simple IF condition by giving user name. Still generating 1045 code.
    All users use same infoset, where a group of users has access to 1045 and another group does not have access to 1045.
    Appreciate your inputs to get this resolved.
    Thanks,
    Swapna.

    Why don't you try another aproach, instead of adding the infotype to the infoset, create a new table as an alias (with the fields you want to show in regards to infotype 1045) and fill it in the node depending on the authorization check for that infotype in the code ?
    I think that adding the infotype as a node will always get the data from the infotype regardless, that is why it's showing the error.

  • I am trying to save a custom code snippet in Flash CC and it does not save, any ideas why?

    I am trying to save a custom code snippet in Flash CC and it does not save, any ideas why?  I am using Windows 8.1 with Flash CC.
    I even when into the "Edit Code Snippet XML" and added a Custom folder and a custom template.  Then I went back to add the code snippet again and it still did not work.
    About line 32, I added:
       <category title="Custom"
          isBranch="true" expanded="false"
          description="Code for common interactions">
          <snippet isBranch="false">
          <title>Custom Snippet</title>
          <description>This is an example of a custom code snippet.</description>
          <requiresSymbol>true</requiresSymbol>
          <code><![CDATA[
    // Code goes here
    trace("A custom code snippet");
          ]]></code>
        </snippet>
        </category>     
    Any assistance would be greatly appreciated.

    UserAgent for the OP is - Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100405 Namoroka/3.6.3 - he might be running a 64-bit 3rd party build.

  • Call to java bean but code not being executed.

    Making a call to my javabean class called ch06_03.java from a jsp program shown below:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Using a java package.</title>
    </head>
    <body>
    <% beans.ch06_03 messager = new beans.ch06_03(); %>
    The message is: <%= messager.msg() %>
    </body>
    </html>
    The call from jsp to javabean program is only returning the hello from java and NOT EXECUTING ANY OF THE CODE in the msg() method. I am checking my table landings_hold and nothing is there, my log file shows nothing. Why is the code not being executed except for the return statement?
    My javabean program is shown below:
    package beans;
    import java.io.*;
    import java.util.*;
    import java.text.*;
    import java.sql.*;
    public class ch06_03 {
    StringTokenizer st1;
              String val1, val3, val4, val5, val9, val10, val11, val12, val13, val14, val16;
              String val2, val6, val7, val8, val15, val17, val18, val19, val20;
              int cnt;
              String filetext = "Starting RIFIS Upload";
              java.util.Date d = new java.util.Date();
              SimpleDateFormat form = new SimpleDateFormat("dd/MMM/yyyy hh:mm:ss");
              String dateString = form.format(d);
    public String msg() throws Exception {
         try {
         Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@xxxxx.xxxx.xxx:1521:xx","xxxxxx","xxxx");
              Statement st = conn.createStatement();
         File f = new File("C://upload");
              FileWriter outFile = new FileWriter("C://RIFIS/log/logfile.txt", true);
              outFile.write(System.getProperty("line.separator"));
              outFile.write(filetext+" - "+dateString);
              if (f.isDirectory())
              { String [] s = f.list();
              for (int i=0; i<s.length; i++)
              { outFile.write(System.getProperty("line.separator"));
                   outFile.write("Found file - "+f+"/"+s);
              FileReader file = new FileReader(f+"/"+s[i]);
                   File inputFile = new File(f+"/"+s[i]);
                        File outputFile = new File("C://RIFIS/archive/"+s[i]);
                   BufferedReader buff = new BufferedReader(file);
                   boolean eof = false;
                   String val0="";
                   ResultSet rec = st.executeQuery("SELECT landings_hold_batch_seq.nextval FROM dual");
                        while(rec.next())
                        { val0 = rec.getString(1); }
                        cnt=0;
                        while (!eof)
                        { String line = buff.readLine();
                        if (line == null)
                        { eof = true; }
                             else
                             { cnt = cnt+1;
                                  st1 = new StringTokenizer(line,",");
                                  val1 = st1.nextToken();
                                  val2 = st1.nextToken();
                                  val3 = st1.nextToken();
                                  val4 = st1.nextToken();
                                  val5 = st1.nextToken();
                                  val6 = st1.nextToken();
                                  val7 = st1.nextToken();
                                  val8 = st1.nextToken();
                                  val9 = st1.nextToken();
                                  val10 = st1.nextToken();
                                  val11 = st1.nextToken();
                                  val12 = st1.nextToken();
                                  val13 = st1.nextToken();
                                  val14 = st1.nextToken();
                                  val15 = st1.nextToken();
                                  val16 = st1.nextToken();
                                  val17 = st1.nextToken();
                                  val18 = st1.nextToken();
                                  val19 = st1.nextToken();
                                  val20 = st1.nextToken();
                                  st.executeUpdate("INSERT INTO LANDINGS_HOLD (lh_id, lh_batch, supplier_dr_id, supplier_unique_id, supplier_dealer_id, supplier_cf_id, supplier_vessel_id, unload_year, unload_month, unload_day, state_code, county_code, port_code, itis_code, market, grade, reported_quantity, unit_measure, dollars, lh_loaddt, lh_loadlive, purch_year, purch_month, purch_day)" +
                        "VALUES (0,'"+val0+"','"+val1+"',"+val2+",'"+val3+"','"+val4+"','"+val5+"',"+val6+","+val7+","+val8+",'"+val9+"','"+val10+"','"+val11+"','"+val12+"','"+val13+"','"+val14+"',"+val15+",'"+val16+"',"+val17+",SYSDATE,NULL,"+val18+","+val19+","+val20+")");
                             } // while else end
                        } // parent while end
                        FileReader in = new FileReader(inputFile);
                        FileWriter out = new FileWriter(outputFile);
    int c;
                        while ((c = in.read()) != -1)
                        { out.write((char)c); }
                        in.close();
                        out.close();
                        outFile.write(System.getProperty("line.separator"));
                        outFile.write("Number of records inserted - "+cnt);
                        outFile.write(System.getProperty("line.separator"));
                        outFile.write("Copied upload file to archive directory");
                        outFile.write(System.getProperty("line.separator"));
                        outFile.write(f+"/"+s[i]+" - Has been removed from upload directory");
                        buff.close();
                        inputFile.delete();
                   } // for end
                   outFile.write(System.getProperty("line.separator"));
                   outFile.write("Upload Complete...NO ERRORS");
                   outFile.write(System.getProperty("line.separator"));
                   outFile.write("*************************************************************");
                   outFile.write(System.getProperty("line.separator"));
                   conn.close();
              } // if end
              else
              { outFile.write("No files to process"); }
              outFile.flush();
              outFile.close();
              } // try end.
              catch(Exception e)
              { FileWriter errFile = new FileWriter("C://RIFIS/log/errfile.txt", true);
              errFile.write(System.getProperty("line.separator"));
              errFile.write("ALERT....ALERT....ALERT");
              errFile.write(System.getProperty("line.separator"));
              errFile.write("Error Occurred in ReadSource.java - RIFIS Upload");
              errFile.write(System.getProperty("line.separator"));
              errFile.write("My Error: " + e);
              errFile.write(System.getProperty("line.separator"));
              errFile.write("*************************************************************");
                   errFile.flush();
                   errFile.close();
              } // catch exception end.
         return "Hello from java";
         } //public msg block
         public ch06_03()

    Since you didn't use code-formatting tags ([ code ] and [ /code ] without the spaces) it's kinda hard to look at it. But I'm sure it DID execute much more than just the return statement - maybe you're not closing a file or db connection, or maybe you're seeing a cached page, so it actually isn't executing ANYTHING on the server (is your browser set to never check for newer pages so it (almost) always returns from cache, for example?)

  • ABAP Query Execution via Custom Transaction Code - Not working

    We have created an ABAP Query in our DEV client and we then created a transaction code to run that query. We have done this because the customer does not want anyone to have access to SQ01, SQ02 in production. This works great in DEV but we can not get it to work in production.
    The ABAP Query was exported to our Prod client successfully.  I say exported because you do not do direct transports with queries.
    We then transported the new transaction code to run the query to production and it was successful.
    However, when we run the transaction is production we get a sys dump stating it can not find the query.
    We believe the problem is the TRDIR table is missing an entry for the program in production (it has an entry in DEV).
    I would have thought that the export on the query would have brought in this entry -but obviously not.
    Any suggestions on how we can get this entry into the production client?  Did we miss a step on the export that would do this?  We want to only bring over this entry - not the entire TRDIR table for obvious reasons (size (1.5 million entries, programs not ready for production, etc.).
    Please help!
    Thanks.
    Scott

    Hi,
    The above solution will work if you assign the transaction in one server, If you want this will not work in quality/production boxes when transported the query..the program name will not be the same in all the servers...
    For this. Do the below:
    In SE93, Create a Paramter Transaction
    -> Transaction = Start_report
    -> In default values, give the below details:
         D_SREPOVARI-REPORTTYPE = AQ
         D_SREPOVARI-EXTDREPORT = Name of the Query
         D_SREPOVARI-REPORT = User Group
    Save the transaction..Now if the program is generated with different names in the quality/proudction, this will still work..
    Regards
    Vijay Hebbal

  • User exit code does not execute

    I'm having a problem with User exit code that does not execute yet seems to be set up correctly.
    The User exit is implemented as FM "EXIT_SAPLIPW1_001" in function group XQSM.
    I've tried everything I know of with the CMOD and SMOD transactions, and I suspect some sort of transport error.
    The only clue I can find in comparing the development system (which works) with the test system (which does not work) is that running "Extended Check" in SE80 on function group XQSM fails with the following error:
    "The namespace of program SAPLXQSM has the setting "C" and cannot be tested."
    Has anyone any idea what could have happened?

    Let us try to retrace the steps.
    1. You created a Z project in CMOD and assigned the enhancement IQSM0001 and the component EXIT_SAPLIPW1_001 and activated the same. This is there in the transport.
    2. You double clicked on the include in the user exit and created it. You activated the code and included it in the same transport.
    If you did the above steps, then your user exit should be active in your test system.
    Can you please go to SE10, and list out the objects in your transport? You should see entries in there like below(not necessarily a complete list)
    R3TR CMOD <your project name>
    R3TR PROG ZXQSMU01
    See if you created any of the objects as local objects.
    Srinivas

  • Error code returned if the business rules not executed

    Recently we found that some Hyperion business rules are not executed during the daily batch file but no error code was returned.
    Is there any method to force the return of error code so that we can check the batch result more easier?
    Thanks a lot!

    For information, we are using the batch file under EAS console directory of Essbase:
    \Hyperion\products\Essbase\eas\console\bin\CmdLnLauncher.bat
    @echo off
    set CPATH=..\lib\CmdLnLauncher.jar
    set CPATH=%CPATH%;..\lib\easclientplugin.jar
    set CPATH=%CPATH%;..\lib\log4j-1.2.8.jar
    set CPATH=%CPATH%;..\lib\framework_common.jar
    set CPATH=%CPATH%;..\lib\eas_common.jar
    set CPATH=%CPATH%;..\lib\jaxp-api.jar
    set CPATH=%CPATH%;..\lib\jdom.jar
    set CPATH=%CPATH%;..\lib\dom.jar
    set CPATH=%CPATH%;..\lib\xercesImpl.jar
    java -DHBR_HOME=..\.. -cp %CPATH% com.hyperion.hbr.cmdlnlauncher.CmdLineLauncher %1 %2 %3 %4 %5 %6

  • Jsp code not being executed in browser

    Even though my applications deploy and redeploy, I can see .html files but not .jsp files. The server presents the path, i.e. http://localhost:7001/ITDC/index.jsp, but the jsp code is either not being compiled and exceuted in a client browser or the .jsp is being compiled but not executed in the client broswer.
              

              Akilah <[email protected]> wrote:
              >Even though my applications deploy and redeploy, I can see .html files
              >but not .jsp files. The server presents the path, i.e. http://localhost:7001/ITDC/index.jsp,
              >but the jsp code is either not being compiled and exceuted in a client
              >browser or the .jsp is being compiled but not executed in the client
              >broswer.
              How about you tell us exactly what happens, and what you expected to happen. I
              can't tell if you're getting error messages, or whether you just don't see what
              you expect on the screen.
              Note that JSP code is not ever executed in the browser. It's only ever executed
              in the appserver, and the generated output is viewed in the browser.
              

  • Customs procedure code 29 is not defined in any customs code list

    Hi GTS specialists!
    I'm creating export transit declarations by sending the invoice from ECC to GTS.
    Normally this works fine, and in this case the export declaration is created but the transit declaration is not....
    The document is stuck in the transfer log for billing document - Export/transit in GTS, with the following log:
    Customs procedure code 29 is not defined in any customs code list
    Message no. /SAPSLL/API_INBOUND030
    I have tried to check in customizing, for custom code lists, but didn't find the key solution yet..
    Any suggestions how to fix this?
    I suppose some mapping between export procedure 29 (= export in Foreign Trade Data - item) and GTS customs code list is missing..?
    thanks!!!
    Isabelle

    Hi Isabelle,
    There is no mapping between the Customs Procedure codes in ERP and those in GTS.  Instead, the code must exist in GTS in order to be transferred.  That's to say; you must configure the same code list in ERP and GTS.
    Usually it's better not to propose ANY Customs Procedure Codes in ERP, and instead use the Data Proposal in GTS.  But if you have particular dependencies already set up in ERP, then you just need to make sure that the codes are valid for your Legal Regulation.  Code '29' seems an unlikely one for Belgium.  Right across the EU, the CPCs are structured in the same way - 4 digits for the main code, and 3 further characters for the additional code, if applicable.  For Export, you should expect to be using (mostly) code 1000.
    But in any case, the code discrepancy is not the reason that your transaction is stuck.  The message is only information for the transfer log, and there must be some other reason why your billing document is not transferred to GTS.
    I hope that helps.
    Kind regards,
    Dave

  • ORA-27369: job of type EXECUTABLE failed with exit code: Not owner

    Hi
    I created a backup RAC database job using DBMS_SCHEDULER under RMANTEST schema (a DBA account) and I got the error as subject.
    begin
    dbms_scheduler.create_job(
    job_name => 'scheduler_backup',
    job_type => 'EXECUTABLE',
    number_of_arguments => 2,
    job_action => '/opt/oracle/admin/bin/rman_fullbackup_RAC_TEST_test.sh',
    comments => 'backup via scheduler'
    dbms_scheduler.SET_JOB_ARGUMENT_VALUE('scheduler_backup', 1, 'TEST');
    dbms_scheduler.SET_JOB_ARGUMENT_VALUE('scheduler_backup', 2, 'TEST2');
    dbms_scheduler.enable('scheduler_backup');
    end;
    Thanks,
    Kevin

    Hi Ravi
    Thanks for your input.
    "ORA-27369: job of type EXECUTABLE failed with exit code: Not owner" is what I copied from ADDITIONAL_INFO of USER_SCHEDULER_JOB_RUB_DETAILS.
    One thing I don't understand of your words is that
    "On 10gR1 and 10gR2 you can redirect the stdout/stderr within your script and take a look at those log files."
    In my script, I have log files but I cannot see it. I guess the job fails directly without hitting the redirection line in the script. Do you mean I shall write something like this
    dbms_scheduler.create_job (
    job_action => '/opt/oracle/admin/bin/backup.sh > backup.log'
    Another one is
    "make sure that the user that external jobs run as must be able to run your script"
    But OS user and database user are two different accounts at different level.
    I am using 10.2.0.2 RAC. The Unix script runs successfully every night. I just want to take advantage of DBMS_SCHEDULER to avoid host dependency.
    Thanks,
    Kevin

Maybe you are looking for

  • RZ20 server host entries disappear under Operating System Node

    Hi, I am trying to setup auto reaction methods in RZ21 and want to assign them to properties in RZ20 on SolMan (as my CEN) under Operating System -> <server host> -> filesystems -> <file path of choice> -> Percentage_Used for the percentage_used i as

  • Pros and Cons of Customer Specific Screens with Screen Exit????????????????

    Hi Experts,                 I am using Screen Exits for Notification.                 I want to know what are the Disadvantages of using screen exits for notification.                 Earlier we had Runtime error because of the Screen Exits used anyw

  • Web AS 6.40 Sneak Preview: Problems with monitoring Database with SQL Studi

    Hello! I'm new with SAP and SAP Web AS, and I installed the SAP Web AS 6.40 Sneak Preview recently. I'm exercizing with the tutorials, and in the Tutorial "Car rental Application", a "QCR_RESERVATION" database is created and deployed. The deployment

  • ORA-03297 problem

    Hi, I wonde one thing, if we have problem as ORA-03297:file contains used data beyond requested RESIZE value on 11.5.10.2,and imagine db version 9i or 10g For solving this problem can we make all those? or it can be damage system: ALTER USER username

  • Why do I have to enable photo stream every time I reboot?

    It seems that every time I reboot and then launch Aperture, Aperture asks me if I want to enable photostream. When I hit yes I have to re-download all of the images in my photostream. Has anybody noticed that Aperture always resets this photostream s