If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Estimados, acudo a su sabiduria, estoy trabajando en un reporte que debe calcular la TIR ( tasa interna de rendimiento). alguien conoce un funcion que haga este calculo?
Gracias.
FUNCTION ZCALCULATE_TIR .
*"----------------------------------------------------------------------
*"*"Interfase local
*" EXPORTING
*" VALUE(C_TIR) TYPE CHAR20
*" TABLES
*" VALORES STRUCTURE ZTIR
*"----------------------------------------------------------------------
************************************************** *********************
*****
***** Tabla ZTIR con la siguientes definición:
***** Campo Clave Not Null Tipo Campo
***** ISUBN X X /AIN/DM_QUANTITY
*****
************************************************** **********************
DATA: R TYPE /AIN/DM_QUANTITY VALUE 1,
R0 TYPE /AIN/DM_QUANTITY VALUE 0,
R1 TYPE /AIN/DM_QUANTITY VALUE 1.
Comentario