Skip to Content
author's profile photo Former Member
Former Member

Substitution & User Exit


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)



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Dec 18, 2008 at 01:46 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.