How to migrate translation file XLIFF to server
Hi,
I was trying to translate one of my layouts. The layout is in English. I used Tools->Translation->Extract text to get .XML file. In this file, I made the translations manually in <target> tags. When I preview it on my m/c, its working fine.
Now, I want to move it to my server so that I can run it fom apps. I am not sure how to do it. Any help would be appreciated.
Regards
Varun
I assume you are using EBS, you need to go to Template manager, find this template, and add language translation, and upload this xliff file
You can preview, if the data definition has sample xml file
When you run concurrent manager program, you will see option for language, now select your language and the report will show in that language.
Similar Messages
-
How to get the files in presentation server while uploading?
how to get the files in presentation server while uploading?
give me the function module nameHi,
PARAMETERS: P_FILE LIKE RLGRAP-FILENAME DEFAULT C_PRES. "Prsnt Srvr
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'WS_FILENAME_GET'
EXPORTING
DEF_PATH = P_FILE
MASK = ',..'
MODE = '0 '
TITLE = 'Choose File'
IMPORTING
FILENAME = P_FILE
EXCEPTIONS
INV_WINSYS = 1
NO_BATCH = 2
SELECTION_CANCEL = 3
SELECTION_ERROR = 4
OTHERS = 5. -
How to create a file in the server?
Hi,
I'm making a webservice that has to generate a XML file, sign it using another webservice and return this XML. The problem is that i don't know how to create the file in the server throught webservice.
I use this code in the webservice to generate the XML and after I return the XML to client in a byte[]
static void outputDocumentToFile(Document myDocument, String path) {
//setup this like outputDocument
try {
// XMLOutputter outputter = new XMLOutputter(" ", true);
XMLOutputter outputter = new XMLOutputter();
//output to a file
FileWriter writer = new FileWriter(path);
outputter.output(myDocument, writer);
writer.close();
} catch(java.io.IOException e) {
e.printStackTrace();
}But the file is generated in the client-side, how can I generate the file in the server-side?
Thanks very much.Well the File object doesn't create a file it's simply an abstract representation of file and directory pathnames.
You can try something like this:
<%
try
// get the path to the web server root
// I read somewhere not to use 'getRealPath' for some reason which I
// can't seem to remember :S Hopefull someone can enlighten us :)
String path = application.getRealPath("/project/jsp/demo.txt");
File file = new File(path);
PrintWriter writer = new PrintWriter(new BufferedWriter(new FileWriter(file)));
writer.println("Hello World!");
writer.close();
catch (Exception e)
System.err.println(e.getMessage());
%>
Hope this helps :) -
How to upload XML file from Application server.
Hi,
How to upload XML file from Application server.Please tell me as early as possible.
Regards,
Sagar.Hi,
parameters : p_file type ibipparms-path obligatory.
***DOWNLOAD---->SAP INTO EXCEL
filename1 = p_file.
call function 'GUI_DOWNLOAD'
exporting
BIN_FILESIZE =
filename = filename1
filetype = 'ASC'
APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH =
tables
data_tab = it_stock
FIELDNAMES =
exceptions
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
others = 22
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Regards,
Deepthi. -
How to save CSV file in application server while making infospoke
How to save CSV file in application server to be used as destination while making infospoke.
Please give the steps.........Hi
If you want to load your flatfile from Application server,then you need to trasfer your file from your desktop(Computer) to Application server by using FTP.
Try using ARCHIVFILE_CLIENT_TO_SERVER Function module.
You Just need to give thesource path and the target path
goto SE37 t-code , which is Function module screen, give the function name ARCHIVFILE_CLIENT_TO_SERVER, on click F8 Execute button.
for path variable give the file path where it resides like C:\users\xxx\desktop\test.csv
for target path give the directory path on Application server: /data/bi_data
remember the directory in Server starts with /.
U have to where to place the file.
Otherwise use 3rd party tools to connect to ur appl server like : Core FTP and Absolute FTP in google.
Otherwise...
Goto the T.code AL11. From there, you can find the directories available in the Application Server.
For example, if you wanna save the file in the directory "DIR_HOME", then you can find the path of the directories in the nearby column. With the help of this, you can specify the target path. Specify the target path with directory name followed by the filename with .CSV extension.
Hope this helps
regards
gaurav -
How to place a file on application server in crm?
Hi,
How to place a file from presentation server to application server in crm?, is ther any tcode or fm to do this one?
Thnaks,Hi,
You can check this link for the issue:. Load it in the CRM server and compile the program.
[http://wiki.sdn.sap.com/wiki/display/Snippets/ApplicationserverProgram.]
cheers
Aveek -
How to rename a file in Application server
Hi All,
Here I have a issue with the present file which is being generated in application server.
Before the completion of the file the EDI tool is extracting the file from the app server.So here I would like to generate the file with a temp name and then rename to the actual file name which EDI recognises and fetches.
Please correct me If I am wrong and let me know how to rename the file in application server.
Thanks,
Vijay Nyou can try using unix command , if your application server is unix.
use move command
mv <source> <target>
REPORT ZUNIX line-size 400
no standard page heading.
data: unixcom like rlgrap-filename.
unixcom = 'mv file1 file2'.
data: begin of tabl occurs 500,
line(400),
end of tabl.
data: lines type i.
start-of-selection.
refresh tabl.
call 'SYSTEM' id 'COMMAND' field unixcom
id 'TAB' field tabl[].
or else you can open dataset/ read the dataset and move it to another file and delete the old file. -
How to open sdf files in SQL server 2012?
How to open sdf files in SQL server 2012?
I couldn’t figure out how to open the sdf files in SQL server 2012
Thank you
Best
JamalI don't think it's hard if understood the question properly you can try this I do it most of the time and this might be the solution for you, sometimes minor simple click is a life saver:)
1.
Open SQL Server Management Studio, or if it's running select File -> Connect Object Explorer... and click the
connect drop down arrow
2.
In the Connect to Server dialog you will see Database Enghine, Analaysis Servie on so on and you go head change Server type to
SQL Server Compact Edition
3.
From the Database file drop-down as shown below click the drop down arrow and select <
Browse for more...>
4.
And you will see C:\, D:\, G:\
drive and so on and open, your SDF file where it is located
I hope this has been informative for you and good luck
Please remember to click “Mark as Answer” on the post that has answered your question as it is very relevant to other community members dealing with same problem in seeking the right answer -
How to send CSV files to external server
Hi All,
How to send CSV files to external server (not to application server).
I know how to download files to application server.
Please give me the steps to send CSV files to external server.
Is it posiible with RFCs? If yes, then plz provide me the steps. Do we need to create RFC destination for this.
Appriciate your help with rewarding points.
Please help as this is an urgent requirementhi,
you can send via xi.
chk this blog
a) content conversion (sender)
/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
b)content conversion (receiver)
/people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
<b>
reward points if this helps you.</b>
Siva
Message was edited by:
SivaKumar -
How to save image files into SQL Server?
Hello, All:
Does anyone know how to save image files into SQL Server? Does the file type have to be changed first?? Please help me! Thank you!You need a BLOB field (usually)... Then you can check this tutorial out:
http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/exercises/BLOBPut/
There are other exercises on that site, including one on reading the images back. -
How To read/write file on remote server in java
Hi All,
How To read/write file on remote server in java? I mean using URL - http://www.xyz.com can I right file to that perticular server.
Thanks in advanceIf your server support a means of uploading files you can.
A popular means is [http://en.wikipedia.org/wiki/WebDAV]
However, by default web server don't allow you upload files, its usually something you need to configure or install.
I suggest you have a look at your web servers documentation. -
How to transfer excel files(on ftp server) into internal table?
hello,everyone
pls tell me how to transfer excel files those on a ftp server into internal table?
ps.i know the function 'ftp_server_to_r3',it can help to transfer flat file.Hi,
I believe you want to get the data from the FTP Server to R3.
I am also sending the code. Have a look and it would help you.
First get the Password and user name and the FTP Server Path where file is stored and FTP Server Host name
FUNCTION zfi_ftp_get.
*"*"Local Interface:
*" IMPORTING
*" VALUE(I_FILENAME) TYPE C
*" TABLES
*" T_BLOB STRUCTURE ZFI_TLM_LENGTH OPTIONAL " is a table type with a field called line of length 992
*" RETURN STRUCTURE BAPIRET2 OPTIONAL
DATA : i_password(30) TYPE c,
i_user(30) TYPE c,
i_host(30) TYPE c,
i_rfc_destination TYPE rfcdes-rfcdest,
i_length TYPE i,
i_folder_path(100) TYPE c.
DATA: lv_blob_length TYPE i.
DATA: lv_length TYPE i, "Password length
lv_key TYPE i VALUE 26101957,
lv_password(30) TYPE c,
lv_ftp_handle TYPE i,
lv_cmd(80) TYPE c.
DATA: BEGIN OF result OCCURS 0,
line(100) TYPE c,
END OF result.
TYPES: BEGIN OF ty_dummy,
line(392) TYPE c,
END OF ty_dummy.
DATA: lt_dummy TYPE TABLE OF ty_dummy,
ls_dummy LIKE LINE OF lt_dummy.
i_password = 'vnhdh'.
i_user = 'sdkgd'.
i_host = 'sbnksbg'.
i_rfc_destination = 'SAPFTP'.
i_length = '992'.
i_folder_path = '/hioj/hohjk/hh'.
lv_length = STRLEN( i_password ).
CALL FUNCTION 'HTTP_SCRAMBLE'
EXPORTING
SOURCE = i_password
sourcelen = lv_length
key = lv_key
IMPORTING
destination = lv_password.
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
user = i_user
password = lv_password
host = i_host
rfc_destination = i_rfc_destination
IMPORTING
handle = lv_ftp_handle
EXCEPTIONS
not_connected = 1
OTHERS = 2.
IF sy-subrc = 1.
return-type = 'E' .
return-message = 'FTP Connection not Successful'.
APPEND return.
ELSEIF sy-subrc = 2.
return-type = 'E' .
return-message = 'FTP Connection not Successful'.
APPEND return.
ELSEIF sy-subrc EQ 0.
return-type = 'S' .
return-message = 'FTP Connection Successful'.
APPEND return.
CONCATENATE 'cd' i_folder_path INTO lv_cmd SEPARATED BY space.
CALL FUNCTION 'FTP_COMMAND'
EXPORTING
handle = lv_ftp_handle
command = lv_cmd
TABLES
data = result
EXCEPTIONS
command_error = 1
tcpip_error = 2.
IF sy-subrc = 1.
return-type = 'E' .
return-message = 'Command Error Occured during open of FTP Folder'.
APPEND return.
ELSEIF sy-subrc = 2.
return-type = 'E' .
return-message = 'TCIP Error Occured during open of FTP Folder'.
APPEND return.
ELSE.
REFRESH t_blob.
lv_blob_length = 992.
TRANSLATE i_filename TO LOWER CASE.
CALL FUNCTION 'FTP_SERVER_TO_R3'
EXPORTING
handle = lv_ftp_handle
fname = i_filename
IMPORTING
blob_length = lv_blob_length
TABLES
blob = lt_dummy.
t_blob[] = lt_dummy[].
ENDIF.
ENDIF.
ENDFUNCTION.
Regards
Sajid
Edited by: shaik sajid on Nov 16, 2010 7:25 AM -
How to delete a file from application server?
Hi gurus,
i want delete a file from application server . can any one tell me the BAPI/Fm .
thanks in advanceSee the replies of the thread;
How to delete File from the Application Server,ABAP
But i can smell something fishy in both The specified item was not found. and The specified item was not found. style of posting questions. Also both of you have similar questions in your profile....
Hmmm, Mods have to take care of the Rest...
Regards
Karthik D -
How to delete a file on web server without using FTP
Hi All
I hv given a facility to a site user to upload some files..
And an interface to web administrator to view all the files..
I want to know how can i write a code in JSP which allow the web administrator to delete any of that file which is not of his/her interest through provided interface only.
OR
Is it possible to delete a particular file from web server without getting login into FTP account
Thanxnew File(strFileName).remove;
Simply as this.
Don't forget to import java.io.FileInputStream. -
How to download a file from a server path?
Is it possible to attach files on the server to a web dynpro response with cl_wd_runtime_services=>attach_file_to_response? All the examples I have seen assume you have the file content as an XSTRING. But how can one just send a file from a known path?
Is it really necessary to first load the file (e.g. a 50Mb TIFF) as an XSTRING before downloading it? If so, how is this done?Hi Marc,
Try using this FM to convert String to Xstring.
SCMS_STRING_TO_XSTRING
HR_KR_STRING_TO_XSTRING
and also check this...Error document.getElementById(...) in function 'SCMS_STRING_TO_XSTRING'
Might Helps you.
Cheers,
Kris.
Maybe you are looking for
-
How to find out histotry command from other session
Hi gurus, I use RHEL 5.4 Some user log onto server with root and make change at some files. How can I find out history command from other session with the same user. history command is just give me history commands of my own session. Thanks Ch
-
How to Suppress Report Total When Using Sum on Columns & Break Formatting
I need to know how to NOT show the report total line when using the sum functionality with a break in a report. I am summing two columns, a debit amount and credit amount. I am breaking on the first column which is the level of a hierarchical query.
-
Autocomplete from another table in another sheet in same file
I found how to get a price to autofill using VLOOKUP. I like it. Now, I want to be lazier and not need to type in the full item name in the row heading completely & exactly every time. I also don't want to have a drop down menu in every item line in
-
Document.ready() in jQuery
Hi, On jsf fragement page, I want to do something when the is loaded. So, in jQuery, I do this. <af:resource xmlns:af="http://xmlns.oracle.com/adf/faces/rich type="javascript"> $(document).ready(function() { // Handler for .ready() called. alert('loa
-
Displaying all enhanced Business Content Objects?
Hey all. Is there a way to display all Business Content objects that have been enhanced/modified without checking each one individually? Specifically, I am wanting to know which standard InfoObjects in our system have been enhanced, but I don't want