CS6 Dreamweaver using PHP & MySQL - Delete Record Server Behavior?
When I try to insert the Delete Record server behavior. I get an error message about a DeleteRecord.js file, which seems to be missing or defective. I cannot use the server behavior. I have a file that I developed using CS5, and it does indeed delete the record, but does not proceed to the destination I want. I cannot change that except in the server behavior, so I'm stuck. I have noticed that server behaviors seem to disappear without apparent cause, as it seems to have in this case. I will appreciate any suggestions! Is there any way to embed a call to a target page manually? All is working WITHOUT the server behavior appearing, but I want to go to a confirmation display page that shows the record is indeed deleted, and we just return to the (now blank) delete confirmation page. That'll drive a user bonkers!
Thanks!
Delete Record in CS6 Dreamweaver using PHP & MySQL?
Well, your error message is self-explanatory.
DW stores ServerBehaviors in 'Configuration' folder in installation directory. If one of the behavior JS files is missing/ corrupt, you'll see the error message you just did.
I've uploaded a functional, proper version of DeleteRecord.js onto my site for you to download. Here's the link:
http://www.sudarshan.me/adobeforum/dw/app/behavior-js/DeleteRecord.zip
Download this file, extract it and put DeleteRecord.js file in your installation directory as follows. If prompted, 'replace' your local copy:
Mac: Applications > Adobe Dreamweaver CS6 > Configuration > ServerBehaviors > PHP_MySQL
Windows: C:\Users\Your User Name\AppData\Roaming\Adobe\Dreamweaver CS6\[language]\Configuration\ServerBehaviors\PHP_MySQL
It should work as expected.
If that still doesn't solve the problem, reset your DW preferences and cache and try doing it. Follow the instructions here to reset cache: http://forums.adobe.com/thread/494811
Let us know how it goes.
-ST
Similar Messages
-
Delete Record server behavior problem
Hi all!
I'm such a painful situation, that I can't figure out, why my
Delete
Record form don't work as supposed.
It seems all things work (also gives message "You have
successfully
deleted the article."), but the problem is
that in the MySQL (5) database real deletion doesn't
occure...
I was walking along with very nice tutorial
(www.adobe.com/devnet/dreamweaver/articles/php_blog2_11.html)
if someone has time to think about...
I have all the steps (from the tutorial) done multiple times
and
result... no real deletion, despite "successfully deleted"
text :(
with regards,
andretaYeah! As always - if one is doing too much over and over,
then it's too
much of trouble.
I used sample delete_art.php(premade by Marius) file instead
of mine and
it worked!
If I was wondering what is different, then there was large
amount of
additional code in my file:
In pre-made sample is 200 lines versus 242 in mine :(
Differences(looked with Winmerge):
MINE(not working): Working:
(why my DW8 inserts session handling in this way?)
1)
$_SESSION['MM_Username'] = NULL;
session_unregister('MM_Username');
$_SESSION['MM_UserGroup'] = NULL;
session_unregister('MM_UserGroup');
$_SESSION['PrevUrl'] = NULL;
unset($_SESSION['MM_Username']);
unset($_SESSION['MM_UserGroup']);
unset($_SESSION['PrevUrl']);
2)
if (!isset($_SESSION)) { session_start();
session_start();
3)
in NONworking: (in WORKING - nothing )
(NB! this was a double-code - i think because of the redoings
(?recordset deleting & recreating?) )
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType,
$theDefinedValue = "",
$theNotDefinedValue = "")
$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;
4)
NONworking:
<!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"><!--
InstanceBegin
template="/Templates/admintemplate.dwt.php"
codeOutsideHTMLIsLocked="false" -->
Working:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
http://www.w3.org/TR/html4/loose.dtd">
<html>
5)
NonW:
<?php do { ?>
<tr class="topheader">
<td><?php echo $row_rsDeletedArticle['title_art'];
?></td>
Working:
<tr class="topheader">
<td><?php echo $row_rsDeletedArticle['title_art'];
?></td>
6)
NONW:
<td colspan="3"><?php echo
$row_rsDeletedArticle['text_art']; ?></td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
<?php } while ($row_rsDeletedArticle =
mysql_fetch_assoc($rsDeletedArticle)); ?>
</table>
<table width="30%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td><form id="delete" name="delete" method="post"
action="delete_art.php">
<input name="yes" type="submit" id="yes" value="yes"
/>
<input name="id_art" type="hidden" id="id_art"
value="<?php echo $row_rsDeletedArticle['id_art']; ?>"
/>
</form>
</td>
<td><form id="cancel" name="cancel" method="post"
action="list_art.php">
<input name="no" type="submit" id="no" value="No" />
</form>
</td>
</tr>
</table>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_rsDeletedArticle == 0) { // Show if
recordset empty ?>
<p>You have successfully deleted the
article.</p>
<form id="back" name="back" method="post"
action="list_art.php">
<input name="back" type="submit" id="back" value="Back"
/>
</form>
<?php } // Show if recordset empty
?><p> </p>
<!-- InstanceEndEditable --></td>
Working:
<td colspan="2"><p><?php echo
$row_rsDeletedArticle['text_art']; ?></p></td>
</tr>
<tr>
<td colspan="2"><table width="15%" border="0"
cellspacing="0" cellpadding="0">
<tr>
<td><form action="delete_art.php" method="post"
name="delete" id="delete">
<input name="yes" type="submit" id="yes" value="Yes">
<input name="id_art" type="hidden" id="id_art"
value="<?php echo $row_rsDeletedArticle['id_art'];
?>">
</form></td>
<td><form action="list_art.php" method="post"
name="cancel" id="cancel">
<input name="no" type="submit" id="no" value="No">
</form></td>
</tr>
</table></td>
</tr>
</table>
<?php } // Show if recordset not empty ?>
<?php if ($totalRows_rsDeletedArticle == 0) { // Show if
recordset
empty ?>
<p>You have successfully deleted the
article.</p>
<form action="list_art.php" method="post" name="back"
id="back">
<input name="back" type="submit" id="back"
value="Back">
</form>
<?php } // Show if recordset empty ?>
<p> </p>
<p> </p> <p>
</p></td>
</tr>
Boo-oo-hh!
It's enough for now
Please can someone give me advices about what is wrong with
the nonworking
(I deleted the section 3 from nonworking but it anyway
doesn't work)
AndreTa wrote:
> Oh, sorry!
>
> additional information - working with DW8.0.2, PHP
5.1.6, and with the
> "blog" database with MySQL 4.1.14
> (have also MySQL 5.0 - havn't tried with this... I'll do
it after sweet
> dreams and hard workday i.e. tomorrow)
> In local PC WinXP, Apache 2.2.3
>
> andreta
>
> -
Database Connection using PHP/MySQL on OS X
I created a database connection originally on my XP machine
using Dreamweaver CS2 and everything worked as it should. I
recently switched to a Mac and CS3 and while I can see the
connection file in the Connections folder, it appears grayed out in
Dreamweaver. I tried to create a new data connection to see if that
would solve this problem, but it won't let me. I typed in all the
information and when I clicked "Test" or to browse for the
appropriate database it pops up an error message saying "An
unidentifiable error has occurred". I'm sure I could work around
this by manually coding everything, but I'm a novice in programming
and need to be able to use this feature. The worst thing about it,
is that anytime I have to make a change to the web page, even if
it's not regarding this section of code, it gets messed up. I have
made backups, but once they are opened on the Mac they are messed
up.
I'm using Dreamweaver CS3, PHP/MySQL on a remote server as I
still can't get my local web server functioning properly under
Leopard. Any help would be appreciated because I haven't been able
to find anything regarding this error online.bouldersp wrote:
> I typed in all the
> information and when I clicked "Test" or to browse for
the appropriate database
> it pops up an error message saying "An unidentifiable
error has occurred".
That usually means that something is preventing communication
between
Dreamweaver and the testing server. It could be a firewall or
anti-virus
software. In the Testing Server section of the Advanced tab
in Site
definition, Host directory and URL prefix should both point
to the same
place. The first is the physical path to the top level of
your site, the
second is the URL you enter into a browser address bar to get
to the
same location.
> I'm using Dreamweaver CS3, PHP/MySQL on a remote server
as I still can't get
> my local web server functioning properly under Leopard.
You might find this tutorial on my website helps:
http://foundationphp.com/tutorials/php_leopard.php
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Update record server behavior preventing passage of form parameter in php
I have a multi-page survey set up in php. I am trying to pass a form variable to the next page, but the 'update record' server behavior is preventing me from passing the variable to the next page. I have tried including the variable as a parameter in the url, but this is not working either. Please help.
Can you not pass it onto the next page using a SESSION?
As an example say you want to pass the information from a form field with the name 'company' to another page.
At the top of the page that the form is submitted to you start a SESSION - <?php session_start(); ?> - then you collect the information from the form as normal BUT using a SESSION variable - $_SESSION['company']
The resulting php code might look like below:
<?php
session_start();
$_SESSION['company'] = $POST['company'];
?>
Then you can pass the SESSION variable on to as many page as you like:
So for instance the next page in the chain needs <?php session_start(); ?> at the top again to initiate a SESSION.
Then the resulting code may look like below. The information from the form field 'company' is being passed from page to page.
<?php session_start(); ?>
<?php
if(isset($_SESSION['company'])) {
echo $_SESSION['company'];
else {
echo "Company name is not set";
?> -
Best way to update images using PHP / MySQL?
HI
I want to update images using PHP/MySQL, so users can update their images and maybe some other files but mainly images.
thanksHow messed up is this code?!
<?php
//connect to database
$con = mysql_connect("testhost","testuser","pass");
// file properies
$file = $_FILES['image']['tmp_name'];
if (!isset($file))
echo "please select an image";
else {
$id = $_REQUEST['id_display'];
$image = ($_FILES['image']['tmp_name']) ? file_get_contents ($_FILES['image']['tmp_name']) : '';
$image_name = ($_FILES['image']['name']) ? addslashes($_FILES['image']['name']): '';
$image_size = ($_FILES['image']['tmp_name']) ? getimagesize($_FILES['image']['tmp_name']): '';
if ($image_size == FALSE)
echo "You have not selected an image.";
else {
mysql_select_db("test_display", $con);
mysql_query("UPDATE testtable SET image = '$image', imagename = '$image_name' WHERE id_display='$id'");
?>
And the upload page....
/*Update code */ /*End update code */ -
Insert/Update Record - Server Behavior
Help Please!
I have several pages with forms that insert records, but I
over the weekend when I went to open them from the web to
insert/update records errors appeared. They were working fine
before. Using PHP, MYSQL and Dreamweaver CS3
I have tried everything I know to do. I have recreated the
page, same problem as well as delete behaviors and reapply them.
Once the server behavior is added it no longer says Insert
Record in the Application window instead it says "Dynamic
Attribute" Further, when I click it to make any changes etc,
instead of the screen for Insert or Update record coming up it is a
"Dynamic Text box" regarding POST or GET or URL stuff.
Edited to add: And once posted, the page only shows an error
and references this line
<html xmlns="
http://www.w3.org/1999/xhtml">
Error Message
Parse error: syntax error, unexpected '<' on line 40
What can I do?You don't say which server-side language you're using, but the way that I would troubleshoot this in PHP is to use echo to display the value of $_SESSION['MM_Username'] at the bottom of the admin page. This is the session variable Dreamweaver uses to control access to a page with username and password. If the value is displayed, it means sessions are working, and the variable hasn't been destroyed.
If that works, move onto the next page, and use echo to display the value of $_SESSION['MM_Username'] as soon as the session has been started. To prevent being redirected to the fail page, temporarily comment out the following line:
header("Location: ". $MM_restrictGoTo);
Basically, you need to check what's happening to the session variable that controls access to the pages. -
Using Dreamweaver MX 2004. I have a recordset created, and
need to update a table. When I select the Update Record server
behavior I get the following message "before using this behavior,
please create a recordset". However the recordset has already been
created, and it tests fine, I can see the data in the tables, and I
am able to insert a record, delete a record, but not update...
Using ASP JavaScript Server model with Access databse. Any help is
much appreciated.
Thanks! :Hi
Have you already made the binding? - it's not obvious from
your posting - but you should have a form with the initial data you
want to update bound to it before you can update.
I won't bang on about this because maybe you did it already.
bfn -
Clueless NEWBIE DEVELOPER, NEEDS ASSIST with Insert Record Server Behavior
Experienced DW designer learning CFMX7. I cannot seem to get
beyond this error message when using the Insert Record server
behavior to write data from a form into the database. Using MS
Access 2002, CFMX7's internal server, DW 6.0. Please note that I am
learning development for the first time and am using tutorials. I
was able to connect at one point but now I cannot.
See error message below:
The following information is meant for the website developer
for debugging purposes.
Error Occurred While Processing Request
Error Executing Database Query.
Syntax error in INSERT INTO statement.
Resources:
Enable Robust Exception Information to provide greater detail
about the source of errors. In the Administrator, click Debugging
& Logging > Debugging Settings, and select the Robust
Exception Information option.
Check the ColdFusion documentation to verify that you are
using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
SV1; .NET CLR 1.1.4322)
Remote Address 127.0.0.1
Referrer
http://localhost:8500/moosek/TMPu724j3nl2j.cfm
Date/Time 07-Aug-06 07:23 PM
Text
TextMongoSlade,
I had this exact same problem with a CFMX 7 datasource that
was set up as Microsoft Access with Unicode. It turns out that
"Password" is a reserved word in the Unicode driver. Or somewhere.
I got around it by putting square brackets, i.e., [ ] around the
column name, like this:
update MyTable
set [Password] = '#form.Password#'
where UserID = '#form.UserID#'
That solved the problem nicely. I hope this solution will
work for you as well. -
PHP/MySQL Test/Production Server best practices
Hello,
I am currently learning PHP/MySql and have setup a test server to develop on and a production server to go live with. I wanted to know what are the best practices for synchronizing the test server with the production. Should I export the database from the test server and import it to the production server each time I make a change or is there better way to incrementally sync the databases. I am using Dreamweaver to design the web site.
Thanks,
NickThanks, but does this mean that after I go live I should make changes on the production database only and not use the development database, if say I need to add a new table or record(s)?
Procedure
1. Take production web site down
2. Export/Save current database
3. Make changes to production database
4. Export/Save new database
5. Bring production web site up
Is this correct? -
I've got a multi page form that carries values across
multiple pages with the use of Hidden Fields and then on last page
inserts the record into a MySQL database (for this I used the built
in Insert Record function of dreamweaver). My problem is that it
works well when using Internet Explorer, values are carried forward
and everything is inserted successfully to the database.
But, when using Mozilla Firefox it looks as if it works, I
get the confirmation at the end, but the record is not being
inserted to the database. I've worked through this step by step and
the values are being carried across in the hidden fields but it
just will not insert anything to the database.
Has anyone got any ideas??
Thank you in advance.Cade06 wrote:
> Thanks alot for your reply, but I am completely new to
MySQL, and I am not
> quite sure how the syntax works. When you say " WHERE
landlord_username =
> 'whatever' "I'm not sure what needs to go in the
'whatever' portion of the
> code. Do I need to insert static text here or something
else? I am totally out
> of my element here, sorry :-/
It's probably not so much MySQL syntax that's the problem for
you, but a
lack of understanding how to work with Dreamweaver
recordsets, server
behaviors, and sessions. Building database-driven sites with
Dreamweaver
isn't difficult, but there are a lot of things involved.
The Log In User server behavior automatically creates a
session variable
called $_SESSION['MM_Username']. You can use this as a
parameter to pass
to the SQL query in the Advanced Recordset dialog box. In the
SQL area
you would type (I'm guessing the name of your table and the
username
column):
SELECT landlord_id FROM landlords
WHERE landlord_username = 'col1'
Then click the plus button above the Variables area, and
create a
Parameter with the following values:
Name: col1
Default value: 1
Runtime value: $_SESSION['MM_Username']
You can then extract the result of the recordset, and assign
it to a
session variable like this:
$_SESSION['landlord_id'] = $row_recordsetName['landlord_id'];
> Also, I understand that I need to do this on the login
page, but do I need to
> define the recordset again on the add_site page as well?
I guess I'm still not
> quite clear on how I specify the session variable as the
value that needs to be
> entered in the sites table as the landlord_ID.
As long as the session is still valid (which it would be if
you use
Restrict Access to Page), you will always have access to that
landlord's
id through $_SESSION['landlord_id'].
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/ -
Dreamweaver newbie - php & mysql help
hi,
new to dremweaver, have used .net in past with vwd and found it straight forward to drag over grid view etc to view data from sql database.
i want to use php and mysql now and looking at dreameaver cs4 i really want to know what each navigation is. i.e. how do i create my mysql database and drag say a grid view in dreamweaver cs4 over to view?
basically just need to know the basics navigation of what buttons i need for to interact using php and mysql?
any help would be great, and also if anyone can recommend a good book on php/mysql with dreamweaver cs4 as a by the by then would greatly appreciate it.
many thanks
andyTake a look at this book:
http://www.amazon.com/Essential-Guide-Dreamweaver-Ajax-Essentials/dp/1430216107
I didn't read it, but I am currently reading the author's another book (David Powers: PHP Object-Oriented Solutions) and he is good.
David is also a community expert on these forums. -
PHP/MySQL connection / testing server maybe?
Problem - I'm unable to connect to a PHP database. I'm
working right now with tutorials from the DW CS3 Bible by Lowery,
but haven't been able to connect at all. And I wasted weeks trying
the same thing with an ASP connection.
The error message I'm getting now is '405 Method not Allowed'
when working through the connection dialog. I thought PHP/MySQL was
supposed to be easier & better than ASP/Access?
In going through the site setup, instructions for setting up
the site's testing server say 'click test to verify the connection'
but there's no button to click. What am I missing?
Is there some kind of easy test script I can attempt, as with
asp? Problem there was that I could do the 'timetest' sample, but
nothing else.
I have gone through setting permissions and creating IUSR_my
computer name as a user - they seemd to work fine, but I still
can't connect.
Thanks anyone, and everyone - my first post regarding
connection problems was on 8/22 and I feel like I have gotten
nowhere.Have you looked at this tutorial?
http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php.html
Ken Ford
Adobe Community Expert Dreamweaver/ColdFusion
Adobe Certified Expert - Dreamweaver CS3
Adobe Certified Expert - ColdFusion 8
Fordwebs, LLC
http://www.fordwebs.com
"LReber" <[email protected]> wrote in
message
news:gcegd6$qmu$[email protected]..
> Problem - I'm unable to connect to a PHP database. I'm
working right now
> with
> tutorials from the DW CS3 Bible by Lowery, but haven't
been able to
> connect at
> all. And I wasted weeks trying the same thing with an
ASP connection.
> The error message I'm getting now is '405 Method not
Allowed' when working
> through the connection dialog. I thought PHP/MySQL was
supposed to be
> easier &
> better than ASP/Access?
> In going through the site setup, instructions for
setting up the site's
> testing server say 'click test to verify the connection'
but there's no
> button
> to click. What am I missing?
> Is there some kind of easy test script I can attempt, as
with asp? Problem
> there was that I could do the 'timetest' sample, but
nothing else.
> I have gone through setting permissions and creating
IUSR_my computer name
> as
> a user - they seemd to work fine, but I still can't
connect.
> Thanks anyone, and everyone - my first post regarding
connection problems
> was
> on 8/22 and I feel like I have gotten nowhere.
> -
Using php with oracle http server
Hello folks
This question might have been answered on this forum, but i haven't found it yet.
Is it possible to integrate php into the apache server that is supplied with the oracle (9.2) database, the so called Oracle HTTP Server?
What technical issues are to consider and how do you do it on linux in that case? (SLES8)
Is there any support issues to consider if somebody modifies this oracle supplied http server?
Looking very much forward to some help...
Regards,
ChristianWell it was a spelling mistake in the beginning. I get the following output now:
./configure --with-oci8=$ORACLE_HOME \
--with-apxs=/opt/oracle/product/9ir2/Apache/Apache/bin/apxs \
--enable-sigchildcreating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... bison -y
checking for bison version... 1.35 (ok)
checking for flex... lex
checking for yywrap in -ll... no
checking lex output file root... ./configure: line 2425: lex: command not found
configure: error: cannot find output from lex; giving up -
Using php-mysql module and Apache2.2 provided with FMS4.5
Hi,
we've recently downloaded and upgraded FMS from 3 to 4.5 on a server that has this configuration (before upgrading):
- Centos 5.5
- Apache 2.2.3
- mysql 5.0.77
- php 5.3.3
- perl 5.8.8
Everything was fined before upgrading since 3 years.
We decided to upgrade FMS to provide HLS to our customers.
Once we upgraded FMS and installed Apache that comes with the installer, we encountered lots of errors.
- no more php, all scripts were visible, so we had to reinstall php module; and by the way, how can't we have the logical directories for apache (like /etc/httpd/,...) instead of /opt/adobe/fms/Apache...
- no more perl, cgi script are also visible...
- and now, we are unable to connect to mysql database. Whatever we do, the following message appears:
Fatal error: Call to undefined function mysql_connect()
modules are in the right folders but no way....
If someone can help us,
regards,
Tonyi answer to myself:
I finally managed to do it.
The best way was this:
- backup the Apache folders from fms
- reinstall fms w/o apache
- reinstall properly the standard httpd ( i launched yum remove httpd before)
- copy modules from fms backup to /etc/httpd/modules so i havve specific modules
- update httpd.conf with adobe version (easy with Kompare)
restart httpd and fms
Now everything works well: php, mysql, cgi, ... -
Error While using HR_INFOTYPE_OPERATION to delete records
Hi All
I was able to find simlar error in SDN but it did not work for me. I am using HR_INFOTYPE_OPERATION to delete PA2006 records and update with new values. I get the following error message "No data stored for 2006 in the selected period". But The records exist. I debugged and found it fails for authorization checks. I have all the authorizations as I am able to delete it using PA30.
FYI inserting works fine.
Please advice.
Thanks, RajHi Santosh
I used the same code which you have send. Below is the one. FYI, throught my debug, I was able to figure out it fails in authorization, even though I have all authorization and I was able to delete using PA30. Please advice.
Below is teh code that I used.
CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
EXPORTING
number = t_file1-pernr
IMPORTING
return = t_return
locking_user = sy-uname.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '2006'
NUMBER = t_file1-pernr
SUBTYPE = t_file1-subty
VALIDITYEND = t_file1-endda
VALIDITYBEGIN = t_file1-begda
RECORD = P2006
OPERATION = 'MOD'
DIALOG_MODE = '1'
NOCOMMIT = 'X'
IMPORTING
RETURN = t_return
KEY = personaldatakey.
"Unlock the employee
CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
EXPORTING
number = t_file-pernr
IMPORTING
return = t_return.
Thanks, Raj
Maybe you are looking for
-
I can't dismiss the 'low on ink' error message
Hello all, I have just refilled an empty 301 cartridge and my HP envy 4502 printer is telling me that I am very low on ink. This is to be expected, however the real issue is that my printer will not allow me to dismiss the error message, even though
-
Lately I´ve experienced annoying problems when using Firefox - and only when using Firefox - the monitor shuts down for about 10 sec, then on again for about 10 sec, in the meanwhile doing anything on the computer is REAL slow. After restart everythi
-
How to deploying DESIGNER_5-10000951.SAR with sapcar
Hi all, I wish to regenerate the ITS stylesheets on an EP Portal implementation and need the sap_preview/sap_generate service to do so. In accordance with the note on this topic I have downloaded the above files but am at a loss as to how/where to de
-
I have a problem connecting to the host. I am able to ping successfully to the server. When I execute tnsping from the client machine, the operation runs successfully. TNS Ping Utility for 32-bit Windows: Version 2.3.2.1.0 - Production on 21-JUN-01 1
-
How to Set Bold/Italic/Underline attributes to Paragraphs
Hi Could any body give a solution to the following problem I'm writing a small Html Editor, there I'm supporting bold/italic/underline. The problem is I wanna want to display the bold,italic and underline without adding bold/italic and underline tags