Displaying a date field as DD/MM/YY

Hi,
I have some reports that I want to display the date in the form of dd/mm/yy, currently it is appearing as dd/mm/yyyy
I currently ahve this in the column heading
cast(cast("- Account Custom Attributes".DATE_12 as char) as Date)
How can I get it to display as dd/mm/yy?
Thank you

Open the Column Properties window for the column and go to the Data Format tab.
Choose to overwrite the default format and select Custom.
In the custom format field enter dd/MM/yy
You must use upper case M and lower d and y (lower case m is for the minutes portion of a timestamp)
Mike L.

Similar Messages

  • To Display a date field in TSTCT table

    Dear Experts,
    Recently we got a request to have a date field in TSTCT table. So, that when ever the new transaction is created the date will automatically display  in TSTCT table. Now there is only three fields in the table. There is no further settings to regarding the display of date field. Is there any possible cases/BADI's which helps to display the Date field in TSTCT Table. Please help me with possible solutions.
    Thanks in advance, Regards,
    Harsha.

    Dear Eswara,
    It is not possible adding field through BADI or exit. But you go into /nSE11 for this table and go to Technical Settings, if the check box 'Log Data Changes' is set then you may be able to display a log of changes made to entries in this table using /nSCU3.
    Regards,
    Abbas.

  • Business Partner Creation/Display - General Data fields are missing

    Hi,
    We have an issue in our ECC6.0 system. In FPP1/FPP2/FPP3 transactions General data fields such as Driver's license, SSN, Employee class are missing under Identification tab. But the same are displayed in BP transaction code. What configuration would causing this issue.

    I found a SAP Note 844949 which is talking about the same kind of issue. As per the note I regenerated subscreen containers for application object BUPA.
    Call transaction BUSP and generate the subscreen containers for the application objects BUPA, FICA and BUPR. To do this, set the "All screens" indicator under "Generate All Screens or Just Selected Screens".
    If this does not correct the incorrect display, use transaction BUPT for the business partner or transaction CAWM for the contract account to make sure that the fields are not missing due to the field modifications. (If you cannot call these transactions, exit the SAP Easy Access menu by using /n and then call BUPT or CAWM.

  • Displaying Customer Date-Fields in SRM 4.0

    Hallo,
    I want to display a customer date-field (data type DATS) in the basic data of a SC. The Problem is that the field is only displayed, but you can't enter any data. When i change the data type to CHAR you can enter Data in the field.
    Can anyone help me, please?
    Best regards

    Hi,
    please try to add the authorization object S_DEVELOP (Role: SAP_EC_BBP_ADMINISTRATOR) to the user, and test again.
    Regards
    Laszlo

  • Displaying CLOB data field

    Hello,
    i have a requirement to display a CLOB data field of text more than 5000 char from a Oracle BI Publisher 10.1.3.4.0 version.
    I can only display that field upto 4000 char using dbms_lob.substr(text_field, 4000, 1) but not able to display the entire CLOB field in my SQL query data template.
    I'm getting the following error:
    XML Parsing Error: not well-formed
    Location: https://abc555.server.com/xmlpserver/servlet/xdo
    Line Number 7, Column 1094:
    Please guide how i can display CLOB fileds(text) in my report.
    Thanks.

    Can any one please let me know if BI Publisher 10.1.3.4.0 can handle CLOB data(text) onto my new report.
    I can only display upto 4000 char using dbms_lob.substr(clob_field, 4000,1).
    Please help.

  • Display a date field as a range

    Hello experts,
    I added a zfield in the standard structure CRMST_QUERY_BTIL for activity search. This is to make it displayed on the standard search of activity. But, when I go to Web IC, it is displayed as a single field and the value of OPTION is EQ. What I want is to make it displayed like a RANGE : OPTION = BT.
    I saw that configuration for the standard field START_DATE_RANGE.
    The type of the field are both DATS. But, how to make the new field displayed like a range?
    thanks.

    Re: select option in web ui

  • How to display date field in ALV in format 'YYYY-MM-DD'?

    Hi experts,
    I am not getting displayed the date field in ALV in the format 'YYYY-MM-DD' if it is different than my user setting's format (DD.MM.YYYY).
    Tried with the edit mask
    LVC_S_FCAT-EDIT_MASK = '____-__-__'  but it does not work.
    I could not find the conversion routine for this. Is it possible to write customer conversion routine?
    I have to use DATE field, otherwise if I display this format in CHAR10 field , sorting in ALV does not work for this field.
    PLEASE ANY HELP!
    Kind regards,
    Danijela

    Hi,
    Use FM FORMAT_DATE_4_OUTPUT.
    TYPE-POOLS : slis, KKBLO.
    TYPES: BEGIN OF t_data,
           sel     TYPE char1,
           matnr   TYPE matnr,
           bldat   type char10,
           END OF t_data.
    DATA: it_tab TYPE STANDARD TABLE OF t_data,
          it_fcat TYPE slis_t_fieldcat_alv.
    DATA: wa_tab TYPE t_data,
          wa_fcat TYPE slis_fieldcat_alv,
          wa_layout type SLIS_LAYOUT_ALV.
    data: lv_repid    TYPE syrepid.
    data : lv_date    type NLEI-IBGDT,
           lv_outdate type RN1DATUM-DATEX,
           lv_format  type RN1DATUM-FORMAT value 'YYYY-MM-DD'.
    lv_repid = sy-repid.
    lv_date = sy-datum.
    CALL FUNCTION 'FORMAT_DATE_4_OUTPUT'
      EXPORTING
        datin         = lv_date
        format        =  lv_format
    IMPORTING
       DATEX         = lv_outdate.
       move lv_outdate to wa_tab-bldat.
    wa_tab-matnr = '0000001'.
    APPEND wa_tab TO it_tab.
    lv_date = sy-datum + 1.
    CALL FUNCTION 'FORMAT_DATE_4_OUTPUT'
      EXPORTING
        datin         = lv_date
        format        =  lv_format
    IMPORTING
       DATEX         = lv_outdate.
       move lv_outdate to wa_tab-bldat.
    wa_tab-matnr = '0000002'.
    APPEND wa_tab TO it_tab.
    lv_date = sy-datum + 2.
    CALL FUNCTION 'FORMAT_DATE_4_OUTPUT'
      EXPORTING
        datin         = lv_date
        format        =  lv_format
    IMPORTING
       DATEX         = lv_outdate.
       move lv_outdate to wa_tab-bldat.
    wa_tab-matnr = '0000003'.
    APPEND wa_tab TO it_tab.
    wa_fcat-fieldname = 'SEL'.
    wa_fcat-ref_fieldname = 'XCHPF'.
    wa_fcat-ref_tabname = 'MARA'.
    wa_fcat-edit = 'X'.
    wa_fcat-checkbox = 'X'.
    APPEND  wa_fcat TO  it_fcat.
    CLEAR :  wa_fcat.
    wa_fcat-fieldname = 'MATNR'.
    wa_fcat-ref_fieldname = 'MATNR'.
    wa_fcat-ref_tabname = 'MARA'.
    APPEND  wa_fcat TO  it_fcat.
    CLEAR :  wa_fcat.
    wa_fcat-fieldname = 'BLDAT'.
    wa_fcat-ref_fieldname = 'BLDAT'.
    wa_fcat-ref_tabname = 'BKPF'.
    APPEND  wa_fcat TO  it_fcat.
    call 'REUSE_ALV_GRID_DISPLAY'' after this
    Edited by: Ankur Parab on Oct 1, 2009 2:50 PM
    Edited by: Ankur Parab on Oct 1, 2009 2:51 PM

  • Displaying date field in menu using HTML DB

    How do I display a date field in HTML DB as drop down. I have the below HTML code which needs to be represented in HTML DB.
    The display on the page should be like
    Enter Start Date : "Month" "Day of the Month" "Year".
    The above values in quotes should be displayed as enterable fields with LOVs.
    Any help would be greately appreciated.
    <td colspan="3">Select a Date Range for the Report</td>
    </tr>
    <tr>
    <td nowrap="nowrap">
    <label>
    <input type="radio" name="selectDateType" value="mdy">
    (Month Day, Year)</label></td>
    <td nowrap="nowrap"><label for="startDateStringMonth">Start date:</label></td>
    <td nowrap="nowrap" width="100%">
    <select name="startDateStringMonth" id="startDateStringMonth" tabindex="3" >
         <option value="">Month</option>
         <option value="0">January</option>
         <option value="1">February</option>
         <option value="2">March</option>
         <option value="3">April</option>
         <option value="4">May</option>
         <option value="5">June</option>
         <option value="6">July</option>
         <option value="7">August</option>
         <option value="8">September</option>
         <option value="9">October</option>
         <option value="10">November</option>
         <option value="11">December</option>
         </select>
    <select name="startDateStringDay" id="startDateStringDay" tabindex="4">
    <option value="">Day</option>
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    <option value="5">5</option>
    <option value="6">6</option>
    <option value="7">7</option>
    <option value="8">8</option>
    <option value="9">9</option>
    <option value="10">10</option>
    <option value="11">11</option>
    <option value="12">12</option>
    <option value="13">13</option>
    <option value="14">14</option>
    <option value="15">15</option>
    <option value="16">16</option>
    <option value="17">17</option>
    <option value="18">18</option>
    <option value="19">19</option>
    <option value="20">20</option>
    <option value="21">21</option>
    <option value="22">22</option>
    <option value="23">23</option>
    <option value="24">24</option>
    <option value="25">25</option>
    <option value="26">26</option>
    <option value="27">27</option>
    <option value="28">28</option>
    <option value="29">29</option>
    <option value="30">30</option>
    <option value="31">31</option>
    </select>
    <select name="startDateStringYear" id="startDateStringYear" tabindex="5">
    <option value="2000">2000</option>
    <option value="2001">2001</option>
    <option value="2002">2002</option>
    <option value="2003">2003</option>
    <option value="2004">2004</option>
    <option selected="true" value="2005">2005</option>
    <option value="2006">2006</option>
    <option value="2007">2007</option>
    <option value="2008">2008</option>
    <option value="2009">2009</option>
    <option value="2010">2010</option>
    </select> </td>
    </tr>
    <tr>
    <td nowrap="nowrap"> </td>
    <td nowrap="nowrap"><label for="endDateStringMonth">End date:</label></td>
    <td nowrap="nowrap">
    <select name="endDateStringMonth" id="endDateStringMonth" tabindex="6">
         <option value="">Month</option>
         <option value="0">January</option>
         <option value="1">February</option>
         <option value="2">March</option>
         <option value="3">April</option>
         <option value="4">May</option>
         <option value="5">June</option>
         <option value="6">July</option>
         <option value="7">August</option>
         <option value="8">September</option>
         <option value="9">October</option>
         <option value="10">November</option>
         <option value="11">December</option>
         </select>

    I'm not sure why you would do it the way you have it implemented in 3 select lists.
    Why not use a Item Type of Date Picker, and let the user use the pop-up Date Picker to select the date.
    You code has some fatal flaws:
    1) You can't see any data before 2000
    2) You can't see any data past 2010 (probably not an issue now)
    3) It's possible to specify February 31 as a date
    Using the built-in Date Item type will eliminate these issues and at the same time, make your UI more streamlined.
    Thanks,
    - Scott -

  • Javascript for multiple date fields

    Hi all-
    I have to write javascript for 15 different date fields in a form.
    The requirement here is that we convert all date fields on Page 100 from date pickers (editable date fields) to display-only date fields with two controls for the users to set the date.
    If the field is empty (no date registered yet), there will be a green checkmark(X). When the user clicks this checkmark, the current date is entered into the field.
    If the field is not empty (there is a date already in the system), there will be a red X. When the user click this red X, the date from the date field is removed.
    The javascript I am using here is
    </script>
    <script type="text/javascript">
         function init(){
              var datePickerVal = $v2('P100_TODAYS_DATE');
              if(datePickerVal){
                   $x_Show('ToggleDateR');
                   $x_Hide('ToggleDateG');
              }else{
                   $x_Hide('ToggleDateR');
                   $x_Show('ToggleDateG');
         function toggleDateFunc(pValue){
              var sysDate = $v2('P100_DATE');
              if(pValue == 'R'){
                   $x_Hide('ToggleDateR');
                   $x_Show('ToggleDateG');
                   $x_Value('P100_TODAYS_DATE','');
              }else if(pValue == 'G'){
                   $x_Show('ToggleDateR');
                   $x_Hide('ToggleDateG');
                   $x_Value('P100_TODAYS_DATE',sysDate);
         window.onload = init;
    </script>
    This javascript is working for one date field( 'P100_TODAYS_DATE') but i have 15 different date fields in this page(100) all should have same funtionality. Please help me out how to write a logic to use this function for all the date fields.
    Thanks,(apex 3.2)
    Greenhorn
    Edited by: Greenhorn on Jul 19, 2011 12:30 PM

    Hi,
    You can do the needful by re-using the code if you can give the item names as P8_DATE1, P8_DATE_hh1, P8_DATE2, P8_DATEhh2 etc..So your item name just differs by a sequence.
    Now you write function which will return desired date value taking above items as input. Pass item names to this function, get session state using APEX_UTIL.GET_SESSION_STATE('item_name') API.
    Now modify you code as
    FOR i IN 1..30
    LOOP
    v_date_array[i] = f_get_date('P8_DATE'||i, 'P8_DATEhh'||i);
    END LOOP;
    ....Now you have all date valus in array. Just write one update as follows
    UPDATE  TABLE1
    SET date1 = my_date_array[1], date2 = my_date_array[2]..
    WHERE ....Hope it helps :)
    Cheers,
    Hari

  • Date field in Reporting

    Hello all ,
    We need to display the Start date and the End date along with the time taken to complete the project in a report. I have created a measure called date and the type is a text field. I was able to load data into the date field. But , I am unable to bring the date field into the report. There is a error which is coming. Is it possible to display the date field in the report / KPI ?
    Thanks
    Vijay

    Hi Ricardo ,
    I am trying out both the methods. My client is a infrastructure company. It has a number of projects . The client wants to monitor the performance of each of his projects and the overall Delay.  My requirement is to display a report which has the actual start date , planned start date , actual end date , planned end date , actual , budget and delay.
    I tried to load the date fields into the PAS as a text field. The data load was successful. But when designing the report , I am getting an error. Is it a problem related to text variables ? Is it possible to bring the text variables onto the UI ?
    Is there a way to build a report on the data from initiatives in SSM ? Do we need another reporting toll to achieve the same ?
    Thanks
    Vijay

  • Reg:how disaplay selection range for date field

    hi all
    can you please  let me know how to write  the code in wdabap  to display a date field with range option.i mean in abap we use at selection screen  ,but coming to wdabap can you  help how to write the code in wdabap.
    Thanks in advance
    Deepika

    To simplify the requirement, let me consider the followign understanding:
    1. You need few fields in the selection screen. They need to be select options and some parameter fields.
    2. The user clicks the button. You need to read teh user entered data.
    Once, you have teh data in your code, assign it to the context node - attributes. later, you need to decide what you shoudl do with that data.
    Sol: 1. To obtain fields into selection screen, use the component "wdr_select_options" and *** the interface view into your window. Make the view as default.
    Now,  you need to build the select options. Firstly create a method or insert the code in init().
    DATA: lr_componentcontroller TYPE REF TO ig_componentcontroller,
            l_ref_cmp_usage TYPE REF TO if_wd_component_usage.
    create the used component
      l_ref_cmp_usage = wd_this->wd_cpuse_select_options( ).
      IF l_ref_cmp_usage->has_active_component( ) IS INITIAL.
        l_ref_cmp_usage->create_component( ).
      ENDIF.
      wd_this->m_wd_select_options = wd_this->wd_cpifc_select_options( ).
    init the select screen
      wd_this->m_handler = wd_this->m_wd_select_options->init_selection_screen( ).
      wd_this->m_handler->set_global_options(
                                  i_display_btn_cancel  = abap_false
                                  i_display_btn_check   = abap_false
                                  i_display_btn_reset   = abap_true
                                  i_display_btn_execute = abap_false ).
    Adding a block (type Tray) to the select-options
      wd_this->m_handler->add_block(
        i_id         = `BSC01`
        i_block_type = if_wd_select_options=>mc_block_type_tray
        i_title      = `Selection Screen` ).
    Adding a parameter field to the created block
    Create a reference to the type of customer number KUNNR
      CREATE DATA lr_field TYPE kunnr.
    Sets the airline code initial value
      ASSIGN lr_field->* TO <fs_field>.
    Add the parameter to the group
      wd_this->m_handler->add_parameter_field(
        i_id           = `KUNNR`
        i_within_block = `BSC01`
        i_obligatory   = abap_true
        i_value        = lr_field ).
    FREE lr_field.
    Adding a select-options field to the created block
    Create a reference to the material number range table
      lr_field = wd_this->m_handler->create_range_table( `MATNR` ).
    Add the select-option to the group
      wd_this->m_handler->add_selection_field(
        i_id           = `MATNR`
        i_within_block = `BSC01`
        it_result      = lr_field ).
      FREE lr_field.
    The code with method "set_global_options" is used to make the buttons visible or disappear.
    Its convinient to create your own button with an action instead or subscribing to the action of exceute button.
    Sol. 2: Read the data.
      FIELD-SYMBOLS:
        <fs_sel_item> LIKE LINE OF lt_sel_item,
        <fs_kunnr>   TYPE kunnr,
        <fs_matnr>   TYPE ranges_matnr.
        wd_this->m_handler->get_value_of_parameter_field(
          EXPORTING i_id = 'KUNNR'
          RECEIVING r_value = p_kunnr ).
    Get the selection-screen items
          wd_this->m_handler->get_selection_fields(
            IMPORTING et_fields = lt_sel_item ).
    Retrieve the values from the select-options items
          LOOP AT lt_sel_item ASSIGNING <fs_sel_item>.
            CASE <fs_sel_item>-m_id.
              WHEN `MATNR`.
                ASSIGN <fs_sel_item>-mt_range_table->* TO <fs_matnr>.
             WHEN < Other sel-option'
           ENDCASE.
         ENDLOOP.
    Obtain a reference to your context node and assign the field symbols to the attributes.
    Finally, you would have the data in your nodes. Now, you need to handle the coe as per your req.
    Regards,
    Sharath
    Edited by: Sharath M G on Aug 27, 2010 9:45 AM

  • Want the data store values to be displayed in input field of form

    Hi,
    I wanted to know wether is there possibility of displaying the data in a input field instead of expression field.
    In our model i have used a form which has material type,plant and Vendor connected to data service1 in turn gives the out put in chart and i also have the second input form which has To(0CALMONTH) combo box which is connected to Data service2 and gives the data in table.
    But what i wanted is to i also want to use the input fields of first form to second Data service2 and get the data based on on inputs of form1 and form2i.e also To field.
    We can connect the port from form1 to DS2 but problem is we need to click the submit of form1 and form2 and it doesnt gives the output according the input of form1 and form2 as it gives the output of that form when we click that submit button.
    I have followed help.sap for data tore procdure.
    So i have used a datstore where i will store the values of form1 and call it in expression field which i will add and hide it in form2(hide because user should not see that input fields).
    Formula used in data store for expression field.
    IF(CONTAINS(STORE@matltype,@Material_Type),STORE@matltype,STORE@matltype &(IF(LEN(STORE@matltype)>0,'; ',''))&@Material_Type)
    But whats happening is the value is getting concatenated when i goon change the values in input field, so i wanted to get the values to be replaced as soon as i change input field of form1(if  use replace function its not working) and also it would be more preferrable if we use input field instead of expression field.
    I would also like to know is there any alternate solution for the above requirement instead of datastore.
    Thank You
    K.Srinivas

    Hi,
          I have Form1 connected to Data service1 displays the data in a Chart and i have another Form2 connected to Dataservice2 displays the data in table.
    In form1 there are Material Type,plant, and Vendor and form2 i have To (0CALMONTH)SO now i want also Form1 inputs for Table which gets teh data from Dataservice2.
    What i have said earlier is connecting Form1 to Dataservice doesnt fetch the data correectly,its because if i click submit in form1 i get the data of those 3 inputs and i need to click the submit button in form2 after giving input which shows the data accordingly where it doesnt fulfill the requirement.
    So i wanted some solution for that.For that reason i have used the data store and the procedure i have followed the help.sap as i said in my above mesage.
    If Data store is also suggestable than i want to display the data in Text input Field  instead of Expression field which should replace the previous values as soon as values change in data store.
    Hope i have tried to be clear if still it is not i am ready to explain again.
    Thank You
    K.Srinivas

  • CRVS2010 beta - Date field from database does not display in report

    Hi there - can someone please help?!
    I am getting a problem where a date field from the database does not display in the report viewer (It displays on my dev machine, but not on the client machines...details given below)
    I upgraded to VS 2010
    I am using the CRVS2010 Beta
    My development machine is Windows 7 - and so is my fellow developer's
    We are using Microsoft SQL Server 2000
    We run the queries within VS and then we send the data table to VS using .SetDataSource
    We have a few reports which display the date on our dev machines (whether we run the EXE or from within Visual Studio)
    When we roll out to the client machines (running Windows XP SP3) then everything works, except that the date does not display (on quite a few reports)
    This is the only real issue I have had - a show stopper for me
    The rest works well - any input will be greatly appreciated
    Regards,
    Ridwan

    Hi Ridwan,
    After much testing I have it all working now using CRDB_adoplus.dll as a data source ( XML )
    Alter your Config file to look like this:
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0"/>
    </startup>
    Then using the code below, and CR requires the Schema to be able to read the date format.
    private void SetToXML_Click(object sender, EventArgs e)
    CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    ISCDReportClientDocument rcd;
    rcd = rptClientDoc;
    string connString = "Provider=SQLOLEDB;Data Source=dwcb12003;Database=xtreme;User ID=sb;Password=password";
    string sqlString = "Select * From Orders";
    OleDbConnection oleConn = new OleDbConnection(connString);
    OleDbDataAdapter oleAdapter = new OleDbDataAdapter(sqlString, oleConn);
    //OleDbDataAdapter oleAdapter2 = new OleDbDataAdapter(sqlString2, oleConn);
    DataTable dt1 = new DataTable("Orders");
    oleAdapter.Fill(dt1);
    System.Data.DataSet ds = new System.Data.DataSet();
    // We need the schema to get the data formats
    ds.WriteXml("c:
    sc.xml", XmlWriteMode.WriteSchema);
    //Create a new Database Table to replace the reports current table.
    CrystalDecisions.ReportAppServer.DataDefModel.Table boTable = new CrystalDecisions.ReportAppServer.DataDefModel.Table();
    //boMainPropertyBag: These hold the attributes of the tables ConnectionInfo object
    PropertyBag boMainPropertyBag = new PropertyBag();
    //boInnerPropertyBag: These hold the attributes for the QE_LogonProperties
    //In the main property bag (boMainPropertyBag)
    PropertyBag boInnerPropertyBag = new PropertyBag();
    //Set the attributes for the boInnerPropertyBag
    boInnerPropertyBag.Add("File Path ", @"C:\sc.xml");
    boInnerPropertyBag.Add("Internal Connection ID", "{680eee31-a16e-4f48-8efa-8765193dccdd}");
    //Set the attributes for the boMainPropertyBag
    boMainPropertyBag.Add("Database DLL", "crdb_adoplus.dll");
    boMainPropertyBag.Add("QE_DatabaseName", "");
    boMainPropertyBag.Add("QE_DatabaseType", "");
    //Add the QE_LogonProperties we set in the boInnerPropertyBag Object
    boMainPropertyBag.Add("QE_LogonProperties", boInnerPropertyBag);
    boMainPropertyBag.Add("QE_ServerDescription", "NewDataSet");
    boMainPropertyBag.Add("QE_SQLDB", "False");
    boMainPropertyBag.Add("SSO Enabled", "False");
    //Create a new ConnectionInfo object
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo boConnectionInfo =
    new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
    //Pass the database properties to a connection info object
    boConnectionInfo.Attributes = boMainPropertyBag;
    //Set the connection kind
    boConnectionInfo.Kind = CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    //*EDIT* Set the User Name and Password if required.
    boConnectionInfo.UserName = "";
    boConnectionInfo.Password = "";
    //Pass the connection information to the table
    boTable.ConnectionInfo = boConnectionInfo;
    //Get the Database Tables Collection for your report
    CrystalDecisions.ReportAppServer.DataDefModel.Tables boTables;
    boTables = rptClientDoc.DatabaseController.Database.Tables;
    //For each table in the report:
    // - Set the Table Name properties.
    // - Set the table location in the report to use the new modified table
    boTable.Name = "Orders";
    boTable.QualifiedName = "Orders";
    boTable.Alias = "Orders";
    rptClientDoc.DatabaseController.SetTableLocation(boTables[0], boTable);
    //Verify the database after adding substituting the new table.
    //To ensure that the table updates properly when adding Command tables or Stored Procedures.
    rptClientDoc.VerifyDatabase();
    MessageBox.Show("Data Source Set", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);
    Thanks again
    Don

  • Data not submitting when I have a conditional display on a date field

    Hello all,
    Could someone please help me with the following issue?
    I have created an updateable report region with four updateable fields. 3 of the fields store a number values and the fourth stores a date value.
    Each updateable report item has a conditional display, and whether they are displayed or not is controlled by the end user using a radio group (with submit). This provides the user with three options.
    If I remove all conditional displays all data will commit to the database without any problems. If I apply the conditional display to the number fields only, again the data will commit as normal. However, as soon as I add a conditional display to the date field it all goes pair shaped. The data will then cease to commit, with no error message at all. Once I remove the conditional display normal service is resumed.
    I'm certainly an APEX novice at the moment, so I wondered if anyone could shed some light on this.
    Thanks in advance for your help
    Steve

    Stew,
    Basically, I have edited each applicable report field column attributes, via the report attributes tab, and selected a conditional display 'Value of item in Expression 1 = Expression 2' for all of them.
    In the same report region I have created a radiogoup with submit called p51_update_type, specifying three static return values; R, F and S
    Condition e.g.
    *"Expression 1"*
    p51_update_type
    *"Expression 2"*
    S
    All columns display as expected, and commits to the database are normal, that is until I apply a conditional display to the date field (which relates to a table column of type DATE in the database).
    Thanks
    Steve

  • Issue in displaying DATE field in Excel sheet

    Hi All,
    Kindly help me with the below issue:
    A report program when exexuted fetches the data's from database tables and populates in to an itab and the same is then moved to a itab which is declared like this:
    DATA: BEGIN OF t_downd OCCURS 0,
            line(4096) TYPE c,
          END OF t_downd.
    This T_DOWND will have all the obtained records and the same is used to pass the entries to GUI_DOWNLOAD function module inorder to save the excel sheet in '.csv' format to the desktop.
    The issue is the user wants the 'DATE' field to be displayed in 'DD-MM-YYYY' format in the excel sheet. So I have fetched the date based on the position(fdpos) and used the concatenate statement separated by '-'. Now when I run the program, some dates are not getting displayed in 'DD-MM-YYYY' format and some dates are getting displayed correctly as per the requirement.
    While debugging also, I could find the date value in T_DOWND in the 'DD-MM-YYYY' format only. Not sure where it is actually getting changed and why.
    Can some one please provide a soultion for this.
    Thanks,
    Deepa

    Hi Soumya,
    Thanks for the reply!
    I declared a constant in the below format for the quotes:
    constants : c_quotes type c value ''''. (i have put 4 quotes)
    Now i have concatenated the above quotes to my date value.
    But the output in the excel sheet is now getting displayed like this '30-02-2011
    All the dates are getting displayed in the correct expected format, but the only issue is we are getting an extra quotes in front of the date.
    Can you please suggest why this is happening.
    Thanks,
    Deepa
    Edited by: Deeparani.D on Jan 9, 2012 11:53 AM
    Edited by: Deeparani.D on Jan 9, 2012 11:54 AM

Maybe you are looking for

  • Problem with CC Receiver with AS2 Adapter Seeburger

    Hi, I try to test the AS2 Adapter with Receiver channel y one server and Sender channel in second server, but in the Receiver channel, I have the error : "MP: Exception caught with cause com.sap.engine.services.jndi.persistent.exceptions.NameNotFound

  • Use of "NEW FROM PACKAGE" in SAP 8.8 And Master Layout creation

    Dear Expert, A) How to use "NEW FROM PACKAGE" option at time of choosing company. and also how to create .pak file ??? Even I don't know by using this feature what are the scope. B) How to create master layout in 8.8 when I am using crystal Report. T

  • Substring Error

    what am I doing wrong ? My code is below and so is the error, blowing up on Substring <cfquery name="qryGet_MMI_Data_1" datasource="MMI_db"> Select * from tblMMI_Header,tblMMI_Items_1 where tblMMI_Header.service_req_no = tblMMI_Items_1.service_req_no

  • Mass Cancel/ Mass change of a product across all orders

    Dear Friends, We have a typical requirement at our client: 1.How to cancel a product across multiple orders (Mass Cancel) ? 2.How to change a product acorss multiple orders (Mass change in all orders) They had a issue with one of the product and to b

  • App Store: no images/screencaps

    Using iTunes 10.4, MBP I'm able to connect to the App Store, can see the text descriptions/reviews for apps -- but no screen images.  It's just a blank white area where they should be. Anyone else?  Is it perhaps related to launch day? Thanks, B