04-08-2016 5:17 AM
Hi all,
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.
04-08-2016 7:15 AM
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'.
Regards,
Raymond
04-08-2016 7:15 AM
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'.
Regards,
Raymond
04-08-2016 8:13 AM
I have run the report and it showed "
"
I am sure that in AS03 I can see the asset.
04-08-2016 8:30 AM
Ask functionals for end of year closing operations (missing execution of AJRW in your dev system?)
(I'm able to display some data with a report date in the future)
Regards,
Raymond
04-08-2016 9:01 AM
04-08-2016 9:26 AM
RA_AFABUCHEN : Yes if you want to simulate depreciation.
In a dev usyem, you can execute AJRW it's only kind of "technical" transaction (with prerequisites on actual execution of FI-AA postings and year closing of year-2)
Regards,
Raymond
04-12-2016 3:18 AM
Thanks.
The problem is solved.
As you said, the functional did the closing op and the program works.