‎2009 Jan 27 10:40 PM
This is a how-to request. I am trying to validate user entry at save time in the CJ20N Project Builder (Project Systems). The desire is to enforce that the project, wbs, and network company codes are all the same prior to saving a NEW project.
The problem I am having is on the scenario in which a user creates a new project by copying an existing project or standard template. If the user changes the company code on one or more wbs before saving it, the wbs table in abap memory prior to saving does not reflect this change. The table is called CJ_BUF_PRPSxxx99999999 where xxx is the client number (mandt).
Thus any attempts to loop at this table to validate the company code against the parent project are futile.
I have contacted SAP on this issue and they insist that it is not a bug. I need an alternate solution.
Any help would be appreciated.
‎2009 Feb 03 2:58 PM
I solved this problem myself by stepping through the debugger between the user exit and the actual save routine. I was able to find the correctly populated internal table to loop at. It was called PSTAB.