Possible Defect with Crystal and date formating

Crystal 2008 Oracle 11.1
I am building functionality to override dates within my Crystal/SP by passing a String as a IN/OUT Parameter from Crystal.
I have 2 Functions in use that have been tested. The first parses the string and returns a number of database parameters with any overrides passed in the string. The second is a date function that will return a Start date and calculate the End date based on a Frequency Parameter value passed from the first function. (Daily, Monthly,Quarterly) or pass the END date from the string back.
We are using the Default Oracle Date format of dd-MON-yy (22-SEP-10)
I am casting my string using the ORACLE To_Date(parsed String value) function and loading it into the array of DATE types that I am passing to the driver SP. In here I am moving the occurane of my array to a LV_Sdate and LV_Edate fields that are defined as DATE.
Data
Oracle Dates  copied from the Oracle Table -
CURR_DT - 23-SEP-10    PREV_DT- 21-SEP-10     OLD_DT - 20-SEP-10
Using Table Date - PREV_DT Calculating END by Moving Date to Second Array Position returns:
  PRFL_NB_TX       CO_NM               CNTC_NM                        Start Date                 End Date
  xxxxxxxx        XXXX-ACADEMY           ROB TESTNAME       9/21/2010  12:00:0  9/21/2010  12:00:0
Using Passed Dates Both Start and End  --- OVERRIDE String: 1@1$620360008@BEGDATE$25-SEP-10@ENDDATE$25-SEP-10@
  PRFL_NB_TX       CO_NM                  CNTC_NM                          Start Date                 End Date
  xxxxxxxx        XXXX-ACADEMY           ROB TESTNAME        9/10/25  12:00:00A  9/10/25  12:00:00A
Using Table and Passed Dates Start - Table, End - Passed  -
OVERRIDE String: 1@1$620360008@ENDDATE$29-SEP-10@
  PRFL_NB_TX       CO_NM                  CNTC_NM                          Start Date                 End Date
  xxxxxxxx        XXXX-ACADEMY           ROB TESTNAME        9/21/2010  12:00:0  9/10/29  12:00:00A
Notice the Start and END date YEAR
Here is where things get a bit confusing as the functions called either read the Database or format the date and Return it in the same DATE array.
The data provided above was exported as a txt file from a basic Crystal report.
I can provide Code snipits if needed including native SQLDeveloper exection displays where the date returned to the SP is correct

This was a date CAST issue in one formula. I had cast all the others in the function and the one missing one was causing the issues.
Thanks for all who read.

