Depreciation planned value in AS03
I have already known the company code, asset number, fiscal year and post date.
I can see the posted value in table ANLP.
Now how can I get the planned value of period for the given criteria.
Raymond Giuseppi replied
Did you analyze a standard report like RABEST_ALV01 to understand how the planned values are evaluated from ANLC?
Hint: If don't want to analyze thre report, you could just submit it and import its result from memory
* itab for result
DATA lt_outtab TYPE TABLE OF fiaa_salvtab_rabest.
* Execute report
SUBMIT rabest_alv01 AND RETURN
WITH bukrs = i_bukrs
WITH anlage IN ir_anln1
WITH untnr IN ir_anln2
WITH berdatum = i_date
WITH bereich1 = i_afabe
WITH p_table = abap_true. " trigger export to memory
* get data back from memory.
IMPORT table TO lt_outtab FROM MEMORY ID 'RABEST_ALV01'.
FREE MEMORY ID 'RABEST_ALV01'.