How to change the file format
I have an Issue.
When I create an Outbound Delivery in VL01 my file path is getting update.
But it is updating in format of Idoc Message Type "WHSORD" and Basic Type "Delivery03".
Now I want to change my format from Idoc type to my Custom format.
Do you have any suggestion where I need to do my Enhancement or to Implement and BADI.
Thanks in Advance.
Thanks & Regards
Nickel
I have an Issue.
When I create an Outbound Delivery in VL01 my file path is getting update.
But it is updating in format of Idoc Message Type "WHSORD" and Basic Type "Delivery03".
Now I want to change my format from Idoc type to my Custom format.
Do you have any suggestion where I need to do my Enhancement or to Implement and BADI.
Thanks in Advance.
Thanks & Regards
Nickel
Similar Messages
-
hi guys,
i hv a requirnment in which i need to read a file which is in .CGL format on a shared network path or application server which is nt possible to read directly so i need to first change the format of the file to .CSV and then read it using the FM KCD_CSV_FILE_TO_INTERN_CONVERT .
so plz tel me how to change the file extension
thanks
shivrajNot quite sure how you arrived at conclusion that CGL must be converted to CSV... CGL might turn out to be just a plain text file (e.g. many log files have .LOG extension but are just plain texts), in which case you can simply read it directly. Whether you'll be able to make sense of the file data - is another question and it depends on what is in that CGL file. Again, conversion to CSV might not even help.
If CGL file is a proprietary format, you might not be able to read it in SAP at all without using some third-party tool.
More info on CGL extension:
http://pcsupport.about.com/od/fileextensions/f/cglfile.htm -
How to change the date format?
Hi,
I need to display the data format as(YYYY-MM-DD). But now it displays(2009-1-9)
Here is my code snippet which i used to display the data format as(2009-1-9)
*<INPUT TYPE=TEXT NAME="date_submitted" MAXLENGTH=20 SIZE=10 VALUE="" onBlur= "return dateSubmitted()"> (YYYY-MM-DD)*
*<SCRIPT LANGUAGE="javascript">*
dateSubmitted()
*</SCRIPT>*
function dateSubmitted()
if (document.pgUpdate.date_submitted.value == "")
date = new Date();
month = date.getMonth() + 1
document.pgUpdate.date_submitted.value =
date.getYear() + "-" + month + "-" + date.getDate();
return true;
Can anybody help me how to change the date format?
Thanks in advance!prit123 wrote:
use SimpleDateFormat class. The code is :He posted a Javascript related question, not a Java related question.
Please use forums devoted to Javascript. You're here at a Java/JSP forum.
There are JS forums at webdeveloper.com and dynamicdrive.com. Good luck.
String formatPattern = "yyyy-mm-dd";
SimpleDateFormat sdf = new SimpleDateFormat(formatPattern);
sdf.format(yourdate);yyyy-mm-dd denotes year-minutes-days. Please go read the SimpleDateFormat API as well. -
I got data from OTF in SAPSCRIPT and send by email.
How to change the paper format in SOST tcode from X_65_80 to X_65_255?
I need to change it automatically from abap.
Any suggestion?Hi,
change line size and line count in report.
By default report line size and line count is taken in printer
settings
REgards
amole -
How to change the date format in xml form?
hi,
How to change the date format in xml form?
For example: 11/20/2008 3:00:03 PM -> 11-20 03:00
Any opinions greatly appreciated!
Thanks.
Edited by: ke wenxing on Dec 2, 2008 8:33 AMYou could go to System - User Profile - Own Data would take you to the "maintain user profile screen"
Click the defaults button and change the date format.This changes date format for all the dates in your login. -
How to change the date format YYYYMMDD to MM/DD/YYYY
Hi ,
How to change the date format YYYYMMDD to MM/DD/YYYY .
Ex : 20071008 to 10/08/2007
Is there any function module for this ??
Regards
RahulHi Sharma,
check the code:
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-031.
PARAMETERS: date1 RADIOBUTTON GROUP rad1 DEFAULT 'X', "SAP date format YYYYDDMM
date2 RADIOBUTTON GROUP rad1, "Date format like aprial31, 2006
date3 RADIOBUTTON GROUP rad1, "Date format like 31 apr,2006
date4 RADIOBUTTON GROUP rad1, "Date format like DD/MM/YYYY
date5 RADIOBUTTON GROUP rad1. "Date format like DD.MM.YYYY
SELECTION-SCREEN END OF BLOCK b2
FORM getmonth .
SELECT mnr
ktx
ltx
INTO TABLE T_month
FROM t247
WHERE spras = 'EN'.
IF sy-subrc NE '0'.
MESSAGE I "Message - Not able to get month values from the table T247
ENDIF.
ENDFORM.
DATA : temp_date(16) TYPE c,
temp1_date(60) TYPE c,
year(4) TYPE c,
daymonth(11) TYPE c,
daymonth1(11) TYPE c,
month(9) TYPE c,
day(2) TYPE c,
mon LIKE t247-ktx,
len TYPE i .
MOVE date TO temp1_date .
CONDENSE temp1_date NO-GAPS.
MOVE temp1_date TO temp_date .
IF date2 EQ 'X'. "The date format is like Aprial 31, 2007
CONDENSE temp_date NO-GAPS.
SPLIT date AT ',' INTO daymonth year.
IF STRLEN( year ) NE '4'.
error = 'X'.
WRITE : 'Invalid date format.'.
ELSE.
daymonth1 = daymonth.
CONDENSE daymonth1 NO-GAPS.
_len = STRLEN( _daymonth1 ).
l_len = 13 - len.
SHIFT daymonth1 RIGHT BY len PLACES.
CONDENSE daymonth1 NO-GAPS.
month = daymonth1.
CONDENSE month NO-GAPS.
SORT t_month BY monthltx.
READ TABLE t_month WITH KEY monthltx = month.
IF sy-subrc <> 0.
error = 'X'.
WRITE : 'Invalid date format.' .
ELSE.
len = STRLEN( month ).
CONDENSE daymonth NO-GAPS.
SHIFT daymonth LEFT BY len PLACES.
day = daymonth.
CONDENSE day NO-GAPS.
CONCATENATE year t_month-monthnumber day INTO o_date.
ENDIF.
ENDIF.
ELSEIF p_date3 EQ 'X'. "The date format is like 31 apr, 2007
CONDENSE temp_date NO-GAPS.
SPLIT i_date AT ',' INTO daymonth year.
IF STRLEN( year ) NE '4'.
error = 'X'.
WRITE : 'Invalid date format.'.
ELSE.
daymonth1 = daymonth.
CONDENSE daymonth1 NO-GAPS.
SHIFT daymonth1 LEFT BY 2 PLACES.
CONDENSE daymonth1 NO-GAPS.
month = daymonth1.
CONDENSE month NO-GAPS.
TRANSLATE month TO UPPER CASE.
SORT t_month BY monthstx.
MOVE month to mon.
READ TABLE t_month WITH KEY monthstx = mon.
IF sy-subrc <> 0.
error = 'X'.
WRITE : 'Invalid date format.' .
ELSE.
CONDENSE daymonth NO-GAPS.
day = daymonth+0(2).
CONDENSE day NO-GAPS.
CONCATENATE year t_month-monthnumber day INTO o_date.
ENDIF.
ENDIF.
ELSEIF p_date4 EQ 'X' OR p_date5 EQ 'X'. "Date format is like DD.MM.YYYY or DD/MM/YYYY
CONDENSE temp_date NO-GAPS.
IF STRLEN( temp_date ) EQ 10.
o_date0(4) = temp_date6(4).
o_date4(2) = temp_date3(2).
o_date6(2) = temp_date0(2).
ELSE.
error = 'X'.
WRITE : 'Invalid date format.' .
ENDIF.
ENDIF.
IF STRLEN( o_date ) NE '8'.
error = 'X'.
WRITE : 'Invalid date format.'.
ENDIf.
ENDFORM. " f0100_conv_date
Reward if helpful.
Regards,
Harini.S -
How to change the file type from IMOVIE PROJECT to other types of file
how to change the file type from IMOVIE PROJECT to other types of file??
thank you very much for your help=]I am not sure what you mean, but once you make a project. Then go to the share menu and you can export the project to iDVD, itunes, mobileme, quicktime.
Share export quicktime movie will allow you to export to a variety of codecs. What specific export are you looking to share the movie in? What is the final source that the movie will be displayed? -
How to Change the default format for differnt language both in java and SQL
Hello,
I am using SQL Anywhere in my application.And in my java client application user can log in with their preferred language like English,French,German,Chinese,etc....When even the user log in to the application the data from the database will be displayed with respective to the language.But when i tried to see the dates in Interactive SQL all the dates r in the format of '2008-12-5 16:44:10:673' but say for example for Chinese it will be displayed as '08-12-5 16.44.10' and for some other language it will come in some other format(which is standard format for those language).
Mean while i am using java client.When ever i am displaying a date it will be with respective to the language using Locale and date format classes.When i am displaying the date for Chinese in GUI it will show the date as '08-12-5 下午4:44'. In summary
1. For Chinese,the default date pattern from SQL Anywhere date base is '08-12-5 16.44.10'
2. For the same language date using java code is displaying as '08-12-5 下午4:44'. and i am getting the time format pattern as 'ah:mm'.I tried to change the display format in regional settings but no change in display.
Is there any way to make both the time format as same?
Please help me to solve this issue!!!
Thanks in Advance!
Arunpon_arun wrote:
Hello masijade,
I did as u said but still the date display is not the same......And I'm telling you that it doesn't matter. What "format" the DB likes to display a Date in when it displays it, is completely irrelevant to how you display it in your GUI.
A Date does not have a format. A String representation of a Date does.
As long as you use getDate from ResultSet and setDate from PreparedStatement you do not have to worry about this. Those methods will handle dates to and from the DB themselves. You can then use SimpleDateFormat to display the Date anyway you want to.
Just because you show the Date one way, and the DB shows it another, does not mean that it is not the same date. Don't get hung up on how the String representation of the Date looks.
Edit: If you simply want to be able to do "Human Comparisons" then look at the SQL TO_CHAR function (for Oracle, for other DBs the function name may vary). And for Java, read the API docs for SimpleDateFormat (as already intimated above). -
How to change the file name of pdf file in html page?
Hi,
Actually my requirement is to upload 50 PDF files containing javascript in each file into flex page with the help of one html page.
i did the the javascript part by using batch processing.
now i want to call those pdf files one after another without changing the file name in html page
the code written in html page is
<html>
<body>
<object id="PDFObj"
data="http:\\localhost\pdf\20090807 - Batch 630.pdf"
type="application/pdf"
width="100%"
height="100%">
</object>
</body>
</html>
So every time i have to change that file name to acess another file.
Is there is any other way to sort this problem????
Plz anyone help me to sort out this problem with some code or some example.I once had a similar task for creating a webpage that I only use on my computer--a webpage that accesses PDF's and SWF's font previews from a list of fonts as "a href's". What you must do is utilize the power of the command line, whether on a Mac on a PC or on Linux, Linux being the most powerful (although Mac IS Unix). You must utilize variables, variable replacement, and then a command to print out the results of a "for" or "while" loop to a text file which will be your HTML file with each individual link automatically built into the HTML code. You will have a list of 50 links. If you are simply looking for a GOOGLE type functionality where you click on "Next" and "Previous" you will have to dig deeper into variable replacement--this I don't know how to do yet but there are books for command-line shell interpreters. One shell interpreter is called "bash" (born-again shell) and there is a book on the market which gives a detailed example of how to replace variables in a shell script. Again, I don't know how it works. I will try to learn this at a later time when I am more seasoned with the basics of shell scripting.
-
Hi,
Someone please help me in getting the file format that is selected in the "save as" dialog. I wanted to retrieve it in the string format.
I tried sAIDocument->GetDocumentFileFormat. But i'm unable to implement it correctly. Is there a better way or How do I implement this? Precisely, I wanna get the value as a string when the user selects "save as .pdf".Do you really need to know the file type? What about just checking the bit depth?
var doc = activeDocument;
if (doc.bitsPerChannel != BitsPerChannelType.EIGHT) {//Not 8 bit
doc.bitsPerChannel = BitsPerChannelType.EIGHT;
//do your save etc
}else{
//Ignore -
Changing the file format of spool output when scheduling a background job.
Hello Experts,
I have an issue. It is related to Spool output format. I created a job for one report program for which the output is a list output. I have added one recipient in the 'Spool list recipient' while creating the job SM36. After the job is finished the spool output is sent to the recipient mail id as .htm format as an attachment. But the attachment should be excel sheet or text file. No coding in the program should be used to convert the file format. Only settings in the spool while creating job should be manipulated. Please help me in solving this issue.
Regards.Hi Sunil,
You can use the logic for converting spool to PDF using program : RSTXPDFT4 . Alternatively you can use FM: CONVERT_ABAPSPOOLJOB_2_PDF . In this FM you need to pass the Spool id .
u can make use of these FM's SO_DOCUMENT_SEND_API1
SO_NEW_DOCUMENT_SEND_API1
Check out the following wiki:
https://wiki.sdn.sap.com/wiki/display/Snippets/ConvertsspoolrequestintoPDFdocumentand+emails
hope this will use full to you.
Thanks!! -
How to change the file main.html in catalyst?
My Web Hosting can not accept files with main.html, only with index.html. How to rename the file in Catalyst? Please do not tell me I have to go to the builder to do this.
here is the link: http://www.insight-gd.com and see what comes up.
thx
Mikechris, I'm in open war with the people from my server hehehe, they say that it is possible to accept the domain main.html. But my question is if I return the letter M by m, will not interfere in other files?
thx
Mike -
How to change the date format of Sharepoint 2010 to dd MMM yyyy
Hi,
I am looking to change the datetime format with in the modified column from mm/dd/yy to dd MMM yyyy. I dont want to create calculated field with dd MMM yyyy format. I want the actual modified column value to be represented as dd MMM yyyy format.
Thanks for your help in advance.
regards
KalyanPlease ask your question in the SharePoint 2010 forum and not in this pre-SharePoint 2010 forum.
SharePoint 2010 - General Questions and Answers
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010general/threads
SharePoint 2010 - Setup, Upgrade,Administration and Operation
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/threads
SharePoint 2010 - Using SharePoint Designer, Infopath, and other customization
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010customization/threads
SharePoint 2010 - Using Visual Studio with SharePoint and other programming
http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/threads
Dirk Van den Berghe -
How to change the date format in Sharepoint 2010 to dd MMM yyyy
Hi,
I am looking to change the datetime format with in the modified column from mm/dd/yy to dd MMM yyyy. I dont want to create calculated field with dd MMM yyyy format. I want the actual modified column value to be represented as dd MMM yyyy format.
Thanks for your help in advance.
regards
KalyanI'm not really sure what context you asking to change this for but to change your date time settings -
Go into Site Settings and under 'Central Administration' there is a link to 'Regional Settings'. Click this and you specify the way dates and times are displayed.
I have done this and mine displays as DD/MM/YYYY like you are asking.
My locale is current set to English (United Kingdom) and sort order is general. Even if you're not in the United Kingdom, I can only see this way being your solution as US dates are always set as MM/DD/YYYY.
http://sharepointythings.blogspot.co.uk -
How can I change the file format in iTunes 11?
It seems the Convert to .. function which was available when right clicking a song is no longer there. How can you convert an AAC to MP3 for instance?
Assegai Guy,
It is still there but it looks a little different in iTunes 11. The "Create New Version" command is now in the File menu instead of the Advanced menu.
Here is a link to the revised support guide: http://support.apple.com/kb/PH12367
Maybe you are looking for
-
HT1338 how can I remove an app store app from 10.6.8
I downloaded an app from the appstore and want to remove it, but it remains in the "installed" state in app store. How can I remove it from the app store's idea of what's installed?
-
How I reset Mac Mail to default?
I've tried going into Library and deleting the Mail folder and com.apple.mail.plist, It's not working, all sorts of things are wrong with the Mail App, I only got this Mac a month ago... I'm using IMAP, nothing is wrong with the server, I asked my ho
-
Why does my Laserjet 2055dn only print the first page of a print job?
In our domain, we have a number of 2055dn printers that act up on intermittent bases. At times, they function properly, but other times they will only print the first page of a print job. Our domain has only HP printers so there should be no confli
-
PO's fully goods receipted are still appearing in the list to GR
Hi, I am experiencing the following problem. The PO has been goods receipted fully (checked both in EBP and R/3) Why it is still appearing in the list to be goods receipted in "Confirm goods and services" in the menu ? Thanks in advance!
-
HP 5510v all-in-one using Windows XP 2000 keeps showing out of paper msg. but is not.
Have in the past pulled Jammed paper out through the front (with extreme difficulty I might add) but finally read online to open door in back to relieve jam. Anyhow, could I have messed up some sensor or something by doing that? Have tried unpluggi