Browser date field format in header
I am using Browser 2.0 for some ad hoc queries on an Oracle
7.2.3 database.
My client is running Windows NT 4.0 with Service Pack 4.
Regional settings are set to English (Australia).
The page setup in Browser allows you in the header or footer to
insert the a date field via "&d". Documentation states this is
system generated.
However, in the print preview and print out the date is
formatted as MM/DD/YY. I need to have it formatted as DD-MON-
YYYY.
Can anyone suggest to me from which system the format is being
generated or any
suggestions on how to change it in.
Thanks
null
can you paste the timestamp being displayed?
You can use, format-date function or other, but its all based on the data you have for DATE.
Similar Messages
-
XMLPub 5.6.3: Data fields missing in Header/Footer
Hello,
I am having a problem with an RTF template, where the data fields in the
template Header or Footer that should display data do not appear at all, while
the fixed text that is in the Header/Footer is shown.
This template is built with the start:body/end body syntax to separate
the fields that belong to the Header/Footer from the body of the report. The
body has a for-each@section that works fine and a split-by-page-break at the
end, after the Footer fields.
I played a little bit with the template and I found out, that:
- if I change my template not to use the start:body/end body syntax, but I use
the Header/Footer Word functionality with the explicit field names specified in
the header or footer, the data fields will not be displayed;
- if I remove the for-each@section, the data fields in the Header (before the
start:body) and in the Footer (after the end body) are displayed correctly;
- if I duplicate in my XML file one of the elements that are in the Header and I put it
in the child group that is displayed in the repeating section and I add another data
field in that section, it will display both in the Header and in the repeating section;
This very template works fine on an E-Biz instance at another customer site, but
only here it's showing this issue.
It also looks like a different problem than the one caused by the Microsoft
security update. In fact, I cannot not find any "/headerr" or "/ footerr"
strings in the template RTF. (Anyway, is there a patch for version 5.6.3?)
Can anybody shed some light on this strange issue? Any advice?
I am using XMLPub Desktop 5.6.3 and MS Word 2000 9.0.6926 SP-3.
If someone wants to have a look, I've prepared a small test example to show this weird behavior.
Thanks,
Paoloashee1,
Please refer XMLP User Guide Chapter 9. You need to define data definitions and upload the data template to DataTemplate filed.
Create the Template Definition and upload your RTF Template.
Create a Report Definition in Concurrent Program/Manager and set the executable as XDODTEXE. make sure the program short name is the same as Data Definition.
Set the output type as XML and the OPP will pick your RTF Template.
-Ashish -
Hi All,
I'm back already! Learning Flash is beginning to get to me
again so I returned for yet more help!
I've written the following AS code to get tomorrow's date . .
// Calculates today's date and tomorrow's date
var dToday:Date = new Date();
dToday.getDate()
trace("today: " + dToday) //today's date
myD = dToday.getDate() + 100; // plus one day
var dTomorrow:Date = new Date();
dTomorrow.setDate(myD)
trace("new: " + dTomorrow) //tomorrow's date
var strDate:String = new String();
var strDate = String(dTomorrow);
trace("String: " + strDate);
The strDate string returns the following value . . . "Tue Jul
11 16:19:57 GMT+0100 2006".
That is all well and good but I want to convert it into the
following format for comparison with another field . . .
"200607111619" which is basically the same value in the following
format . . . "yyyymmddhhmm".
Does the only way of doing this involve using parsing logic
to break down the original string and then reconstruct it in the
required format using variables from the broken down original
string?
I have tried looking at the Date Field object notes in my
book but it does not give me anything as regards this programming
requirement. The only thing I can find that might suit this purpose
is string parsing logic. Am I right or is there an easier way to
set a date field format?
Any help would as always be much appreciated!
Thanks,
Kevin.I'm working on an application which requires a valid Voucher
Number to proceed. The Voucher number is based on a combination of
'date/time/no of items' (e.g. 20060711095802 which is today at
09:58 (on a 24 hr clock) for 2 (02) items).
As this date this date/time Voucher Number logic is
essentially sequential, in that each subsequent Voucher Number will
be greater than the last good known Voucher Number entered into the
application (which is already stored in a variable field for
comparison). But it must also be less than tomorrow's date, for
which the Voucher Number would always be tomorrow's date (e.g.
20060712 at 00:00 hrs for 00 items, thus giving 20060712000000).
This is the value that I'm trying to ascertain from the date field
logic.
It would thus be really handy for comparison if I could just
format tomorrow's date and time in the format yyyymmddhhmm and just
add '00' to the end of the string.
I don't like the idea of using the milliseconds value as it
will be necessary then to convert the Voucher Number entered to a
date field for comparison. -
Determine Date field format dynamically
Hello friends,
I'm writing some database access code in java. The biggest problem I face is date fields. Because I don't know the date field format (For example, in SQL Sever we can have dd/mm/yy or mm/dd/yy, etc), I can't format dates for insert/update statements.
Is there a way to determine the date field format dynamically? Regardless of database, for ex. MS SQL, Oracle?
Thank you.Hey!
There is a way to do this! The Oracle Database understands SQL92 Syntax. So you can use
- {d ?yyyy-mm-dd?} for date representation,
- {t ?hh:mm:ss?} for time representation,
- {ts ?yyyy-mm-dd hh:mm:ss.f...?} for timestamp rep.
Here is a small example:
// Connect to the database
// You can put a database name after the @ sign in the connection URL.
Connection conn = DriverManager.getConnection
("jdbc:oracle:oci8:@", "scott", "tiger");
// Create a Statement
Statement stmt = conn.createStatement ();
// Select the ename column from the emp table where the hiredate is Jan-23-1982
ResultSet rset = stmt.executeQuery
("SELECT ename FROM emp WHERE hiredate = {d ?1982-01-23?}");
// Iterate through the result and print the employee names
while (rset.next ())
System.out.println (rset.getString (1));I hope this is what you wanted to know! -
Hi,
I'm trying to import some UDF information into Business Partners, but one of my UDFs is set up as a Date field. What format of date shoul be in the import file becasue DD/MM/YYYY doesnt import so I tried YYYY/MM/DD and this doesnt work either.
Thank you xHi,
Check this thread.
Re: defining date possible while doing DTW import to Goods Receipt
regards,
Fidel -
Conversion of date field format from char to dats
Hi All,
one issue with Date field.
in my internal table i have a date field with type char(10).
But when I upload the data to database through upload program, there I have a date field with type "DATS".
how do I convert and store it in "DATS " format in database.
please help...HI ,
Try this use CONVERT_DATE_TO_INTERNAl
CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
EXPORTING
date_external = "ur date from file
ACCEPT_INITIAL_DATE =
IMPORTING
DATE_INTERNAL = "( date in dats format )
EXCEPTIONS
DATE_EXTERNAL_IS_INVALID = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. -
Use of revision no,revision date field in bom header details screen
Hi all,
Please let me know use of revision no,revision date field(customer fields tab) in bom header details screen.I tried with F1 ,no information.
Thanks
SukumarDear,
In standard SAP in BOM header overview there are 4 tabs.
Quants/Long text.
Further Data
Admin Data
Doc Assignment.
I think Customer fields tab may be customized based on client's requirement.
I Know about revision level. It Identifies the change status of a material.
The revision level can be uniquely assigned to changes made using a change number.
Hope this helps. Correct me if i my understanding of the problem is wrong.
Thanks and Regds
Sridhara K N -
The data field format for the sql* loader
the data field in my data file was surrounded by ",", such as "1","2","3",...
so in my control file, I coded
fields terminated by ',' enclosed by '"'
no error after I execute sqlldr command.
however, on data has been inserted into table either.
if I remove "" and ,
the data field changed to 1 2 3 ...
and the data has been inserted into my table
However the first format is what I want. can anyone experienced silmilar situation? please give me a hint.
your help is highly appreciated
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Renali ():
say:
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS (
colname1,
colname2,
colname3)
the data field in my data file was surrounded by ",", such as "1","2","3",...
so in my control file, I coded
fields terminated by ',' enclosed by '"'
no error after I execute sqlldr command.
however, on data has been inserted into table either.
if I remove "" and ,
the data field changed to 1 2 3 ...
and the data has been inserted into my table
However the first format is what I want. can anyone experienced silmilar situation? please give me a hint.
your help is highly appreciated
<HR></BLOCKQUOTE>
null -
Contract sign date field hide at header level
Hi,
My client want to disable contract sign date at header level only not at item level in the contract.I tried transanction variant but it is disabling both side header as well as item level.Kindly suggest me.User should only give input at item level only.So are we... The BAPI BAPI_CONTRACT_CREATE has the following importing parameters:
HEADER TYPE BAPIMEOUTHEADER
HEADERX TYPE BAPIMEOUTHEADERX
VENDOR_ADDRESS TYPE BAPIMEOUTADDRVENDOR
TESTRUN TYPE BAPIFLAG-BAPIFLAG
TECHNICAL_DATA TYPE BAPIMEOUTTECH
Change the HEADER and HEADERX parameters as I have indicated in my first post.
Regards,
John. -
IDoc posted in R/3 but data for Date field has not generated.
Hi Experts
This is JDBC to IDoc scenarion.
Source: MS SQL Server
Date Data Type: smalldatetime
Date field Format: yyyy-MM-dd hh:mm:ss --> example: 2009-11-13 00:00:00
XI Mapping: Source Date --> Transformation --> Target Date
Transformation: yyyy-MM-dd hh:mm:ss to yyyyMMdd
Target: R/3 System
Date Data Type: ERDAT from VBAK table - Date on Which Record Was Created
Date field Format: Date field (YYYYMMDD) stored as char(8)
Check points:
1. Mapping is working fine in XI and transformation is done with the test data: 2009-11-13 00:00:00 --> to ---> 20091113
2. In SXMB_MONI the data is processed from the source and the IDoc XML data is generated. In the IDoc XML data the date field is containing the value <DATE>20091113</DATE>
3. But when I tried to open the IDoc(SE05) in R/3 the date field is empty and no data is generated.
Request you to let me know why the error is happening.
Regards
RamHi Ram,
First try to test the same IDOC generated in ECC Box by populating date field value using WE19 and test .
Or
Instead of passing date value from SQL Server, Just give a try with Current Date function in Mapping and test in ECC system.
then we can think on further analysis.
Regards,
Vijay -
In BDC programming how can we maintain date field
hello all
In BDC programming how we will deal with date field?
In my flat file my date field format is different from the sap date field format. how can we deal this?hi,
just define a variable with length 10 in ur internal table.
now pass the date format in flat file as dd.mm.yyyy. -
Update BOM revision no,date field automatically
Hi all,
My client requirement is this.
Whenever bom is changed using a change nomber ,Revision no,revision date field in BOM header should get updated automatically.
This is very urgent.Please guide me how to do the settings.
Thanks and Regards
SkumarDear,
Whenever a BOM is Changed,use a new Change number and against that Change number give the Reason for Change as some Revision level.
As for a material ,revision level can be made directly using T code CC11,but for a BOM , there is no direct T code for this.
Please refer this also,
Re: Revision Levels
Regards,
R.Brahmankar -
Abap date field and calendar in iView
When I create an iView out of a transaction which has a date field,the iView cannot display the calendar in the portal.Just an Empty dialog box appears in place of the calendar.
Please help.
regards,
BhupeshHi,
that's quite easy to realize with FormCalc.
In you date fields exit event add the following code:
textField1 = Num2Date( Date2Num($.formattedValue, "MM/DD/YYYY"), "YYYY")
Note: This sample assumes that your date field formats the date with "MM/DD/YYYY". You may have to change the pattern to make it work at your end. -
Extract Year (only) from Date Field and Display in Text Field
I need to extract the year from a user entered date field and display the year in a text field. Can someone help me with the correct script to do this?
Hi,
that's quite easy to realize with FormCalc.
In you date fields exit event add the following code:
textField1 = Num2Date( Date2Num($.formattedValue, "MM/DD/YYYY"), "YYYY")
Note: This sample assumes that your date field formats the date with "MM/DD/YYYY". You may have to change the pattern to make it work at your end. -
Formatted Search for Delivery Date field in SO not working
Hi All
Can anyone help me as to why my formatted search is not working?
I am currently using SAP B1A SP01 Patch 19.
I have created a user query as follows:
SELECT $ [$10.0.DATE] + 5
When I add this to the delivery field within the Sales Order and bring through the saved query which I set to auto refresh when the Posting Date field changes and to Display Saved Values it doesn't work.
Any ideas?
Thanks and best wishes
GailHI Gail,
If I am not mistaken you want to add days to the posting date...if that is so then try this out:
SELECT $[ORDR.DocDate.DATE]+5 From ORDR T0 For Browse
Set The indicator to Auto Refresh when the fields change
Nagesh
Maybe you are looking for
-
Downloaded free game for my iPad 2; made several in-app purchases. The game no longer works, it's happen to all users (customers). Deleting and re-downloading refreshes the game to level 1. How can I get a refund?
-
Viewing a PDF document with uniform page sizes:
As part of our month end reporting, the members of our team PDF several Word, Excel and PowerPoint documents and someone combines them into one PDF document using Adobe Acrobat X Standard. The combined document is sent to the Board of Directors. We
-
Hi ... my sent emails are
Hi ... I installed a Yosemite server and setup a mail server on it .... when I send an email from it ... it is considered as a spam.... this is the message source x-store-info:4r51+eLowCe79NzwdU2kRyU+pBy2R9QCxy8lSR7M48OvqSqDUfHpsLCMzCqfNXFfRIP eJvgV/
-
I am trying to send items to the Trash but it is continually running and will not complete.
I am trying to send items to the Trash but it is continually running and will not complete.
-
i was wondering if y'all have any suggestions as to how to set up a web cam as a security cam. i'd like to record the footage to an older machine and view it when time permits at the end of the day. tia !