Follow

Tips for finding PeopleCode differences

There are a number of methods that will compare PeopleCode between PeopleSoft environments.  They all compare PeopleCode in different ways.  Here are the details.
 

CMP_PCODE

CMP_PCODE_WHERE

These are general methods for comparing PeopleCode.  They can compare specific PeopleCode types, or all PeopleCode between environments.

After selecting the source and target database to compare, the lookup icon is used to select the specific types of PeopleCode to compare:

If you are only interested in PeopleCode used by Components, type in 10 for the object-id.  Pages are 9, Records are 1, AE Programs are 66, etc.  To select all PeopleCode, use value 0. 

The CMP_PCODE_WHERE method lets you use a wildcard to select PeopleCode program names that you want to compare, as well as the type.

For example:  %BANK% will compare all PeopleCode objects whose program name contains “BANK” associated to the PeopleCode type used as parameter.

 

CMP_COMPONENT

This method compares all this information for the selected component:

  • Group definitions
  • Pages
  • Record definitions
  • Record data
  • Record fields
  • Database field definitions
  • PeopleCode

The only PeopleCode compared is type 10 for Component.  It does not also compare Page or Record PeopleCode used by this Component.

 

CMP_PAGE

This method compares all this information for the selected Page or Pages.  Wildcards are allowed:

  • Page definitions
  • Field definitions
  • Record definitions
  • Database field definitions
  • Record data
  • PeopleCode

The only PeopleCode compared is type 9 for Pages.   It does not also compare Record PeopleCode used by the selected Pages.

 

CMP_RECORD

This method compares one Record or multiple Records using a wildcard across PeopleSoft environments.   It compares type 1 PeopleCode for the Records.

 

CMP_CLASS

This method compares all the Records in the BEAM class across PeopleSoft environments.   It compares type 1 PeopleCode for the Records in the Class.

 

Another way to compare Application Engine specific PeopleCode other than CMP_PCODE, is to use the CMP_CLASS method and compare these classes: APP_ENGINE_PROGRAMS or APP_ENGINE_SECTIONS.

 

 

These methods do not compare the corresponding PeopleCode:

CMP_RECORD_WHERE

CMP_REC_WITH_FIELD

CMP_CLASS_WHERE

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk