Time field is not appering in report!

Hi,
we have a strange situation where for a particular field, i am not seing any values ( all zeroes ) in report!  ( that particular field is filled via FM logic , i mean no field as such in R/3 )
the thing is that this particular field has values in cube.
it is a key figure defined as number dec in the definition.
what could be the problem?
Thanks,
Ravi

Hi,
Hope you are very sure that you have seen the values in the cube.
Then do you have a multiprovider on which you've created the query?
Then you must re check the identifications.
If the query is basd on the cube then run transaction RSRT and see the output of the query.
This way you should be able to know exactly where the prob is.
If all seems well we'll concentrate on your query design.
Regards,
Sharmishtha

Similar Messages

  • Date time field will not bind over into XML data file

    am using the Current Date field in a form that is supposed to give me the current date & time. In the Object, Value, I am using a "calculated - Read Only" , with Run-time property of Date and Time. WHen I view this as a PDF, the current datae & time display on the form as well as when I view the body pages, the {current date/time} is displayed in the actual field of the form. My only problem is I want to bind this so I can export the data to an XML data file, to import to an Access Database. WHen I use these settings, I do not have a "binding" tab to use. WHen I change vaule to "calculation script), it then pops up the binding tab and let's me export the field to the XML data file, but the data in that field is not comming over (the date & time). The field comes into the database inport, but is blank. What am I doing wrong..?? Thanks in advance for any suggestions...

    Well, I'm assuming that when you change it to a calculation script you see the date in the PDF and therefore have the script to set the value written properly. So, if you change the binding from None to Normal or an explicit binding the date will be exported in the data. If all of that is correct, then the most likely problem is the data format you are exporting is not a format that your database will accept.
    Chris
    Adobe Enterprise Developer Support

  • Date/Time field format not wysiwyg

    I have a date field in my form that I formatted as m/d/yyyy hh:mm.  I thought that because it formats that field in that way my script would get passed down that way however it is not.  I want to manipulate it so the value is in the format I want it to be....
    I enter this in the date/time field: April 1, 2011 1:40PM
    When I click out of the field and I see: 4/1/2011 13:40
    Then I have a script that uses this field to make the file name but because I have a comma in there it will not save, if I take the comma out it will save.  So the main question is how do I format my field to pass down the value that I am seeing not the value that I am typing in.  You will notice I have a replace in there but I can't account for the comma because it reads it as part of the syntax.
    // Get the field value
    var dtentered = getField("datetime").value;  
    //replace any odd characters that will not allow the file to save
    var fdt = dtentered.replace(/[!@#$%^&*()+=|\:;"'<>?/{}]/g,"_");  
    // Specify the folder
    var fldr = "/c/WO Completed/";
    // Determine the full name and path
    var fp = fldr +  fdt + ".pdf";

    Thanks for the response...I'm not sure that I understand what you mean back-slash...I went ahead and did this but now it is giving me an odd file name
    // Get the field value
    var dt = getField("datetime").value;
    var mydt = escape(dt);
    //replace any odd characters that will not allow the file to save
    var fdt = mydt.replace(/[!@#$%^&*()+=|\:;"'<>?/{}]/g,"_");
    // Specify the folder
    var fldr = "/c/WO Completed/";
    // Determine the full name and path
    var fp = fldr + fdt + ".pdf";
    Returns a file name as
    April_201_2C_202011_201_3A40PM.pdf
    I was looking more for
    4_1_2011_13_40.pdf
    or
    April_1_2011_1_40PM.pdf

  • Date and time fields are not getting updated in database

    Hi,
    I am Using the bapi SD_SHIPMENT_HEADER_CHANGE in my program ...
    I  am using bapi_shipemnt_create for creating shipment document but, trying to enter the date fileds using this bapi .
    can anybody please tell me how shud i pass this variables exactly ...
    i tried giving test data and checked this bapi .. the result in changing parameters is also appearing but in databade itself the date fields are not getting reflected ...
    The fields ate DTDIS ,UZDIS, DATEN,UATEN. ( i am trying to map these fields in changing parameters)
              gw_vttkvb_new-mandt = sy-mandt.
              gw_vttkvb_new-tknum = gw_return-message_v1(passing shipment number )
              gw_vttkvb_new-dtdis = gi_ship_doc-dtdis.
              gw_vttkvb_new-daten = gi_ship_doc-daten.
              gw_vttkvb_new-uzdis = gi_ship_doc-uzdis.
              gw_vttkvb_new-uaten = gi_ship_doc-uaten.
              APPEND gw_vttkvb_new TO gi_vttkvb_new.
              CALL FUNCTION 'SD_SHIPMENT_HEADER_CHANGE'
              EXPORTING
                i_tvtk                             =  '
              I_DESTINATION                      =
              I_DEPARTURE                        =
              OPT_DIALOG                         = 'X'
            IMPORTING
              E_SERV_AGENT_FROM_DELIVERY         =
              E_ROUTE_FROM_DELIVERY              =
              E_LEG_DETERMINATION_DONE           =
              E_NUMBER_OF_CHANGED_LEGS           =
                 TABLES
                   c_xvttk                            = gi_xvttk
                   c_yvttk                            = gi_yvttk
                   c_xvttp                            = gi_xvttp
                   c_yvttp                            = gi_yvttp
                   c_xvtts                            = gi_xvtts
                   c_yvtts                            = gi_yvtts
                   c_xvtsp                            = gi_xvtsp
                   c_yvtsp                            = gi_yvtsp
                   c_xvbpa                            = gi_xvbpa
                   c_yvbpa                            = gi_yvbpa
                   c_xvbadr                           = gi_xvbadr
                   c_yvbadr                           = gi_yvbadr
                   i_xtrlk                            = gi_vtrlk
                   i_xtrlp                            = gi_vtrlp
              I_DEPARTURE_SEQUENCE               =
              I_XVTFA                            =
              I_YVTFA                            =
                 CHANGING
                   c_xvttk_new                        = gi_vttkvb_new
                EXCEPTIONS
                  invalid_change                     = 1
                  route_insert_failed                = 2
                  tdlnr_insert_failed                = 3
                  status_planned_failed              = 4
                  status_registrated_failed          = 5
                  status_loading_start_failed        = 6
                  status_loading_end_failed          = 7
                  status_completion_failed           = 8
                  status_shipment_start_failed       = 9
                  status_shipment_end_failed         = 10
                  OTHERS                             = 11.
              IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
             ELSE.
                 **** Save shipment created
               CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
           EXPORTING
             WAIT          =
                  IMPORTING
                    return        = gw_return.
              ENDIF.
    Regards,
    shilpa talluri .

    Hi,
    Try this
    DATA: wa TYPE zvariant.
    wa-mandt     = sy-mandt.
    wa-z_var     = 'test'.
    wa-projid      = 'test'. 
    wa-relid        = 'test'.
    wa-srtf2       = 'test'.
    wa-clustr      = 'test'.
    wa-clustd     = ''test'. 
    INSERT zvariant CLIENT SPECIFIED FROM wa.
    Raul Natu

  • Date/Time Field but not a date field type..

    I am dealing with a table that was already created and filled/filling with data.. so don't have an option to have someone go back and fix.
    The field i am dealing with is a varchar2 not a date field.
    it has values like
    12/31/1899
    2/17/2010 10:00:00 AM
    2/24/2010 9:00:00 AM
    2/17/2010 8:30:00 AM
    2/24/2010 9:00:00 AM
    12/31/1899
    Basically the 12/31/1899 dates are supplied the data source as an indicator that the real date/time is unknown until it gets updated later in the day or next day. (why its like this i don't know)
    anyways.. I need to drop records that are 7 days old.
    So for say the 2/17/2010 ones, when its 2/24/2010 when the process is ran, those records will get deleted but with the '12/31/1899' ones staying as they are awaiting to be given a date/time '12/31/1899' date is always used for the 'unknowns' so that is constant. The other 'valid ones' always have a date and a time given.
    I've tried a few things today, but kept blowing up.
    Edited by: CPSteven on Feb 11, 2010 6:04 PM

    >
    ORA-01830: date format picture ends before converting entire input string
    With that command
    The time in their messing with it?
    >
    You'd have that problem if the date format picture ends before any of your your strings end....
    Eg.. your date field has "time component" and you just use... "DD-MON-YYYY" as the format picture.
    However, If your format picture includes the maximum possible detail (of any of your strings) , you'll not see that error. Check this code below.
    sql> select * from temp;
            ID DATE_STRING
             1 02/11/2010 03:10:26
             2 02/10/2010 03:10:26
             3 02/09/2010 03:10:26
             4 02/08/2010 03:10:26
             5 02/07/2010 03:10:26
             6 02/06/2010 03:10:26
             7 02/05/2010 03:10:26
             8 02/04/2010 03:10:26
             9 02/03/2010 03:10:26
            10 02/02/2010 03:10:26
            11 12/31/1899
            ID DATE_STRING
            12 12/31/1899
    12 rows selected.
    sql> delete from temp
      2  where date_string != '12/31/1899'
      3    and to_date(date_string,'MM/DD/YYYY') < (sysdate-7);
      and to_date(date_string,'MM/DD/YYYY') < (sysdate-7)
    ERROR at line 3:
    ORA-01830: date format picture ends before converting entire input string
    sql> delete from temp
      2    where date_string != '12/31/1899'
      3      and to_date(date_string,'MM/DD/YYYY HH24:MI:SS') < (sysdate-7);
    4 rows deleted.
    ----In your case.. your format mask would be to_date(date_string,'MM/DD/YYYY HH:MI:SS AM')

  • GUI_DOWNLOAD field seperator not appering in downloaded  data

    Hi Experts,
    I am dowladong data  on presentation server using GUI_DOWNLOAD fm . the write fieldseperator i have passed is
    '|' which is no appearing at end of each record . below is my code
    CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
              filename = 'D:/test.txt'
              write_field_separator = '|'
               TABLES
              data_tab = itab
         EXCEPTIONS
              OTHERS   = 22.
    and the output is
    000000000000000001     ROH      00000000
    000000000000000002              00000000
    000000000000000003              00000000
    000000000000000004     ROH      00000000
    Thamnks in advance

    Hi,
    WRITE_FIELD_SEPARATOR = ' | '
    WRITE_FIELD_SEPARATOR in GUI_DOWNLOAD works in SAP R/3 4.7 and later version.
    or for example:
    report  ZFIELD_SEPARATOR.
    data: begin of ioutput occurs 0,
          rect(1000) type c,
          end of ioutput.
    data: begin of itab occurs 0,
          field1(1) type c,
          field2(2) type c,
          field3(3) type c,
          end of itab.
    itab-field1  = 'A'.
    itab-field2  = 'B'.
    itab-field3  = 'C'.
    append itab.
    itab-field1  = '1'.
    itab-field2  = '2'.
    itab-field3  = '3'.
    append itab.
    itab-field1  = '$'.
    itab-field2  = '@'.
    itab-field3  = '#'.
    append itab.
    loop at itab.
      concatenate itab-field1
                  itab-field2
                  itab-field3
                          into iout-rect
                                  separated by '|'.
      condense ioutput-rect no-gaps.
      append ioutput.
    endloop.
    call function 'GUI_DOWNLOAD'
         exporting
              filename = 'C:/test.txt'
         tables
              data_tab = ioutput

  • ALV list do_sum with run time field symbol not assigned

    Dear all,
    I am facing a short dump while using the ALV fieldcatalog do_sum.
    I tried to search the solutions online but to no avail. Anyone can help me to take a look at these codes:
    Below are my sample codes:
    DATA: BEGIN OF itab_s_ar OCCURS 0,
            item(2),
            kunnr LIKE kna1-kunnr,
            name1 LIKE kna1-name1,
            waers LIKE bsis-waers,
            total LIKE bsis-dmbtr,
            dmbtr1 LIKE bsis-dmbtr,
            dmbtr2 LIKE bsis-dmbtr,
            dmbtr3 LIKE bsis-dmbtr,
            dmbtr4 LIKE bsis-dmbtr,
          END OF itab_s_ar.
      g_itab = 'ITAB_S_AR'.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
         i_program_name               = ly_repid
         i_internal_tabname           = g_itab
    *   I_STRUCTURE_NAME             =
    *   I_CLIENT_NEVER_DISPLAY       = 'X'
         i_inclname                   = ly_repid
    *     i_bypassing_buffer           = 'X'
    *     i_buffer_active              = 'X'
        CHANGING
          ct_fieldcat                  = t_fieldcat
    * EXCEPTIONS
    *   INCONSISTENT_INTERFACE       = 1
    *   PROGRAM_ERROR                = 2
    *   OTHERS                       = 3
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT t_fieldcat INTO s_fieldcat.
        CASE s_fieldcat-fieldname.
          WHEN 'ITEM'.
            s_fieldcat-outputlen = '3'.
            s_fieldcat-seltext_l = '#'.
            s_fieldcat-just ='C'.
          WHEN 'KUNNR'.
            s_fieldcat-outputlen = '13'.
            s_fieldcat-seltext_l = 'Customer Code'.
            s_fieldcat-key = ' '.
            s_fieldcat-just = 'C'.
          WHEN 'NAME1'.
            s_fieldcat-outputlen = '35'.
            s_fieldcat-seltext_l = 'Customer Name'.
          WHEN 'WAERS'.
            s_fieldcat-outputlen = '4'.
            s_fieldcat-seltext_m = 'LCur'.
          WHEN 'TOTAL'.
            s_fieldcat-outputlen = '16'.
            s_fieldcat-seltext_m = 'Total'.
            s_fieldcat-seltext_l = 'Total'.
            s_fieldcat-reptext_ddic = 'Total'.
            s_fieldcat-cfieldname = 'WAERS'.
            s_fieldcat-do_sum = 'X'.
            s_fieldcat-just = 'C'.
          WHEN 'DMBTR1'.
            s_fieldcat-outputlen = '16'.
            s_fieldcat-seltext_m = '0 - 30'.
            s_fieldcat-seltext_l = '0 - 30'.
            s_fieldcat-reptext_ddic = '0 - 30'.
            s_fieldcat-cfieldname = 'WAERS'.
            s_fieldcat-just = 'C'.
          WHEN 'DMBTR2'.
            s_fieldcat-outputlen = '16'.
            s_fieldcat-seltext_m = '31 - 60'.
            s_fieldcat-seltext_l = '31 - 60'.
            s_fieldcat-reptext_ddic = '31 - 60'.
            s_fieldcat-cfieldname = 'WAERS'.
            s_fieldcat-just = 'C'.
          WHEN 'DMBTR3'.
            s_fieldcat-outputlen = '16'.
            s_fieldcat-seltext_m = '61 - 90'.
            s_fieldcat-seltext_l = '61 - 90'.
            s_fieldcat-reptext_ddic = '61 - 90'.
            s_fieldcat-cfieldname = 'WAERS'.
            s_fieldcat-just = 'C'.
          WHEN 'DMBTR4'.
            s_fieldcat-outputlen = '16'.
            s_fieldcat-seltext_m = '90+'.
            s_fieldcat-seltext_l = '90+'.
            s_fieldcat-reptext_ddic = '90+'.
            s_fieldcat-cfieldname = 'WAERS'.
            s_fieldcat-just = 'C'.
        ENDCASE.
        MODIFY t_fieldcat FROM s_fieldcat.
      ENDLOOP.
    Your help will be muc appreciated!
    Thanks

    Hi,
      WHEN 'TOTAL'.
            s_fieldcat-outputlen = '16'.
            s_fieldcat-seltext_m = 'Total'.
            s_fieldcat-seltext_l = 'Total'.
            s_fieldcat-reptext_ddic = 'Total'.
            s_fieldcat-cfieldname = 'WAERS'.
            s_fieldcat-do_sum = 'X'.
            s_fieldcat-just = 'C'.
    comment the field   : s_fieldcat-reptext_ddic = 'Total' and s_fieldcat-cfieldname = 'WAERS'.
    Assign filedcatalog as s_fieldcat-fieldname = 'WAERS'.
    Definitly you will get good solution.
    Good Luck

  • Reportable Last Modified Date and Time Field

    Reportable Last Modified Date and Time Field
    Hello,
      We need a reportable RequestCenter 'last modified date/time' database field that is refreshed when the 'Comments and History' field is updated.  Any ideas would be appreciated.  Thanks! 

    No, unless you can use an FTP client.

  • No time field in an event added by pressing down a date in the month view of the calendar!, no time field in an event added by pressing down a date in the month view of the calendar!

    I have been trying to add time to an event i already added but the time field does not exist.
    this happens only when I add the event from the month view while I press a date. in no other senario does this happens.
    may be its a bug in the calendar.
    if I press the + sign then it's normal.
    any suggestions on how to fix this?

    there is edit button; however, my problem comes after that. if the event was added using the above method then there is still no way to change the time of the event in that date. if the event was added in any other way then I can change the time.
    and I just realized my iphone3gs with ios5.0.1 has the same exact bug.

  • Grey out the Time field in date assignment block

    Hi All,
        In my project we need to create a date profile in which i need a date rule to get today date and the time should be greyed out. i tried all day event but not working out for Zdate type.  I tried different date types but Time field is not greyed out ( changing time to 00:00 is possible but client needs time to be empty)
    With regards,
    Selvam T

    Hi Selvam,
    as far I understand you want to define a certain date type as read only. There are several different ways to achieve your requirement:
    date profile customizing: you can set the date as read only
    I did not get your requirement of the time field, you can however play around with the following display customizing:
    use BAdI CRM_APPOINTMENT_BADI to influence the appointment set
    enhance the UI component, using the I-getter you can change a field to read only on UI level
    I hope this helps.
    best regards,
    Johannes

  • Inserting automatic time field in forms

    I know how to add a date field, but I would also like to add a time field.
    I have used the following javascript in the page properties of the page containing the date field
    var f = this.getField("Today");
    f.value = util.printd("mmm/d/yyyy  HH:MM tt", new Date());
    And I am able to get the date but the time field does not change from the time when the form was first created. 
    Any help ???

    Not that I can see.
    Is the form being reset or cleared?
    Do you need to know the time the page was opened or the PDF opened?
    A sample 2 page form: https://acrobat.com/#d=*ImmY-NPbuUd08yadLcq6g

  • Time field support

    Hi, I see that a bunch of other people have asked about time fields in previous questions and that the answer has been that time fields are not supported at this time.
    Seems like people have been asking for a couple of years now - is it something FormsCentral is working towards?
    Even in the "Appointment Request Form" template, there is a space for "Preferred Time" but it just brings up a date calendar, can't add a time.
    Didn't LiveCycle used to have this functionality? I really need it for a venue booking form I am working on and it sounds like it would be helpful for other folks as well. Please consider adding this functionality.

    Sorry I am not in a position to talk about future features but I can say that this is not something we are currently working on.
    See this post for a workaround
    http://forums.adobe.com/message/5160863#5160863
    Hope this helps
    Gen

  • Field name not known   in old existing report.

    We have a report that we have used for a long time and has always been fine.  Today when we open it  it says data will be lost because "Field name not known".   So you click ok and look at the report in design and the report is missing a bunch of fields.  You look at the Field Explorer and it only shows the first field in the table.  This report links 2 tables. The linking field is the first field in both tables.
    I try to re-map datasource and no luck.   I close Crystal, open Crystal and create a new report, look at the same tables and all of the fields are there. Create similar report looking at same datasource, same tables, some of the same fields, and it works fine.
    What is wrong with the original report and why won't it connect or show fields?

    It may be that the report file became corrupted. Do you have a back up of that report anywhere? If not you could create a new report using the same tables and links and then have both new and old reports open and copy objects from the old report to the new report. Save it and then verify it all works as it should and replace the old report with then new report. Copy the old report somewhere safe also.
    Thank you
    Don

  • User defined field not appering on web for PO

    Hi,
    I have created One custom defined field for Purchase Order Herder level
    As per specified in Note 672960
    I have included in following structure :
    INCL_EEW_PD_HEADER_CSF
    INCL_EEW_PD_HEADER_CSF_PO
    The user defined field appering in Function Module of BBP_PD_PO_GETDETAIL but its not appearing on SRM screen while on click on Process Purcjase Order and create from there.
    I have checked in transaction there also not appering .
    No Screen variant  screen variant defined for that .
    Can anybody help me on this issue .
    Thanks,
    SS

    Hi
    <b>Have you published all the respective HTML templates of the Internet service in this case. ?</b>
    <u>Use transaction SE80 -> Select the drop-down option as Internet service. Give the service name - say BBP_POC (or your service name) in the left hand corner of the screen.
    open the respective template screens and
    Right click on the service to activate it on the proper Intenet site (Internal or any other sites defined in your case).</u>
    <b>Detailed steps to check out (this is a general check-list)</b>
    <u>When you are using the Internal ITS,you need not run the report W3_PUBLISH_SERVICES.(only SIAC_PUBLISH_ALL_INT )
    ALso pls check the foll:
    -->activate the services through SICF tcode.
    > Go to SICF transaction and activate the whole tree under the node Deafult host>sap>bc>gui>sap>its.
    >Also maintain the settings in SE80>utilities>settings>internet transactuon server-->test service/Publish.
    Table TWPURLSVR should have entries for the / SRM server line as well as gui and web server.
    Could you please review again the following steps ?
    Did you check that ICM was working correctly (TA SMICM) ?
    1-Activate the necessary ICF services
    With transaction SICF and locate the
    services by path
    /sap/public/bc/its/mimes
    /sap/bc/gui/sap/its/webgui
    2- Publish the IAC Services
    With Transaction SE80 locate from
    the menu Utilities -> Settings ->
    Internet Transaction Server (Tab) ->
    Publish (Tab) and set “On Selected
    Site” = INTERNAL.
    3- Locate the Internet Services SYSTEM and WEBGUI.
    Publish these services with the Context
    Menu -> Publish -> Complete Service
    4- Browse to http://<server>:<icmport>/sap/bc/gui/
    sap/its/webgui/! and login to the
    webgui.</u>
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • How to get accumulated time field not actual time

    Hello-
    I have a field in a table as "time" however the time data is actually accumulated time over a period of a month not an actual time.  So for example.  We re reporting on Inbound and Outbound phone call duration per employee so we have:
    Inbound Duration:  71:45:52 (this is accumlated time, meaning 71 hrs, 45 min, 52 seconds) but when it is displayed in excel or crystal it shows as:
    1/2/1900 11:45:52 PM in excel.  I
    f you look at the format in excel it should be correct set in the number tab like:  custom [h]:mm:ss
    In the actual cell itself it shows the 71:45:52 but in the display that is where it shows the other 1/2/1900 11:45:52 PM
    11:45:52 in crystal since it's just a time field in the table
    Does anyone know how to correct this on either excel side or crystal?  We have our data in excel which we import into a table to use crystal reports on.
    thanks

    My formulas were assuming the data was coming in as a datetime value, as it was in your original post.  (Jason was typing his reply while I was typing mine...)  So, the formula with accumulation is (BASIC SYNTAX - make sure the formula editor has this selected, not Crystal Syntax):
    global secAccum as number
    dim sec as number
    dim min as number
    dim hr as number
    sec = DateDiff("s", CDateTime(1900,1,1,0,0,0), {csr_phones.duration})
    secAccum = secAccum + sec
    min = int(sec / 60)
    hr = int(min / 60)
    sec = sec - (min * 60)
    min = min - (hr * 60)
    formula = cstr(hr, "0") + ":" + cstr(min, "00") + ":" + cstr(sec,"00")
    And to show the accumulated seconds:
    WhilePrintingRecords
    global secAccum as number
    dim sec as number
    dim min as number
    dim hr as number
    sec = secAccum
    min = int(sec / 60)
    hr = int(min / 60)
    sec = sec - (min * 60)
    min = min - (hr * 60)
    formula = cstr(hr, "0") + ":" + cstr(min, "00") + ":" + cstr(sec,"00")
    HTH,
    Carl

Maybe you are looking for