2002: IS
2003: CURSOR c_rbs_elements IS
2004: SELECT rbs_element_id
2005: FROM
2006: pa_rbs_elements rbs
2007: WHERE
2008: rbs.rbs_version_id = p_rbs_version_id
2009: AND rbs.rbs_level = 1
2010: ORDER BY rbs.user_created_flag;
6444: END IF;
6445:
6446: SELECT rbs_element_id into x_cbs_element_id
6447: FROM
6448: pa_rbs_elements rbs
6449: WHERE
6450: RBS.RBS_VERSION_ID = X_CBS_VERSION_ID
6451: AND rbs.rbs_level = 1;
6452: