Activities for a subnetwork in the Project Information System are displayed on the same level as the network header.
Cause and prerequisitesAlthough the 'ENTRY_LEVEL' parameter is changed in routine GET_NETZ_FOR_AFVG, it is not transferred to the calling routine because it is defined as VALUE(ENTRY_LEVEL).
SolutionPlease change FORM routine GET_NETZ_FOR_AFVG in Include FDBPSRST:
form get_netz_for_afvg using path
loc_order
value(entry_parent)
entry_level. <=== CHANGE
Furthermore, insert the following four lines at the end of FORM routine GET_NETZ_FOR_AFVG.
net_rng_key-aufnr = itab_netz-aufnr. "<===== INS
read table sub_net_rng with key net_rng_key binary search. "<===== INS
check sy-subrc is initial. "<===== INS
delete sub_net_rng index sy-tabix. "<===== INS
endform. "GET_NETZ_FOR_AFVG
Additional key words
logical database PSJ
No comments:
Post a Comment