This website is not affiliated with, sponsored by, or approved by SAP AG.

Validate data in WBS when using CJ20N [R]

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: thx4allthefish, Snowy, Gothmog, YuriT

Validate data in WBS when using CJ20N [R]

Postby abap_doctor » Thu May 31, 2012 5:43 am

Project builder: CJ20N

In the WBS element "Basic data" TAB I need to validate the "Responsible cost centre" against the plant.

i.e.
PRPS-FKSTL v PROJ-WERKS in screen SAPLCNPB/1000

Cannot find any user-exit that gets hit from this screen. There is standard validation of cost centre and controlling area, but I require company code validation also.

None of the enhancements CONF* and CNEX* get activated.

Any other ways of achieving this? Appreciate any hints and tips!

Last edited by abap_doctor on Wed Jun 06, 2012 10:41 am, edited 1 time in total.
The Doc
Tuly Idiot Magna Grand Docot Image
abap_doctor
 
Posts: 6952
Joined: Thu Mar 25, 2004 11:29 am
Location: Airstrip One

Re: Validate data in WBS when using CJ20N

Postby thoul » Fri Jun 01, 2012 3:50 am

Hi,

May be you should create a validation rule (GGB0) on the WBS element?
thoul
 
Posts: 1
Joined: Fri Jun 01, 2012 3:41 am

Re: Validate data in WBS when using CJ20N

Postby abap_doctor » Wed Jun 06, 2012 10:40 am

The answer is (roll of drums)...

Create validation rule then add to the project profile in trans: OPSA... :D

Easy when you know how! (didn't know the bit about adding to the project profile - wondered why the validation wasn't working) :(

Thanks thoul for taking the trouble to help!
The Doc
Tuly Idiot Magna Grand Docot Image
abap_doctor
 
Posts: 6952
Joined: Thu Mar 25, 2004 11:29 am
Location: Airstrip One


Return to ABAP

Who is online

Users browsing this forum: Google Adsense [Bot] and 8 guests




This website is not affiliated with, sponsored by, or approved by SAP AG.