Enter a date as a parameter tp a PreparedStatement

Hey everyone,
I'm trying to get some info form an access database on the basis of the value on a date field. I'm getting the following error: Data Type mismatch in criteria expression. Here's my code:
private static String STRING_SQL = "SELECT * FROM ATABLE WHERE DATE = ?";
Prepared Statement statement = connection.prepareStatement (STRING_SQL);
statement.setDate (1, new java.sql.Date(date.getTime().getTime()));
ResultSet results = statement.executeQuery();
Note that date is a calendar object.
Can anyone help?
Thanks

hi lydiar,
MS-Access isn't JDBC compliant, nor is it Ansi SQL compliant!
so your best is to specify your Date query parameter as a string:    java.sql.Date sqlDate = new java.sql.Date(date.getTime().getTime());
    SimpleDateFormat dateFormat = new SimpleDateFormat("MM d, yyyy h:mm:ss a");
    String dateString = dateFormat.format(sqlDate);
    statement.setString(1, dateString);
    ResultSet results = statement.executeQuery();cheers,
John

Similar Messages

  • BAPI_GOODSMVT_CREATE error: Enter the date of production.

    Hi,
    Referring to the subject, I am getting error when i try to use BAPI_GOODSMVT_CREATE to do "Goods Receipts for Prod Order".
    The error is asking me to "Enter the date of production".
    GM_CODE has been assigned to 02. Posting date and doc date are set to local date.
    As for the GOODSMVT_ITEM parameter, I am passing in plant, storage loc, quantity, movement type, batch no, delivery note, CO production order, movement indicator and propose quantities.
    Anyone encounter this error before? Please share your experience and perhaps the solution.
    Thanks.

    hi
    give production date which is in the line of item
    and if u dont want to do that and u have rights to change in spro then plz do folloing 
    go to OMJX there u will find field prod date just make it display
    reward if useful
    regards
    kunal

  • Want user to enter a date

    I am using Oracle 9i.
    I want the user to be able to enter a date and the report runs using values that are after this user inputted date, but am unsure how to do this. I have already created a user parameter that created a drop down list for the user to select something and then the report was run based on the selection. But I also want to run a report based on the date they enter.
    Sorry this is a bit rambling but is the best I can do! Any help on this would be great.
    Thanks

    Hi,
    Create a second user input date "p_user_input_date"
    make your drop down list optional .
    I mean add a NULL for the date parameter list.
    static list: blanc, dynamic list: append "union select '' from dual;" .
    then change the query where clause....
    with NVL(p_parameter_date, p_user_input_date);
    regards,
    CB

  • SAP CATM time transfers error message "please enter consecutive dates"

    we have just implememted CATM as part of our contractor time entry process. we are currently running the CATM job weekly, however we keep recieveing the following error message on various contractors time entry transfers
    "please enter consecutive dates 1 2 3 4&5&6&7&8"
    this appears to be due to the fact the contractors may not work consecutive days with the weekly parameter that the CATM job was ran for.
    ie the job is ran on the friday for the current week
    perhaps the employee didnt work on the wednesday and as such had 0hrs on that day.
    in order to process that CATM transfer we have to run it for the first 2 days of the week and then the last 2 days.
    is there a solution around this that i cant seem to find. it seems absurd that i need to run it mannually for every single day everytime that i run it.
    CATM should accept the date range and just process any time transfer within that range.
    has anyone else encountered this error and if so how did you process it?

    there is no message number, CATM is a horribly lacking transaction to use. i cant get any additional information from the F1 transaction. unfortunatly MM & HR are not my strong suits.

  • How to enter a data into the specified column and row in a created table

    Hi,
    I want to enter some data to specified column and row in a already created table. Please let me know how to do this.
    Regards
    Shivakumar Singh

    A table is just a 2D array of strings. Keep it in a shift register and use "replace array element" to modify the desired entry programmatically.
    If you want to modify it manually and directly from the front panel, make it into a control and type directly into the desired element. (In this case your program would need to write to it using a local variable).
    Atttached is a simple example in LabVIEW 7.0 that shows both possibilities.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ChangeTableEntries.vi ‏41 KB

  • How to enter a date value in a Temporary Table

    Hi!
    Could anyone explain to me how I can enter a date value (say 26 October 2011) in a Temporary Table?
    I tried the simple example below, but it gives the foll. error message:
    Conversion failed when converting date and/or time from character string
    CREATE TABLE Temp1
    Column_A date,
    Column_B varchar(max)
    Insert into Temp1
    values ('26.10.2011', 'bbb')
    Thanks
    Leon Lai

    Hi,
    Try This.....
    CREATE TABLE Temp1
    Column_A datetime,
    Column_B varchar(max)
    Insert into Temp1
    values ('10/26/2011', 'bbb')
    Thanks
    Shafi

  • How to enter a date stamp using formscentral?

    I've been trying to enter a date stamp using formscentral but have no such luck. Whenever I enter one in using acrobat pro I get the error that I don't have sufficent privleges due to adobe keeping the integrety of the form...Anybody have any ideas?

    See this FAQ which explain how to modify a FormsCentral PDF in Acrobat
    http://forums.adobe.com/docs/DOC-3661
    Gen

  • How can I enter the data from the recordset into your insert query

    Hi
    i would like to know how I can enter the data from the recordset into your insert query without using a  hidden field.
    thanks
    ------------------------------------------------------------------------------------Below is the code------------------------------------------------------------------------------------- -----
    <?php require_once('../../Connections/ezzyConn.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"] == "frmpostComment")) {
       $insertSQL = sprintf("INSERT INTO comments (com_topic, com_user, title,  com_content, com_date, online_id) VALUES (%s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['com_topic'], "int"),
                           GetSQLValueString($_POST['commentby'], "int"),
                           GetSQLValueString($_POST['title'], "text"),
                           GetSQLValueString($_POST['com_content'], "text"),
                           GetSQLValueString($_POST['com_date'], "text"),
                           GetSQLValueString($_POST['online_id'], "int"));
      mysql_select_db($database_ezzyConn, $ezzyConn);
      $Result1 = mysql_query($insertSQL, $ezzyConn) or die(mysql_error());
      $insertGoTo = "index.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    $colname_rsCommentby = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_rsCommentby = $_SESSION['MM_Username'];
    mysql_select_db($database_ezzyConn, $ezzyConn);
    $query_rsTopics = "SELECT topic_id, topic FROM topics ORDER BY topic_date DESC";
    $rsTopics = mysql_query($query_rsTopics, $ezzyConn) or die(mysql_error());
    $row_rsTopics = mysql_fetch_assoc($rsTopics);
    $totalRows_rsTopics = mysql_num_rows($rsTopics);
    mysql_select_db($database_ezzyConn, $ezzyConn);
    $query_rsOnline = "SELECT online_id, `online` FROM `online` ORDER BY online_id DESC";
    $rsOnline = mysql_query($query_rsOnline, $ezzyConn) or die(mysql_error());
    $row_rsOnline = mysql_fetch_assoc($rsOnline);
    $totalRows_rsOnline = mysql_num_rows($rsOnline);
    $colname_rsCommentby = "-1";
    if (isset($_SESSION['MM_Username'])) {
      $colname_rsCommentby = $_SESSION['MM_Username'];
    mysql_select_db($database_ezzyConn, $ezzyConn);
    $query_rsCommentby  = sprintf("SELECT user_id, username FROM users WHERE username = %s",  GetSQLValueString($colname_rsCommentby, "text"));
    $rsCommentby = mysql_query($query_rsCommentby, $ezzyConn) or die(mysql_error());
    $row_rsCommentby = mysql_fetch_assoc($rsCommentby);
    $totalRows_rsCommentby = mysql_num_rows($rsCommentby);
    ?>
    <?php include("../includes/access.php"); ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>ezzybay - easy click, ezzy shopping</title>
    <link href="../css/global.css" rel="stylesheet" type="text/css" />
    <link href="../css/navigation.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div id="wrapper">
      <?php include("../includes/top.php"); ?>
      <div id="content">
      <div id="pageTitle">
        <h2>CMS Section:</h2>
        <p>Comment Topics Page</p>
      </div>
      <?php include("../includes/leftnav.php"); ?>
        <div id="mainContent">
          <form action="<?php echo $editFormAction; ?>" method="post" name="frmpostComment" id="frmpostComment">
            <table align="center">
            <caption>Post Comment</caption>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Topic:</td>
                <td><select name="com_topic" class="listbox" id="com_topic">
                  <?php
    do { 
    ?>
                   <option value="<?php echo  $row_rsTopics['topic_id']?>"><?php echo  $row_rsTopics['topic']?></option>
                  <?php
    } while ($row_rsTopics = mysql_fetch_assoc($rsTopics));
      $rows = mysql_num_rows($rsTopics);
      if($rows > 0) {
          mysql_data_seek($rsTopics, 0);
          $row_rsTopics = mysql_fetch_assoc($rsTopics);
    ?>
                </select></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Title:</td>
                <td><input name="title" type="text" class="textfield" value="" size="32" /></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right" valign="top">Comment:</td>
                <td><textarea name="com_content" cols="50" rows="5" class="textarea"></textarea></td>
              </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right">Status:</td>
                <td><select name="online_id" class="smalllistbox">
                  <?php
    do { 
    ?>
                   <option value="<?php echo $row_rsOnline['online_id']?>"  <?php if (!(strcmp($row_rsOnline['online_id'], 2))) {echo  "SELECTED";} ?>><?php echo  $row_rsOnline['online']?></option>
                  <?php
    } while ($row_rsOnline = mysql_fetch_assoc($rsOnline));
    ?>
                </select></td>
              </tr>
              <tr> </tr>
              <tr valign="baseline">
                <td nowrap="nowrap" align="right"> </td>
                <td><input type="submit" class="button" value="Insert record" /></td>
              </tr>
            </table>
            <input name="commentby" type="hidden" id="commentby" value="<?php echo $row_rsCommentby['user_id']; ?>" />
            <input type="hidden" name="com_date" value="<?php echo date("d/m/y : H:i:s", time()) ?>" />
            <input type="hidden" name="MM_insert" value="frmpostComment" />
          </form>
        </div>
      </div>
    <?php include("../includes/footer.php"); ?>
    </div>
    </body>
    </html>
    <?php
    mysql_free_result($rsTopics);
    mysql_free_result($rsOnline);
    mysql_free_result($rsCommentby);
    ?>

    I'll keep it simple and only use the date as an example. Hopefully you get the concept from the example. Basically you create a recordset and insert the recordset value instead of the POST value into your insert query. In the example below I declared a variable for $the_date and entered the variable into the INSERT query instead of the hidden POST field.
    <?php require_once('../../Connections/ezzyConn.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;
    $the_date = date("d/m/y : H:i:s", time());
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "frmpostComment")) {
       $insertSQL = sprintf("INSERT INTO comments (com_topic, com_user, title,  com_content, com_date, online_id) VALUES (%s, %s, %s, %s, %s, %s)",
                           GetSQLValueString($_POST['com_topic'], "int"),
                           GetSQLValueString($_POST['commentby'], "int"),
                           GetSQLValueString($_POST['title'], "text"),
                           GetSQLValueString($_POST['com_content'], "text"),
                           GetSQLValueString($the_date, "text"),
                           GetSQLValueString($_POST['online_id'], "int"));
      mysql_select_db($database_ezzyConn, $ezzyConn);
      $Result1 = mysql_query($insertSQL, $ezzyConn) or die(mysql_error());
      $insertGoTo = "index.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
        $insertGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $insertGoTo));
    ?>

  • I don't want to allow a user to enter a date that is before January 2014

    I don't want to allow a user to enter a date that is before January 2014. I want to restrict users from entering a date that is or prior to December 31, 2013 in a date field. Is this possible?

    Seems like it is a little more complicated just to create a new Date() object in livecycle...
    the way I found to create a new Date() object is using the dateTimeEdit pattern to be 'date{EEEE, MMMM D, YYYY}'
    then u can create a new Date
    var date1 = new Date(DateTimeField1.editValue);
    date1.getTime();
    or
    you can also click the following link and download the pdf from the blog...
    Adobe LiveCycle Designer Cookbooks by BR001: Date handling in Livecycle Designer ES forms
    using XFADate object make it easy to manipulate dates with javascript
    The XFADate object created by BR001 is very good but to be able to see if a date is prior to another date you can just add this function in the object script..
    you can add that function at line 200...
    that.isPriorTo = function(date) {
         var toDate = newDate(date);
         if (isNaN(this) || isNaN(toDate)){
              return false;
         } else{
              var interval = this.getTime() - toDate.getTime();
              if (interval > 0){
                   return false;
              } else{
                   return true;
    To use that function above you can just use this code:
    if (XFADate.newDate(dateFrom).isPriorTo(DateTo)){
         //dateFrom is prior to dateTo
    hope this help

  • Report painter -output parameters,Data source,Extract parameter, report

    Hi expert,
    1)What report painter -output parameters,Data source,Extract parameter, report mean for and what are the difference?
    2)I have create new report painter and transport to  Test server using T-code:GCTR and I find that the T-code always point to old report. As I had check the SE93 the D_SREPOVARI-REPORT is point to report group.Why this happen?
    3) Does creation of new report or modification of the report always need to select the extraction option so that it will able to display the relected changes? Because, I have done modification on the report but it is not reflected the changes even i save until i have to create the extraction is able to display the report but every time i run the report need to select the extraction with option to choose new extract or old. Kindly advice how to save and create the report painter and save will display reflected result .
    Please help

    Hi BR Christian,
    Thank you for the prompt reply.
    I have few querys as below:
    1)Do we every time create new report by copying the existing report painter need to select output parameter, data source and extract parameter in order to be able to display the new report?
    2)when modify existing report painter and save it do we need to select output parameter, data source and extract parameter in order to be able to display the modify report correctly?
    3) What are the different between right click copy the report inreport painter compare with create report painter with copy GRR1?
    4) What are the T-code for modify the report group?
    5) When I create a new report with the right click copy in GRR1 and modify the report painter column only and everything remain the same just the report name different why when execute the report it always appear in the selection screen with report button which have option button to select the 2 version  of report which one is the destination report that I copy from and one is the new report? How to set the report when execute will only display the new report only without need to select the option with just new report only?
    6)For transferring reports you can use GR37 (export) and GR38 (import) can be use to transport from one client to another client? What is difference between GR37 compare with  GCTR?
    7) If I use GR37 and GR38 it is mean no need to create the transport request which as usual we create transport se10?
    we can directly import to another client ussing GR38?
    8)When we create a new report with copy with the existing report with just modify the report colunm and the report name difference only what are the setting example: report,report group need to be selected to be include to export/transport to another client?
    9) What are the difference between library and report group?
    10) Can we set Se93 to execute only report not report group? How?
    11) when using GR37 to transport it is also include the report group,library and the particular report?
    12) Can I include the variable in the column header to display fiscal year which I have selected from the selection screen?
    How and which variable should i use?
    please help.
    many thanks
    Edited by: KH on Jun 18, 2011 6:52 AM
    Edited by: KH on Jun 18, 2011 6:55 AM
    Edited by: KH on Jun 18, 2011 7:06 AM

  • Update age group picklist based on value entered in date of birth

    Hi Gurus,
    Have a requirement where in user would enter the date of birth on a contact record and would like to populate another custom field called age group at the time of creating a new record.
    The condition is some what like
    Age
    1 – 20 Teens
    21-40 Young Adults
    41-60 Adults
    60 – 100 Seniors
    I have tried using the age field but problem is that age is populated only when the record is saved.
    Update the age group via workflow works fine but the saved record has to be modified before triggering the workflow. we would like to avoid the additional step of modifying the record
    Is there any option to calculate age based on the value entered for date of birth - something like DOB Year - current year before saving a record or via post default without using workflows.
    Thanks in advance,
    Arun

    Hi
    The answer is yes, using the post default functionlaity.
    take a look in the folowign example:
    IIf(ToChar(Timestamp(),'DD/MM/YYYY')- [<DateofBirth>] < 20,'20','30')
    You will need to make something like that, but replace the '30' with another IIf expression, and so on for the next interval.
    note that date of birth should be between suqare brackets [  ] (it is shown here with underline for some reason...)
    Good luck
    Guy
    Edited by: Shinshan on 08:45 30/12/2009
    Edited by: Shinshan on 08:46 30/12/2009
    Edited by: Shinshan on 08:47 30/12/2009
    Edited by: Shinshan on 08:47 30/12/2009

  • How to change the value of data supplier host parameter in PI7.1

    Hi Frnds,
    I want to change the data supplier host parameter to Hostname,when i checked in SLD Administration its pointing to local host,so i wnat to change it.
    What is the procedure to change the value to host?? i am working on PI7.1 EHP1.
    THANKS,
    Raj

    thanks

  • Exit button not working when entering wrong date

    how do I get the message not to appear by day Invalid (Frm-50004) in forms

    dear Shrikant,
    i have one item start_date whose data type is Date and format mask is DD/MM/RRRR ,
    when i m entering worng date it is showing below message which i kept on ON-ERROR trigger of start_date item with an error code 50004 ;
    "FRM-50004: Day must be between 1 and last of month."
    as i m entering wrong date i want to exit my form but my exit button is not working properly.
    The message appears several times, about 3 or 4 times, because the focus is on the text item to the date, and is firing the trigger ON-ERROR, debugging the code, you notice that after the message back running the line "IF", because the error frm-50004 can not be erased, is giving this error all the time because the focus is on her text item!
    i have kept my push buttons mouse and keyboard navigation property to "NO".
    then also it is not working tell me if any solution is there.

  • Hi  urgent pls suggest when i press enter the data disappears...

    hi
    i have develop,ed a module pool for table maintianece
    in which  there are theree fields
    customer number name  email id
    now when i dont press enter at first field ie customer number after entering all data
    and save the data is saved properly for all three fields
    but if after e ntering the customer number i press enter and then enter name and email id
    and save the data for email is not saved and also if i just press enter again the data in email id column which i entered disappears
    can anyone suggest reason and solution for it
    regards
    Arora

    hi
    here is my code
    PROCESS BEFORE OUTPUT.
      LOOP   WITH CONTROL TABLE_ZCUST_EM_CREATE."AT T_ZCUST_EM_CREATE
        MODULE STATUS_0200.
      ENDLOOP.
    *Process after input
    PROCESS AFTER INPUT.
      MODULE CANCEL_200 AT EXIT-COMMAND.
      LOOP WITH CONTROL TABLE_ZCUST_EM_CREATE ."AT T_zcust_em_CREATE ." .".
       MODULE USER_COMMAND_0200.
        CHAIN.
          FIELD t_ZCUST_EM_create-ship_to .
         MODULE set_field_validation ON CHAIN-REQUEST.
        ENDCHAIN.
        MODULE USER_COMMAND_0200.
      ENDLOOP.
    here ship_to is customer number
    ship_to_name is name
    and email id is email id field
    pls suggest on this code also if u want i can give code for the module validation and user commarnd 2000
    as below
    MODULE STATUS_0200 OUTPUT.
      w_lines_200 = sy-loopc.
    *Reading table t_zcust_em_create for screen 200.
      read table t_zcust_em_create
        index table_zcust_em_create-current_line.
    *Refreshing The Internal table 't_zcust_em_temp'
      refresh:t_zcust_em_temp.
    ENDMODULE. 
    MODULE set_field_validation INPUT.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
                EXPORTING
                   INPUT         = t_zcust_em_create-ship_to
                IMPORTING
                    OUTPUT       = t_zcust_em_create-ship_to.
      select single kunnr from kna1 into v_kunnr
              where kunnr = t_zcust_em_create-ship_to.
          if sy-subrc = 0.
           select single name1 from kna1 into t_zcust_em_create-ship_to_name
           where kunnr = t_zcust_em_create-ship_to.
          else.
          t_gui1-fcode = 'BACK'.
          append t_gui1.
          t_gui1-fcode = 'EXIT'.
          append t_gui1.
          t_gui1-fcode = 'SAVE'.
          append t_gui1.
          SET PF-STATUS 'AIMS_200' excluding t_gui1.
          message E002 with t_zcust_em_create-ship_to.
             endif. "kna1
    ENDMODULE.                 " set_field_validation  INPUT
    MODULE USER_COMMAND_0200 INPUT.
    *Setting it for select/deselect entries
      move:t_zcust_em_create to t_zcust_em_create_sel.
      append t_zcust_em_create_sel.
      clear:t_zcust_em_create_sel.
    *Getting internal table t_zcust_em_create with control
      read table t_zcust_em_create
             with key ship_to = t_zcust_em_create-ship_to.
    *Getting internal table for create entries: screen-200
      if sy-subrc ne 0 and t_zcust_em_create-ship_to ne space .
        append  t_zcust_em_create     .
        move:t_zcust_em_create to t_zcust_em_create_tmp.
        append t_zcust_em_create_tmp .
        clear:t_zcust_em_create_tmp  ,
              t_zcust_em_create      .
      endif.
      clear:t_cols.
    *Getting the value of  w_fill_200.
      describe table t_zcust_em_create lines w_fill_200.
    ENDMODULE.                 " USER_COMMAND_0200  INPUT
    PLEASE SUGGEST
    REGARDS
    ARORA
      module read_table_value_0200.

  • Newly Entered Posting Date - System Message in 2007

    Hi,
    I also have the same questions as I found in the below thread
    What G/L Accounts are Updated Accordingly when the Posting Date is Changed?
    What are the G/L accounts updated when you say u2018yesu2019? Is this update is for the new fiscal year G/L accounts?
    My Client recently upgraded from 2005A to 2007A and the new posting period starts from 01/08/09 to 31/0710
    When the posting date is changed to July 09 (Which is the previous posting period) in A/P or A/R Invoices, the following message appears
    Newly Entered Posting Date Relates to Another Posting Period. Do you want to update G/L accounts accordingly? Yes No
    Also the message keeps coming every time when posting for previous posting period. How to stop this system message?
    Thanks in advance
    Mohan

    Dear Mohan,
    The system message 'Newly entered posting date relates to another
    posting period, do you want to update G/L accounts accordingly' does not
    prevent the document from being added, it is just an alert message.
    The business background of this alert is that it may be possible that
    user has the changes done already to the G/L Account Determination in a
    new year. Therefore an alert is initiated to avoid any wrong postings to
    another period. I.e. this does not mean the system will somehow alter
    the G/L accounts after the alert was displayed and the message is for
    user information only.
    We had investigated the issue and found the following observations
    -Posting period for 01/08/2008 created
    -Create any transaction in previous posting period. (31/07/2008)
    -The system gives this message
    -If there is no posting period created for 2008, there will not be any
    message
    So whenever you enter any transaction in previous posting period other
    than the latest the system gives this message.Because system will update
    the accounts for that period.
    From the functional perspective, this transation can be added, and once
    it has been added to the previous fiscal year you need to perform the
    year-end closing again. It is a standard system behaviour.
    If you press yes the system will update the accounts involved for that
    period and the new account balance will be update accordingly.
    You can test it in a test environment.
    Please refer to note 800291 for more information.
    Kind regards,
    Apple

Maybe you are looking for

  • Why can't I get Itunes to download books onto my ipod?

    I have tried 2 times to download book on to my ipod 5th generation with not success. The frist time was with a gift card which had been acceced but not books on the ipod. I went back into the store and reordered but  was informed that the card had be

  • BUFFER OVER RUN

    WONDERING IF ANYBODY OUT THERE HAS RESOLVED THE BUFFER OVER RUN PROBLEM WITH QUICKTIME ON VISTA SYSTEMS. SOMEBODY HELP. CAN'T PLAY MY DIGITAL VIDEOS.

  • Family Sharing Payments problem

    It appears that Family Sharing will ONLY accept a credit card as payment method. I live in one country and have my bank and CC in another. This won't work in iTunes. In my country of residence I make use of an Apple approved third party payment provi

  • HT1491 why do we have to have a valid credit or debit card to use apps?

    why do we have to have a valid credit or debit card to use apps?

  • Flash Components market

    Hi! Can Adobe comment current situation and plans about supporting of Flash Components? Will Adobe software support Flash Components in feature or will move to Flex components? Is Flash Components deprecated?