Ansicht
Dokumentation

05620 -

05620 -

Addresses (Business Address Services)   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book


Hi, group.

I have a custom-written ABAP that is performing a function where the
program should not be allowed to run parallel to itself. In other words, I
start the job ABC and it starts running in a BTC process. Another user
starts the same job and it should WAIT for the first job to finish before
continuing. I don't want to STOP the second job, but it must simply WAIT
until the first job is complete.

I have written the program to check the contents of table TBTCO as the
first step. If I find the jobname in an active state then I wait 30
seconds
and check again. I do this repeatedly until I don't find the job with an
active status, at which point I exit the loop and continue with the
processing. This method seems to cause problems, though. I find 4 or 5
jobs
waiting, but they seem to be holding up the first job that was started, so
we end up in a dead-end situation. I have to end all the subsequent jobs
to
allow the first one to complete and then manually start the secondary jobs
again.

Can someone please suggest a way of getting around this?

Thanks and regards,

Des Olwage
Snr. Systems Administrator
Goodyear South Africa
Tel. +27 41 5055441
Cell. +27 82 824 6900



consolut Sponsor





Have a look to our homepage at: http://www.consolut.net
DoNotReply@consolut.eu





[Non-text portions of this message have been removed]


From klaus.lindegaardZr... Tue Apr 09 11:49:07 2002
Return-Path: <klaus.lindegaardZr...>
X-Sender: klaus.lindegaardZr...
X-Apparently-To: DoNotReply@consolut.eu
Received: (EGP: mail-8_0_3_1); 9 Apr 2002 18:49:06 -0000
Received: (qmail 35629 invoked from network); 9 Apr 2002 11:42:23 -0000
Received: from unknown (66.218.66.218)
by m2.grp.scd.consolut.net with QMQP; 9 Apr 2002 11:42:23 -0000
Received: from unknown (HELO hedsrv10.rocknet.dk) (212.130.8.59)
by mta3.grp.scd.consolut.net with SMTP; 9 Apr 2002 11:42:22 -0000
Received: by HEDSRV10 with Internet Mail Service (5.5.2653.19)
id <HF8A86RL>; Tue, 9 Apr 2002 13:42:26 +0200
Message-ID: <31F464372CCFD311B0830004AC4CAEAA01780007Zh...>
To: "'alessandro.fusariZs...'" <alessandro.fusariZs...>
Cc: "'DoNotReply@consolut.eu'" <DoNotReply@consolut.eu>
Subject: SV: SV: dbr3cp.r3s
Date: Tue, 9 Apr 2002 13:42:19 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
From: "Klaus Lindegaard (RWDK)" <klaus.lindegaardZr...>
X-consolut-Group-Post: member; u=53865611
X-consolut-Profile: klidk

Yes,

You need an installation version (upgradeversion will also not work)- you
must order it at SAP if you do not have it.

You say you are at the COM version so you should order the install of SR1 -
but ordinary 3.1I will also work (you should use the method of homogenneous
system copy. Follow note 36862 - first you create the new system with the
install, then after point 3 go to point 15 and after that return to step 4.=
=20

After completing make a copy of an updated kernel and apply it to the new
system.

Just done this tree times works every time

Regards/Ciao=20

Regards from Denmark
Klaus Lindegaard

If questions feel free to call me +45 24289510

-----Oprindelig meddelelse-----
Fra: alessandro.fusariZs... [mailto:alessandro.fusariZs...]
Sendt: 9. april 2002 12:19
Til: Klaus Lindegaard (RWDK)
Emne: Rif: SV: dbr3cp.r3s



Hi list,

>They are located on the installation CD
Durban Tours - Südafrika Safari

ROGBILLS - Synchronize billing plans   General Material Data  
This documentation is copyright by SAP AG.

Length: 6005 Date: 20240304 Time: 200600     sap01-206 ( 3 ms )