Get data as FS10N

Hi,
I've tried to create a program using function modulo LDB_PROCESS as std. program: RFGLBALANCE. The problem is that the internal table: lt_balance_data is not filled.
Any idea of what else do I need to do to fill this internal table.
Do you know any other way to get the same data as lt_balance_data which contains an account balance in the different currencies?
*& Report  ZJMPRUEBA
REPORT  zjm_ldb.
START-OF-SELECTION.
  DATA: lt_balance_data  TYPE fdbl_balance_data.
  DATA: lt_params    TYPE STANDARD TABLE OF rsparams WITH HEADER LINE,
        lt_callbacks TYPE STANDARD TABLE OF ldbcb WITH HEADER LINE.
  PERFORM fill_it USING 'SD_BUKRS' 'I' 'EQ' 'OMMA'.
  PERFORM fill_it USING 'SD_SAKNR' 'I' 'EQ' '2030010100'.
  PERFORM fill_it USING 'SD_GJAHR' 'I' 'EQ' '2008'.
  PERFORM fill_it USING 'SD_GSB_S' 'I' 'CP' '*'.
  PERFORM fill_it USING 'SD_CURTP' 'I' 'CP' '10'.
  PERFORM fill_it USING 'SD_RTCUR' 'I' 'CP' '*'.
  PERFORM fill_it USING 'SD_ITUSR' 'I' 'EQ' ''.
  PERFORM fill_it USING 'SD_CURTP' 'I' 'EQ' '10'.
  PERFORM fill_it2 using 'KNC1'.
  PERFORM fill_it2 using 'KNC3'.
  PERFORM fill_it2 using 'LFC1'.
  PERFORM fill_it2 using 'LFC3'.
  PERFORM fill_it2 using 'SKC1C'.
  CALL FUNCTION 'LDB_PROCESS'
    EXPORTING
      ldbname                     = 'SDF'
    TABLES
      callback                    = lt_callbacks
      selections                  = lt_params
    EXCEPTIONS
      ldb_not_reentrant           = 1
      ldb_incorrect               = 2
      ldb_already_running         = 3
      ldb_error                   = 4
      ldb_selections_error        = 5
      ldb_selections_not_accepted = 6
      variant_not_existent        = 7
      variant_obsolete            = 8
      variant_error               = 9
      free_selections_error       = 10
      callback_no_event           = 11
      callback_node_duplicate     = 12
      callback_no_program         = 13
      callback_no_cbform          = 14
      dyn_node_no_type            = 15
      dyn_node_invalid_type       = 16
      OTHERS                      = 17.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
*&      Form  fill_it
form fill_it  using    P1
                       P2
                       P3
                       P4.
  lt_params-selname = P1.
  lt_params-sign    = P2.
  lt_params-option  = P3.
  lt_params-low     = P4.
  APPEND lt_params.
  CLEAR lt_params.
endform.                    " fill_it
*&      Form  fill_it2
form fill_it2  using    p1.
  lt_callbacks-ldbnode = p1.
  lt_callbacks-get = 'X'.
  lt_callbacks-CB_PROG = 'RFGLBALANCE'.
  lt_callbacks-CB_FORM = 'LDB_CALLBACK'.
  APPEND lt_callbacks.
  CLEAR lt_callbacks.
endform.                    " fill_it2
Any help would be appreciated
Edited by: urjose on Apr 10, 2008 4:54 PM

