cancel
Showing results for 
Search instead for 
Did you mean: 

PS - Substitution not working in WBS create

Former Member
0 Kudos

Hi,

I have this requirement. I want the last level of WBS to be automatically ticked as account assigned. I created a substituion with a user exit with a prerequisite as PRPS-STUFE >=1

I used the following logic in the substitution exit

Check in PRHI for every WBS element (POSNR) if 1st subordinate (PRHI-DOWN) is blank.

If it is blank then for that WBS element Account assignment element BLEKZ = "X"

The substitution works perfectly alright in the change mode but it does not work in the creation mode of the Project or WBS elements.

Any solution to this problem is highly appreciated.

Best Regards,

Manoj Bhoota

Accepted Solutions (0)

Answers (1)

Answers (1)

Rachel_Tang
Advisor
Advisor

Hi Mango,

Substitution in WBS-element is called in function module G_VSR_SUBSTITUTION_CALL, you may set break point in the FM and the user-exit to check the import and export data during the project creation to see if the substitution do have called and the user-exit do export correct data.

Regards,

Rachel