pancho6102
28/09/10, 22:24:19
Hola que tal foro una vez mas necesito de su ayuda y de sus conocimientos.
tengo una funcion que ocupa un programa z que estoy revisando, el problema es que no se cual es su finalidad:
CALL FUNCTION 'CONSUMPTION_READ_FOR_MM_DB'
EXPORTING
matnr = it_mard-matnr
werks = it_mard-werks
berid = it_mdlv-berid
perkz = c_perkz_w
periv = c_periv_k4
TABLES
ges_verb_tab = it_ges
ung_verb_tab = it_ung
EXCEPTIONS
wrong_call = 1
not_found = 2
fv_not_found = 3
fv_period_error = 4
OTHERS = 5.
en mi programa que estoy usando lo debuge pero al entrar a la funcion no me hizo nada necesito saber que hace esta funcion y en los TABLES me devuelve informacion o tienen que ir vacios.
demas declaraciones:
CONSTANTS: c_perkz_w LIKE dver-perkz VALUE 'W'.
CONSTANTS: c_periv_k4 LIKE marc-periv VALUE 'K4'.
DATA: it_ges TYPE STANDARD TABLE OF sverbtaba WITH HEADER LINE,
it_ung TYPE STANDARD TABLE OF sverbtaba WITH HEADER LINE.
porfa necesito de su ayuda, ya busque informacion y encontre casi nada solo un poco de otra funcion CONSUMPTION_READ_FOR_MM. no se si me puedan ayudar y alguno de ustedes la haya utilizado.
tengo una funcion que ocupa un programa z que estoy revisando, el problema es que no se cual es su finalidad:
CALL FUNCTION 'CONSUMPTION_READ_FOR_MM_DB'
EXPORTING
matnr = it_mard-matnr
werks = it_mard-werks
berid = it_mdlv-berid
perkz = c_perkz_w
periv = c_periv_k4
TABLES
ges_verb_tab = it_ges
ung_verb_tab = it_ung
EXCEPTIONS
wrong_call = 1
not_found = 2
fv_not_found = 3
fv_period_error = 4
OTHERS = 5.
en mi programa que estoy usando lo debuge pero al entrar a la funcion no me hizo nada necesito saber que hace esta funcion y en los TABLES me devuelve informacion o tienen que ir vacios.
demas declaraciones:
CONSTANTS: c_perkz_w LIKE dver-perkz VALUE 'W'.
CONSTANTS: c_periv_k4 LIKE marc-periv VALUE 'K4'.
DATA: it_ges TYPE STANDARD TABLE OF sverbtaba WITH HEADER LINE,
it_ung TYPE STANDARD TABLE OF sverbtaba WITH HEADER LINE.
porfa necesito de su ayuda, ya busque informacion y encontre casi nada solo un poco de otra funcion CONSUMPTION_READ_FOR_MM. no se si me puedan ayudar y alguno de ustedes la haya utilizado.