Done !
The way to get data as FS10N is the following:
REPORT  zjm_ldb message-id FDBL.
include RFBALANCEDATA.
START-OF-SELECTION.
  DATA: it_params    TYPE STANDARD TABLE OF rsparams WITH HEADER LINE,
        it_callbacks TYPE STANDARD TABLE OF ldbcb WITH HEADER LINE.
  PERFORM fill_it USING 'SD_BUKRS' 'I' 'EQ' 'OMMA'.
  PERFORM fill_it USING 'SD_SAKNR' 'I' 'EQ' '2030010100'.
  PERFORM fill_it USING 'SD_GJAHR' 'I' 'EQ' '2008'.
  PERFORM fill_it USING 'SD_GSB_S' 'I' 'CP' '*'.
  PERFORM fill_it USING 'SD_CURTP' 'I' 'CP' '10'.
  PERFORM fill_it USING 'SD_RTCUR' 'I' 'CP' '*'.
  PERFORM fill_it USING 'SD_ITUSR' 'I' 'EQ' ''.
  PERFORM fill_it USING 'SD_CURTP' 'I' 'EQ' '10'.
  PERFORM fill_it2 using 'KNC1'.
  PERFORM fill_it2 using 'KNC3'.
  PERFORM fill_it2 using 'LFC1'.
  PERFORM fill_it2 using 'LFC3'.
  PERFORM fill_it2 using 'SKC1C'.
  CALL FUNCTION 'LDB_PROCESS'
    EXPORTING
      ldbname                     = 'SDF'
    TABLES
      callback                    = it_callbacks
      selections                  = it_params
    EXCEPTIONS
      ldb_not_reentrant           = 1
      ldb_incorrect               = 2
      ldb_already_running         = 3
      ldb_error                   = 4
      ldb_selections_error        = 5
      ldb_selections_not_accepted = 6
      variant_not_existent        = 7
      variant_obsolete            = 8
      variant_error               = 9
      free_selections_error       = 10
      callback_no_event           = 11
      callback_node_duplicate     = 12
      callback_no_program         = 13
      callback_no_cbform          = 14
      dyn_node_no_type            = 15
      dyn_node_invalid_type       = 16
      OTHERS                      = 17.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
*&      Form  fill_it
form fill_it  using    P1
                       P2
                       P3
                       P4.
  it_params-selname = P1.
  it_params-sign    = P2.
  it_params-option  = P3.
  it_params-low     = P4.
  APPEND it_params.
  CLEAR it_params.
endform.                    " fill_it
*&      Form  fill_it2
form fill_it2  using    p1.
  it_callbacks-ldbnode = p1.
  it_callbacks-get = 'X'.
  it_callbacks-CB_PROG = 'ZJM_LDB'.
  it_callbacks-CB_FORM = 'LDB_CALLBACK'.
  APPEND it_callbacks.
  CLEAR it_callbacks.
endform.                    " fill_it2
include RFBALANCE.
LT_BALANCE_DATA has all the data.
The All Currencies Amount in Local Currency is obtained computing the rows with no flag.
The Document Currencies Amount is obtained computing the rows with no flag and with the corresponding currency key (EUR, USD, MXP, etc).
=P

