#1
|
|||
|
|||
Nombre Dinamico De Tabla Interna
Buenos dias Sres del Foro.
Tengo una duda como hacer lo siguiente: Espero me puedan ayudar. Tengo un contandor "cont". Y estas tablas internas declaradas: data: gt_stpo_1 type table of stpo. data: gt_stpo_2 type table of stpo. data: gt_stpo_3 type table of stpo. data: gt_stpo_4 type table of stpo. data: gt_stpo_5 type table of stpo. data: gt_stpo_6 type table of stpo. data: gt_stpo_7 type table of stpo. data: gt_stpo_8 type table of stpo. data: gt_stpo_9 type table of stpo. data: gt_stpo_10 type table of stpo. data: gt_stpo_11 type table of stpo. data: gt_stpo_12 type table of stpo. data: gt_stpo_13 type table of stpo. Lo que deseo es que dependiendo del contador, por ejemplo cuando Si cont=1 que se haga un select de la tabla STPO a la tabla interna gt_stpo_1. SI cont=2 que se haga un select de la tabla STPO a la tabla interna gt_stpo_2. ..... |
Herramientas | Buscar en Tema |
Desplegado | |
|
|