Unicode file formats ( open dataset)
Hi,
We are sending Unicode file with encoding as UTF-8( open dataset) containing Greek character to Legacy system. Legacy system( Sql server) is not able to understand this file format. As a workaround legacy side team coverts the file to Unicode UCS-2 using notepad ( by selecting encoding option as Unicode) and then uploading it to SQL server..
Is there anyway to convert the UTF-8 file to other Unicode file format ( say UCS-2 )within SAP or generate the desired file format.
Hi Martin,
Thanks for the help!!!
I tried to convert the file format from UTF-8 to UCS-2 using the methods of the class mentioned but it didn't fulfill my requirement. I have Greek character in UTF-8 format and when I convert it to any other other format then Greek character are displayed as #.
Problem is legacy SQL server don't support UTF-8 format. I tried open data set with binary mode & also legacy text mode with all available code pages but result were not fruitful.
( Program RSCP_CONVERT_FILE to convert code page - I used target code page as all possible UTF* , UCD* & Greek code page but no luck ).
I am just wondering whether SAP can convert UTF-8 to UCS-2 or not. Other option I am thinking is to have the file converted by Unix script that is application server external command which can be executed via FTP.
Similar Messages
-
Problem in file format OPEN DATASET
Hi all,
i am upgrading the systemm 4.7 to ECC6.0
In one of the programs OPEN dataset statement is being used to download the file to unix server, but when i run the same program in ECC6.0 version an try to opn in notepad the same file it is coming in single line (i.e end of line delimiter is being ignored.)
Hence I tried using WITH WINDOWS LINEFEED addition
it is displayed correctlyin notepad but when i see thru
transaction AL11 character'#' is displayed after every end of line also when i take a printout now one extra new line is added
the delimiter which i have used here is
C type c value CL_ABAP_CHAR_UTILITIES=>CR_LF
Can anyone suggest a better method to solve the problem?DATA L_MSG1 TYPE STRING.
CONSTANTS: C_TAB1 TYPE C VALUE CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
*-- Open Dataset
OPEN DATASET p_aosvr FOR INPUT IN TEXT MODE ENCODING DEFAULT.
IF sy-subrc EQ 0.
DO.
*-- Read Dataset and Populate Input file data to Internal Table
READ DATASET unix_filename INTO L_MSG1.
IF sy-subrc EQ 0.
SPLIT L_MSG1 AT C_TAB1 INTO it_final-field1
it_final-field2
it_final-field3
it_final-field4
it_final-filed5.
APPEND it_final.
CLEAR it_final.
ELSE.
EXIT.
ENDIF.
ENDDO.
ELSE.
MESSAGE e000 WITH 'Error while uploading data'(013).
ENDIF.
*-- Close Dataset
CLOSE DATASET p_aosvr. -
File transfer Open dataset CSV file Problem
Hi Experts,
I have an issue in transferring Korean characters to a .CSV file using open dataset.
data : c_file(200) TYPE c value '
INTERFACES\In\test8.CSV'.
I have tried
open dataset c_file for output LEGACY TEXT MODE CODE PAGE '4103'.
open dataset c_file for output in TEXT MODE ENCODING NON-UNICODE.
open dataset c_file for output in TEXT MODE ENCODING Default.
Nothing is working.
But to download to the presentation server the below code is working. How can the same be achieved for uploading the file to application server.
CALL METHOD cl_gui_frontend_services=>gui_download
EXPORTING
filename = 'D:/test123.xls'
filetype = 'ASC'
write_field_separator = 'X'
dat_mode = 'X'
codepage = '4103'
write_bom = 'X'
CHANGING
data_tab = t_tab
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
not_supported_by_gui = 22
error_no_gui = 23
OTHERS = 24.Hi,
I would recommend to use OPEN DATASET ... ENCODING UTF-8 ...
If your excel version is unable to open this format, you can convert from 4110 to 4103 with report RSCP_CONVERT_FILE.
Please also have a look at
File upload: Special character
Best regards,
Nils Buerckel -
How to open a pdf file using OPEN DATASET
Im trying to convert a pdf into binary format. So im trying to read the contents of the pdf into a XSTRING. Using the FM 'SCMS_XSTRING_TO_BINARY' i can convert the XSTRING to binary format.
How to open a pdf file using OPEN DATASET and transfer its contents in a XSTRING variable.
What i've tried is....
DATA: f_name type string value 'C:\rep_output_pdf.pdf',
x1 type xstring,
LT_DATA TYPE STANDARD TABLE OF X255.
OPEN DATASET f_name FOR input IN BINARY MODE.
READ DATASET f_name INTO x1.
CLOSE DATASET f_name.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = x1
TABLES
BINARY_TAB = LT_DATA.
Im getting a short dump .
Short text: The file is not open.
Plz help me out.Hello Rajesh,
You are trying to do use OPEN DATASET with a local file. NOT POSSIBLE
You have to have the file in the app server to use OPEN DATASET.
BR,
Suhas -
Problem in accessing application server file using open dataset
Hi All,
I am trying to access application server file using open dataset command, its working fine for normal path which imention. But when i am giving path of XI server file, its not working. How to access XI server file using open dataset. Please let me know.
Thanks in advance.
Regards,
VishalHi Vishal,
You need to verify if the location where you are trying to save the file is in the same server of SAP. In case that the location is in other server you need to map that directy into the same server of SAP.
You need to point always to a location in the same server of SAP, in order that the open dataset could work.
Regards,
Eric -
Japanies characters are converting to # in output file in open dataset
Hi Experts,
I am trying to transfer data from my internal table to application server. When i use
Open Dataset e_file for output in text mode encoding NON-UNICODE ignoring convertion errors.
All Japanies and chines characters(double byte characters) are converting to "#" in output file. I have used set locale language commend also.Still same problem is there.
Could you please any one help me on this.
Thanks
Srinivashi
problem exporting text in hebrew
Similar kind of problem has been solved here.. check that link first
Use the class CL_ABAP_CONV_OUT_CE and use it to convert file from unicode to ascii.
After that you should call OPEN DATASET IN LEGACY MODE and write the file.
you have to find the Code Page format for japanese here..
Is your system Unicode enables, if not please check whether you have japanese installed on your system.
Run the program RSCINST in SE38 which throws a pop up if u work on a Unicode system and also shows what are the language packs currently installed on ur system.... if u dont have Japanese installed then u need to contact Basis People for installion of that language pack -
Download file using open dataset
Hi all,
I download a .CSV file to sap server using open dataset. I have a column which stores a number with length upto 30 char. I get the output in this format '2.34234E+25' for '23423423423423400000000000' in that particular column.
Please send your suggestions to solve this issue.
Rajesh.Do you want to use the csv file in Excel or in another application.
If you display the CSV file created by open dataset using Notepad, you will probably see the 30 digit number. This is fine for many applications, but not Excel!
Excel cannot store a 30 digit number internally. Try entering a 30 digit number into an Excel cell and see what happens - it is converted to scientific format with only 14 decimal places.
If you need to see the number in Excel, you need to have it displayed as Text and not a number. There are a few options:
1. Put a character at the start of the field
2. Don't use CSV, but use OLE to start Excel and put the data in the cell with text format (complicated I know).
3. Save as a file with a .txt extension, open in Excel, and in the Text import wizard (step 3) specify that the column data format is Text
Michael -
Create an Excel File Using OPEN DATASET Command
Hey, everyone.
How can I create an Excel file by using OPEN DATASET command ??
The file is created but the columns are no seperated like thay should.
I need to seperate the internal table's fields with a comma - How can I do it ?
Here's my code:
OPEN DATASET filename1 FOR OUTPUT IN TEXT MODE.
IF SY-SUBRC = 0.
LOOP AT gt_vend_info into gwa_vend_info.
TRANSFER gwa_vend_info TO filename1.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
Thanks in advance.Hi Beki,
REPORT ZTESTAA.
TYPE-POOLS:TRUXS.
DATA: BEGIN OF ITAB OCCURS 0,
VBELN LIKE VBAP-VBELN,
POSNR LIKE VBAP-POSNR,
END OF ITAB.
DATA:
ITAB1 TYPE TRUXS_T_TEXT_DATA.
SELECT VBELN
POSNR
UP TO 10 ROWS
FROM VBAP
INTO TABLE ITAB.
CALL FUNCTION 'SAP_CONVERT_TO_CSV_FORMAT'
EXPORTING
I_FIELD_SEPERATOR = ';'
TABLES
I_TAB_SAP_DATA = ITAB
CHANGING
I_TAB_CONVERTED_DATA = ITAB1
EXCEPTIONS
CONVERSION_FAILED = 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.
ENDIF.
OPEN DATASET filename1 FOR OUTPUT IN TEXT MODE.
IF SY-SUBRC = 0.
LOOP AT gt_vend_info into gwa_vend_info.
TRANSFER gwa_vend_info TO filename1.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
the above code give CSV format file, all fields will be separated by ';'
Regards
vijay -
Problem with file in open dataset
Hi experts ,
i m getting output in a standard way . all the fields are displaying in one column .
this is my code .
DATA: L_DATA LIKE RLGRAP-FILENAME VALUE '/usr/sap/dev/sys/global/substanc' .
OPEN DATASET L_DATA FOR OUTPUT IN TEXT MODE ENCODING DEFAULT .
IF SY-SUBRC <> 0.
MESSAGE E208(00) WITH 'Error Opening File'.
ENDIF.
LOOP AT I_DOWNLOAD INTO I_WA.
TRANSFER I_WA-WERKS TO L_DATA.
TRANSFER I_WA-MATNR TO L_DATA .
TRANSFER I_WA-MAKTX TO L_DATA.
TRANSFER I_WA-MEINS TO L_DATA.
TRANSFER I_WA-PQTY TO L_DATA.
TRANSFER I_WA-FKLMG1 TO L_DATA.
TRANSFER I_WA-DQTY TO L_DATA.
TRANSFER I_WA-DOFORCAST TO L_DATA.
TRANSFER I_WA-DUFORCAST TO L_DATA.
TRANSFER I_WA-WAQTY TO L_DATA.
TRANSFER I_WA-OFORCAST TO L_DATA.
TRANSFER I_WA-UFORCAST TO L_DATA.
ENDLOOP.
CLOSE DATASET L_DATA.
IF SY-SUBRC <> 0.
MESSAGE E208(00) WITH 'Error Closing File'.
ENDIF.
Thanks,
Ashish Gupta
Moderator Message: Basic and Duplicate Post.
Edited by: kishan P on Dec 10, 2010 3:05 PMHi Sravan,
Thanks for replay .
I did the same but i was getting error message .
"I_WA" cannot be a table, a reference, a string, or contain any of
these objects. any of these objects
This is my internal table and work area definition.
DATA : I_DOWNLOAD TYPE TABLE OF TY_DOWNLOAD WITH HEADER LINE,
I_WA TYPE TY_DOWNLOAD.
Thanks ,
Ashish Gupta -
Create Tab-delimited text file with OPEN DATASET
Hi everyone,
My problem goes like this: the text file that I am writing using OPEN DATASET needs to be tab-delimited. Originally the file was to be delimited using the pipe ( '|' ) character.
I read in one of the threads that to put in tab delimiters you need to use something like this:
DATA v_tab TYPE x value '09'.
CONCATENATE wa-field1 wa-field2
INTO wa_output SEPARATED BY v_tab.
I also encountered the same problem, the error that I can't concatenate the v_tab with the other fields.
What, therefore, is the correct way to declare the fields to be used?
Thanks.Try this. It worked for me:
class cl_abap_char_utilities definition load.
constants:
tab type c value cl_abap_char_utilities=>horizontal_tab. -
How to create afile of Unicode file format
Hi
I need to create a file. The content that I write has to be written on to a file in a unicode format ,Now my problem is how do I create a file of Unicode format.
Is there any api do this ?
-satishHi,
See the Code Below,
It is a Frame which shows you all unicode characters.
I think it will be help you.
Avdhut.
==========================================
import java.applet.*;
import java.awt.*;
import java.awt.event.*;
* This program displays Unicode glyphs using user-specified fonts
* and font styles.
public class UnicodeDisplay extends Frame implements ActionListener
int page = 0;
UnicodePanel p;
Scrollbar b;
String fontfamily = "Serif";
int fontstyle = Font.PLAIN;
* This constructor creates the frame, menubar, and scrollbar
* that work along with the UnicodePanel class, defined below
public UnicodeDisplay(String name) {
super(name);
this.setLayout(new BorderLayout());
p = new UnicodePanel(); // Create the panel
p.setBase((char)(page * 0x100)); // Initialize it
this.add(p, "Center"); // Center it
// Create and set up a scrollbar, and put it on the right
b = new Scrollbar(Scrollbar.VERTICAL, 0, 1, 0, 0xFF);
b.setUnitIncrement(1);
b.setBlockIncrement(0x10);
b.addAdjustmentListener(new AdjustmentListener() {
public void adjustmentValueChanged(AdjustmentEvent e) {
page = e.getValue();
p.setBase((char)(page * 0x100));
this.add(b, "East");
// Set things up so we respond to window close requests
this.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {
UnicodeDisplay.this.dispose();
System.exit(0);
// Handle Page Up and Page Down and the up and down arrow keys
this.addKeyListener(new KeyAdapter() {
public void keyPressed(KeyEvent e) {
int code = e.getKeyCode();
int oldpage = page;
if ((code == KeyEvent.VK_PAGE_UP) || (code == KeyEvent.VK_UP)) {
if (e.isShiftDown()) page -= 0x10;
else page -= 1;
if (page < 0) page = 0;
else if ((code == KeyEvent.VK_PAGE_DOWN) || (code==KeyEvent.VK_DOWN)) {
if (e.isShiftDown()) page += 0x10;
else page += 1;
if (page > 0xff) page = 0xff;
if (page != oldpage) { // if anything has changed...
p.setBase((char) (page * 0x100)); // update the display
b.setValue(page); // and update scrollbar to match
// Set up a menu system to change fonts. Use a convenience method.
MenuBar menubar = new MenuBar();
this.setMenuBar(menubar);
menubar.add(makemenu("Font Family",
new String[] {"Serif", "SansSerif", "Monospaced"},
this));
menubar.add(makemenu("Font Style",
new String[]{"Plain", "Italic", "Bold", "BoldItalic"},
this));
/** This method handles the items in the menubars */
public void actionPerformed(ActionEvent e) {
String cmd = e.getActionCommand();
if (cmd.equals("Serif")) fontfamily = "Serif";
else if (cmd.equals("SansSerif")) fontfamily = "SansSerif";
else if (cmd.equals("Monospaced")) fontfamily = "Monospaced";
else if (cmd.equals("Plain")) fontstyle = Font.PLAIN;
else if (cmd.equals("Italic")) fontstyle = Font.ITALIC;
else if (cmd.equals("Bold")) fontstyle = Font.BOLD;
else if (cmd.equals("BoldItalic")) fontstyle = Font.BOLD + Font.ITALIC;
p.setFont(fontfamily, fontstyle);
/** A convenience method to create a Menu from an array of items */
private Menu makemenu(String name, String[] itemnames,
ActionListener listener) {
Menu m = new Menu(name);
for(int i = 0; i < itemnames.length; i++) {
MenuItem item = new MenuItem(itemnames);
item.addActionListener(listener);
item.setActionCommand(itemnames[i]); // okay here, though
m.add(item);
return m;
/** The main() program just create a window, packs it, and shows it */
public static void main(String[] args) {
UnicodeDisplay f = new UnicodeDisplay("Unicode Displayer");
f.pack();
f.show();
* This nested class is the one that displays one "page" of Unicode
* glyphs at a time. Each "page" is 256 characters, arranged into 16
* rows of 16 columns each.
public static class UnicodePanel extends Canvas {
protected char base; // What character we start the display at
protected Font font = new Font("serif", Font.PLAIN, 18);
protected Font headingfont = new Font("monospaced", Font.BOLD, 18);
static final int lineheight = 25;
static final int charspacing = 20;
static final int x0 = 65;
static final int y0 = 40;
/** Specify where to begin displaying, and re-display */
public void setBase(char base) { this.base = base; repaint(); }
/** Set a new font name or style, and redisplay */
public void setFont(String family, int style) {
this.font = new Font(family, style, 18);
repaint();
* The paint() method actually draws the page of glyphs
public void paint(Graphics g) {
int start = (int)base & 0xFFF0; // Start on a 16-character boundary
// Draw the headings in a special font
g.setFont(headingfont);
// Draw 0..F on top
for(int i=0; i < 16; i++) {
String s = Integer.toString(i, 16);
g.drawString(s, x0 + i*charspacing, y0-20);
// Draw column down left.
for(int i = 0; i < 16; i++) {
int j = start + i*16;
String s = Integer.toString(j, 16);
g.drawString(s, 10, y0+i*lineheight);
// Now draw the characters
g.setFont(font);
char[] c = new char[1];
for(int i = 0; i < 16; i++) {
for(int j = 0; j < 16; j++) {
c[0] = (char)(start + j*16 + i);
g.drawChars(c, 0, 1, x0 + i*charspacing, y0 + j*lineheight);
/** Custom components like this one should always have this method */
public Dimension getPreferredSize() { return new Dimension(410, 430); }
========================================== -
Open dataset twice once for input and once for output in unicode system
Hi All,
In a program
I used a open dataset to read the data from the file.
OPEN DATASET cmp_file FOR INPUT IN TEXT MODE
ENCODING NON-UNICODE.
Then i closed the file.
Again later in the program,
I used a open dataset to transfer the data.
OPEN DATASET cmp_file FOR OUTPUT IN TEXT MODE
ENCODING NON-UNICODE.
But this time I get sy-subrc = 8.
Unable to open the file and subsequent TRANSFER is leading to the runtime error.
Note : I am using a unicode system
I could run the same program well in non-unicode system..
->
Is it that if a file contains data already
1.I need to delete the data and open it
or
2.I need to open in APPENDING mode manadatorily...
in case of UNICODE system..
Kindly suggest..Hi,
IF you have write permission al S.O. Level you need to check your DATASET rigths using AUTHORITY_CHECK_DATASET, this validate your rigths with S_DATASET object.
Example
TYPE-POOLS SABC.
CALL FUNCTION 'AUTHORITY_CHECK_DATASET'
EXPORTING PROGRAM = 'ZDATASET'
ACTIVITY = SABC_ACT_READ
FILENAME = '/tmp/sapv01'
EXCEPTIONS NO_AUTHORITY = 1
ACTIVITY_UNKNOWN = 2.
See SABC type pool to know wich activities are aviable.
Hope this help.
Regards -
Fetch excel file from app. server using open dataset...
Hello Experts,
Our functional consultant is asking me if it possible to get an excel file from the
application server file using OPEN dataset and in background mode? If yes, Please tell me on how to do this.
Thank you guys and take care!Hi Viraylab,
to download this the procedure:
you can use the FM 'EXCEL_OLE_STANDARD_DAT ' for this purpose.
this FM 'EXCEL_OLE_STANDARD_DAT' can be used to start Excel with a new sheet and transfer data from an internal table to the sheet.
Here are some of the parameters:
file_name: Name and path of the Excel worksheet file e.g. ?C:TEMPZTEST?
data_tab: Name of the internal table that should be uploaded to Exvcel
fieldnames: Internal tabel with column headers
How to build the field names table:
data: begin of i_fieldnames occurs 20,
field(60), end of i_fieldnames.
i_fieldnames-field = ?This is column 1?. append i_fieldnames-field.
i_fieldnames-field = ?This is column 2?. append i_fieldnames-field.
to upload follow this:
OPEN DATASET dsn FOR INPUT IN BINARY MODE.
DO.
READ DATASET dsn INTO itab-field.
IF sy-subrc = 0.
APPEND itab.
ELSE.
EXIT.
ENDIF.
ENDDO.
[/code]Rob
or Try this function module.
FILE_READ_AND_CONVERT_SAP_DATA
pass 'XLS' to I_FILEFORMAT..
Dont forgot to Reward me points .....All the very best....
Regards,
Sreenivasa sarma K. -
Open Dataset for XML not reading the XML file, Returning Code 8.
Dear all,
Im trying to open an XML file using Open Dataset, since i have to execute this report in background and GUI_upload doesnt work in background.
The XML file is available in my C:\, say, C:\xmlfile.xml.
But the open dataset is not reading any value into the g_xml_line . it is returning sy-subrc = 8.
Below is my code for that, can anybody help me out to resolve.
DATA : lv_filename LIKE rlgrap-filename.
CLEAR: lv_filename.
lv_filename = p_input.
OPEN DATASET lv_filename FOR INPUT IN BINARY MODE.
IF sy-subrc ne 0.
WRITE:/ 'invalid file'.
else.
DO.
READ DATASET lv_filename INTO g_xml_line.
IF sy-subrc EQ 0.
APPEND g_xml_line TO g_xml_table.
ELSE.
EXIT.
ENDIF.
ENDDO.
CLOSE DATASET lv_filename.
ENDIF.
TYPES: BEGIN OF t_xml_line,
data(256) TYPE x,
END OF t_xml_line.
DATA: g_xml_table TYPE TABLE OF t_xml_line,
g_xml_line TYPE t_xml_line,
g_xml_table_size TYPE i.
GET REFERENCE OF gt_person INTO gs_result_xml-value.
gs_result_xml-name = 'IPIX'.
APPEND gs_result_xml TO gt_result_xml.
Perform the XSLT stylesheet
TRY.
CALL TRANSFORMATION zaum_manh_sync_rpt
SOURCE XML g_xml_table
RESULT (gt_result_xml).
CATCH cx_root INTO gs_rif_ex.
gs_var_text = gs_rif_ex->get_text( ).
MESSAGE gs_var_text TYPE 'E'.
ENDTRY.
Kindly suggest me a solution. Points assured
regs,
rajaAfter saving the file , below is the code i wrote, but it gives a runtime error with message
No roll storage space of length 3788808 available for internal storage.
***Coding****
PARAMETERS: p_file TYPE pathintern LOWER CASE DEFAULT '/usr/sap/DEV/SYS/global/XMLABAP2.XML'.
DATA : lv_filename LIKE rlgrap-filename.
CLEAR: lv_filename.
lv_filename = p_file.
DATA: l_fname TYPE filename-fileintern. " File name
*GET THE FILENAME FROM THE APPLICATION SERVER
CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
EXPORTING
directory = p_file
filemask = '*'
IMPORTING
serverfile = l_fname
EXCEPTIONS
canceled_by_user = 1
OTHERS = 2.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*/usr/sap/DEV/SYS/global/substanc
lv_filename = l_fname.
OPEN DATASET lv_filename FOR INPUT IN BINARY MODE.
IF sy-subrc NE 0.
WRITE:/ 'invalid file'.
ELSE.
DO.
READ DATASET lv_filename INTO g_xml_line.
IF sy-subrc EQ 0.
APPEND g_xml_line TO g_xml_table.
ELSE.
EXIT.
ENDIF.
ENDDO.
CLOSE DATASET lv_filename.
ENDIF. -
Physical file location in SAP when OPEN DATASET command is used
Hi,
I have used below sample code from SAP help in my program. If you notice, I have not specified the file path however I am able to open and read this file whenever I want. Could anybody let me know where exactly is this file physically located. I have tried SP11( Temse objects) but no use.
DATA: file TYPE string VALUE `test.dat`,
result TYPE string.
OPEN DATASET file FOR OUTPUT IN TEXT MODE
ENCODING DEFAULT.
TRANSFER `1234567890` TO file.
CLOSE DATASET file.
OPEN DATASET file FOR UPDATE IN TEXT MODE
ENCODING DEFAULT .
TRANSFER `ABCD` TO file.
CLOSE DATASET file.
OPEN DATASET file FOR INPUT IN TEXT MODE
ENCODING DEFAULT .
WHILE sy-subrc = 0.
READ DATASET file INTO result.
WRITE / result.
ENDWHILE.
CLOSE DATASET file.
Regards
KasiHi,,
In the transaction AL11 go to the directory DIR_TEMP... you can find your file there
Regards,
Siddarth
Maybe you are looking for
-
Speed up your work with Java ME SDK 3.0
There is one feature which is very helpful but often stays undiscovered. Startup of the emulator is quite slow and becomes annoying when you need to fix the code, recompile and deploy again and again. Help how to get out of this is very simple. SDK 3
-
How do I turn off notifications from apple support off
For some reason I'm gettting swamped every day with replies to threads (most of which I've never posted to). I've gone into Your Stuff/Notifications & Preferences and checked NO for all notifications and I still get these daily email updates. How d
-
External Drive selection/setup for TM
Just upgraded to Leopard. Very excited to use Time Machine, and really want to set it up right from the begining. Thought of this setup: - for TM: external hard-drive with 2TB (400/800) WD or Seagate - for shared storage (pix/music/etc.) for iMac and
-
Error signature ModName: jvm.dll
Hello, I have a Java application that ran fine on my desktop PC (Windows), where I coded and compiled my program. But when I copied my program to another PC and ran it, I got this error message : "MyApp.exe has encountered a problem and needs to clos
-
I am having strange behavior when searching my library. When I type text into the search field, the images displayed in the browser do not change. It behaves the same if I use the Query HUD. The only way that I can get it to search is to type the key