Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Any funcion module giving the level number of the wbs elements of a project

Former Member
0 Kudos

Hi all,

I need a function similar to BBP_PS_PROJECT_GET_LIST that gives us the level number of all the elements of the project with a NUMBER. The parameter that gives us this, is ET_RSTHIE. The field name TLEVEL (ET_RSTHIE-TLEVEL).

Is there any other FM that performs like that?

The other FM i have seen gives us the elements that are UP DOWN RIGHT and LEFT. But thats not our requirement.

Any clue?

Thank you in advance.

Edited by: Iñaki Nolte Usparicha on Feb 11, 2011 9:18 AM

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Couldn't you just use a

SELECT SINGLE stufe FROM prps WHERE pspnr = <intcode>.

to get this information ?

Regards,

Raymond.

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

Couldn't you just use a

SELECT SINGLE stufe FROM prps WHERE pspnr = <intcode>.

to get this information ?

Regards,

Raymond.

0 Kudos

Well...it could work. It could be an alternative but any FM that gives automatically a table with the wbs elements and its levels contained in a project?

Thank you.

0 Kudos

Try a

SELECT pspnr, posid, stufe INTO CORRESPONDING FIELDS OF TABLE itab 
  WHERE psphi = proj-pspnr.

Regards,

Raymond