jueves, 18 de abril de 2013

2LIS_40_S278 ---> 2lis_03_bx

Este extractor tiene que ser substituido por el 2lis_03_bx.
Para el cubo 0RT_C01 la nueva trasformacion queda:

Rutina inicial:

*$*$ begin of global - insert your declaration only below this line  *-*

    DATA: l_tabix TYPE sy-tabix,
    wa_source_package TYPE _ty_s_sc_1.

*$*$ end of global - insert your declaration only before this line   *-*




*$*$ begin of routine - insert your code only below this line        *-*
*ABB 18.04.2013
* Antigo codigo
** only movements from to evaluated stocks are concerned
** if stock-category is not intitial -> Delete from data-packag
*  LOOP AT DATA_PACKAGE.
** purchase value is intitial -> Delete from data-packag
*    IF Not DATA_PACKAGE-STOCKCAT IS INITIAL.
*      DELETE DATA_PACKAGE.
*    ENDIF.
*  ENDLOOP.
* Novo codigo
** only movements from to evaluated stocks are concerned
** if stock-category is not intitial -> Delete from data-packag
    LOOP AT source_package
    INTO wa_source_package.
      l_tabix = sy-tabix.
      IF not wa_source_package-STOCKCAT IS INITIAL.
        DELETE source_package INDEX l_tabix.
      ENDIF.
    ENDLOOP.
*ABB 18.04.2013

*--  fill table "MONITOR" with values of structure "MONITOR_REC"






Mapeamento de caracteristicas:
Tiempo:  PSTNG_DATE es la fecha de referencia
0RT_PROMO:   CLEAR RESULT.


0MATERIAL  Material 0MATERIAL  Material
0MAT_PLANT  Material do centro 0MATERIAL  Material
0PLANT  Plant 0PLANT  Plant
0RT_MAT_PRM  Nº material agrupado à ação de promoção Retail 0MATERIAL  Material
0RT_PROMO  Promoção Promoção (inicial)



Mapeamento:

0CPTSTREBU  Entrada estoque avaliado total / UM base 0CPQUABU  BW: quantidade
0CPTSTREPV  Entrada em estoque avaliado total / valor de com 0CPPVLC  BW: valor de co
0RTTSTREST  Entrada estoque avaliado total / valor de venda 0CPSTLC  BW: valor de ve
0RTTSTRESV  Entrada estoque avaliado total / valor de venda 0CPSVLC  BW: valor de ve

No hay comentarios: