Problema con funcion Z

Colapsar
X
 
  • Tiempo
  • Mostrar
Limpiar Todo
nuevos mensajes
  • Hugo355
    Junior Member
    • sep
    • 28

    #1

    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
    Member
    • jun
    • 91

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

    Comentario

    • Hugo355
      Junior Member
      • sep
      • 28

      #3
      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.

      muchas gracias por su atencion!

      Comentario

      Trabajando...