<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <meta name="GENERATOR" content="Microsoft FrontPage 4.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>FUNCTION .. ENDFUNCTION</title> <link rel="stylesheet" href="../../gaussr3.css" tppabs="http://www.gaussr3.com/gaussr3.css" type="text/css"> </head><body>
<p align="left">⚠ <b>
<span class="titulo">FUNCTION .. ENDFUNCTION</span>⚠ </b>
</p>
⚠ <b>
Definicin⚠ </b>
</p>
<p align="left" class="gaussr3">Define un mdulo de funcin.</p>
<p align="left" class="gaussr3">⚠ <b>
Sintaxis:⚠ </b>
</p>
<pre class="gaussr3">FUNCTION <funcin>
...
ENDFUNCTION.</pre>
<p class="gaussr3">Todas las sentencias incluidas entre FUNCTION
y ENDFUNCTION sern ejecutadas cuando se realice una llamada a la funcin.</p>
<p class="gaussr3">Para crear, modificar o visualizar un mdulo
tenemos que ir a (desde el men principal)⚠ <i>
Herramientas -> Abap/4 Workbench -> Mdulo funcin⚠ </i>
. O ir directamente a travs de la transaccin SE37.</p>
<p class="gaussr3">⚠ <b>
Vase tambin:⚠ </b>
⚠ <a href="call_function.htm" tppabs="http://www.gaussr3.com/abap4/sentencias/call_function.htm">
CALL FUNCTION⚠ </a>
.</p>
</body>
</html>