DTW can't update records
Hi all,
on B1 8.8 PL14, I have to recreate data for the FA add-on. I can create new records, but in no way I can update existing records, whether I pick Update or Create and Update. When trying to update, it's always the same error, the record is not found. If I try to create these same records, the I am told it failed because record already exists.
Did you experienced such an issue ?
Thanks
Gilles Plante
Hi GordonDu,
I should have been more precise. I am using DTW to recreate "base" data, like asset areas, account determination, etc. For this, the only way is DTW. I would need to update some records, but it will not let me. Adding new records is fine.
For a record that exists, If I try to add it, I am told it already exists, but if try to update it, I am told it is not found. That do not make sense. I have the to do a lot of work manually, which consume time.
Thanks
Gilles Plante
Similar Messages
-
How can I update record in the block that Data Source is PROCEDURE?
I like use Procedure as the Data Source of block.It's very flexible.
Usually I do this only query the record,but now I must update record in the block that Data Source is Procedure.
What next step can I do?Can anyone offer some examples?
This is example, you goto
http://www.2shared.com/file/1923834/e0b65fb7/Example.html
Wait about 30 sec, Click "Save file to your PC: click here",and then you can download it.<p>I have written an article about some advanced Forms features.
Have a look at the 2.3.2 paragraph</p>
Francois -
I user SQL developer editor to update records.
when I execute
select count(*) from TBL where to_date(ADATE,'dd.MM.YYYY')<to_date('12.12.2007','DD.MM.YYYY')
it returns 750000 records
but with same condition when I execute
update TBL set acol=-1 where to_date(ADATE,'dd.MM.YYYY')<to_date('12.12.2007','DD.MM.YYYY')
it dows not update record
regardsupdate TBL set acol=-1 where
to_date(ADATE,'dd.MM.YYYY')><to_date('12.12.2007','DD.M
M.YYYY') What is this new operator? -
DTW- BP Master Update, Record Key
Hi,
When our BP list was first loaded with DTW, a record key was assigned to each BP. Since then, new BP master files have been created manually within B1. I would now like to update the BP files using DTW.
1) How can I determine the record key of each BP to use with the template?
The field I would like to update is a UDF with a list of predefined values.
2) How should I name the UDF column header in the template?
3) Should the values be entered in each row as text or #?
Thank you.Allen,
The RecordKey used during original import of BusinessPartner has not connection with the Update.
You will just need the CardCode (the primary key) to make the connection with the existing BPs in the DB.
So just fill the templates with 2 main fields, RecordKey (any running number, need not be what was originally used) and CardCode and the rest will be columns you are updating
Suda -
Update record using SQL statement
I have VB6.0 and Oracle 10G Express Edition in Windows 2000 Server. My procedure in VB 6.0 can't update record in the table using SQL statement, and the Error Message is " Missing SET keyword ".
The SQL statement in VB6.0 look like this :
General Declaration
Dim conn as New ADODB.Connection
Dim rs as New ADODB.Recordset
Private Sub Command1_Click()
dim sql as string
sql = " UPDATE my_table " & _
" SET Name = ' " & Text3.Text & " ' " & _
" AND Unit = ' " & Text2.Text & " ' " & _
" WHERE ID = ' " & Text1.Text & " ' "
conn.Execute (sql)
Private Sub Form Load()
Set conn = New ADODB.Connection
conn.Open "Provider=MSDASQL;" & "Data Source=my_table;"& "User ID =marketing;" & "Password=pass123;"
I'm sorry about my language.
What's wrong in my SQL statement, I need help ........ asap
Best Regards,
/Harso AdjieThe syntax should be
UPDATE TABLE XX
SET FLD_1 = 'xxxx',
FLD_2 = 'YYYY'
WHERE ...
'AND' is improperly placed in the SET. -
Hi!
Can I update records in Reports at the same time that Im printing theirs ?
If It is posible, where ?
Thanks in advanceActually that isn't true - you don't need to do an srw.do_sql().
You can insert/update records anywhere that you can write PL/SQL (global report triggers, formula columns, format triggers, etc.). In your case I'd recommend using a formula column (since this is guaranteed to fire once per group record).
Hope this helps,
Danny -
Hi All,
I am working on ecc6.0. I can see update records in my system. Due to reason of
"SAPSQL_ARRAY_INSERT_DUPREC" .
Error pened?in the ABAP Application Program
The current ABAP program "SAPLV60U" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
please suggest me ho to overcome from this?
regards,
praveenPraveen,
There are several posts which give solution to this error. Use the search function on SDN forums.
Look at the following thread:
Reg: Update Failures
Cheers,
Nisch -
Deleting/Updating records from an object table in PL/SQL
Hello All,
VER:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
I have created an object and inserted records in it. Is there any way we can delete/update records from it. I do not want to delete based on iteration like delete.collection but I would like to know if we can delete directly from obj like delete from table...
CREATE OR REPLACE TYPE test_type AS OBJECT
col1 number,
col2 varchar2(100)
CREATE OR REPLACE TYPE tab_type is table of test_type;
DECLARE
test_tab tab_type;
l_cnt NUMBER;
BEGIN
select test_type(col1,col2) bulk collect
into test_tab from (select 1 as col1,'test1' as col2 from dual
union all
select 2,'test2' from dual);
IF test_tab.count>0
THEN
DELETE FROM TABLE(CAST(test_tab as tab_type)) a
where a.col1=1;
END IF;
l_cnt := test_tab.count;
END;Thx
Shank.SB,
I have a scenario wherein I insert few records into a collection table. I'm gonna filter few records from collection table based on the filter.
I want to delete the records that didn't match the filter. Right now, I'm inserting the records into a physical table and deleting from there. I do no want to use a physical table. Trying to avoid it.
Would like to delete from collection itself.
DELETE FROM TABLE(CAST(lv_attr_filter_tab as EDMS_CSPP_DISC_REQ_TAB_TYPE))
WHERE NOT EXISTS (SELECT 1
FROM edms_disc_lines_stg edls
WHERE edls.req_id = edrg.request_id
AND edls.disc_line_id = edrg.discount_id
AND UPPER(edls.disc_status) IN ('ACTIVE'); -
Can't update mysql records from a web page
Hi everybody,
I am beginning with Dreamweaver CS5.
I followed a video tutorial on how to visually design a data entry/update web page for a mysql database using server behaviors.
My problem is that I was able to insert records and see inserted records but when I try to update a record it doesn't work.
I don't get any error message, it just redirects me to the listing page as it's supposed to but doesn't take into account the changes I made.
Below are 2 printscreens along with the corresponding code.
Can someone help me please?
Records list web page :
Records list code :
<?php require_once('Connections/dw_nouvellenaissance.php'); ?>
<?php
// *** Display of registered users
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
mysql_select_db($database_dw_nouvellenaissance, $dw_nouvellenaissance);
$query_users_videostream = "SELECT * FROM videostream_users";
$users_videostream = mysql_query($query_users_videostream, $dw_nouvellenaissance) or die(mysql_error());
$row_users_videostream = mysql_fetch_assoc($users_videostream);
$totalRows_users_videostream = mysql_num_rows($users_videostream);mysql_select_db($database_dw_nouvellenaissance, $dw_nouvellenaissance);
$query_users_videostream = "SELECT * FROM videostream_users";
$users_videostream = mysql_query($query_users_videostream, $dw_nouvellenaissance) or die(mysql_error());
$row_users_videostream = mysql_fetch_assoc($users_videostream);
$totalRows_users_videostream = mysql_num_rows($users_videostream);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Videostream Users List</title>
</head>
<body>
<h3 align="center">Videostream Users List </h3>
<table align="center" width="75%" border="1" cellspacing="0" cellpadding="0">
<tr align="center" BGCOLOR="#99CCFF">
<th>Surname</th>
<th>Name</th>
<th>City</th>
<th>UserID</th>
<th>Password</th>
<th>Edit</th>
<th>Delete</th>
</tr>
<?php do { ?>
<tr align="center">
<td><?php echo $row_users_videostream['Nom'];?></td>
<td><?php echo $row_users_videostream['Prenom'];?></td>
<td><?php echo $row_users_videostream['Ville'];?></td>
<td><?php echo $row_users_videostream['user_name'];?></td>
<td><?php echo $row_users_videostream['user_password'];?></td>
<td><a href="modifyuser.php?User_id=<?php echo $row_users_videostream['User_id']; ?>"><img src="images/edit.png" alt="modifier" width="15" height="15" hspace="5" /></a>
<td><a href="deleteuser.php?User_id=<?php echo $row_users_videostream['User_id']; ?>"><img src="images/delete.png" alt="supprimer" width="15" height="15" hspace="5" /></a></td>
</tr>
<?php } while ($row_users_videostream = mysql_fetch_assoc($users_videostream)); ?>
</table>
<p> </p>
<p align="center"><a href="formlogoutadmin.php">Deconnexion</a></p>
</body>
</html>
</body>
</html>
<?php
mysql_free_result($users_videostream);
?>
Udate records web page:
Update records code:
<?php require_once('Connections/dw_nouvellenaissance.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
return $theValue;
//*** Update User
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "usersform")) {
$updateSQL = sprintf("UPDATE videostream_users SET Nom=%s, Prenom=%s, Ville=%s, user_name=%s, user_password=%s WHERE User_id=%s",
GetSQLValueString($_POST['Nom'], "text"),
GetSQLValueString($_POST['Prenom'], "text"),
GetSQLValueString($_POST['Ville'], "text"),
GetSQLValueString($_POST['user_name'], "text"),
GetSQLValueString($_POST['user_password'], "text"),
GetSQLValueString($_POST['User_id'], "int"));
mysql_select_db($database_dw_nouvellenaissance, $dw_nouvellenaissance);
$Result1 = mysql_query($updateSQL, $dw_nouvellenaissance) or die(mysql_error());
$updateGoTo = "showusers.php";
if (isset($_SERVER['QUERY_STRING'])) {
$updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
$updateGoTo .= $_SERVER['QUERY_STRING'];
header(sprintf("Location: %s", $updateGoTo));
$colname_users = "-1";
if (isset($_GET['User_id'])) {
$colname_users = $_GET['User_id'];
mysql_select_db($database_dw_nouvellenaissance, $dw_nouvellenaissance);
$query_users = sprintf("SELECT * FROM videostream_users WHERE User_id = %s", GetSQLValueString($colname_users, "int"));
$users = mysql_query($query_users, $dw_nouvellenaissance) or die(mysql_error());
$row_users = mysql_fetch_assoc($users);
$totalRows_users = mysql_num_rows($users);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=charset=iso-8859-15" />
<title>Modify User</title>
</head>
<body>
<h1>Welcome Daniel</h1>
<h3 align="left">Please modify user fields then click OK</h3>
<form action="<?php echo $editFormAction; ?>" method="POST" name="usersform" id="usersform">
<input name="User_id" type="hidden" value="" />
<table align="left" width="50%">
<tr align="left">
<th>Surname: </th><td><input name="Nom" type="text" id="Nom" value="<?php echo $row_users['Nom']; ?>" /></td>
</tr>
<tr align="left">
<th>Name :</th><td><input name="Prenom" type="text" id="Prenom" value="<?php echo $row_users['Prenom']; ?>" /></td>
</tr>
<tr align="left">
<th>City: </th><td><input name="Ville" type="text" id="Ville" value="<?php echo $row_users['Ville']; ?>" /></td>
</tr>
<tr align="left">
<th>User ID:</th><td><input name="user_name" type="text" id="user_name" value="<?php echo $row_users['user_name']; ?>" /></td>
</tr>
<tr align="left">
<th>Password:</th><td><input name="user_password" type="text" id="user_password" value="<?php echo $row_users['user_password']; ?>" /></td>
</tr>
<tr align="left">
<td> </td><td align="left"><input type="submit" name="valider" value="Update" /></td>
</tr>
</table>
<input type="hidden" name="MM_update" value="usersform" />
</form>
</body>
</html>
<?php
mysql_free_result($users);
?>Daniel Cronin,
This link has information on preparing movies for viewing online by an iPhone:
https://developer.apple.com/iphone/devcenter/designingcontent.html
Click on the drop down menu for "Ensure a Great Audio and Video Experience".
You may need to register for Apple Developer Connection in order to view that information.
Hope this helps,
Nathan C. -
As i am fresher Please share the doc of ECMA script using java script in SharePoint 2013 step by step also how we can insert,update,delete records in list using ECMA script.
Thanks and Regards, Rangnath MaliHi,
According to your post, my understanding is that you want to use JavaScript to work with SharePoint list.
To create list items, we can create a ListItemCreationInformation object, set its properties, and pass it as parameter to the addItem(parameters) function
of the List object.
To set list item properties, we can use a column indexer to make an assignment, and call the update() function so that changes will take effect when you callexecuteQueryAsync(succeededCallback,
failedCallback).
And to delete a list item, call the deleteObject() function on the object.
There is an MSDN article about the details steps of this topic, you can have a look at it.
How to: Create, Update, and Delete List Items Using JavaScript
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support -
Unique data record means you can't update a record from ECC with same key.
Unique data record means you can't update a record from ECC with same key fileds right?
Details: For example i have two requests Req1 and Req2 in DSO with unique data record setting checked. on day one Req1 has a filed quantity with value 10 in Active data table. On day two Req1 can not be overwitten from ECC with Req2 with the same key fields but different value 20 in the filed quantity because of the Unique data record settings. finally the delta load fails from ECC going to DSO because of this setting. is it right?
I think we can only use unique record setting going from DSO to cube right?
Please give me a simple scenario in which we can use this setting.
I already search the threads and will assign points only to valuable information.
Thanks in advance.
YorkHi Les,
Unique Data Records:
With the Unique Data Records indicator, you determine whether only unique data records are to be updated to the ODS object. This means that you cannot load a data record into the ODS object the key combination for which already exists in the system otherwise a termination occurs. Only use this setting when you are sure that only unique data records are to be loaded into the ODS object (for example, single documents). A typical application of this is in the loading of mass data. It improves the load performance.
Hope it Helps
Srini -
Can you do Update Record from an HTML link?
Can you implement the Update Record server behavior by
clicking on an HTML link?
As far as the documentation I've read indicates, the Update
Record server behavior is only capable of updating a record when a
Form is submitted.
I would rather have the action of clicking on an HTML link
update the record, rather than having a Submit button to update the
record.
Is this possible? How do I go about doing this?
IsIf you coded the HTML on the page to submit your variables,
you should be
able to pull them in to the update page, though you might
have to manually
edit some code.
However, this also means you will always have a link present
that bots will
hit (and thus will update your database). Is this what you're
looking for?
It certainly doesn't sound like the best method.
HTH<
Jon
"robotai" <[email protected]> wrote in
message
news:enk2k1$1l0$[email protected]..
> Can you implement the Update Record server behavior by
clicking on an HTML
> link?
>
> As far as the documentation I've read indicates, the
Update Record server
> behavior is only capable of updating a record when a
Form is submitted.
>
> I would rather have the action of clicking on an HTML
link update the
> record,
> rather than having a Submit button to update the record.
>
> Is this possible? How do I go about doing this?
> Is
> -
Updated and can no longer record video
I updated to iOS4 on my 3Gs and I can no longer record video, the option to switch to video is no longer there. Is anyone else having this problem?
Thanks for the suggestion; unfortunately, such attempts are unsuccessful. In fact, I've been experiencing this bug for quite a while (as a developer), despite several restores. From my research, there are serious issues with iOS 4.0 and the iPhone Camera app. I've submitted a bug report for this. We'll see what comes of that.
-
How can i update multiple records at same time in psa
Hi,
i need to modify certain column's value in psa. for one of InfoObject fix value i need to change to some other value, can i write some routine or any other way to do so quickly.
thnxIf you are in prod, its tough to write code to manipulate PSAs. First of all, you need to transport your Program. Also, if you make a mistake, you can potentially change other PSAs.
If you insist, get the name of the PSA. Go to RSA1, PSA tab. THere, right click on your infosource and select Delete PSA. DON'T DELETE anything in this screen. Just copy the Table name (look around, you will find it there). Now, go to SE16 and lok at the table contennts. If you give Req, data pack, etc, you can access multiple records. Now, write the program "carefully" to access and change records in this table.
There is another way, but this will work-out for you.
Uday-Ram Chamarthy -
DTW Error65171 when Updating Business Partners
I have gotten the following error multiple times when attempting to update Business Partners in the DTW: "Can not find this object in B1Application-defined or object-defined error65171". I have tried many different things as well as only trying to import one record with only the line num, card code, and card type and still I get this error when trying to update BP's. I have also tried using both a tab delimited and a comma delimited file. Pleae let me know if you have any related information. Thanks!
Hi Sarah,
a typical situation where this kind of error occurs is when there is data in the line to be imported/updated which is not defined in SAP, e.g. in the import-file I used a tax-code which was not defined in SAP.
Furthermore I had problems with a newer version of DTW (no time to look for the version number right now). With this version it is NOT possible to UPDATE business partners. I installed an older version of DTW which was part of SAP BO 2005A SP01 PL16 (if I remember it corretly) and did the update of business partners.
To solve your problem you should inform us on the versions of SAP and DTW you are currently using, as Suda already asked you for in his reply!
Regards,
Frank Romeni
Maybe you are looking for
-
Installing Windows 7 RC From and External Hard Drive?
I burned a DVD of the Windows 7 64-bit RC installer and successfully booted from the DVD. However, I hit the following error once the installer collects information about my hardware: "A required CD/DVD drive device driver is missing. If you have a d
-
Printing labels in using standard report
Hi everyone, can anyone help me in creating a report, which has the output as standard AVERY 8160 Labels format of MS Word. The main purpose of this report is to print Labels. regards Ajay Nuduruapti SAP - Technical Consultant
-
Looks like everyone has good info here. Im a DJ and I was wondering how or if i can make a Mix CD. So where people can skip the tracks if they don't want to listen to that specific track? Can I make like a 20 track CD? Let me know Wolf
-
DB Adapter: Message not picked up
Hi, I have an iConnect 10g working fine with the FTP adapter. Messages come through no problem. But now I'm trying to use the DB adapter to publish a message. I have the adapter running and cannot see anything wrong in the logs, but whenever I create
-
Batch Scheduler Failing Randomly
Hi all - I have a batch scheduled to run on demand. It runs on ~130 custom members. A few months ago it started failing on random custom members. It will run successfully on most, but failed on some with the error: Problems encountered in "Financi