When you execute reports which use the logical database PSJ - for example, all structure reports and costs reports in the Project Information System - it can occur that a memory entry is not found for the event PUT AFKO. As a consequence, no data is found for the specified selections.
Cause and prerequisitesThe error described above occurs if only the checkboxes 'WBS element', 'Incl. hierarchy' and 'Incl. network' are selected in the database profile (PF20 on the selection screen). In this case, the range NET_RNG in program FDBPSRST is changed and not restored although the original range is needed again later.
SolutionPlease insert the line indicated below in Include DBPSJPUT in FORM routine PUT_AFKO:
form put_afko.
if rsthie-type = con_obt_netz.
check h_auth-netz = con_ok.
if first-neko is initial.
first-neko = con_ok.
if flg_do_db_selection = con_yes.
* INSERT the following line!
===========================================
perform import_from_memory using 'NET_RNG' con_mem_id_key_blank.
check not net_rng[] is initial.
In Include FDBPSRST, you also have to insert one line:
* Aufbauen SUB_NET_RNG
refresh sub_net_rng. <===== INSERT
sub_net_rng-option = con_equal.
Additional key words
Error message OK012
No comments:
Post a Comment