Warning: Undefined variable $saptab in /customers/9/5/e/s4hd.com/httpd.www/sap/abap-statements/index.php on line 47
Warning: file_get_contents(/customers/9/5/e/s4hd.com/httpd.www/global/php/adxcode.txt): Failed to open stream: No such file or directory in /customers/9/5/e/s4hd.com/httpd.www/global/php/helpers.php on line 89
Get Example source ABAP code based on a different SAP table
Warning: Undefined variable $prev in /customers/9/5/e/s4hd.com/httpd.www/sap/abap-statements/index.php on line 63
• FOR LOCK METHODS • FOR LOCK FOR LOCK
FOR LOCK>, RAP Handler Method
ABAP_SYNTAX Handler method definition:> METHODS> meth $[ FINAL>$] FOR LOCK $[IMPORTING>>$] ${ REFERENCE>> (im_par_lock) $| im_par_lock $} FOR LOCK bdef $[CHANGING>> ${ $[failed> TYPE data>>$] $[reported> TYPE data>>$] $}$] .>
What does it do? Handler method > that is used for the locking of RAP BO> instances corresponding to the lock properties in the behavior definition. This method is automatically called before a modify operation. It must be defined and implemented in a handler class> of an ABAP behavior pool>. The method name meth> can be chosen freely. bdef> is the name or the alias of the BDEF>.
Method Parameters
IMPORTING> > parameter:
im_par_lock>: Includes the keys of RAP BO instances> that are to be locked. It is an internal table of type TYPE TABLE FOR KEY OF>>.
The importing parameter can also be passed by reference (see REFERENCE>>). The use of the ABAP word IMPORTING > is optional.
CHANGING>> parameters:
Fatal error: Uncaught mysqli_sql_exception: Table 's4hd_coms4data.DOKIL' doesn't exist in /customers/9/5/e/s4hd.com/httpd.www/global/php/functions-text.php:117
Stack trace:
#0 /customers/9/5/e/s4hd.com/httpd.www/global/php/functions-text.php(117): mysqli_query(Object(mysqli), 'SELECT l.* FROM...')
#1 /customers/9/5/e/s4hd.com/httpd.www/sap/abap-statements/index.php(63): body_text('INCLUDE ABAPRES...', '/:', 'B1', Object(mysqli))
#2 {main}
thrown in /customers/9/5/e/s4hd.com/httpd.www/global/php/functions-text.php on line 117