Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Call cfunc statement

Former Member
0 Likes
704

HI,

I would like to know what action the below statement performs

CALL 'C_RSTS_WRITE'

ID 'HANDLE' FIELD hlp_handle

ID 'BUFF' FIELD <f>.

and how can I see the value if written.

Thanks

Chaitanya.

1 REPLY 1
Read only

Former Member
0 Likes
430

hi this is Calling a System Function ..

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.