PHP code generated by DW any good.....?

Hi guys
Ive been looking at server behaviours etc that DW has and was wondering what people thought of the code generated.
It still looks very double dutch to me but any opinions on it would be great

The "problem" with any stock code is that it has to be as generic as possible.
For instance, if you need to add two numbers, you could use a general arithmetic function that adds, divides, etc. two or more numbers, checking for fivision by zero and all that. Or you could write your own code that did just what you needed, and nothing more. But then if you later wanted to multiply two numbers, you would back at the beginning writing your own code (again).
Don't know if this really answers your question. Hope it helps.

Similar Messages

  • How to upload an image in a directory using PHP code generated by Dreamweaver?

    I have created a dynamic website with Dreamweaver and PHP, i have also created a insertform page using dreamweaver's 'Record Insertion Form Wizard' i have a field named prod_img in my MySQL database and on my form but this is a text field and i have to enter the path of the image directory to display it but this needs to have the image in the directory, i want to add a browse file field so that the image uploads to the directory by PHP.
    My code is as follows:
    <?php require_once('../Connections/dwtltd.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
      $insertSQL = sprintf("INSERT INTO special_offers (spec_img, spec_head, spec_desc, spec_call, spec_price, spec_rtn) VALUES (%s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['spec_img'], "text"),
                           GetSQLValueString($_POST['spec_head'], "text"),
                           GetSQLValueString($_POST['spec_desc'], "text"),
                           GetSQLValueString($_POST['spec_call'], "text"),
                           GetSQLValueString($_POST['spec_price'], "text"),
                           GetSQLValueString($_POST['spec_rtn'], "text"));
      mysql_select_db($database_dwtltd, $dwtltd);
      $Result1 = mysql_query($insertSQL, $dwtltd) or die(mysql_error());
      $insertGoTo = "../specialoffers.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    mysql_select_db($database_dwtltd, $dwtltd);
    $query_insertRS = "SELECT * FROM special_offers ORDER BY spec_id ASC";
    $insertRS = mysql_query($query_insertRS, $dwtltd) or die(mysql_error());
    $row_insertRS = mysql_fetch_assoc($insertRS);
    $totalRows_insertRS = mysql_num_rows($insertRS);
    ?>
    <form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1">
      <table align="center" cellpadding="5">
        <tr valign="baseline">
          <td align="right" nowrap="nowrap">Add Image:</td>
          <td><span id="sprytextfield1">
          <input type="text" name="spec_img" value="" size="32" />
          <span class="textfieldRequiredMsg">A value is required.</span></span></td>
        </tr>
        <tr valign="baseline">
          <td nowrap="nowrap" align="right">Offer Heading:</td>
          <td><input type="text" name="spec_head" value="" size="32" /></td>
        </tr>
        <tr valign="baseline">
          <td nowrap="nowrap" align="right">Offer Description:</td>
          <td><input type="text" name="spec_desc" value="" size="32" /></td>
        </tr>
        <tr valign="baseline">
          <td nowrap="nowrap" align="right">Phone:</td>
          <td><input type="text" name="spec_call" value="" size="32" /></td>
        </tr>
        <tr valign="baseline">
          <td nowrap="nowrap" align="right">Price:</td>
          <td><input type="text" name="spec_price" value="" size="32" /></td>
        </tr>
        <tr valign="baseline">
          <td nowrap="nowrap" align="right">RTN:</td>
          <td><input type="text" name="spec_rtn" value="" size="32" /></td>
        </tr>
        <tr valign="baseline">
          <td nowrap="nowrap" align="right"> </td>
          <td><input type="submit" value="Insert record" /></td>
        </tr>
      </table>
      <input type="hidden" name="MM_insert" value="form1" />
    </form>
    Help greatly appreciated.
    I have googled, yahooed, binged etc etc and tried many tutorials but nothing goes in my favor please do not suggest to search on search engines or websites.

    Years and months later, apparently Dreamweaver CC 2014 has a "File" Form object that has a text box and Browse button.  Now I'm looking for the part that does the actual upload (which is why I wound up here).  I'm sure by now you have found a way to resolve your issue, but there it is....

  • How do I change the PHP code so that the name of the senders name appears in the email subject line?

    I need help please, altering the PHP code generated when exporting my Muse websites (to a host other than Business Catalyst). The emails generated from the forms need to have the sender's name in the subject line of the emails.

    This would require editing the published php page outside of Muse and would require the knowledge of PHP. You may get the required info at http://www.php.net or some PHP specific forums.
    Thanks,
    Vikas

  • Thesis problem : create a code generator...are there any good rules to foll

    Hi all,
    I am working on my thesis; the thesis is about writing in Java a code generator.
    Well, the target is : getting a source code ( wrote in a meta language) and traslted it into another language.
    I have to write the code generator in Java.
    I was wondering if there were some general rules about writing this kinfd of applications.
    Any suggestion ?
    Cheers.
    Stefano

    That's not technically a code generator.
    The technical name for such a tool is a transpiler.
    You'd need a pretty good understanding of both languages to be able to write this, as you'd need to know how to represent code constructs in each in the other under any condition.
    In my experience you almost always end up with poor code, unless maybe both languages have nearly identical paradigms.
    For example transpiling a procedural language into an object oriented one will generally yield code that's neither good procedural nor good object oriented code.

  • Code generated in FB 4 for php zend service

    I am trying the data generation stuff for php in FB 4
    I used to use amfphp and my class would look like this
    <?php
    error_reporting(E_ALL);
    require('DB_CONSTANTS.php');
    class AudioService{
        var $connection;
        function AudioService(){
            $this->connection = mysql_connect(DB_SERVER, DB_USER, DB_PASS);
            mysql_select_db(DB_NAME, $this->connection) or die(mysql_error());
        function checkResetPasswordKey($key){
            if (!eregi("^[0-9a-zA-Z]{50}$",$key)) {
                throw new Exception('Bad key');
            /* Verify that user is in database */
            $q = "SELECT * FROM tbusers WHERE forgotPassKey = '$key' AND
    now() < forgotPassExpiry";
            $result = mysql_query($q, $this->connection);
            if (!$result) {
                $message  = 'Invalid query: ' . mysql_error() . "\n";
                $message .= 'Whole query: ' . $query;
                throw new Exception($message);
            if ((mysql_numrows($result) < 1)) {
                //throw new Exception('Your ');
            return $result ;
    ?>
    however in the code generated like FB 4 it looks like this, I wanted to know what advantages this has over my method.
    Thanks
    <?php
    class service {
        /*var $username = "nik";
        var $password = "tat0W";*/
        var $username = "root";
        var $password = "";
        var $server = "localhost";
        var $port = "";
        var $databasename = "nikk";
        var $tablename = "contactlist";
        var $connection;
        public function __construct() {
              $this->connection = mysqli_connect(
                                      $this->server, 
                                      $this->username, 
                                      $this->password,
                                       $this->databasename
            $this->throwExceptionOnError($this->connection);
         * Returns all the rows from the table.
         * Add authroization or any logical checks for secure access to your data
         * @return array
        public function getAllTbrawcontactlist() {
            $stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename");       
            $this->throwExceptionOnError();
            mysqli_stmt_execute($stmt);
            $this->throwExceptionOnError();
            $rows = array();
            mysqli_stmt_bind_result($stmt, $row->id, $row->email, $row->dateCreated, $row->wantsEmails);
            while (mysqli_stmt_fetch($stmt)) {
              $rows[] = $row;
              $row = new stdClass();
              mysqli_stmt_bind_result($stmt, $row->id, $row->email, $row->dateCreated, $row->wantsEmails);
            mysqli_stmt_free_result($stmt);
            mysqli_close($this->connection);
            return $rows;
        private function throwExceptionOnError($link = null) {
             if($link == null) {
                $link = $this->connection;
            if(mysqli_error($link)) {
                $msg = mysqli_errno($link) . ": " . mysqli_error($link);
                throw new Exception('MySQL Error - '. $msg);
    ?>

    I am by no means an expert; furthermore, I do not know PHP, I use ColdFusion. But what I am about to say applies just the same.
    "however in the code generated like FB 4 it looks like this, I wanted to know what advantages this has over my method".
    Advantages? None, and probably some disadvantages. I have qualms about this "data-centric" paradigm. Just to do some fun testing, I created two little projects:
    Using the data-centric features of FB 4,
    http://www.timos.com/FB4/CartoonTestREL/CartoonTest.html;
    Resulting SWF size: 65 KB.
    Using a service I coded, a cusom component based on mx:UIComponent,
    http://www.timos.com/FB4/ToonTestREL/ToonTest.html;
    Resulting SWF size: 54 KB.
    These both have View Source enabled, so you can see the differences.
    Anytime you use a program to generate code, that code will almost always be much larger than if you code by hand.
    Look at the diference between the generated value objects and my single AS class. I have not run the profiler, so I don't know how many milliseconds' difference there is between how fast these run, but I suspect #2 is faster.
    You can go from here.
    Best regards,
    Carlos

  • Are there any good tool for checking security risks, Code review, memory leakages for SharePoint projects?

    Are there any good tool for checking security risks, Code review, memory leakages for SharePoint projects?
    I found one such tool "Fortify" in the below link. Are there any such kind of tools available which supports SharePoint?
    Reference: http://www.securityresearch.at/en/development/fortify/
    Amalaraja Fernando,
    SharePoint Architect
    Please Mark As Answer if my post solves your problem or Vote As Helpful if a post has been helpful for you. This post is provided "AS IS" with no warrenties and confers no rights.

    Hi Amalaraja Fernando,
    I'm not sure that there is one more tool that combines all these features. But you may take a look at these solutions:
    SharePoint diagnostic manager
    SharePoint enterprise manager
    What is SPCop SharePoint Code Analysis?
    Dmitry
    Lightning Tools Check
    out our SharePoint tools and web parts |
    Lightning Tools Blog | Мой Блог

  • How to write good PHP code in dreamweaver?

    Here's the thing.  I'm using Dreamweaver CS4 to develop a website.  In the past my php files would look like this:
    <?php
        echo '<h1>Welcome ' . $name . '</h1>';
    ?>
    This caused problems in the design view because all I would see would be the php icon to let me know I have some script in this location and that is it.
    Then I started to realize that I should write my code like this:
    <h1>Welcome <?php echo $name; ?></h1>
    This second way of writing php code is a lot easier to work with in Dreamweaver since in the design view I can see the formatted h1 tag with the word 'Welcome' beside it (followed by the php icon).  I can still apply all the standard CSS rules inside Dreamweaver and the design view updates nicely.
    So now here is my issue.What is the best way to handle if statements?  Say I want to toggle between <h1>Welcome $user</h1> and <h2>Good bye</h2> BUT I would like to still be able to format the CSS and see the results on the screen in design view.  Is it possible?
    If I do the following, then I'm back to square one.  I can't see my CSS rules applied in the design view since all I have is the PHP icon to show where the script is located:
    <?php
       if( $welcome ) {
          echo '<h1>Welcome ' . $name . '</h1>';
       else {
          echo '<h2>Good bye</h2>';
    ?>

    There is another way. But it's considered advanced PHP in this community. It's called a a ternary operator. So
    <?php
       if( $welcome ) {
          echo '<h1>Welcome ' . $name . '</h1>';
       else {
          echo '<h2>Good bye</h2>';
    ?>
         woud look like:
         <?php echo($welcome?'<h1>Welcome '. $name . '</h1>' : '<h2>Good bye</h2>'); ?>
    Here's a link to a good explanation: http://www.addedbytes.com/code/ternary-conditionals/

  • Are there any good code examples for displaying preview images in the storefront?

    I can gather other info using folio.xxx, but can not find any good examples to use for preview images.  Tried folio.getPreviewImage() with no success.  Oh, I should mention it is version 2.  Plenty of examples for version 1.
    Perhaps if I get a little more specific.
    I am calling up the folios via:
           adobeDPS.libraryService.folioMap.addedSignal.add(function(folios) {
                for (var i = 0; i < folios.length; i++) {
                    addFolio(folios[i]);
            }, this);
    This eventually works into a function where I am gathering and displaying folio data:
         var productId = folio.productId;
        var html  = "<div id='" + productId + "'>";
            html +=     "<a href='#'><img class='shadow' width='120' src='' border=0 /></a>";
            html +=     "<br /><span class='bold'>" + folio.title + "</span>";
            html += "</div>";
        this.$el = $(html);
    folio.title works fine to pull up the title, but I can no longer use folio.getPreviewURL in v2.  What code should I be using to set the src to the preview image?
    Thanks

    Have you looked at the default implementations of the library?
    In FolioItemView's render function, there is a function(follow the nested functions!):
    setTimeout(function(){ scope.loadPreviewImage() }, 100);
    It references this function (this doesn't copy well):
    loadPreviewImage: function() {
    if (this.el.parentElement) {
    var transaction = this.folio.getPreviewImage(135, 180, true);
    transaction.completedSignal.addOnce(this.getPreviewImageHandler, this);
    Going deeper, into the getPreviewImageHandler function is where you see the url value..
    if (transaction.state == adobeDPS.transactionManager.transactionStates.FINISHED && transaction.previewImageURL != null) {
                                  this.$el.find(".folio-thumb").attr("src", transaction.previewImageURL);
    Within the example is also code for supplying a preview when the Adobe API is not available:
    (Within the render function)
    var json = this.model.toJSON();
    $folioThumb.attr("src", json.libraryPreviewUrl);
    If you're making any changes to where the preview is displayed, you can just swap out the class ".folio-thumb" to whatever the class (or id) is of the element you're wanting to render the preview in.

  • PHP require_once code is not working any more

    Before updating to Dreamweaver CC14 (from CS5.5), my php "require_once" files were working fine. When I imported the "ste" file into CC2014, and upload the files as usual, I get this error:
    Warning: require_once(/var/chroot/home/content/d/m/w/dmwebcreation/html/includes/_footer.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/d/m/w/dmwebcreation/html/dmweb-2/index.php on line 15
    Fatal error: require_once() [function.require]: Failed opening required '/var/chroot/home/content/d/m/w/dmwebcreation/html/includes/_footer.php' (include_path='.:/usr/local/php5_3/lib/php') in /home/content/d/m/w/dmwebcreation/html/dmweb-2/index.php on line 15
    This is the php code that I am using in order to have these files added to any page and any directory.
    <?php
       $path = $_SERVER['DOCUMENT_ROOT'];
       $path .= "/includes/_footer.php";
       require_once($path);
    ?>
    This is the location for my test file:    http://dm-webcreation.com/dmweb-2/index.php
    I have Dreamweaver CC 2014 set up as "Links Relative to SITE ROOT" ... so that these files brought in from any files in any direction.
    Has something changed in CC 2014?

    I am using "Links Relative to Site Root" because of my "includes" files which I need to have relative to the site root so that it will not matter where I place the main files, I can still use the "includes" files as "templates" (for my menu, header, footer, copyright line, etc.) inside any file in any directory. The idea for using this "links relative to site root" coding came from: http://css-tricks.com/php-include-from-root/
    You will see that it is not just the php include file that is giving me problem, but even the image I placed on the page will not show up online.
    Interestingly, this webpage shows up without problem on my localhost testing server, but (as of this past week) it does not show up properly online.
    I have a virtual host set up as a localhost testing server in the C:\xampp\apache\conf\extra\httpd-vhosts.conf  file like this:
    The setup uses http://site1 as my local host like this:
         <VirtualHost *:80>
           DocumentRoot "c:/users/...../documents/@Websites/dm-webcreation"
           ServerName site1
         </VirtualHost>
    I manage several websites in the same hosting online, so I use "site1" as one website, and "site2" as another website for the local host testing server. In my remote hosting, I host all each website in a different directory of my main hosting (dm-webcreation.com) and point each website's domain name to that directory.
    And this works correctly on my localhost for the website. Both the image file and the php include file show up perfectly.
    My remote server is set up like this Dreamweaver CC2014:
         FTP Address: dm-webcreation.com
          Root Directory:  /dmweb-2/
         Web URL: www.dm-webcreation.com
    My testing server is set up like this in Dreamweaver CC2014 (this matches my VirtualHost set up):
         Server Folder: C:\Users\.....\documents\@Websites\dm-webcreation\
         Web URL: http://site1/
    I do receive this Dreamweaver error when saving the testing server set up:
    The URL prefex "/" of your testing server does not match the URL prefix "/dmweb-2/" of your site. Since you are using site relative links it is possible that your links will display  incorrectly at runtime...
    The strange thing is that I have three websites that were all set up the same way and they all worked fine until I imported them into this new version of Dreamweaver CC2014.
    That's why I am so puzzled. I have created this simple page (www.z.dm-webcreation.com/dmweb-2) just to try to discover what has changed.
    The other websites have the exact same "link relative to site root" in them, but they work without any problem. (www.airpyramid.com , www.leofenton.com ,  www.dev.casacristianavida.com ).
    Either something in my hosting has changed or Dreamweaver's Site Manager works differently...
    I AM REALLY PUZZLED!!

  • Object Oriented Modelling and Code Generator

    i have a final yr project on java--any help plzz
    Objectives:
    In software development we make extensive use of models to capture details about objects in a domain, the attributes of the objects and the relationships between the objects. Once complete, these models also contain constraints on the objects and their attributes.
    The aim of this project will be to develop a GUI to draw an appropriate software model and to automatically generate a set of Java classes consistent with the model that can be used to rapidly implement the software.
    This research will aim at analysing the different modelling techniques and the mapping of these models to java codes.
    note: any good advice..

    Hello there..
    I Together Control is one of the best tool that can serve ur purpose
    this is pretty good Tool.
    Specially auto code generation is cool.
    Look in to borland site..( They now took overtogether ) for free eval version ..
    Regards
    Manu
    Syntel

  • PHP Code Assist?

    Hello,
    I am trying dreamweaver out as an alternative as i find most programs are not very helpful.
    I am new to PHP and thought Dreamweaver CS4 will help me with my learning of PHP programming.
    Does anyone know of a PHP Code Assist addon ?
    I find dreamweaver CS4 does not hardly provide any help with assisting when i am programming. To have some help would be great.
    The help it provides is very minimal.
    So if you know of any addon, extension i would appreciate a reply.
    Thank you,
    genieuk

    genieuk wrote:
    for example i was using Aptana Studio and as i typed it would automatically come up with suggestions of what i was going to type so when i press enter it does it for me.
    I haven't used Aptana, but I have used other PHP editors, such as Zend Studio and PhpED. Dreamweaver doesn't track the names of variables used in a page, so it can't make intellisense-type suggestions. It would certainly be a good addition to Dreamweaver, but it doesn't do it.
    What Dreamweaver does have is code hinting for approximately 2,600 PHP functions. Anywhere in a PHP block, just press Ctrl+Space, and the code hints appear. As you start typing, the code hints scroll, and you can press Enter as soon as you hit the function you're looking for. It then inserts the opening parenthesis and displays hints for the arguments.
    Dreamweaver also has a suite of PHP server behaviors that speed up development with a database connection. However, if you're already hand-coding, you might find them limiting. The server behaviors are a good start, but the code needs customizing if you want to go beyond basic functionality.

  • All new php code now sends the header already sent warning

    I have had none of these 'headers already sent....' problems
    creating php forms in the past with dreamweaver cs3 (on leopard).
    Now, every single php form generated using dreamweaver returns this
    warning - without fail. I copied the EXACT code from a working
    login form into a new page.....the new page, using the same include
    file is now returning the warning: I am pasting the code that
    works, and below that, the code that does not work. Even Developer
    Toolkit, on the rare occasion it doesn't cause DW to crash, seems
    to be inserting code that does not work properly - same goes for
    the insert > data objects.
    I've attached the code from both pages - page that works at
    the top, page that doesn't work at the bottom:

    debrankin55 wrote:
    > I have had none of these 'headers already sent....'
    problems creating php forms
    > in the past with dreamweaver cs3 (on leopard). Now,
    every single php form
    > generated using dreamweaver returns this warning -
    without fail.
    Select Modify > Page Properties, and check Title/Encoding.
    Make sure
    that Include Unicode Signature (BOM) is deselected.
    If that doesn't do the trick, select View > Code View
    Options > Hidden
    Characters. Make sure there aren't any rogue characters
    outside the PHP
    tags, both in the affected page and any include file.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Vision Assistant Code Generator to maintain Calibration File Reference

    In Vision Assistant 2014 SP1, the "Create LabVIEW VI" function does not create a calibration file path in the generated code, for the Image Calibration function.  Instead it reads in all of the calibration information and sets these to constants (or controls if selected it in the wizard) in the generated code.  It would be good if this maintained a reference to the template.

    There is no reference to the calibration file and we calibrate "on the fly", when the calibration method is "Point Distance Calibration" (Simple Calibration), because there is no learning associated with this method and the time it takes to calibrate the image with this method is instantaneous.
    If you choose any of the other methods, the code generated will point to the calibration file saved, and the code generated will apply the calibration from the template file to the current image, without relearning it, for optimization purposes.
    This was a design decision, and unfortunately, there is no workaround at this time for the simple calibration case.

  • Warning codes generated in UCCHECK   - Technical Upgrade - 4.0b to ECC 6.0

    Hi SDN'ers ,
    I am currently working on Technical Upgrade project from 4.0 b system to ECC 6.0 system . I am facing a
    problem relating to the analysis of the warnings displayed whehn we run the UCCHECK for the client inventory by
    checking the "Display lines that cannot be analyzed statically" option under the Selection-screen block
    "Statements that cannot be analyzed statically" .Based on the warning codes generated during UCCHECK, they can
    be classified into 12 different categories given below in the list ( Viz. ABB,MESSAGEG!C,MESSAGEG!D......MESSAGEG!P).The same are given below in the end
    I want to know
    - Which are the warning codes which need resolution so that the program does not encounter any runtime
    errors or during Integration testing ?
    - Do all the offset related errors (For example ;variable A = B+offset(length)
    or  variable A+offset(length) = B ) need resolution so that the program gives no runtime error.
    - Also, do all statements where length is calculated using STRLEN also need changes ? I have seen offset length related warnings come under MESSAGEG!M warning code.
    The objective of this is to make sure that the upgraded system ECC 6.0 in Australia ,when rolled out to
    non-English speaking geographies in APAc such as Malaysia,Japan or China would only need translations and no ABAP Coding effort even when using languages such as Japanese which have double byte characters.
    S.No.     Error Code     Message
    1     ABB     Syntax Check Aborted
         ABB Total     
    2     MESSAGEG!C      check at runtime. at runtime.
               statement because of untyped or generic operands. It can only carry out this
              The system could not perform a static convertibility check on the current
         MESSAGEG!C Total     
    3     MESSAGEG!D      out this check at runtime. It can only carry out this check at runtime.
               to a table line because of untyped or generic operands. It can only carry out
              The system could not perform a static check on convertibility from a work area
         MESSAGEG!D Total     
    4     MESSAGEG!E      check at runtime. at runtime.
               defined by a "DATA" statement. .
               statement because of untyped or generic operands. It can only carry out this
              Field "ELEMENTN" is unknown. It is neither in one of the specified tables nor
              The system could not perform a static comparability check on the current
         MESSAGEG!E Total     
    5     MESSAGEG!F      operand "<FELD1>" for the current statement. .
         MESSAGEG!F Total     
    6     MESSAGEG!G      current statement on incompletely typed operand "<DATA>". .
         MESSAGEG!G Total     
    7     MESSAGEG!H      for the incompletely typed operand "<S>". . - - - - - - - - -
              The system cannot perform a static check on a character-type field data type
         MESSAGEG!H Total     
    8     MESSAGEG!I      incompletely-typed operand "<A>" in the current statement. .
              The system cannot perform a static check on a character-type data type for the
         MESSAGEG!I Total     
    9     MESSAGEG!J      "<%_1_SYSINI>" in the current statement to check whether the operand can be
              The system cannot perform a static check on incompletely-typed operand "VALUE"
         MESSAGEG!J Total     
    Early response wil be highly appreciated.

    Hi Karthik
    >
    > 1) SPDD adjustments are done in which phase? PREPARE or UPGRADE?
    >
    SPDD is done in Upgrade ->Phase ACT_700
    > 2) Are here special cases where the adjustments need to be done before running the UPGRADE phase?
    >
    At ACT_700 phase stop the upgrade and take a backup of the DB and the PUT<DIR> before starting the SPDD activity.
    Make sure there are no pending tp request.  Either release them or delete them.
    All phase need to be completed successfully in PREPARE, before starting UPGRADE
    Cheers
    Shaji
    Edited by: Shaji Jacob on May 5, 2008 9:23 PM

  • Warning codes generated in UCCHECK

    Hi SDN'ers ,
    I am currently working on Technical Upgrade project from 4.0 b system to ECC 6.0 system . I am facing a
    problem relating to the analysis of the warnings displayed whehn we run the UCCHECK for the client inventory by
    checking the "Display lines that cannot be analyzed statically" option under the Selection-screen block
    "Statements that cannot be analyzed statically" .Based on the warning codes generated during UCCHECK, they can
    be classified into 12 different categories given below in the list ( Viz. ABB,MESSAGEG!C,MESSAGEG!D......MESSAGEG!P).The same are given below in the end
    I want to know
    - Which are the warning codes which need resolution so that the program does not encounter any runtime
    errors or during Integration testing ?
    - Do all the offset related errors (For example ;variable A = B+offset(length)
    or  variable A+offset(length) = B ) need resolution so that the program gives no runtime error.
    - Also, do all statements where length is calculated using STRLEN also need changes ? I have seen offset length related warnings come under MESSAGEG!M warning code.
    The objective of this is to make sure that the upgraded system ECC 6.0 in Australia ,when rolled out to
    non-English speaking geographies in APAc such as Malaysia,Japan or China would only need translations and no ABAP Coding effort even when using languages such as Japanese which have double byte characters.
    S.No.     Error Code     Message
    1     ABB     Syntax Check Aborted
         ABB Total     
    2     MESSAGEG!C      check at runtime. at runtime.
               statement because of untyped or generic operands. It can only carry out this
              The system could not perform a static convertibility check on the current
         MESSAGEG!C Total     
    3     MESSAGEG!D      out this check at runtime. It can only carry out this check at runtime.
               to a table line because of untyped or generic operands. It can only carry out
              The system could not perform a static check on convertibility from a work area
         MESSAGEG!D Total     
    4     MESSAGEG!E      check at runtime. at runtime.
               defined by a "DATA" statement. .
               statement because of untyped or generic operands. It can only carry out this
              Field "ELEMENTN" is unknown. It is neither in one of the specified tables nor
              The system could not perform a static comparability check on the current
         MESSAGEG!E Total     
    5     MESSAGEG!F      operand "<FELD1>" for the current statement. .
         MESSAGEG!F Total     
    6     MESSAGEG!G      current statement on incompletely typed operand "<DATA>". .
         MESSAGEG!G Total     
    7     MESSAGEG!H      for the incompletely typed operand "<S>". . - - - - - - - - -
              The system cannot perform a static check on a character-type field data type
         MESSAGEG!H Total     
    8     MESSAGEG!I      incompletely-typed operand "<A>" in the current statement. .
              The system cannot perform a static check on a character-type data type for the
         MESSAGEG!I Total     
    9     MESSAGEG!J      "<%_1_SYSINI>" in the current statement to check whether the operand can be
              The system cannot perform a static check on incompletely-typed operand "VALUE"
         MESSAGEG!J Total     
    Early response wil be highly appreciated.
    10     MESSAGEG!K      "<F_YEAR>" in the current statement to check whether the operand can be
              The system cannot perform a static check for incompletely-typed operand "WINY2"
         MESSAGEG!K Total     
    11     MESSAGEG!M      .
               at runtime. .
               check will take place at runtime. .
               entries for operand "<F_SOURCE>(2)". This check will take place at runtime. .
               entries for operand "<F_SOURCE>+2(2)". This check will take place at runtime.
              The system cannot perform a static check on the validity of the offset/length
         MESSAGEG!M Total     
    12     MESSAGEG!P      out this check at runtime. at runtime.
               statement because of untyped or generic operands. The system can only carry
              The system could not perform a static compatibility check on the current
         MESSAGEG!P Total     
         Grand Total

    Hi Monica,
                 as bhaskar said no need to worry about warnings.
    warnings will not lead to dump. only runtime errors will lead to dump.
    if the system is unicode, remediate the objects without errors.
    we can observe mainly,
    open dataset, structure incompatibilty, offset, in byte or char mode etc
    thanks
    vinod

Maybe you are looking for

  • How to configure for servlets

    i m new to servlets. can any body plz tell me what and how to do configurations for servlets

  • What is the Select in Adobe PDF Convert do?

    In Internet Explorer browser, there is this Adobe PDF Convert plugin. I know about the Convert button but what about the "Select" button. What does this do?

  • How to use javascript in a calculated column field in SP2013

    Hi All,       I'm trying to use the code below in a calculated column but i can't get it to work. any time i add it in it strips out all the quotes etc..and it doesn't show the open dialog. Any ideas how i can use this in a calculated column field? T

  • Integration third-party SMS software ?

    Hello everyone,    We had an SMS software which can send short messages to our customer automatically . The SMS software was developed with ASP+Sql Server .    Is there possibility to integration the SMS software into Portal as part of Portal ?    Is

  • Error in credit note

    HI GURUS, I am facing one problem when creating credit note When I am creating credit note in VF01, billing type G2 with reference of credit request no (order type CR),it showing me one error (order type CR is not defined).its urgent.