UDF having date and timezone field in OIM 11gR2

Hi Experts,
How to create UDF having date and time filed in OIM11gR2?
Thanks,
Amit
Edited by: 955130 on Dec 13, 2012 12:18 AM

Basically the problem set is, my client wants to enter the term date as date and time, but by default the term date comes with calendar popup that does not support time entry also from user form.
Yes, it is correct that we can use date as well as string, and the solution proposed is like we add 3 drop down along with the term date,
first drp down contains hours HH, second MM and third location (For maintaining the office location)
I want an advise on below things:
1. Does OIM supports globalisation and localization concept. meaning the date time is maintined as location specific or do i need to save location somewhere and create a lookup field where all the locaitons and there difference of timezones are kept?
2. Can i have a calendar replaceed by date time calender so that i can get rid of drop downs?
3. If not, which is the best way of updating my term date with time also, will event handler work here?
thanks all.

Similar Messages

  • MS Word Web Service Interface: bad format of date and currency fields

    Hi,
    I am using MS Word Web Service interface to create contract documents. However, my date and currency fields show in a strange format. Date is in"YYYY-MM-DD" format, while currencies always have "." as decimal separator (probably technical values). My user settings are "DD.MM.YYYY" for dates and "n.nnn,dd" for decimal numbers.
    My workaround is to create a Z structure for WS interface with char fields and then do conversion through CRM_WST_RT_BADI->OUTBOUND_PROCESSING method. This works, but requires a lot of custom development.
    Is there a way to "tell" the interface to use correct formats in MS Word without doing it all manually through custom fields?
    Thanks!
    KR,
    Igor

    Oh, indeed!
    We might be closer than you think - I live close to Croatian-Slovenian border so we might pop out for a drink! But we can discuss this out of forum... 
    Now work again:
    Is there any documentation on possible formatting keywords? I suppose it's possible to set up decimal places, custom date formats etc.
    Cheers,
    Igor

  • Color coding in the "Date" and "Time" field in "Person Assignment"

    Hi,
    What does it mean when the color of the values for the "Date" and "Time" fields under the tab "Person Assignment" on an activity element in the project builder (CJ20N) turn red?
    Regards,
    Petter Kvalvik

    Hi,
    I dont suppose we have any option to achieve this at Query Designer level. Your requirement can be achieved in Workbook,
    Insert text template in one of the cell in your workbook, context menu--properties-Constant Tab----Check Display last Refreshed. Doing this you will get Date and Time of last refreshed data.
    Thanks,
    Vishnu.

  • To implement search help for date and time fields details

    how can i implement search help for date and time fields in screen painter

    Hi
    Declare the variables as sy-datum and sy-uzeit or any other pre-defined data typ of date and ime types. Serach help will automatically comes.
    Aditya

  • How to compare table data and table field

    Hi buddy,
        I have some question about how to compare table data and table field.
       1. I know there is one method:   CL_ABAP_UNIT_ASSERT=>ASSERT_TABLE_CONTAINS  , it use in unit test to compare the table data(A and B) , you can loop table A into structure A1, then use this mehtod it can compare whether table B contain structure A1.  but when I try to use this in main program it will dump.
              CL_ABAP_UNIT_ASSERT=>ASSERT_TABLE_CONTAINS(
                                                                                                        LINE    = A1
                                                                                                        TABLE = B ).
           Is there any method or FM can be used to compare the table data ?
        2. I also want to compare two table field , try to find out the different. How to realize this.
    Thank you for your sincerely answer.

    Hi Zongjie,
    What`s the difference, if you using loop A into wa_A, read table B into wa_B with all field, then compare with wa_A and wa_B.
    The question 2, seems no standard FM available here.
    Loop A into wa_A.
       Loop B into wa_B.
           if wa_A-field1 eq wa_B-field1.
           endif.
            if wa_A-field2 eq wa_B-field2. 
           endif.
       endloop.
    endloop.
    regards,
    Archer

  • 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.

  • Timezone effects on Date and Timestamp fields in af:query component

    Hello,
    I'm working on an ADF application where time zone is configured as follows:
    * Dynamic View Layer time zone is configured in trinidad-config.xml file and bound to a session scoped value:
    <trinidad-config>
      <skin-family>fusionFx</skin-family>
      <time-zone>#{sessionScope.tz}</time-zone>
    </trinidad-config>* ADF BC time zone is configured in adf-config.xml file and bound to View Layer time zone:
    <adf-config>
      <user-time-zone-config xmlns="http://xmlns.oracle.com/adf/usertimezone/config">
        <user-timezone expression="#{adfFacesContext.timeZone.ID}"/>
      </user-time-zone-config>
    </adf-config>The problem here is that Dates and Timestamp values work as expected all over the application except for the af:query component. When displayed as af:inputDate in af:form, Dates and Timestamp values are NOT getting converted to the time zone (TZ) configured in trinidad-config.xml file, whereas TimestampTz and TimestampLtz are. However, when displayed in af:query component, Dates and Timestamp values are automatically converted to View Layer TZ after a search has been performed.
    For example, say View Layer TZ = US/Pacific and we enter 01/jun/2011 as a search criteria of type Date and then click on the Search button. The displayed value automatically changes to 25/nov/2011, that is, it gets converted to the WLS JVM time zone, which is set to Europe/London.
    Is conversion of Date and Timestamps in af:query component the expected behaviour or could this be a bug?
    Is there any way to avoid this conversion?
    Thanks in advance
    Version:
    ADF Business Components 11.1.1.59.23
    Java(TM) Platform 1.6.0_21
    Oracle IDE 11.1.1.4.37.59.23
    PMD JDeveloper Extension 4.2.5.3.0
    Repost on 26-nov-2011 9:29
    Repost on 28-nov-2011 15:10
    Edited by: Barbara Gelabert on 26-nov-2011 9:29
    Edited by: Barbara Gelabert on 28-nov-2011 15:10

    Hi,
    Thanks for your reply. This certainly seems promising. However, I am getting a connection error now.
    The following...
    jar_loaded = require 'ojdbc14.jar'
    puts "Oracle jar loaded? #{jar_loaded}"
    puts "Starting active record"
    require 'rubygems'
    gem 'activerecord'
    gem 'activerecord-oracle_enhanced-adapter'
    require 'activerecord'
    puts "Connecting to MXGN"
    ActiveRecord::Base.establish_connection(
    :adapter => 'oracle_enhanced',
    :host => 'THEHOST',
    :port => '1550',
    :database => 'THEDB',
    :username => 'THEUSER',
    :password => 'THEPASSWORD'
    ... produces
    Oracle jar loaded? true
    Starting active record
    Connecting to MXGN
    ERROR: ActiveRecord oracle_enhanced adapter could not load Oracle JDBC driver. Please install ojdbc14.jar library.
    ERROR: ActiveRecord oracle_enhanced adapter could not load Oracle JDBC driver. Please install ojdbc14.jar library.
    C:/jruby/jruby-1.2.0/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:76:in `establish_connection': Please install the oracle_enhanced adapter: `gem install activerecord-oracle_enhanced-adapter` (LoadError) (RuntimeError)
    from H:\sandbox\DBPlay\lib\main_enhanced.rb:12
    I'm confused. Am I missing the driver, or have I failed to setup the enhanced Oracle adapter?
    I have tried moving the jar to $JRUBY_HOME/lib too, but the result was the same.
    All help would be greatly appreciated.
    Many Thanks
    Adrian

  • 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 and time field help

    Hey guys and gals,
    I'm working on a basic simple form that I'd like to use as a fax cover sheet and I'm brand new at this and I just can't find the answer anywhere. The only way I can get it to show the date and time is if I choose calculated - read only, then runtime property. But then it changes every time you open the document. It doesn't autofill the date and time any other way. Is there a way to make the date and time auto fill ONLY the first time you fill it out and then lock that field? Or do you just have to choose one of the other options, i.e., user entered - optional, recommended or required and then type it in? Which I don't really get either, because those just give you a blank field that you type in. I don't see the difference between those options and a text field. I thought maybe I could upload the pdf to show you, but I guess you can't do that here. Anyway using Acrobat 9 pro on Vista.

    It sounds like you're using LiveCycle Designer, not Acrobat, to create the form. If that's the case, you should post this question in the LiveCycle Designer forum: http://forums.adobe.com/community/livecycle/livecycle_modules_and_development_tools/livecy cle_designer_es

  • JDCB Driver not doing data transformation on Julian dates and amount fields

    Hi All,
    In our newly installed BI Publisher instance (10.1.3) is not doing any data transformation on JDE Julian dates and Decimals. I've read that these field values are supposed to be converted automatically. Is there some setting in the JDEJDBC driver connection that makes this happen?
    While working with Oracle support I've found the following:
    1. Beware of white space in the collection string.
    2. Make sure the JDE user logging in goes straight to JDE and has full view privlidges on the tables you are selecting on.
    3. Parameters are not supported by the JDEJDBC Driver -- this pretty much renders this application worthless. Does anyone know of any workarounds?
    Database IBM DB2 UDB version 6.1
    JDE Version: World A7.3
    Edited by: enorton on Jun 30, 2010 2:02 PM

    Lets try com.jdedwards.as400.access.JDEWJDBCDriver (download from oracle support)
    JDEWorldJDBC.jar There is inbuild date conversion and decimal shift.

  • Trying to bind XML data and form fields

    I have a fairly simple PDF - and I am trying to bind XML data to he form fields.
    In the designer I can bring up the data connection and
    select Global - for the binding method - and as I understand it - this will link Form Fields and XML data fields with the same name - (sounds logical to me)
    but all that happens is :
    I see the name of the field in the form field rahter than seeing the actual data
    should I select : None as the binding or normal ....
    but Normal doesnt show Anything - even after i select it .
    I can't quite seem to make this work -
    Any help here would be appreciated
    Thanks :)

    This is on a stand - alone system
    Using Designer ES ......
    I saved the Form as an xdp form
    and it seems as if all goes well until
    View the data and nothing appears - or
    just the names of the fields appear

  • Calendar, date and timezone

    Hi everybody,
    I'm using the CLLocation class and I cannot find any documentation on it in google. DO you know where it is ?
    I know how to get the timestamp for the date, but here are some questions about it :
    -Does this date include the timezone value so I know from my position what is the timezone ?
    -How to convert the timestamp (NSDate instance I think) into a NSCalendar with which I could get the timezone information ?
    Thank you

    Because the Timezone isn't part of the timestamp for a date.
    This is one thing that Java got right. Think of it this way. There is no such thing as just 9.am. It's 9am in a specific place (timezone) on the Earth. Because at the same time it's 9am in one timezone it's 1pm in another timezone and 11:30 am in another timezone. etc. But all these representations of the time actually hold the exact same long millisecond value.
    So you never hold the timezone as part of the date. Timezones are only used for display or for parsing a value in.

  • Entry date and vendor field in Fbl3n

    Dear Sir
    How to get the vendor filed and cpudate field and offsetting account name in Fbl3n  ,
    Please advise me its a urgent
    Jain
    09246612101

    Hi,
    Execute Fbl3n and go the change layout icon (Ctrl + F8), you will find the fields.Selec the hidden fields to Line 1 and click on copy, you will see all the fields you need.You can also save the layout ( Ctrl + F12).
    Just a suggestion.Give the full name of fields cpudate field .It will more easy to advice you whether the field is there or not in layout screen.
    Please let me know if you need more information.
    Assign points if useful.
    Regards
    Sridhar M

  • Mandatory and optional fields  in OIM

    Hi All
    How can I make some fields optional and some mandatory in the OIM request template ? can I make this change in OIM console ?
    Thanks

    Hi,
    You will have to modify request data set.
    Go through the below link for request dataset.
    http://docs.oracle.com/cd/E21764_01/doc.1111/e14309/request.htm#CIHGBGBC
    Regards,
    Raghav.

  • Core data and Populate field programmatic

    Hi
    On a window i have a couple of controls Combo box, Text field and a few buttons
    all linked to core data which is working perfect ish
    if I select the combo box and change the value its updated in core data straight away
    if I press a button it put a value in the text box but doesn't update the code data field until i click in the field and add a space or something simular ..
    is it a focus thing, the field don't lose focus until I have done it manually
    can someone point me in the right direction for this
    just want to click a button , put that value in the textbox and core data is updated without having to click in the text box
    regards
    Tony

    Does this help?

Maybe you are looking for

  • Buttons not working in preview mode

    i have a really strange issue that i have spent way too long on and need some help. I have a submenu i created, from a template, and had everything working perfectly.  i removed the text layer from the buttons on the right side and now all but 3 link

  • How to get the name of a class invoking

    Can a method get the name of the class invoking it? As: public void myMethod(){    System.out.println("the name of the class invoking this method is: " + XXXXX); }Edited by: Maria1990 on Aug 17, 2010 8:46 AM

  • Flash vs. Fireworks for Animation Map

    Quick "flash" question. I need to supply a flash animation map of the US, where the user clicks on individual states... afterwhich the state color changes to a 2nd color and the data is ported to a website/dbase. Based on that info, can this be done

  • Reference of Subcontract challan at MIGO

    Dear all, Where I have to give the Reference of the Subcontract challan of Child Material sent to the Vendor at the time of Goods Reciept for the Parent Material with MVT 101 Please help Regards Venkat

  • Is the slide show suppose to work in iweb?

    Hey guys...i know this might seem dumb, but i've scoured the forums for an answer and there doesn't seem to be a problem like mine. so here goes. When the slide show is filled with thumbnail pictures and then you go to click on the pictures. Should a