Similar Messages

  • In the advanced tab of languages and Region the time and date formats will not change

    For a certian Application I am using I need to change the format of the Time and Date. I had no problems in Mountain Lion. In the advanced tab of languages and Region the time and date formats will not change. I need the date format to read as 01/01/14 and time format to read 13:00. As I said this was easily done in Mountain Lion and all previous Apple OS. I suspect it's an issue with in the OS.

    You're right, it has been that way for a long time. I've never bothered reporting it as a bug since it's simple enough to deal with, but reporting it would be a reasonable thing to do.

  • PO output with XML and PDF format

    Hi All,
    I need PO output with XML and PDF format. when I give print it shld go to vendor with xml and pdf format through mail. please kindly guide me on this .
    Thanks in advance
    JK

    hi,
    try this code to get in pdf form
    REPORT zsuresh_test.
    Variable declarations
    DATA:
    w_form_name TYPE tdsfname VALUE 'ZSURESH_TEST',
    w_fmodule TYPE rs38l_fnam,
    w_cparam TYPE ssfctrlop,
    w_outoptions TYPE ssfcompop,
    W_bin_filesize TYPE i, " Binary File Size
    w_FILE_NAME type string,
    w_File_path type string,
    w_FULL_PATH type string.
    Internal tables declaration
    Internal table to hold the OTF data
    DATA:
    t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    Internal table to hold OTF data recd from the SMARTFORM
    t_otf_from_fm TYPE ssfcrescl,
    Internal table to hold the data from the FM CONVERT_OTF
    T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
    This function module call is used to retrieve the name of the Function
    module generated when the SMARTFORM is activated
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = w_form_name
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    fm_name = w_fmodule
    EXCEPTIONS
    no_form = 1
    no_function_module = 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.
    Calling the SMARTFORM using the function module retrieved above
    GET_OTF parameter in the CONTROL_PARAMETERS is set to get the OTF
    format of the output
    w_cparam-no_dialog = 'X'.
    w_cparam-preview = space. " Suppressing the dialog box
                                                        " for print preview
    w_cparam-getotf = 'X'.
    Printer name to be used is provided in the export parameter
    OUTPUT_OPTIONS
    w_outoptions-tddest = 'LP01'.
    CALL FUNCTION w_fmodule
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    control_parameters = w_cparam
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    output_options = w_outoptions
    USER_SETTINGS = 'X'
    IMPORTING
    DOCUMENT_OUTPUT_INFO =
    job_output_info = t_otf_from_fm
    JOB_OUTPUT_OPTIONS =
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    t_otf[] = t_otf_from_fm-otfdata[].
    Function Module CONVERT_OTF is used to convert the OTF format to PDF
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
    FORMAT = 'PDF'
    MAX_LINEWIDTH = 132
    ARCHIVE_INDEX = ' '
    COPYNUMBER = 0
    ASCII_BIDI_VIS2LOG = ' '
    PDF_DELETE_OTFTAB = ' '
    IMPORTING
    BIN_FILESIZE = W_bin_filesize
    BIN_FILE =
    TABLES
    otf = T_OTF
    lines = T_pdf_tab
    EXCEPTIONS
    ERR_MAX_LINEWIDTH = 1
    ERR_FORMAT = 2
    ERR_CONV_NOT_POSSIBLE = 3
    ERR_BAD_OTF = 4
    OTHERS = 5
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    To display File SAVE dialog window
    CALL METHOD cl_gui_frontend_services=>file_save_dialog
    EXPORTING
    WINDOW_TITLE =
    DEFAULT_EXTENSION =
    DEFAULT_FILE_NAME =
    FILE_FILTER =
    INITIAL_DIRECTORY =
    WITH_ENCODING =
    PROMPT_ON_OVERWRITE = 'X'
    CHANGING
    filename = w_FILE_NAME
    path = w_FILE_PATH
    fullpath = w_FULL_PATH
    USER_ACTION =
    FILE_ENCODING =
    EXCEPTIONS
    CNTL_ERROR = 1
    ERROR_NO_GUI = 2
    NOT_SUPPORTED_BY_GUI = 3
    others = 4
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
    presentation server
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE = W_bin_filesize
    filename = w_FULL_PATH
    FILETYPE = 'BIN'
    APPEND = ' '
    WRITE_FIELD_SEPARATOR = ' '
    HEADER = '00'
    TRUNC_TRAILING_BLANKS = ' '
    WRITE_LF = 'X'
    COL_SELECT = ' '
    COL_SELECT_MASK = ' '
    DAT_MODE = ' '
    CONFIRM_OVERWRITE = ' '
    NO_AUTH_CHECK = ' '
    CODEPAGE = ' '
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    WRITE_BOM = ' '
    TRUNC_TRAILING_BLANKS_EOL = 'X'
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    IMPORTING
    FILELENGTH =
    tables
    data_tab = T_pdf_tab
    FIELDNAMES =
    EXCEPTIONS
    FILE_WRITE_ERROR = 1
    NO_BATCH = 2
    GUI_REFUSE_FILETRANSFER = 3
    INVALID_TYPE = 4
    NO_AUTHORITY = 5
    UNKNOWN_ERROR = 6
    HEADER_NOT_ALLOWED = 7
    SEPARATOR_NOT_ALLOWED = 8
    FILESIZE_NOT_ALLOWED = 9
    HEADER_TOO_LONG = 10
    DP_ERROR_CREATE = 11
    DP_ERROR_SEND = 12
    DP_ERROR_WRITE = 13
    UNKNOWN_DP_ERROR = 14
    ACCESS_DENIED = 15
    DP_OUT_OF_MEMORY = 16
    DISK_FULL = 17
    DP_TIMEOUT = 18
    FILE_NOT_FOUND = 19
    DATAPROVIDER_EXCEPTION = 20
    CONTROL_FLUSH_ERROR = 21
    OTHERS = 22
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    reward points if useful,
    siri

  • Default view and date format for anonymous access in convergence calendar

    Hi,
    is there an option to configure default view and date format when user access to a calendar with anonymous access ?
    Actually, date format is M/D and I want D/M.
    And the default view is monthly, and I would like to set to 7 days view.
    Thx for your help
    Regars,
    JC

    jchatriot wrote:
    is there an option to configure default view and date format when user access to a calendar with anonymous access ?No. I've raise a new Request For Enhancement:
    RFE #6961895 - "Provide configuration option and URL parameter to set Anonymous Calendar view and date format"
    Regards,
    Shane.

  • Copy photos with info  and data to a cd

    I have Adobe Photoshop Album Starter Edition 3.2 and put in all the photos I had in my files. Then marked every single photo with information and data (a hell of work) and decided to make a backup copy on cd.
    To my astonishment on the cd all the photos turned out to be completely unorganized and all the text I put below them were nowhere to be found!!!
    Did I do something wrong, or is it not possible to get an organized cd with information using this edition of Photoshop?
    Thanks in advance for your help.

    >I am trying tommove a block of pictures from my d drive over to photo shop
    >3.0 and want to move more than one photo at a time.
    I'm not sure what you mean by moving pictures from D: drive to PS 3... PSA
    SE 3.2 is just a cataloging application. It doesn't actually store anything,
    it just tells you where things are, or helps you to work with them.
    >Or I can load them into photo shop from a CD.
    It sounds like you just want to make sure the PSA SE knows that they are
    there....
    Essentially, you can just Click on the "Get Photos" button and choose the
    source. Keep in mind that this will NOT physically move images and doesn't
    have that ability like Photoshop Elements 5.0.
    As to the DVD... it can track it depending on the video type. When you say
    "Get Photos"... look to see if has detected it. If you see that it has and
    offers to catalogue it for you, then you know that you're okay.
    Cheers

  • I am trying to find an app that will track the usage on my iphone with times and dates to see what was accessed on my phone when I was away from it and what if anything was done eg deleted messages viewed facebook etc?

    Hi! I am trying to find an app that with track everything that is done on my phone with times and dates? im not really woried about call usage and texts sent I need it to view what has been done - for example:
    Messages received
    Messages deleted
    Facebook viewed
    Messages viewed
    Internet viewed and what?
    I just have an issue with someone using my phone - I used to track this through double clicking the home button and roughly knowing in what order I had been on things but they have sussed this one!
    Thank you!!

    No way to do that on a non-jailbroken iPhone. Why don't you just passcode protect your phone? That way no one but you can use it...unless they know your passcode.

  • BestPractices Error - Set Decimal Notation and Date Format

    Hello everyone,
    first of all, I don't know, if this is the right forum for my question, but I hope so
    We're trying to implement the Best Practices Scenarios to a new SAP ERP System.
    We did the steps of the following url, where everything worked fine: http://help.sap.com/bp_dm603/DM_DE/html/index_DE.htm
    Then we integrated Best Practices 603V8 via Solution Builder (TA: /n/SMB/BBI). But now, when we switch to Implementation Assistant and try to activate Scenario DE_109 --> 100(DE) --> Folder USERSETTINGS, we receive the following error in report /SMB99/SU3_O009_B32: Set Decimal Notation and Date Format.
    So we called transaction SU3 and changed Decimal Notation and Date Format, but the error still exists.
    Anybody knows what to do?
    Thanks for your help!
    Best regards
    Patrick
    PS: We executed Testscript /SMB99/SU3_C009_B32 via TA SECATT and there is the error:
    TCD SU3 0,292 sec N Maintain Users Own Data

    Hi,
    Follow below link to verify whatever you have done is correct:
    http://help.sap.com/bp_bblibrary/600/Documentation/B32_BB_ConfigGuide_EN_MX.doc.
    Thanks
    Sunny

  • I have an iPad with apps and data already on it  i just bought a mac how do i transfer the data from i pad to mac

    i have an iPad with apps and data already on it  i just bought a mac how do i transfer the data from i pad to mac

    here
    1) Without connecting your iPad to your laptop, start iTunes. Click on Edit. Click on Preferences. Click on Devices. Check the box next to "Prevent your iPod etc. from automatically syncing." Click OK.
    2) connect your iPad to your laptop and start iTunes.
    3) When iTunes starts, right click on your iPad under Devices in the left column. Select Transfer purchases etc.
    4) After it finishes transferring all your apps to your new laptop, right click on your iPad and select Backup your iPad.
    5) After it finish backing up your iPad, right click on your iPad and select Restore etc.
    6) After it finishes restoring, left click on your iPad , then click on the Apps tab on top, and check the box next to Sync Apps, then click on Apply below.
    If everything on your iPad looks good after the sync, go back and click on Edit / Preferences / Devices and UN-check the box next to Prevent your iPod etc. The only other thing you may want to check is if your contacts, bookmarks, etc. are syncing correctly now. If not, go to the Info tab after connecting and make sure you indicate which features you want to sync with what sources.

  • List all of the existing column and there column format and data format?

    Hello Gurus,
    I am new to OBIEE and i have a requirement to verify the column format and data format for all of the existing column while generating a analysis report. Is there any way i can list down all of the columns which are exposed and list there column format and data format?
    For checking the individual column properties i know there is an option called 'Column Properties' but want to know all in once go.
    Kindly help me and thanks in advance.
    Thanks

    I don't think you have anything in answers to get that, Go to Repository and Utilities -> Generate Metadata Dictionary that will give columns and datatype.
    Award points if it helps
    ~Srix

  • HT4623 After updated to iOS 7.1.1, my iPad went wrong with time and date. How can I solve this?

    I have updated my iPad mini to iOS 7.1.1 recently. After updated, it went wrong with time and date even I tried to restart it or set manual time/date or set auto time/date. How can I solve this problem?

    Hello Phirum OL,
    Here is an article that will help you adjust the date and time settings on your iPad:
    iOS: Troubleshooting issues with date and time
    http://support.apple.com/kb/ts3920
    Learn the steps to take if your device has any of the following issues with the date and time.
    Incorrect date or time
    Wrong time zone being set automatically
    Issues related to automatically switching with daylight savings time
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • List of Number format and Date format according to the Locales

    Hallo everyone.
    I am searching for a list or document which includes the number and date formats according to the country locales. Where can I find sort of document?
    Another question: Where can I find the all parameters of swing.properties file?

    "Date - allows the user to enter a date as a parameter. Note that the data type must also be "Date" and the format must be Java date format."
    Page 4-9, Adding Parameters and Lists of Values
    Oracle® Business Intelligence Publisher
    Report Designer's Guide
    Release 10.1.3.4
    Part No. E12187-01

  • HT1807 With cellular and Data networks off, can I still receive and make calls on my 4s

    With cellular and data networks off, can I still receive and make calls.

    Old guy, still learning to use cell phone. Going out of US and don't want to have big charges when I return. I do want to have my phone on for emergencies and I plan to get international  cell. and messaging.

  • Prompt window Issues-resize and date format setting to 'mm/dd/yyyy' .

    Guys,
            I have two issues which needs to be solved for better reporting.
            I am using url reporting approach to view reports in ActiveX viewer.
            1) I have to set date format to 'mm/dd/yyyy' in parameter prompt window by default It is in yyyy-mm-dd format.
             2) I have to make prompt window with full size screen in order to accommodate more than one date parameter and make it looks better.
         Can any one tell me how to change and fix date format and resize Prompt window?
          Should I open a ticket with business object in order to solve or customize the Crystal Report Server XI R2 configurations for us?
        Please suggest me some probable options for it.
    Sincerely,
    Sanjay Patel
    Edited by: Adlyd Joseph on Feb 3, 2009 7:22 AM

    Hello Adlyd,
    SAP Business Objects does not support customizing Infoview, CR Server, or BusinessObjects Enterprise.  I'll post the content of SAP Business Objects Note 1218598 below that speaks to this.  Even if they could help customize CR Server/Enterprise/Infoview there's no way to change the parameter prompting page.  It's a page that is generated at runtime, and it isn't exposed to any of the BusinessObjects SDK.
    If you want to see if SAP Business Objects can help you with the date format that might be possible.  In North America you can call 1-800-877-2340, and select option 4, and then option 1.
    You can also purchase technical support from the [Online Store|http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300].
    Sincerely,
    Dan Kelleher
    NOTE: This Note was written for BOE XI and XI R2, but it applies to BOE XI 3.0 and 3.1 as well as all versions of CR Server since version XI (v11.0).
    ++++++++++++++++++
    1218598 - Support policy on customizing BusinessObjects InfoView and other applications
    Symptom
    In previous versions of Business Objects products, Business Objects Customer Support had assisted customers with the customization of the ePortfolio and InfoView applications by providing guidance on what changes were required for simple and specific custom features.
    What is the support policy for customizing BusinessObjects XI, XI Release 2, XI 3.0, XI 3.1 InfoView and the other included applications?
    Resolution
    Starting with BusinessObjects XI, code-level customization of InfoView and the other applications included with BusinessObjects XI is not supported and not recommended. These applications include Crystal Reports Explorer and the Central Management Console.
    InfoView is a fully-featured product and can be customized by changing settings in the Central Management Console or by changing values in the application configuration files only.
    Requests for custom features in InfoView or any other included applications will be treated either as enhancement requests, or in extreme cases, as product defects. Any feature that does not function as documented will be treated as a product defect.
    Custom features may also be implemented as part of an Original Equipment Manufacturer (OEM) agreement, or by engaging Business Objects Consulting Services.
    Background Information
    Modification of any of the following file types in BusinessObjects InfoView XI, XI Release 2, XI 3.0, XI 3.1 is not supported:
    .aspx
    .cs
    .vb
    .ascx
    .asax
    .jsp
    .java
    .js
    .htm
    .html
    .csp
    See Also
    For more information, please refer to the technical paper, [Customizing Look and Feel using the CMC and Style Sheets|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/209e174d-be3e-2b10-4d8e-e25a76a6fac1].

  • Email Submit and Data format

    I have been reviewing the following document and have 1 question.
    http://www.adobe.com/devnet/livecycle/articles/lc_understanding_submit_tip.pdf
    Is there a way to customize the data format using a submit button?
    I may have the requirement to have end users submit data through an email submit button, but the client wants the data in the format Fieldname [delimiter of some sort] Fieldvalue, is this possible?  Would you need to manually edit the xml in the form to do this? Any pointers would be appreciated.
    The only options I see in the attributes of the email submit button are:
    XDP
    XML
    PDF
    URL encoded data
    Thank you,

    Hi Paul:
    Currently we are using Acroforms and would use these forms originally.
    In the future, this would be used with LiveCycle so it would probably be an XFA/LiveCycle Designer form. I believe in this case, the best solution would be to do this through a submit using Form Server components of LCES.
    Thank you,
    Working for a Living...

  • Using a submit email button and data format

    I have been reviewing the following document and have 1 question.
    http://www.adobe.com/devnet/livecycle/articles/lc_understanding_submit_tip.pdf
    Is there a way to customize the data format using a submit button?
    I may have the requirement to have end users submit data through an email submit button, but the client wants the data in the format Fieldname [delimiter of some sort] Fieldvalue, is this possible?  Would you need to manually edit the xml in the form to do this? Any pointers would be appreciated.
    The only options I see in the attributes of the email submit button are:
    XDP
    XML
    PDF
    URL encoded data
    Thank you,

    I have discussed this with Lori DeFurio, past Acrobat (and PDF) Developer Evangelist, and most recently, responsible for Customer & Field Enablement, who has informed me that this is possible and directed me to these forums for a resolution.
    Has anyone actually accomplished this?  Any information is appreciated.
    Thank you,

Maybe you are looking for