Similar Messages

  • Data for fs10n  &  fd10n

    hi,
    can anyone tell me  in  t-code fs10n & fd10n  data store in which table or from where get data for this t-code

    Hi,
    for FS10N - BSIS, BSAS
    for FD10N - BSID, BSAD

  • Not getting data in Dimension

    Hi all,
    i am craeating a dimension and i did the mapping also.i get the data in that dimension table.But i am not able to get the data in the Dimesion (i.e When i right click on the dimesion which i have created,there one option is called Data Viewer,from that i am not getting data)
    Can any help me about this.

    Hi,
    Just try with the code given below... hope that helps you out....
    also write a break-point statement just before the if statement and check in the debugging mode if it i_mseg table has some values or not...
    if i_mseg[] is not initial.
    select zzlcno zzlcdt
    into i_ekpo from ekpo
    for all entries in i_mseg
    where ebeln = i_mseg-ebeln.
        append i_ekpo.
    endselect.
    endif.
          OR
    if i_mseg[] is not initial.
    select zzlcno zzlcdt
    into corresponding fields of  i_ekpo from ekpo
    for all entries in i_mseg
    where ebeln = i_mseg-ebeln.
        append i_ekpo.
    endselect.
    endif.
    Regards,
    Siddarth

  • Can we get data from business views  in CR 2008/XI?

    Hi All,
    Can we get data from business views  in CR 2008/XI?
    If its possible, pls let us know how to get connect with Business View in both of these versions and what is the tool that we have to use to create Business Views.
    Thank you,
    Krishna Pingali

    Hi Krishna,
    Crystal Reports/BusinessObjects Enterprise ( BOE ) Business Views can only be created using the BV build which comes with BOE and installed using the Work Station installer for BOE. for both XI and 2008.
    You cannot mix these two versions on the same PC not can one talk to the other, the BV designer must match the same version as BOE. XI ( version 11.0 ) is no longer available but if you mean XI R2 ( version 11.5 ) then it still is.
    It's not completely clear which Business View you are referring to? BOE has a Business View Designer so not sure if this is just a naming problem or not? If you are referring to the BOE Business View Designer then the above is true. If your reference is about some other BV designer or data source then you need to clarify.
    Contact our Sales department for pricing and availability.
    Thank you
    Don

  • Can not get data from database

    hi all,
        there is a problem ,  when i write like below :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs
                AND hkont = p_hkont.
    p_bukrs , p_hkont are all on the selection screen , and p_bukrs = 1200 another is eq blank. i can not find any data , but with the same condition i can find some data in database , when i debeg i found that p_hkont is initial.
        when i write like this :
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
              WHERE bukrs = p_bukrs .
    this time i can find the data like the database.
        so , does someone know where the problem is , why i can not get data ?
    kind regards
    kevin

    hi,
    if u r  using bukrs and hkont as parameters in selection screen then
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs = p_bukrs
    AND hkont = p_hkont.
    this will work.
    if u r using then as select-option then the above does n't work.
    bcoz select-options work as internal table bcoz of that u have use the query like this
    SELECT * FROM bsis INTO CORRESPONDING FIELDS OF TABLE it_temp
    WHERE bukrs IN p_bukrs
    AND hkont IN p_hkont.
    <REMOVED BY MODERATOR - REQUEST OR OFFER POINTS ARE FORBIDDEN>
    Edited by: Alvaro Tejada Galindo on Aug 15, 2008 5:25 PM

  • Getting data in a combobox from database

    I have done database connectivity in flex using .net. Now I am getting data in flex in a data grid. Everuthing is working fine if I take data in a data grid.
    My problem is that if I try to take that data in any other control, other than data grid, it shows up no data, it only shows "object[object].
    for ex:
    if I am getting 3 rows from databse and I try to get those in a combo box, den I am getting 3 items in combo box like this:
    object[object]
    object[object]
    object[object]
    instead of actual data.
    I am stuck in this problem for last 3 days. I have tried lot of things but nuthing is working. Plz anyone help me out soon. Its really urgent.
    I am working on a live project and not able to proceed because of this problem.

    Hi Bhavika,
    You need to tell your combobox which value should be displayed in the ComboBox...for display...
    You are getting 3 rows from database which are objects since you haven't told your combobox which value to be displayed it is displaying as [Object,Object]...
    So you need to tell your ComboBox which values to be displayed ..and you can do this by assigning the labelField property of the ComboBox..
    Say in your object you have three properties say..data, value, name...etc;;
    Then if you want display name as your ComboBox display label then simply write ....labelField="name" in your ComboBox ...
    Thanks,
    Bhasker Chari

  • Not able to get data in production client in BEX query

    Hi Experts,
                       I have an SD related query which is working fine in development.
    in production while i run the query iam not getting data for three fields "ship to party" , "Bill to party" and "sold to party.
    I am able to see the data at the cube level but it is not reflecting in the query. Transportation of this query also
    did not throw any errors. Please provide a solution.
    Regards,
    susheeth.
    Edited by: Susheeth on Aug 4, 2011 1:26 PM

    Hi,
    Check if the characteristics used in query are direct objects from cube or navigation attributes of any other characteristics. In case of navigation attributes you need to have master data maintained.
    And as mentioned by Vamsi, check the text data maintained for 0CUSTOMER. And for checking data you can mark Key and Text option.
    Regards,
    Durgesh.

  • DropDrown unable to get data in ALV

    Hi,
    I'm trying to put an dropdown by key (or index) into an ALV but I'm unable to get data in the dropdown. Can someone please help me with this?
    I was watching this threads on topics at the forum, but I can not solve this problem.
    Copy my code.
      DATA: lr_col                            TYPE REF TO cl_salv_wd_column,
                 lr_dropdown                  TYPE REF TO cl_salv_wd_uie_dropdown_by_key,
                 l_cmp_usage                TYPE REF TO if_wd_component_usage,
                 l_alv_model                   TYPE REF TO cl_salv_wd_config_table,
                 l_ref_interfacecontroller  TYPE REF TO iwci_salv_wd_table.
      l_cmp_usage = wd_this->wd_cpuse_doc_measure( ).
      IF l_cmp_usage->has_active_component( ) IS INITIAL.
        l_cmp_usage->create_component( ).
      ENDIF.
      l_ref_interfacecontroller = wd_this->wd_cpifc_doc_measure( ).
      l_alv_model = l_ref_interfacecontroller->get_model( ).
      l_alv_model = l_ref_interfacecontroller->get_model( ).
      l_alv_model->if_salv_wd_table_settings~set_read_only( abap_false ).
      lr_col = l_alv_model->if_salv_wd_column_settings~get_column(
        id = 'VALEUR_DIFF' ).
      CREATE OBJECT lr_dropdown
        EXPORTING
          selected_key_fieldname = 'VALEUR_DIFF '.
      lr_col->set_cell_editor( lr_dropdown ).
      DATA:
      lo_nd_ctx_tab TYPE REF TO if_wd_context_node,
      lo_ndinfo_ctx_tab TYPE REF TO if_wd_context_node_info,
      lt_value_set TYPE TABLE OF wdr_context_attr_value,
      ls_value_set TYPE wdr_context_attr_value.
      ls_value_set-value = '01'.
      ls_value_set-text = 'One'.
      APPEND ls_value_set TO lt_value_set.
      ls_value_set-value = '02'.
      ls_value_set-text = 'Two'.
      APPEND ls_value_set TO lt_value_set.
      lo_nd_ctx_tab = wd_context->get_child_node( 'DOC_MEASURE' ).
      lo_ndinfo_ctx_tab = lo_nd_ctx_tab->get_node_info( ).
      lo_ndinfo_ctx_tab->set_attribute_value_set(
        name = 'VALEUR_DIFF' value_set = lt_value_set ).
      DATA: lt_valueset TYPE TABLE OF wdr_context_attr_value,
                ls_valueset TYPE wdr_context_attr_value,
                lr_node TYPE REF TO if_wd_context_node,
                lr_nodeinfo TYPE REF TO if_wd_context_node_info.
      lr_node = wd_context->get_child_node( 'DOC_MEASURE' ).
      lr_nodeinfo = lr_node->get_node_info( ).
      lr_nodeinfo->set_attribute_value_set(
      EXPORTING
        name = 'VALEUR_DIFF'
        value_set = lt_valueset
    Thanks.
    Matías.

    Hi,
    In your code, you are trying to do set_attribute_value_set twice. If you read your code carefully, you are setting the values once using lt_value_set where you have correctly filled the values. But after this, you are again trying using lt_valueset without filling any values. This is why your previous value-list gets overwritten and you see nothing in the dropdown. Remove the following lines in your code and it will work fine.
    DATA: lt_valueset TYPE TABLE OF wdr_context_attr_value,
    ls_valueset TYPE wdr_context_attr_value,
    lr_node TYPE REF TO if_wd_context_node,
    lr_nodeinfo TYPE REF TO if_wd_context_node_info.
    lr_node = wd_context->get_child_node( 'DOC_MEASURE' ).
    lr_nodeinfo = lr_node->get_node_info( ).
    lr_nodeinfo->set_attribute_value_set(
    EXPORTING
    name = 'VALEUR_DIFF'
    value_set = lt_valueset
    Please get back if you are facing any more issues.
    Regards,
    Nithya

  • Not getting data in OBIEE report while pulling columns from different DB

    Hi All,
    I am creating a report in OBIEE 11g which uses Table A and table B which are joined in both physical layer and BMM layer. But somehow I am not getting any data in the report where as data is actually present for the matching joining columns. However when I made one of the tables (Table A ) as a driving table, I am getting data but only with a filter applied in the report which restricts the data to few records. If the filter is removed, I get an error which is " A Drive Table join exceeded the limit of XXX backend database queries".
    Could anyone tell me what can be the issue? Other than using driving table, is there any alternate method to resolve the issue?
    Thanks In Advance,
    Anju

    The error is due to the setting MAX_QUERIES_PER_DRIVE_JOIN in the database features table that controls and tunes driving table performance. Also, try to follow these blogposts to do cross-database joins/federated queries: http://oraclebizint.wordpress.com/2008/03/19/oracle-bi-ee-101332-cross-database-joins/ and http://www.rittmanmead.com/2007/10/reporting-against-multiple-datasources-in-obiee/
    Please assign points if helpful/correct.

  • How to get data from hard drive in dead iMac?

    I have an old slot-loading iMac (350Mhz G3 blueberry) that just died, probably a dead power supply or something. Won't turn on at all. I don't care about restoring it, I just want to take the hard drive out and grab data from it. I've found instructions for removing the HD ... but any tips on the best/cheapest way to hook it up to get data from it? It's EIDE I believe from what I've read so far. Thanks for any help.

    Hey Richard.....Thanks for the reply to my question about my wife's dead iMac.....
    Her iMac had been acting up lately, mostly to do with her Outlook Express freezing up in OS9. I dunno if OS9 was freezing or if the application was failing. Regardless, I would have to quit OS9, restart Outlook which at the same time restarted OS9. All would be fine for a while, a day or two and then the scene would repeat itself. But I think that issue is separate from the iMac being "dead". Often we have power outages in the area, more than we should. I had the iMac plugged into a battery backup, some APS product I think it is. I believe it is only good for less than an hour as we have other devices drawing on it too. Most of our power outages are of short duration, just enough to be aggravating, sometimes having to reset clocks, etc...And a couple times, I would have to reset the time and date on the iMac so this told me that the PRAM battery was below minimum voltage. But the iMac would ALWAYS restart, even with the low battery. But the most recent outage, about one hour duration, did in the iMac, somehow or other. I do believe the battery backup basically fully discharged. So I removed the battery, could not find a new battery locally so I drove to the big city and paid the local Apple service dealer a visit. I got ripped big time price wise, embarrassed to say. So I get home, put the battery in the holder, depressed the CMU reset, the powerbutton illuminated as did a green LED by the memory modules for less than three seconds and then quit. I also heard the HD trying to spin up and a high voltage THUMP which I assume is the CRT trying to ignite. If I unplugged the iMac, removed the battery, plug in the power again and hit the power button, the iMac would repeat the same short on period and then quit. So it did not seem to make any difference if there was a battery in place. I read somewhere to pull the battery, pull the AC cord, hold down the power button to dump any current (?) and let the unit sit for 24hrs. After that length of time, I was supposed to replace the battery, depress the CMU reset, wait ten seconds and then feed it AC. Well, when I pressed the power button, I heard life for maybe five seconds, maybe a second longer, then a beep and then it shut down. I pulled the AC cord, pulled the battery, re-inserted the battery, depressed the CMU reset, waited a few seconds, plugged in the AC cord, depressed the power button and I am back at the under three seconds of "power-up" and then nothing, dead, no beep, nothing. I think maybe it is a waste of time trying to mess with this unit, looking for a newer iMac on eBay, the snowball series with the 17" LCD, might be time better spent. Hate throwing stuff away, that's why I am up to my ears in junk, maybe u know that scenario. The wife likes my 19" ACER LCD screen, hooked up to this old dual 800mhz, though she dislikes the noise and the tower. But we both agree the large LCD screen is much easier on our aging eyes than the old iMac CRT. Anyway, I appreciate your help, always GREAT to correspond with an Apple fan.....John Bauer

  • Funds management cube getting data from 4 ods, data not seen in cube

    Hello all,
    I am working on funds management cubes (0PU_C02 and 0PU_C03). These two cubes get data from like 7 or 8 ODS. Can someone tell me which are the ODS which feed to respective cubes. I have the mappings done but i am getting very confused.
    In the ods 0PU_O44 there is RLDNR for Ledger and I can see that data in ODS but when i run load to cube I dont see the ledger data (its direct mapping there are no routines or rules).
    Is there any sequence with wihic we have to load the data?
    Thanks
    Message was edited by: Raj M

    Hi Raj,
    I was going thru the forums who has knowledge in Public sector when i came accross ur forum.Can i get your email id..i have some questions to ask regarding student administration.
    thanks.

  • Powerpivot Error on Refresh -- "We couldn't get data from the data model..."

    I'm using Excel 2013 and Windows 8.1.  I have a spreadsheet I've been using for over a year, and I've just started getting this error message when I try to refresh the data.
    "We couldn't get data from the Data Model.  Here's the error message we got:
    The 'attributeRelationship' with 'AttributeID' - 'PuttDistCat9' doesn't exist in the collection"
    Any idea how I can fix this problem?  I haven't changed anything related to that particular attribute.  All the data is contained in separate sheets in the workbook, so there are no external sources of data.
    Thanks.
    Jean

    Thanks for all the suggestions.
    I found a slightly older version of the spreadsheet that still refreshes properly, so I don't think I have any issues with the version of Excel or Power Query.  (I've had this same error before, and I believe I applied the hotfix at that time.)
    I think this problem started after I updated a number of the date filters in the pivot tables.  I haven't made any changes to the data model, and the only updates I've made were to add data (which I do all the time), and to change the date filters on
    the pivot tables.
    As suggested, I added a new pivot table querying one table (the table with the attribute that shows up in the error message), and it worked fine.  I can also refresh this pivot table.
    Then I tried adding a pivot table which went against several tables in the data model (including the table in question).  The pivot table seemed to return that data properly.  However, when I tried to refresh it, I got the same error message ("we
    couldn't get data from the data model..."). 
    Dany also suggested running the queries one at a time to see which one is in error.  Without checking all the pivot tables, it appears that any which use the table "HolePlayedStrokes" generate the error (this is the table with the attribute
    mentioned in the error message).  Pivot Tables without that particular table seem to refresh OK.  Unfortunately, that is the main table in my data model, so most of the pivot tables use it.
    Any other suggestions?  I'd be happy to send a copy of the spreadsheet.
    Thanks for all the help.
    Jean

  • How to get data back from an action ?

    Hello,
    Would it be possible to get data back from an action (out of the question EO_MESSAGE & ET_FAILED_KEY )?
    For example we got an order with order positions and we need a "function" to e.g. count all positions. Because of Performance the function should not be processed each time the order is changed, read or a position is added. Instead the function should be processed only if it was called explicitly.
    Is it possible to create a kind of action which is actually counting all entries and export the number of them?
    How to mark a parameter in is_parameters as exporting?
    Is this just done by (naming-) convention?
    What is the preferred way to have “methods” with returning/exporting values?
    Regards,
    Lorenz

    Hello Lorenz,
    As you have already figured out , the Action API provides you with only the messages and failed keys if any.
    Post action execution , you can always execute a retrieve or retrive by association , to get the latest buffer snapshot , which of course would include the changes that you have made in your action.
    If you want to ensure that users have explict control on execution of your "fucntion", then of course , you should model it as an action on the BO.
    The parameter is_parameters is an IMPORTING parameter. You CANNOT use it to export anything back from the action. For importing ,  you can of course have any structure to use as the is_paramaters , which you model as the action parameter structure which modelling your BO action.
    From an external entity the only way to interact with a BO is by consuming the BO services and you are bound by the BOBF standard interfaces. Any and all data you require needs to be modelled as node attributes ( persistent or transient ) and fetched using the RETRIEVE, RETRIEVE_BY_ASSOCIATION or QUERY services.
    Regards,
    Indranil.

  • Get date from Oracle when local time zone is different from Oracle time zon

    Hi!
    Local machine time zone= +2
    Oracle time zone= +1
    I set date to Oracle using java.sql.Date.
    From application I save date at 00:30 clock and send e.g. 28.06.2002, but in Oracle date is save as 27.06.2002 01:00 (hour=01 , I suppose that is because java.sql.Date hasn't time the Oracle set it time = time zone=+1) And when I get date from Oracle I get incorrect date. In SQL I don't use date masks. Maybe solution is to use java.sql.Timestamp object (when save date to Oracle) instead of java.sql.Date?
    But if I save date at e.g. 01:00 clock and send e.g. 28:06.2002 in Oracle, date is save as 28.06.2002 01:00 and when I read from Oracle I get correct date.
    Thank you.

    Hi!
    Local machine time zone= +2
    Oracle time zone= +1
    I set date to Oracle using java.sql.Date.
    From application I save date at 00:30 clock and send
    e.g. 28.06.2002, but in Oracle date is save as
    27.06.2002 01:00 (hour=01 , I suppose that is because
    java.sql.Date hasn't time the Oracle set it time =
    time zone=+1) Presumably you are using setTimestamp() to store the value. If you are explicitly using a varchar (string) then you will have to correct the timezone your self.
    And when I get date from Oracle I get
    incorrect date. In SQL I don't use date masks. Maybe
    solution is to use java.sql.Timestamp object (when
    save date to Oracle) instead of java.sql.Date?The method setDate/getDate store a 'date' which is not the same as a 'date and time' for which setTimestamp/getTimestamp are used.
    But if I save date at e.g. 01:00 clock and send e.g.
    28:06.2002 in Oracle, date is save as 28.06.2002
    01:00 and when I read from Oracle I get correct date.
    Thank you.

  • Get date from Calendar Promt

    Hi Experts,
    Is it possible to get date from Calendar Prompt when operator is "greater then or equal to". In this setting I can not set presentation variable for prompt, why? There is other way to get selected date?
    Thanks in advance for any suggestion
    Regards,
    Esk

    Eskarina wrote:
    Hi Experts,
    Is it possible to get date from Calendar Prompt when operator is "greater then or equal to". In this setting I can not set presentation variable for prompt, why? There is other way to get selected date?
    Thanks in advance for any suggestion
    Regards,
    EskThe reason the Set Variable piece disappears is because a presentation variable cannot contain multiple values. If you want to perform a calculation on a date to filter your report, do this:
    1) Keep the Operator as "is equal to/is in."
    2) Now set your PV to what you want.
    3) In your report, build a CASE statement or use the TIMESTAMPADD function to make whatever calculation you want.
    Example: Let's suppose you wanted to filter your report for all Sales Dates "greater than or equal to" the prompt selection. You would set the date prompt to "equal" a date a user selects and then save it to your Presentation Variable, say pv_SalesDate.
    Now in your report on your Sales Date column, put a filter like this:
    tablename."Sales Date" >= '@{pv_SalesDate}'
    This will achieve what you are looking for.

Maybe you are looking for

  • Pl sql row level locking with wait ?

    Hi, I am using oracle 10g. I am new to Oracle locks. I have two tables Table1(id_no, employee, salary) and Table2(id_no, employee, salary). I need to pull any requested row from Table1 into Table2 only once on demand. I have a procedure to pull data

  • JavaScript button not working in StageWebView

    Hi, Does anybody have an idea why the Google+ "Invite your friends!" button is not working in a StageWebView window? Button: - https://developers.google.com/+/web/share/interactive#button_design It's working within the Flash IDE but not on mobile. I'

  • My display doesn't show up anymore for my MacBook Pro

    well, here's the issue.... my screen has completely stopped working, everything works (it powers on), but screen won't. it's a MacBook Pro

  • How to change header font style in Spark DataGrid?

    I'm looking since last week for a way how to change the font style of the header in a Spark DataGrid. It drive me nuts that I can't find a way to do this. Have anyone one an idea how to achieve it? Any help is appreciated. Thanks, - Artur

  • Datastore for CLOB

    What datastore should be used for a context index on a CLOB column? I used Java to load large text file into Oracle 8i in a CLOB column, then created a context index on it. But the searching does not work. Please help!