Application Development and Automation 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: 
Read only

CJ20N Project Builder Validation Programming - Assistance requested

Former Member
0 Likes
358

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.

1 REPLY 1
Read only

Former Member
0 Likes
298

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.