Problem saving "space" in ABAP TRANSFER statement
Hello all,
I have an internal table that I loop through and write that data to a file using TRANSFER statement. Here is an exmaple of my code:
data: l_xml_out type string.
BEGIN OF itab_out OCCURS 0,
record(some length) TYPE c,
END OF itab_out,
Here is an example Itab_out data
RECORD1:
" Bon Appetit "
RECORD2:
"Managment Co"
LOOP AT itab_out
INTO l_xml_out.
TRANSFER l_xml_out TO "somefile".
ENDLOOP.
When I transfer to file record1 is appended to record2 which i sfine but I am losing space for example I want "Bon Apetite Management Co" but I get "Bon ApetiteManagementCo"! (Space is gone). How do I preserve the space? I did reserach on SDN but could not get my problem resolved. Please provice any feedback if you can.
Thanks.
Mithun
>
Mithun Dha wrote:
> Sorry, I might not have provided you all information. I know concatenate but my internaltable has like 20000 records and we are looping through those records into "string" type data variable and transferring to file. The internal table records I gave in my posting was just an example. Thanks for your quick feedback.
>
> Mithun.
So, Can't you concatenate to string type? Yes, you have to concatenate before transfer for 20000 records.
data: l_text(20) type c,
l_text1(20) type c,
l_string type string.
l_text = 'This is text'.
l_text1 = 'This is text1'.
CONCATENATE l_text l_text1 into l_string SEPARATED BY space.
write the concatenate within the loop and then transfer the string to data set.
Edited by: Sampath Kumar on Nov 10, 2009 8:04 AM
Similar Messages
-
Challenging Question : ABAP TRANSFER statement Issue
Hi SAP Gurus,
I am using statment
TRANSFER g_str TO p_unixf LENGTH 512.
to write the <i>g_str</i> to UNIX file <i>p_unixf</i>
I have some <b>BLANK</b> spaces at the end of each record which I want to retain in the UNIX FILE.
But TRANSFER statment writes only character ignoring the BLANK spaces at the end.
All the record length should be of 512 in UNIX FILE irrespective of what data contains in the record.
Help is much appreciated!
Thanks
ShitalTry use a field type X at end of structure of internal table will be transfered to file.
For each line of internal table, place at type X field the value "0D" (CR).
DATA: BEGIN OF ti_file OCCURS 0,
tipo(3),
space1(1),
seq(4),
cnpj(14),
ano(1),
retif(1),
stcd1(6),
valor(14),
cnae(7),
space10(10),
cr TYPE vv_crlf VALUE '0D', "Use this field to line wrap with spaces
END OF ti_file.
For each line of ti_file:
LOOP AT ti_file.
" Fill the fields
ti_file-cr = '0D'.
APPEND ti_file.
CLEAR ti_file.
Regards,
Leonardo Valente
Edited by: Leonardo Valente on Sep 8, 2009 2:48 PM -
ABAP select statements takes too long
Hi,
I have a select statement as shown below.
SELECT * FROM BSEG INTO TABLE ITAB_BSEG
WHERE BUKRS = CO_CODE
AND BELNR IN W_DOCNO
AND GJAHR = THISYEAR
AND AUGBL NE SPACE.
This select statement runs fine in all of R/3 systems except for 1. The problem that is shown with this particular system is that the query takes very long ( up to an hour for if W_DOCNO consists of 5 entries). Sometimes, before the query can complete, an ABAP runtime error is encountered as shown below:
<b>Database error text........: "ORA-01555: snapshot too old: rollback segment
number 7 with name "PRS_5" too small?"
Internal call code.........: "[RSQL/FTCH/BSEG ]"
Please check the entries in the system log (Transaction SM21). </b>
Please help me on this issue. However, do not give me suggestions about selecting from a smaller table (bsik, bsak) as my situation does not permit it.
I will reward points.dont use select * ....
instead u declare ur itab with the required fields and then in select refer to the fields in the select .
data : begin of itab,
f1
f2
f3
f4
end of itab.
select f1 f2 f3 f4 ..
into table itab
from bseg where ...
. this improves the performance .
select * is not advised .
regards,
vijay -
Where to do the abap sql statement in sapscript (PO)
Hi, all.
Hope anybody can guide me to find a solution.
My situation now is i have to do a purchase order in SAPSCRIPT starting from a standard po. I already found out all the related details as below:
Program SAPFM06P
FORM routine ENTRY_NEU
Form MEDRUCK
So, now the problem now is I have to add some more data on my print out PO. After figure out for some time, I don't know where to do my abap sql statement. Like example, I want to retriece some data from the ADRC table. I opened the standard program SAPFM06P to add in the some sql statement, but i dun know where should i add in. Bcz if we straight away put the related ADRC field in our sapscript, it is useless, right?
Thanks in advance.Thanks a lot.
So, how should i add in code in order to fetch the data frm ADRC by using that routine. Because i only the codes like below. I don't where should i start add in.
Form entry_neu using ent_retco ent_screen.
data: l_druvo like t166k-druvo,
l_nast like nast,
l_from_memory,
l_doc type meein_purchase_doc_print.
clear ent_retco.
if nast-aende eq space.
l_druvo = '1'.
else.
l_druvo = '2'.
endif.
call function 'ME_READ_PO_FOR_PRINTING'
exporting
ix_nast = nast
ix_screen = ent_screen
importing
ex_retco = ent_retco
ex_nast = l_nast
doc = l_doc
changing
cx_druvo = l_druvo
cx_from_memory = l_from_memory.
check ent_retco eq 0.
call function 'ME_PRINT_PO'
exporting
ix_nast = l_nast
ix_druvo = l_druvo
doc = l_doc
ix_screen = ent_screen
ix_from_memory = l_from_memory
ix_toa_dara = toa_dara
ix_arc_params = arc_params
ix_fonam = tnapr-fonam "HW 214570
importing
ex_retco = ent_retco.
endform.
Or i come wrong place to add in any coding. Plz guide me.
Thanks in advance. -
Having a problem saving the graphics on a canvas.
I'm having a problem saving graphics on a canvas. It draws on the canvas but when another window comes up the graphics disappear. I put in a method to take the graphics on the canvas and repaint it with the graphics. But this comes up blank. So I don't know why this is happening. It is probably the paint method but I don't know why. If anyone has any ideas could you please respond because I have had this problem for ages now and it's driving me mad and I have to get this finished or I'm going to be a lot of trouble. I'll show you the code for the class I am concerned with. It is long but most of it can be disregarded. The only parts which are relevent are the paint method and where the drawline e.t.c are called which is in the mouse release
package com.project.CSSE4;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.ImageFilter;
import java.awt.image.CropImageFilter;
import java.awt.image.FilteredImageSource;
import java.io.*;
import java.util.*;
import java.net.*;
import javax.swing.*;
import java.sql.*;
public class CanvasOnly extends JPanel
implements MouseListener, MouseMotionListener
public static final int line = 1;
public static final int freehand = 2;
public static final int text = 3;
public static final int mode_paint = 0;
public static final int mode_xor = 1;
public Color drawColor;
public int drawThickness = 1;
public int drawType = 0;
public boolean fill = false;
private boolean dragging = false;
public int oldx = 0;
public int oldy = 0;
private int rectangleWidth;
private int rectangleHeight;
private tempLine draftLine;
private tempText draftText;
public Canvas pad;
public static final Font defaultFont =
new Font("Helvetica", Font.BOLD, 14);
protected boolean floatingText = false;
boolean showingPicture;
protected Image offScreen;
public JTextArea coor;
public JButton writeIn;
Connection connection;
String codeLine;
int x = 0;
int y = 0;
public CanvasOnly()
try
Class.forName("com.mysql.jdbc.Driver").newInstance();
}catch( Exception e)
System.err.println("Unable to find and load driver");
System.exit(1);
pad = new Canvas();
pad.setBackground(Color.white);
pad.setVisible(true);
pad.setSize(400, 400);
coor = new JTextArea(15, 15);
writeIn = new JButton("load TExt");
writeIn.addActionListener(new ActionListener()
public void actionPerformed(ActionEvent event1)
try
Statement statement = connection.createStatement();
ResultSet rs = statement.executeQuery("SELECT * FROM submit WHERE file_name = 'cmd.java'");
rs.next();
String one1 = rs.getString("student_id");
//System.out.println("one1 :" + one1);
String two1 = rs.getString("file_name");
//System.out.println("two1 : " + two1);
InputStream textStream = rs.getAsciiStream("file");
BufferedReader textReader = new BufferedReader(
new InputStreamReader(textStream));
codeLine = textReader.readLine();
x = 0;
y = -12;
while(codeLine != null)
y = y + 12;
//fileText.append( line + "\n");
//canvasPad.drawTheString(line, x, y);
drawText(Color.black, x, y, codeLine, mode_paint);
codeLine = textReader.readLine();
textReader.close();
pad.setSize(400, y);
Timestamp three1 = rs.getTimestamp("ts");
//System.out.println(three1);
textReader.close();
rs.close();
}catch (SQLException e)
System.err.println(e);
catch(IOException ioX)
System.err.println(ioX);
//setSize(300,300);
drawColor = Color.black;
pad.addMouseListener(this);
pad.addMouseMotionListener(this);
offScreen = null;
public Image getContents()
// Returns the contents of the canvas as an Image. Only returns
// the portion which is actually showing on the screen
// If the thing showing on the canvas is a picture, just send back
// the picture
if (showingPicture)
return (offScreen);
ImageFilter filter =
new CropImageFilter(0, 0, getWidth(), getHeight());
Image newImage =
createImage(new FilteredImageSource(offScreen.getSource(),
filter));
return(newImage);
public void setImage(Image theImage)
// Fit it to the canvas
offScreen = theImage;
repaint();
showingPicture = true;
synchronized public void paint(Graphics g)
int width = 0;
int height = 0;
//The images are stored on an off screen buffer.
//offScreen is the image declared at top
if (offScreen != null)
//intislise the widt and heigth depending on if showingpicture is true
if (!showingPicture)
width = offScreen.getWidth(this);
height = offScreen.getHeight(this);
//width = getWidth(this);
//height = getHeight(this); //offScreen
else
//width = pad.getSize().width;
//height = getSize().height;
width = pad.getWidth();
//width = getSize().width;
height = pad.getHeight();
//height = getSize().height;
//Draws as much of the specified image as has already
//been scaled to fit inside the specified rectangle
//The "this" is An asynchronous update interface for receiving
//notifications about Image information as the Image is constructed
//This is causing problems
g.drawImage(offScreen, 0, 0, width, height, pad);
g.dispose();
//clear the canvas with this method
synchronized public void clear()
// The maximum size of the usable drawing canvas, for now, will be
// 1024x768
offScreen = createImage(1024, 768);
//Creates an off-screen drawable image to be used for double buffering
pad.setBackground(Color.white);
//Set the showingPicture to false for paint method
showingPicture = false;
repaint();
synchronized public void drawLine(Color color, int startx, int starty,
int endx, int endy, int thickness,
int mode)
int dx, dy;
Graphics g1 = pad.getGraphics();
Graphics g2;
//if image is not intialised to null
//the getGraphics is used for freehand drawing
//Image.getGraphics() is often used for double buffering by rendering
//into an offscreen buffer.
if (offScreen != null)
g2 = offScreen.getGraphics();
else
g2 = g1;
//mode is put into the method and XOR is final and equal to 1
if (mode == this.mode_xor)
//calls the setXOR mode for g1 and g2
//Sets the paint mode of this graphics context to alternate
//between this graphics context's current color and the
//new specified color.
g1.setXORMode(Color.white);//This will
g2.setXORMode(Color.white);
else
//Sets this graphics context's current color to the
//specified color
g1.setColor(color);
g2.setColor(color);
if (endx > startx)
dx = (endx - startx);
else
dx = (startx - endx);
if (endy > starty)
dy = (endy - starty);
else
dy = (starty - endy);
if (dx >= dy)
starty -= (thickness / 2);
endy -= (thickness / 2);
else
startx -= (thickness / 2);
endx -= (thickness / 2);
for (int count = 0; count < thickness; count ++)
g1.drawLine(startx, starty, endx, endy);
g2.drawLine(startx, starty, endx, endy);
if (dx >= dy)
{ starty++; endy++; }
else
{ startx++; endx++; }
//Disposes of this graphics context and releases any system
//resources that it is using.
g1.dispose();
g2.dispose();
//This method is not causing trouble
synchronized public void drawText(Color color, int x, int y,
String text, int mode)
Graphics g1 = pad.getGraphics();
Graphics g2;
if (offScreen != null)
g2 = offScreen.getGraphics();
else
g2 = g1;
if (mode == this.mode_xor)
g1.setXORMode(Color.white);
g2.setXORMode(Color.white);
else
g1.setColor(color);
g2.setColor(color);
g1.setFont(new Font("Times Roman", Font.PLAIN, 10));
g2.setFont(new Font("Times Roman", Font.PLAIN, 10));
g1.drawString(text, x, y);
g2.drawString(text, x, y);
g1.dispose();
g2.dispose();
//connect to database
public void connectToDB()
try
connection = DriverManager.getConnection(
"jdbc:mysql://localhost/submissions?user=root&password=football");
//may have to load in a username and password
//code "?user=spider&password=spider"
}catch(SQLException connectException)
System.out.println("Unable to connect to db");
System.exit(1);
//use this method to instatiate connectToDB method
public void init()
connectToDB();
protected void floatText(String text)
draftText = new tempText(this.drawColor,
this.oldx,
this.oldy,
text);
this.floatingText = true;
//nothing happens when the mouse is clicked
public void mouseClicked(MouseEvent e)
//When the mouse cursor enters the canvas make it the two
//straigth lines type
public void mouseEntered(MouseEvent e)
pad.setCursor(new Cursor(Cursor.CROSSHAIR_CURSOR));
//When mouse exits canvas set to default type
public void mouseExited(MouseEvent E)
pad.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
//used for creating the shapes and positioning thetext
public void mousePressed(MouseEvent e)
// Save the coordinates of the mouse being pressed
oldx = e.getX();
oldy = e.getY();
// If we are doing lines, rectangles, or ovals, we will show
// draft lines to suggest the final shape of the object
//Draw type is a publc int which can be changed
if (drawType == this.line)
draftLine = new tempLine(drawColor, oldx, oldy, oldx,
oldy, drawThickness);
// Set the draw mode to XOR and draw it.
drawLine(draftLine.color, draftLine.startx,
draftLine.starty, draftLine.endx,
draftLine.endy, drawThickness, this.mode_xor);
//mouse listener for when the mouse button is released
public void mouseReleased(MouseEvent e)
if (drawType == this.line)
// Erase the draft line
drawLine(draftLine.color, draftLine.startx, draftLine.starty,
draftLine.endx, draftLine.endy, drawThickness,
this.mode_xor);
// Add the real line to the canvas
//When the imput changes to "mode_paint" it is drawen
//on the canvas
drawLine(drawColor, oldx, oldy, e.getX(), e.getY(),
drawThickness, this.mode_paint);
dragging = false;
else if (drawType == this.text)
if (floatingText)
// The user wants to place the text (s)he created.
// Erase the old draft text
drawText(drawColor, draftText.x, draftText.y,
draftText.text, this.mode_xor);
String str = Integer.toString(e.getX());
String str1 = Integer.toString(e.getY());
coor.append(str + " " + str1 + "\n");
// Set the new coordinates
draftText.x = e.getX();
draftText.y = e.getY();
// Draw the permanent text
drawText(drawColor, draftText.x, draftText.y,
draftText.text, this.mode_paint);
floatingText = false;
public void mouseDragged(MouseEvent e)
if (drawType == this.freehand)
drawLine(drawColor, oldx, oldy, e.getX(), e.getY(),
drawThickness, this.mode_paint);
oldx = e.getX();
oldy = e.getY();
else
dragging = true;
if (drawType == this.line)
// Erase the old draft line
drawLine(draftLine.color, draftLine.startx, draftLine.starty,
draftLine.endx, draftLine.endy, drawThickness,
this.mode_xor);
// Draw the new draft line
draftLine.endx = e.getX();
draftLine.endy = e.getY();
drawLine(draftLine.color, draftLine.startx, draftLine.starty,
draftLine.endx, draftLine.endy, drawThickness,
this.mode_xor);
public void mouseMoved(MouseEvent e)
if (floatingText)
// When the user has entered some text to place on the
// canvas, it remains sticky with the cursor until another
// click is entered to place it.
// Erase the old draft text
drawText(drawColor, draftText.x, draftText.y,
draftText.text, this.mode_xor);
// Set the new coordinates
draftText.x = e.getX();
draftText.y = e.getY();
// Draw the new floating text
drawText(drawColor, draftText.x, draftText.y,
draftText.text, this.mode_xor);
//declare a class for the line shown before the is as wanted
class tempLine
public Color color;
public int startx;
public int starty;
public int endx;
public int endy;
public int thickness;
public tempLine(Color mycolor, int mystartx, int mystarty,
int myendx, int myendy, int mythickness)
color = mycolor;
startx = mystartx;
starty = mystarty;
endx = myendx;
endy = myendy;
thickness = mythickness;
class tempText
public Color color;
public int x;
public int y;
public String text;
public tempText(Color mycolor, int myx, int myy, String mytext)
color = mycolor;
x = myx;
y = myy;
text = mytext;
}http://www.java2s.com/ExampleCode/2D-Graphics/DemonstratingUseoftheImageIOLibrary.htm
-
Transfer State from one WAD to another
Hello friends.
I have a trouble using the command TRANSFER STATE in BW 7.0
I need to trasfer the navigation state of one dropdown box from wad 1 to wad 2. I already do that, but the problem is that when the second wad is open, the dataproviders that exists in wad are not being filtered by the characteristic of the dropdown box.
I'm using a variable in the dropdown box. I'm using the same variable in both wads (and in both dropdown boxes) but the dataproviders of wad 2 ar not being filtered when I trasnfer the status.
How can I get the dataproviders filtered with the value of the dropdown box when transfer state ????
Thanks in advance.Hi,
the command TRANSFER_STATE will copy the items / data providers with the same logical to the target web template (if you have choosen to transfer them in the command settings). Meaning, that if you have a data Provider DP_1 in both Web Templates, DP_1 in the target Web Template will have exactly the same state (and therfore also the filter values, as well as the drill down, ... are the same)
So in fact in your case TRANSFER_STATE should be done (if this is really the correct scenario) for the Data Provider and not for the item, as the Dropdown will always reflect the state of the underlying data provider.
What you want to achieve sounds more like a RRI (jump to another Web Template while transfering all the filter values, variables, ...)
Heike -
Performance of Transfer Statement
Hi,
I'm working in a MDMP - Unicode Conversion Project. My job primarily is to enable Custom ABAP code for Unicode syntax.
I have a generic program which takes the names of tables and fields and the destination path from a file and extracts those table fields to the destination share using transfer statement.
It is found that this program extracts characters of multiple languages to single file. In the original program there is a single select - endselect loop within which there is a transfer statement.
Now to accomadate different languages in the same file. I'm collating the data belonging to one language in internal tables and writing the content to the file with a different codepage each time opening and appending to the same file. The approach works good but i face performance issues.
In the modified version the transfer statement is taking more time than what the transfer statement in the original program is taking. I have no clue of this behaviour. Can someone tell why this change in behaviour of the transfer statement?Hi Vijay,
Let me explain you in detail.
if i have a transfer statement like this, it is taking approximately 12 seconds to download nearly 50 MB content.
select * from (extract_info-table) into <tblwa>
where (where_clause).
move <tblwa> to o_string.
transfer o_string to file.
endselect.
if i code it this way.
select * into table <table> from
(extract_info-table) where (where_clause).
perform download_file tables <table>
using file.
form download_file tables data_tab
using file.
loop at data_tab.
transfer data_tab to file.
endloop.
endform.
it is taking 10 times more time ~ 120 secs to download the same content. -
Problem in FOR ALL ENTRIES IN statement
Hi Abaper,
I have a problem in FOR ALL ENTRIES IN statement.
I have a table /ccsht/na_estadi in this table for the particulat date there are 14 records, but my internal table read only 5 record.
Below is my code:
SELECT sociedad
xhotel_id
FROM /ccsht/mt_photel
INTO TABLE it_comp_hotel
WHERE sociedad IN p_comp
AND xhotel_id IN p_hotid.
BREAK-POINT.
SORT it_comp_hotel BY sociedad.
SELECT xhotel_id
xfecha_id
xocupacion
tot_habs_hotel
xnum_pax1
FROM /ccsht/na_estadi
INTO TABLE it_estadi "CORRESPONDING FIELDS OF TABLE it_estadi
FOR ALL ENTRIES IN it_comp_hotel
WHERE xhotel_id EQ it_comp_hotel-xhotel_id
AND xfecha_id IN p_date.
Can any one help me this issue.
Thanks in advance.
Thanks & Regards,
AmitHi Amit,
Try below
SELECT sociedad
xhotel_id
FROM /ccsht/mt_photel
INTO TABLE it_comp_hotel
WHERE sociedad IN p_comp
AND xhotel_id IN p_hotid.
BREAK-POINT.
* SORT it_comp_hotel BY sociedad. "Remove this SORT statement.
SELECT xhotel_id
xfecha_id
xocupacion
tot_habs_hotel
xnum_pax1
FROM /ccsht/na_estadi
INTO TABLE it_estadi
FOR ALL ENTRIES IN it_comp_hotel
WHERE xhotel_id EQ it_comp_hotel-xhotel_id
AND xfecha_id IN p_date.
Note: 1) i didn't find the these tables in my SAP system
2) If your table is still not fetching the data, tell me is it the Cluster table,. if yes,.. you need to
maintain the all the primary keys other wise you wont get the data in internal able.
hope this will help you out.
Regards! -
Problem installing SAPNW7.01 ABAP Trial
hello;
I have a problem installing Netwever SAP (ABAP) trial,during the extraction of DBMax (45%), the first step that goes well but during the instalation when I see a message "please wait the installation lasts 2 hours is" it is almost 1 hours and 30 minutes,
I see a message:
Errors occurred during the installation.
Errors occurred during the installation.
An error occurred and product installation failed. Look at the log file C:\sapdb\NSP\log.txt for details.
C:\sapdb\NSP\log.txt :
(Mar 28, 2009 8:30:12 PM), Install, com.sap.installshield.maxdb.maxdb_call_sdbinst, err, An error occurred and product installation failed. Look at the log file C:\sapdb\NSP\log.txt for details.
(Mar 28, 2009 8:30:12 PM), Install, com.sap.installshield.maxdb.maxdb_call_sdbinst, err, ProductException: (error code = 601; message="An Error happened during call of MaxDB Tool sdbinst. Check end of Logfile C:/DOCUME1/ADMINI1/CONFIG~1/Temp/MaxDBSAPNWPREV.log")
STACK_TRACE: 22
ProductException: (error code = 601; message="An Error happened during call of MaxDB Tool sdbinst. Check end of Logfile C:/DOCUME1/ADMINI1/CONFIG~1/Temp/MaxDBSAPNWPREV.log")
at com.sap.installshield.maxdb.maxdb_call_sdbinst.install(maxdb_call_sdbinst.java:193)
at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl.installProduct(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.installshield.wizard.service.LocalImplementorProxy.invoke(Unknown Source)
at com.installshield.wizard.service.AbstractService.invokeImpl(Unknown Source)
at com.installshield.product.service.product.GenericProductService.installProduct(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl.installAssembly(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl.access$900(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
can someone help me to solve this problem:Mr, I think it not a problem with antivirus , because I have try to install sap netweaver in a Virtual PC, which I have no antivirus software installed,I see it an error that tells me to see both text.log files, which are:
you can read my log file which contains more details:
FICHE1 :
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech":
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech":
STDOUT:
Installation of MaxDB Software
STDOUT: *******************************
STDOUT: starting installation Su, Mar 29, 2009 at 22:05:30
STDOUT: operating system: Windows I386 NT 5.1 Service Pack 2
STDOUT: callers working directory: C:/Documents and
Settings/Administrador/Bureau/SAPNW7.01ABAPTrial/image
STDOUT: installer directory: C:/sapdb/NSP/_tempLocation
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory STDOUT: archive directory: C:/sapdb/NSP/_tempLocation
STDOUT:
MSG: debug package SDBBAS.SDB is valid
MSG: debug package SDBKRN.SDB is valid
MSG: debug package SDBUTL.SDB is valid
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech":
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech":
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech":
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech":
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech":
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory
MSG: group SDB Operators created
STDOUT:
starting preparing phase of package Base 7.7.04.23 32 bit
STDOUT: -
ACTION: append "sql6" to C:/WINDOWS/system32/drivers/etc/services
ACTION: append "sapdbni72" to C:/WINDOWS/system32/drivers/etc/services
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech":
return value of installVC80Runtime(): 1
ACTION: make directory "c:/sapdb/data" mode "775"
ACTION: make directory "c:/sapdb/data/config" mode "775"
ERR: cannot set access control list of independent data path: cannot set new acl for c:sapdbdata: Le
mappage entre les noms de compte et les ID de sécurité n'a pas été effectué.
ACTION: make directory "c:/sapdb/data/config/install" mode "755"
ERR: cannot set access control list of install regsitry path: cannot set new acl for
c:sapdbdataconfiginstall: Le mappage entre les noms de compte et les ID de sécurité n'a pas été
effectué.
MSG: InstallRegistry: space check ok: 16030008 kb on C: (31728340 kb total) available
MSG: install registry successfully locked
MSG: InstallRegistry::Log: space check ok: 16030008 kb on C: (31728340 kb total) available
MSG: writing 0 packages
MSG: net install registry size = 63 bytes MSG: wrote install registry (125 bytes)
MSG: InstallRegistry: reserved 1024 kb disk space
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech":
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTech": No such file or
directory
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTechInstallations": No
such file or directory
Can't open registry key "HKEY_LOCAL_MACHINESOFTWARESAPSAP DBTechInstallations": No
such file or directory
STDERR: getInstalledReleasesWin(): wrong version format
getRelease():/pgm/kernel.exe not found
WRN: old DBROOT installation found
0.0.0.0 in "" ignored
MSG: no installation data to migrate
STDOUT: checking interferences to other packages... STDOUT: ok
STDOUT: collecting data finished:
STDOUT: independent data path: c:/sapdb/data
STDOUT: independent program path: c:/sapdb/programs
ACTION: make directory "C:/sapdb/programs" mode "555"
STDOUT: start extraction test run of "C:/sapdb/NSP/_tempLocation/SDBBAS.TGZ"
ACTION: make directory "c:/sapdb/data/wrk" mode "770"
STDOUT:
package Base successfully checked
STDOUT:
starting preparing phase of package SAP Utilities 7.7.04.23 32 bit STDOUT: -
STDOUT: checking interferences to other packages... STDOUT: ok
STDOUT: collecting data finished:
STDOUT: : c:/sapdb/data
STDOUT: independent program path: c:/sapdb/programs
STDOUT: start extraction test run of "C:/sapdb/NSP/_tempLocation/SAPUTL.TGZ"
STDOUT:
package SAP Utilities successfully checked
STDOUT:
starting preparing phase of package ODBC 7.7.04.23 32 bit
STDOUT: -
STDOUT: checking interferences to other packages... STDOUT: ok
STDOUT: collecting data finished:
STDOUT: odbc path: c:/sapdb/programs
STDOUT: start extraction test run of "C:/sapdb/NSP/_tempLocation/SDBODBC.TGZ"
STDOUT:
package ODBC successfully checked
STDOUT:
starting preparing phase of package SQLDBC 7.7.04.23 32 bit
STDOUT: -
STDOUT: checking interferences to other packages... STDOUT: ok
STDOUT: collecting data finished:
STDOUT: dbc path: c:/sapdb/programs
STDOUT: start extraction test run of "C:/sapdb/NSP/_tempLocation/SDBC.TGZ"
STDOUT:
package SQLDBC successfully checked
STDOUT:
starting preparing phase of package MaxDB ADO.NET Driver 7.7.04.23 32 bit
STDOUT: -
STDOUT: checking interferences to other packages... STDOUT: ok
STDOUT: collecting data finished:
STDOUT: MaxDB ADO.NET driver path: c:/sapdb/programs
STDOUT: start extraction test run of "C:/sapdb/NSP/_tempLocation/SDBADO-SDK.TGZ"
STDOUT:
package MaxDB ADO.NET Driver successfully checked
STDOUT:
starting preparing phase of package JDBC 7.6.05.06
STDOUT: -
STDOUT: checking interferences to other packages... STDOUT: ok
STDOUT: collecting data finished:
STDOUT: java driver path: c:/sapdb/programs
STDOUT: start extraction test run of "C:/sapdb/NSP/_tempLocation/SDBJDBC.TGZ"
STDOUT:
package JDBC successfully checked
STDOUT:
starting preparing phase of package Server Utilities 7.7.04.23 32 bit
STDOUT: -
STDOUT: checking interferences to other packages... STDOUT: ok
STDOUT: collecting data finished:
STDOUT: independent program path: c:/sapdb/programs
STDOUT: start extraction test run of "C:/sapdb/NSP/_tempLocation/SDBUTL.TGZ"
STDOUT:
package Server Utilities successfully checked
STDOUT:
starting preparing phase of package Database Kernel 7.7.04.23 32 bit
STDOUT: -
STDOUT: checking interferences to other packages... STDOUT: ok
STDOUT: collecting data finished:
STDOUT: dependent path: c:/sapdb/nsp/db
ACTION: make directory "C:/sapdb/NSP/db" mode "555"
STDOUT: start extraction test run of "C:/sapdb/NSP/_tempLocation/SDBKRN.TGZ"
STDOUT:
package Database Kernel successfully checked
STDOUT:
starting preparing phase of package Redist Python 7.7.04.23 32 bit
STDOUT: -
STDOUT: checking interferences to other packages... STDOUT: ok
STDOUT: collecting data finished:
STDOUT: redist python path: c:/sapdb/programs
STDOUT: start extraction test run of "C:/sapdb/NSP/_tempLocation/SDBRDPY.TGZ" STDOUT:
package Redist Python successfully checked
STDOUT:
starting preparing phase of package Loader 7.7.04.23 32 bit
STDOUT: -
STDOUT: checking interferences to other packages... STDOUT: ok
STDOUT: collecting data finished:
STDOUT: loader path: c:/sapdb/programs
STDOUT: start extraction test run of "C:/sapdb/NSP/_tempLocation/SDBLD.TGZ"
STDOUT:
package Loader successfully checked
STDOUT:
starting preparing phase of package Messages MSG 0.7113
STDOUT: -
STDOUT: checking interferences to other packages... STDOUT: ok
STDOUT: collecting data finished:
STDOUT: messages path: c:/sapdb/programs STDOUT: start extraction test run of "C:/sapdb/NSP/_tempLocation/SDBMSG.TGZ"
STDOUT:
package Messages successfully checked
STDOUT:
starting preparing phase of package SQLDBC 76 7.6.04.14 32 bit
STDOUT: -
STDOUT: checking interferences to other packages... STDOUT: ok
STDOUT: collecting data finished:
STDOUT: dbc path: c:/sapdb/programs
STDOUT: start extraction test run of "C:/sapdb/NSP/_tempLocation/SQLDBC76.TGZ"
STDOUT:
package SQLDBC 76 successfully checked
STDOUT:
starting preparing phase of package SQLDBC 77 7.7.04.23 32 bit
STDOUT: -
STDOUT: checking interferences to other packages... STDOUT: ok
STDOUT: collecting data finished:
STDOUT: dbc path: c:/sapdb/programs
STDOUT: start extraction test run of "C:/sapdb/NSP/_tempLocation/SQLDBC77.TGZ"
STDOUT:
package SQLDBC 77 successfully checked
STDOUT: checking filesystem "C:"... free disk space ok
MSG: available = 16026740 kb
MSG: needed = 564355 kb
STDOUT:
starting installation phase of package Base 7.7.04.23 32 bit
STDOUT: - -
Replace B2BUA with a new one, without loosing transfer states
I'm having some issues with replacing my B2BUA for transfer purpose.
I have a link between 2 participant by using a B2BUA. I want to transfer one of these participants into another B2BUA, and that new B2BUA will repaces the previous one. I can accomplish this succesfully without any troubles, by using self-transfer and B2BUA
utilitize.
But when the link is established in B2BUA between two participants, when creating a new B2BUA, the participants can still talk untill the new B2BUA is established (this is the issue).
I doesn't loose the link of participant in Call leg 1, since I'm using a Self-transfer leaving the call state as incoming. But if I call BeginTerminate() of the 1st B2BUA while establishing the 2nd B2BUA, then I'll loose my transfer states of the first Call,
and I'm using this event state to tell me when a transfer is succesfully done.
How can I cancel the stream between the two participants in the first B2BUA, as soon as I begin to establish the second B2BUA??If either leg of the B2B is terminated, the B2B call is terminated. In a transfer scenario the leg of the participating in the self transfer will end before the transfer itself is completed, leading to an OperationFailureException on the EndTransfer.
There is really no way to avoid this, so you should just expect it.
Here is a snip from one of my test programs:
private void InitiateSelfTransfer()
Console.WriteLine("Initiating self-transfer on p2p call...");
//Copy inCall since we will replace it with the new inCall prior to the completion of the transfer.
AudioVideoCall p2pOldInCall = (AudioVideoCall)inCall;
//Pass a reference to this instance in the Context so the new inbound call can reattach to this session.
p2pOldInCall.ApplicationContext = this;
p2pOldInCall.TransferStateChanged += new EventHandler<TransferStateChangedEventArgs>(oldInCall_TransferStateChanged);
CallTransferOptions cto = new CallTransferOptions(CallTransferType.Attended);
//Execute the transfer.
Console.WriteLine("Beginning Self-Transfer...");
try
p2pOldInCall.BeginTransfer(p2pOldInCall, cto,
ar =>
Console.WriteLine("Self-Transfer Completed...");
try
p2pOldInCall.EndTransfer(ar);
Console.WriteLine("Self-Transfer was successful!");
SendTransferNotification(200, "Succeeded at self-transfer");
//In this scenario the BackToBackCall seems to always terminate the call before we are made aware the transfer is complete.
//This operation has to execute as Attended, so we simply catch the exception generated, it doesn't seem to cause us any problems.
catch (OperationFailureException)
Console.WriteLine("Exception ignored on self-transfer...");
SendTransferNotification(487, "Call already terminated...");
catch (RealTimeException ex)
SendTransferNotification(503, "Failed on self-transfer of inbound leg");
Console.WriteLine(ex);
, null);
catch (InvalidOperationException iOpEx)
Console.WriteLine("Invalid Operation Exception: " + iOpEx.ToString()); -
Problem Saving Gererating GIF Image
Hello, we are having a problem in production environment when try to right mouse and select Print on an mii grid. Works just fine in all of our non-production environments. Checked the System Security pull downs and they all matched non-prod. Was not sure which one to compare, was not a ImageStorageServlet on pull down menu.
After right mouse and select Print on grid, get:
-Java Applet Window popup message - Problem Saving Gererating GIF Image
-Then - blank browser page - .../XMII/ImageStorageServlet/View/null
- Non-production servers works fine produces grid on browser page - XMII/ImageStorageServlet/View/2084280301
NetWeaver Log:
Location - com.sap.xmii.servlet.ImageStorageServlet
Full Message Text
ImageStorage - Error saving GIF file
Full Message Text
ImageStorage - Error generating GIF output
Any help would be appreciated.
ThanksDavid,
Have you put in a support ticket for this? I recommend doing so since its occurring in your production environment. You should also attach your log files as well.
Regards,
Kevin -
I cannot re-open files that have been saved in Numbers version09 - it states "You need a newer version of numbers to open this document". This is the latest version & also the one I have created/saved???
Jules,
You may delete Numbers 08 if you wish, but some folks like keeping it around. Close all your Numbers docs and Quit the Numbers app, and the other Numbers app if necessary.Then click the Numbers icon on your doc. Then select Numbers > About Numbers, and in the window that pops up, see which version it is. If the Dock icon started Numbers 08, you can cure that by dragging that icon off the Dock and letting it go in a puff of virtual smoke.
Now, to put the Numbers 09 icon on the Dock, double-click one of those known Numbers 09 documents so that Numbers 09 starts up. Verify by checkig Numbers > about Numbers.
Now click and hold the Numbers Dock icon and select the Option for Keep in Dock.
Jerry
Message was edited by: Jerrold Green1 -- I inadvertently posted about Pages rather than Numbers. Just corrected it. -
Hello everyone,
I'm currently having a problem saving a Pages document as another format, such as a Word document or PDF file. I've never had this problem before with Pages. Please help me! I need to have this completed a.s.a.p.
Thanks,
AmyTo save as a PDF, you do that from Print
To save as Wrod format, you export
Allan -
I used to be able to save bookmarks in Firefox. Now when I save a bookmark there is an error message that Google is having a problem saving the bookmark. Does this mean saving to Google or Firefox? When I look roe the saved bookmark it is Google.
Also when I save the bookmark i do not get the option to save it to a folder-- I can only tag itStart Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
ABAP "WRITE" Statements for Debugging
Just curious to know if one can use ABAP write statements in Update Rules for debugging and auditing, and where the results are actually written to, and if they're accessible via the AWB.
Thank you.Jerry you can write to the monitor from within the update rules.
The debug message you were going to write out instead go ahead and append your message to the monitor structure.
FORM compute_data_field
TABLES <b>MONITOR</b> STRUCTURE RSMONITOR
USING COMM_STRUCTURE LIKE /BIC/CS8ZTESTODS
RECORD_NO LIKE SY-TABIX
RECORD_ALL LIKE SY-TABIX
SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
CHANGING RESULT LIKE /BIC/VZTESTCUBT-INVCD_QTY
RETURNCODE LIKE SY-SUBRC
ABORT LIKE SY-SUBRC.
You will then be able to view any messages you have added to the monitor in the monitor.
Hope this helps.
Cheers
Maybe you are looking for
-
Hi Experts I have one doupt some customer or vendor bill wise balances Examble:. Invoice No 1001, Dated 20-3-09, Amount = Rs.1000 Invoice No 1002, Dated 22-03-09, Amount = Rs.2000 That Customer invoices i should pay 20-04-09 After p
-
SXMS_TO_ADAPTER_ERRTXT is not filled
hi everybody, the SXMS_TO_ADAPTER_ERRTXT in alert container is not filled. have anybody a idea what i do wrong. thanks best regards markus
-
hi, All the while, I'm an ASP Developer, but now have interest to become a JSP Developer. As a beginner, I'm here would like to know, what are the most famous JSP web development tools that are used for most of the JSP developer. I'm now using notepa
-
When dealing with a number of draft emails Mail has a bug which affects the subject line by not saving whatever is typed in the subject field. This becomes apparent when opening up the draft email for editing. When in the view pane, the subject field
-
I am try to get the sample .net ASP application running from the SAPSSOEXT package. I have put the sapssoext.dll into the windows system32 directory and tried to register it with regsvr32. I get the following error: "LoadLibrary("sapssoextr.dll") fai