2007 Sep 27 6:41 AM
Please any one can tell me the meaning of the below code :
CALL 'SendSubmitReq'
ID 'TMSG' FIELD i_th_msg
ID 'TSYS' FIELD i_server.
Regards,
Pralhad P. Teggi
2007 Sep 27 7:00 AM
Hi,
<b>CALL - Call a System Function:</b>
<b>Note</b>
This statement is for internal use only.
It cannot be used in application programs.
<b>Note</b>
As of Release 6.20, you should use Kernel Methods instead of system functions.
<b>Syntax</b>
CALL cfunc.
<b>Addition:</b>
... ID id1 FIELD f1 ... ID idn FIELD fn
<b>Effect</b>
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.
<b>Addition</b>
... ID id1 FIELD f1 ... ID idn FIELD fn
<b>Effect</b>
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.
<b>Note</b>
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.
Exceptions
Non-Catchable Exceptions
Cause: You do not have the authorization to call this C function.
Runtime Error: CALL_C_FUNCTION_NO_AUTHORITY
Cause: The system function specified is unknown.
Runtime Error: CALL_C_FUNCTION_NOT_FOUND
Cause: The system function SYSTEM is deactivated (in CALL 'SYSTEM')
Runtime Error: CALL_SYSTEM_DISABLED
Regards,
Bhaskar
Hi,
<b>CALL - Call a System Function:</b>
<b>Note</b>
This statement is for internal use only.
It cannot be used in application programs.
<b>Note</b>
As of Release 6.20, you should use Kernel Methods instead of system functions.
<b>Syntax</b>
CALL cfunc.
<b>Addition:</b>
... ID id1 FIELD f1 ... ID idn FIELD fn
<b>Effect</b>
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.
<b>Addition</b>
... ID id1 FIELD f1 ... ID idn FIELD fn
<b>Effect</b>
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.
<b>Note</b>
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.
Exceptions
Non-Catchable Exceptions
Cause: You do not have the authorization to call this C function.
Runtime Error: CALL_C_FUNCTION_NO_AUTHORITY
Cause: The system function specified is unknown.
Runtime Error: CALL_C_FUNCTION_NOT_FOUND
Cause: The system function SYSTEM is deactivated (in CALL 'SYSTEM')
Runtime Error: CALL_SYSTEM_DISABLED
Regards,
Bhaskar
2007 Sep 27 6:49 AM
Hi
This CALL statement is used to Call some Commands of the System kernel.
Check the F1 help on CALL statement.
<b>reward if Helpful.</b>
2007 Sep 27 6:51 AM
Hi ,
This might call system command of the particular server sending message.
regards,
Santosh
2007 Sep 27 7:00 AM
Hi,
<b>CALL - Call a System Function:</b>
<b>Note</b>
This statement is for internal use only.
It cannot be used in application programs.
<b>Note</b>
As of Release 6.20, you should use Kernel Methods instead of system functions.
<b>Syntax</b>
CALL cfunc.
<b>Addition:</b>
... ID id1 FIELD f1 ... ID idn FIELD fn
<b>Effect</b>
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.
<b>Addition</b>
... ID id1 FIELD f1 ... ID idn FIELD fn
<b>Effect</b>
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.
<b>Note</b>
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.
Exceptions
Non-Catchable Exceptions
Cause: You do not have the authorization to call this C function.
Runtime Error: CALL_C_FUNCTION_NO_AUTHORITY
Cause: The system function specified is unknown.
Runtime Error: CALL_C_FUNCTION_NOT_FOUND
Cause: The system function SYSTEM is deactivated (in CALL 'SYSTEM')
Runtime Error: CALL_SYSTEM_DISABLED
Regards,
Bhaskar
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |