MUNDOSAP

MUNDOSAP (foro/index.php)
-   Programación ABAP IV (foro/forumdisplay.php?f=4)
-   -   Problema con funcion Z (foro/showthread.php?t=33346)

Hugo355 29/10/09 15:32:26

Problema con funcion Z
 
Hola a todos!

Tengo un problema, es primera vez que estoy haciendo una funcion. Ya la tengo lista o eso creo. Bueno, le pongo probar(F8) y todo bien, pongo el parametro que le estoy pasando y al momento de darle EJECUTAR (F8), me pone este error.

Err.tmpo.ejec. CALL_FUNCTION_NOT_ACTIVE
Excep. CX_SY_DYN_CALL_ILLEGAL_FUNC
Fecha y hora 29.10.2009 10:28:43



Texto breve
The function module is not active or contains no code.



¿Qué ha sucedido?
The function module "ZSGC_COTIZATOSOL" is called, but
cannot be found in its function group.

Error in the ABAP Application Program

The current ABAP program "ZSGC_COTIZATOSOL==============FT" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.

An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FUNC', was
not caught in
procedure "FUNCTION_CALL" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The program "ZSGC_COTIZATOSOL==============FT" contains the CALL FUNCTION
statement.
The name of the function module to be called is "ZSGC_COTIZATOSOL".
but "ZSGC_COTIZATOSOL" cannot be found in its function group.

Possible reasons:
a) The function module "ZSGC_COTIZATOSOL" has not been activated. Therefore,
it cannot be found at runtime.

b) The Function Library contains an incorrect entry for "ZSGC_COTIZATOSOL".

c) The function module contains no code, even FUNCTION ... ENDFUNCTION
is missing.


La cosa es que si esta activa y tiene codigo. No se ni a que moverle, si me pudieran ayudar se los agradeceria mucho!

Bmamba 29/10/09 16:10:54

Tienes que crearte un grupo de funciones, y asociarselo a tu función.

Hugo355 29/10/09 16:17:09

Resuelto
 
Ya este resuelto, pero comento... si esta dentro de un grupo de funciones pero raramente no agrego el include que se genera al grupo de funciones, ya se lo puse y funciona todo bien.:D

muchas gracias por su atencion!


Husos Horarios son GMT. La hora en este momento es 07:11:23.

www.mundosap.com 2006 - Spain
software crm, crm on demand, software call center, crm act, crm solutions, crm gratis, crm web