‎2007 Jul 10 10:28 AM
hello,
Please explain to me what this statement is doing .. Is it reading something from the memory buffer ??
CALL 'ThNoRead' ID 'BNRIV' FIELD BNRIV.
Thanks
Sudha
‎2007 Jul 10 10:35 AM
CALL - Call a System Function:
Note
This statement is for internal use only.
It cannot be used in application programs.
Note
As of Release 6.20, you should use Kernel Methods instead of system functions.
Syntax
CALL cfunc.
Addition:
... ID id1 FIELD f1 ... ID idn FIELD fn
Effect
Calls the system function cfunc. The relevant function must exist in the file sapactab.h. If you change or recreate a function, you have to compile and link the SAP kernel again. For this, you need the C source code files.
Normally, external programs should be called by RFC with CALL FUNCTION ... DESTINATION.
Addition
... ID id1 FIELD f1 ... ID idn FIELD fn
Effect
Passes fields to the called program by reference. With "ID id1", you specify the name of a formal parameter, and with "FIELD f1" the relevant field from the ABAP/4 program. If a formal parameter expects an internal table, the latter is passed in the form "FIELD tab[]".
Example
DATA RESULT(8).
CALL 'MULTIPLY' ID 'P1' FIELD '9999'
ID 'P2' FIELD '9999'
ID 'RES' FIELD RESULT.
Note
With some critical C functions, the system automatically performs an authorization check. If the user does not have the appropriate authorization, a runtime error occurs. You can check the authorization with the function module AUTHORITY_CHECK_C_FUNCTION.
Regards,
Amit
Reward all helpful replies.
‎2007 Jul 10 10:35 AM
CALL - Call a System Function:
Note
This statement is for internal use only.
It cannot be used in application programs.
Note
As of Release 6.20, you should use Kernel Methods instead of system functions.
Syntax
CALL cfunc.
Addition:
... ID id1 FIELD f1 ... ID idn FIELD fn
Effect
Calls the system function cfunc. The relevant function must exist in the file sapactab.h. If you change or recreate a function, you have to compile and link the SAP kernel again. For this, you need the C source code files.
Normally, external programs should be called by RFC with CALL FUNCTION ... DESTINATION.
Addition
... ID id1 FIELD f1 ... ID idn FIELD fn
Effect
Passes fields to the called program by reference. With "ID id1", you specify the name of a formal parameter, and with "FIELD f1" the relevant field from the ABAP/4 program. If a formal parameter expects an internal table, the latter is passed in the form "FIELD tab[]".
Example
DATA RESULT(8).
CALL 'MULTIPLY' ID 'P1' FIELD '9999'
ID 'P2' FIELD '9999'
ID 'RES' FIELD RESULT.
Note
With some critical C functions, the system automatically performs an authorization check. If the user does not have the appropriate authorization, a runtime error occurs. You can check the authorization with the function module AUTHORITY_CHECK_C_FUNCTION.
Regards,
Amit
Reward all helpful replies.
‎2007 Jul 10 10:39 AM
‎2007 Jul 10 10:48 AM
hi
good
The CALL statement (call_statement) causes a database procedure to be executed.
http://dev.mysql.com/doc/maxdb/en/a7/41ee17605911d3a98800a0c9449261/content.htm
http://www.sapdb.org/7.4/htmhelp/a7/41ee17605911d3a98800a0c9449261/content.htm
thanks
mrutyun^