Earn Money
Trading Forex Online
Paramount Airways
Free Data Recovery
Cargo
Job Portal
HSBC Investment
Management
Cheap Web Hosting
Make Trip
Cheap Air Travel
Leisure Hotel
Free Air Travel
Mutual Fund Informations
Cheapest Cellular Plan
Free Sexy Indians
Call Center Software
Hot Indian
|
Programming Help |
Homework Help |
Counseling
Astrology Advice |
Tarot Advice |
Parenting
Dating Advice |
Love Advice |
Divorce Advice
Legal Advice |
Debt Advice |
Career Advice Problem :
You wish to prevent a user from being able to change the name of a course or the name
of the professor with responsibility for the course at a time when another user is editing
the course description (which contains this information).
Solution :
The problem described above can be solved by defining a lock object E_UKURS. This
is done by defining primary and secondary tables in the lock object. Table UKURS is
check table of table UKRSB, so UKURS should be selected as primary table and
UKRSB as secondary table of the lock object.
The Lock argument in this case is the field combination FABNR, KRSNR, and SPRAS
(i.e Primary Key Combination).
The Lock mode Shared is to be selected here. This allows several users to access the
data simultaneously in display mode.
The lock mode in the generated function modules for setting (ENQUEUE_E_UKURS)
and releasing (DEQUEUE_E_UKURS) locks is therefore set to shared as default, but
can be overridden by calling the function modules.
If the function module ENQUEUE_E_UKURS is called with FABNR = '1' and KRSNR =
'3', the record for course 3 in faculty 1 is locked in table UKURS. Furthermore, all the
course descriptions for this course are locked in table UKRSB since field SPRAS was
not specified when the function module was called. In such cases, the lock is made
generically for a field which is not defined.
If the function module DEQUEUE_E_UKURS is now called with FABNR = '1', KRSNR =
'3' and SPRAS = 'D', the German course description is unlocked. All other course
descriptions remain locked.
What is database utility ?
-
Database utility is the interface between the ABAP/4 Dictionary and the
underlying the SAP system.
The database utility is the interface between the ABAP/4 Dictionary and the relational
database underlying the SAP system. You can call the database utility from the initial
screen of the ABAP/4 Dictionary with Utilities ® Database utility.
The database utility allows you to create, delete and convert objects from the ABAP/4
Dictionary in the database.
MODULARIZATION
What is Modularization and its benefits?
If the program contains the same or similar blocks of statements or it is required to
process the same function several times, we can avoid redundancy by using
modularization techniques. By modularizing the ABAP/4 programs we make them easy
to read and improve their structure. Modularized programs are also easier to maintain
and to update.
|
Earn Money
Trading Forex Online
Paramount Airways
Free Data Recovery
Cargo
Job Portal
HSBC Investment
Management
Cheap Web Hosting
Make Trip
Cheap Air Travel
Leisure Hotel
Free Air Travel
Mutual Fund Informations
Cheapest Cellular Plan
Free Sexy Indians
Call Center Software
Hot Indian
|