Lectura de los RT
Hola
Estoy ejecutando la funcion HRCM_PAYROLL_RESULTS_GET y me trae dos lineas donde cada una tiene informacion RT, como puedo hacer para leer por programa esas dos lineas. Mi codigo actual es este: REPORT CC-NOMINA. DATA: li_hrpay99_tab_of_results TYPE hrpay99_tab_of_results, lwa_hrpay99_tab_of_results TYPE LINE OF hrpay99_tab_of_results, li_hrpay99_rt TYPE hrpay99_rt, lwa_hrpay99_rt TYPE LINE OF hrpay99_rt. CALL FUNCTION 'HRCM_PAYROLL_RESULTS_GET' EXPORTING pernr = '00001763' begda = '20130101' endda = '20130131' IMPORTING * SUBRC = * MOLGA = payroll_result_tab = li_hrpay99_tab_of_results[]. LOOP AT li_hrpay99_tab_of_results INTO lwa_hrpay99_tab_of_results. li_hrpay99_rt[] = lwa_hrpay99_tab_of_results-inter-rt[]. ENDLOOP. LOOP AT li_hrpay99_rt[] INTO lwa_hrpay99_rt. * IF lwa_hrpay99_rt-lgart = '/311' OR lwa_hrpay99_rt-lgart = '/312'. WRITE: / lwa_hrpay99_rt-lgart, * lwa_hrpay99_rt-cumty, lwa_hrpay99_rt-anzhl, lwa_hrpay99_rt-betrg, lwa_hrpay99_rt-amt_curr. * lwa_hrpay99_rt-cumno, * lwa_hrpay99_rt-cumyr, * lwa_hrpay99_rt-begda, * lwa_hrpay99_rt-endda. * ENDIF. ENDLOOP. Gracias |
Husos Horarios son GMT. La hora en este momento es 20:00:59. |
www.mundosap.com 2006 - Spain
software crm, crm on demand, software call center, crm act, crm solutions, crm gratis, crm web