How to Resize the default date picker calendar
Hello Experts,
SAP CRM web UI shows a date picker as follows for populating fields of type date.
We noticed a strange issue that for months like January 2015 , the width of the date picker is lesser than what is shown for November 2014.
As you can see in the following snapshot , the dropdown icon of the second field is hidden when the month shown is November 2014.
This an issue because of the different sizes shown for different months , users would have to move mouse pointer when they to move to next months by clicking on the next arrow icon.
Any tricks to fix the width of the date picker will be really appreciated.
Hi Praveen,
You can try following tricks -
1. Go to SE80, search for BSP Application = 'thtmlb_styles'
2. under Pages with Flow Logic - we have one CSS file called "thtmlb_core_stand.css"
3. In this file try changing width of method call ' #thtmlb-calendar-container ' to 150px like shown below.
#thtmlb-calendar-container {
display: none;
position: absolute;
width: 150px;
hope it helps.
Best Regards,
Sandeep Kumar B
Similar Messages
-
How to change the default date in Person assignment tab?
Hi experts,
Does anyone know how to change the default date in person assignment tab in cj20n? Currently, the system always take the scheduled finish date to the date of the person assignment tab. Can I change it to the start date?
Thanks and rgs,
MichelleHi Michelle,
Goto SPRO->Project system->Dates->Scheduling->Specify Parameters for Network Scheduling, Here you can control the workforce planning dates.
Hope this is useful...
Regards
Aatish -
How to update the default date format in OBIEE 11G.
Hi All,
How to change the default date format in OBIEE 11g from the MM/DD to DD/MM. Could anyone please help me out ASAP?
Thanks,
ArpanHi Arpan
OBIEE 11g is having " localedefinitions.xml " file at this Location C:\Oracle\Middleware\Oracle_BI1\bifoundation\web\display
in my case i installed at C:\Oracle\MIddleware.
so
1- Stop BI Server from EM
2- Navigate to this Location C:\Oracle\Middleware\Oracle_BI1\bifoundation\web\display. in your case oracle home will be different
3- take a backup of this file localedefinitions.xml "
4- modify it and save
5- bring BI Server up.
Regards
sher -
How to get the default date as current date in input filed in VC
Hi
In my VC application i have two date fields. we are allowing the end user to select the From Data and Todate though Data pickers, But the client asking to make the today's date as default date in Todate field , rather picking up from the data picker,
Unless the user wants change the todate from the current date. It should display today's date as default date.
can any body tell me how to do it.
Regards
VijayHi All,
I have an issue an implementing the "Exporting the Table data to Excel."
My VC version is 7.0
Portal version NW 2004s.
By refering the following link, i have implemented Export To Excell functionality in VC.
2) Another one that's in the Visual Composer WIKI:
https://wiki.sdn.sap.com/wiki/display/VC/Exportingdatafrom+VC
By refering to 7th page in the document. It is explained to add the data source object from the 'info' port and add the field called 'RAPTNAME'to the DATA source object.
But the RFC object which i added to the story board, i havent find any 'info' port in my added RFC. But still i have added the data store object and added field. then
copied the following given formula in the document in respective formula window ,Formula showin as valid. when i click on check button.
copied formula :
"pcd!3aportal_content!2fcom.sap.pct!2fplatform_a
dd_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.b
ex?QUERY=" & STORE@REPTNAME &
"&BI_COMMAND_1-
BI_COMMAND_TYPE=EXPORT&BI_COMMAND
1-EXPORTFORMAT=XLS&BI_COMMAND_1-
null="
i am able to run the application. After i run the application . once i click on the button 'ExportToExcel' i am getting the following error.
Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
Could not find portal application com.sap.ip.bi.service.generic.
Exception id: 05:32_01/05/07_0001_18800950
See the details for the exception ID in the log file
Can u please tell me what is the problem
Regards
Vijay -
How to set the current date in Calendar
Calendar carrentDate = Calendar.getInstance();
how do i initialize carrentDate to the current date?I think you are looking for
currentDate.setTime( new Date() ); -
Using Logger ,how to disable the default date recording?
Hi,
I m using Logger class of java.util.logging package to maintain logs for the application. By default, it writes date and the package path for every log statement.But, I dont want it. I want to simply record the error and information statements.
Is there any way to switch off the default recording of date and package path?
Regards
ShwetaEven I am facing the same problem...Is there anyone who can please help us as the log record becomes unreadable because of dates appended to every message
-
How to set the default Color Picker?
Hello everyone,
I wrote my own Color Picker and it works nicely within the standard apple color picker panel. I am quite annoyed, however, that I have to switch to my new Color Picker by hand every time I open the Color Picker Panel. I have found that I can set an application-speficic default color picker by setting the NSColorPickerSlidersDefaults property for that application using defaults. However, that way I can only set one of the original apple color pickers to be the default, not my own, because there is no number defined for my own color picker and I can't add it.
Does anyone know a solution please?Thanks camickr !
That's exactly what I was looking for. (let the UIManager take care of colors of the textfield whether it's editable or not)
as for 2nd reply my code is in several files. IF i have to shorten it, it would be:
it's just a pseudo code and incomplete but it gets the idea across
* this function automatically changes colors of textfield based on mode which can change any time
if(mode == NEW_MODE)
textField.setEditable(true);
else
textField.setEditable(false);
* This function sets the color during save time
public void save()
clear();
if(textField.getText() == null)
textField.setBackGround(Color.PINK);
public void clear()
//reset the color if it's pink or to the original color
//the color must update once we change mode which is independent of this
public void open(Patient p)
clear();
displayPatient(p);
} -
How to resize the DEFAULT tablespace...
When I use "Portal Configuration Assistant" to Install Oracle Portal, I got an alert from step 5 of 6 :
"The Portal Configuration Assistant has halted because it has detected that the amount of free space available in the Default tablespace is less than 150M...."
How could I do in next step?
Thanks in advance!
Regards,
Eric
nullEric,
To fix the problem, log into SQLPLUS as MANAGER
increase the table size by giving
ALTER TABLESPACE <name> ADDFILE '<fullpathfilename>' SIZE <value e.g 50M>
null -
How to get the default data in emp,dept tables
Hi all
i inserted some date into emp,dept tables.
after that i want to default records what is containing at the
time of instaling in oracle.
what script can i run to get that data.
Regards
GB raoThe script $ORACLE_HOME/sqlplus/demo/demobld.sql creates and
populates all the demonstration tables. You can extract the
actual INSERT statements from there. -
How to set the default date behavior
Hi,
I am using type date in inputfield.In F4 help i am getting thecalender.Now my calender is behaving based on the SAP user date settings.How can i override the user setting date to my F4 calender.Is there any options to specify the date format as mm/dd/yyyy to calender attributes.
Regards
USmanUSman,
Have you tried converting the date to your mm/dd/yyyy format before it is
sent back to the screen?
HTML:
<htmlb:inputField id = "startDate"
type = "date"
required = "false"
size = "7"
maxlength = "10"
firstDayOfWeek = "0"
showHelp = "X"
value = "<%= model-sdate %>" />
DO_HANDLE_EVENT:
inputfield ?= CL_HTMLB_MANAGER=>GET_DATA(
request = runtime->server->request
name = 'inputfield'
id = 'startDate' ).
IF inputfield->value IS NOT INITIAL.
call method model->convert_to_sap_date
EXPORTING
in_date = inputfield->value
IMPORTING
out_date = model->sdate.
IF model->sdate IS INITIAL.
me->messages->add_message(
condition = 'start'
message = 'Start Date is invalid'
severity = me->messages->CO_SEVERITY_ERROR ).
ENDIF.
ELSE.
me->messages->add_message(
condition = 'start'
message = 'Start Date is required'
severity = me->messages->CO_SEVERITY_ERROR ).
ENDIF.
method CONVERT_TO_SAP_DATE .
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
EXPORTING
DATE_EXTERNAL = in_date
IMPORTING
DATE_INTERNAL = out_date
EXCEPTIONS
DATE_EXTERNAL_IS_INVALID = 1
OTHERS = 2.
endmethod. -
How to set the default date format to populate a CachedRowSet...
Hi, I'm working with JDBC to retrieve some data from an Informix Database, I'm also using Flash Remoting as my User Interface.
The thing is, when I'm trying to display the recordset, the Date Format looks like this: "Fri Jan 29 18:00:00 GMT-0600 1999" so Flash cannot translate this format.
This is my Java code:
Class.forName(cnxDRV);
conn = DriverManager.getConnection(cnxURL);
Statement stmt = conn.createStatement( );
ResultSet rs = stmt.executeQuery( xSQL );
rowset = new CachedRowSetImpl();
rowset.populate(rs);
rs.close( );
stmt.close( );
conn.close();
return rowset;
May be, I need to insert every row on the CachedRowSet and specify the format with SimpleDateFormat, instead of using populate(), but, is there some other solution?USman,
Have you tried converting the date to your mm/dd/yyyy format before it is
sent back to the screen?
HTML:
<htmlb:inputField id = "startDate"
type = "date"
required = "false"
size = "7"
maxlength = "10"
firstDayOfWeek = "0"
showHelp = "X"
value = "<%= model-sdate %>" />
DO_HANDLE_EVENT:
inputfield ?= CL_HTMLB_MANAGER=>GET_DATA(
request = runtime->server->request
name = 'inputfield'
id = 'startDate' ).
IF inputfield->value IS NOT INITIAL.
call method model->convert_to_sap_date
EXPORTING
in_date = inputfield->value
IMPORTING
out_date = model->sdate.
IF model->sdate IS INITIAL.
me->messages->add_message(
condition = 'start'
message = 'Start Date is invalid'
severity = me->messages->CO_SEVERITY_ERROR ).
ENDIF.
ELSE.
me->messages->add_message(
condition = 'start'
message = 'Start Date is required'
severity = me->messages->CO_SEVERITY_ERROR ).
ENDIF.
method CONVERT_TO_SAP_DATE .
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
EXPORTING
DATE_EXTERNAL = in_date
IMPORTING
DATE_INTERNAL = out_date
EXCEPTIONS
DATE_EXTERNAL_IS_INVALID = 1
OTHERS = 2.
endmethod. -
To change the default date format of OID
Hello Gurus,
Any idea on how to change the default date format of OID?
The default date format of OID is something like "yyyy-mm-dd hh:mm:ss .0-0700" I want to change it to "yyyymmddhhmmss.0-0800".
Is there any system property to do the same.
I have provisioned users from OIM to OID.
Any ideas/clues/hints on this.
TIA,
- oidm.nobody? ?
-
How to set the default value of an item type DATE PICKER to the day of yest
Hi
How to set the default value of an item type DATE PICKER to the day of yesterday ?
Thank you very much !
Christian.Hi Christian,
Have a look at this thread Re: Default the Date Picker to Today
It covers this issue in detail.
Regards
Paul -
How to implement a Date Picker (Calendar) as a LOV in Portal Form?
I have a form, which will input date from user, and I also have javascript calender.
How to implement a Date Picker (Calendar) as a LOV in Portal Form? Do I need to choose POPUP and LOV for Date?
Instead of typing the Date within a Portal form, a popup Calender that will allow user to Pick a date.
Please help anyone!!Once you have the JavaScript and have added it to your form, you need to the the following. First off, you need to be able to customize the HTML code for the form (i.e. choose custom for form type when creating the form). Once you do that go into the custom layout to customize your HTML code. Find the field you want to add the date picker to. It will be <#your_field_name.ITEM#>
Paste this code after it:
<a href="javascript:show_calendar('forms[0.elements[16');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="the source of your image file" width=34 height=21 border=0></a></TD>
You will have to play around with the forms[0].elements[16]. 16 is what date field is set to. However your will differ, so just play with it.
Hope this helps.
Martin -
How can I get a date picker or wheel to show up in the form to make filling in a form with a lot of
how can I get a date picker or wheel to show up in the form to make filling in a form with a lot of dates more easy?
There is no built-in date picker available for forms created in Acrobat. There are some third-party solutions involving JavaScript (either a large collection of fields or a custom dialog) though. Also, text fields with date formatting will use a wheel type date picker on Android/iOS devices with Adobe Reader.
Maybe you are looking for
-
How to identify the open items of vendor/customers/general ledger
i would like to know the t.code for identifing the user wise open items for vendor/customer/general ledger.
-
Why is there a #1 badge on the Applications section of LIBRARY?
For about a week now, there's been a #1 badge next to the Applications section of LIBRARY and I can't figure out what it's there for. The badge is the same as the one that appears when there are new Podcasts available, but when I open the Application
-
Unexpected namespace change after mapping change
Unexpected namespace change after mapping change Posted: Apr 18, 2006 5:17 AM Reply Hi all We developped a mapping about one year ago on XI SP9. The source of the message was an Idoc and the target an XML sample (and not a xsd!) of what our custo
-
What does this mean: Essbase Error Number %d.
Good day guys, can anyone please tell me what's this error tells? Essbase Error Number %d. Thanks.
-
Hello To all that are having the Wi-Fi connection problem
My wireless is with at&t so I called because I could not get my ipad2 to recognize the internet anyway ask to join the network and for the password for at&t wireless/dsl its the modem key just type that in and your up and running. I hope this helps