Skip to Content
0
Former Member
Jun 02, 2009 at 10:43 AM

TSL_PROFIT CENER

11 Views

hi sap,

i have an internal table with

rprctr like glpca-rprctr,

cost l ike glpca-tsl, " amount

income like glpca-tsl, " amount

when i give ranges to the RPRCTR (PROFIT CENTER) i should get values to that perticular PROFIT CENTER, now in my prog it is not happening and i have written the code as such

LOOP AT lt_glpca_np_ex2 WHERE poper = pa_perio AND ryear = pa_gjahr.

at new rprctr.

lt_glpca_np_pr-rprctr = lt_glpca_np_ex2-rprctr.

lt_glpca_np_pr-cost = p_tot.

append lt_glpca_np_pr.

p_tot = 0.

endat.

p_tot = p_tot + lt_glpca_np_ex2-tsl.

ENDLOOP.

i get the values into it and when i disply its not getting displayed... what would be the reason??

how can i disply according to the PROFIT CENTER??

thanks in advance,

regards,

laya.