cancel
Showing results for 
Search instead for 
Did you mean: 

Substitution & User Exit

Former Member
0 Kudos

Hi!

We have following scenario.

The system must check weather the WBSE is Planning Element. If Not the system must mark it as Account Assignment element & Then in next step Lock the Account Assignment for that WBSE( system status= AALK).

APMK I am approaching this from two angles-

1) We may use substitution & then execute User Exit to set the system status as AALK.( I need some expert comments & guidance on this method)

2) I am also able to solve my problem, if somehow I can work out, an exit or Boolean logic to find out what is the level of lowest level WBSE in a project. Note that the lowest WBSe can vary from 2-5 in our scenario. ( some guidance on this will also help alot)

Thanks,

Seemant

Accepted Solutions (0)

Answers (1)

Answers (1)

virendra_pal
Active Contributor
0 Kudos

the way I would do is use substitution to set aa elem if not pln elem

then use BADI PROJECTDEF_UPDATE to set AALK - note this can also be done using substituion rule with exit

for determining hierarchy I think there is a function module

go to SE37 and enter asterix CN asterix HIER asterix you should be able to get it

alernatively you can build logic to go to table PRHI enter WBS number and if the down field (PRHI-DOWN) is blank then it is the lowest level

Former Member
0 Kudos

Thanks For a Prompt one,

I will check it out with Technical Team.Would update everyone with findings.

Regards,

Seemant