Peoplesoft Interview Questions
Peoplesoft Interview Questions
Peoplesoft Interview Questions
1. What is an ERP?
It is a process of integrated flow of Information, which binds on the organization together.
9. What is a project?
User defined collection of related definitions (fields, records, panels, panelgroups and menus).
5. Is there any way by which you can find out whether the user is in Add mode or Update
mode?
%mode---returns A---for Add mode. Returns U –for Update mode
6. What is the purpose of the SQLEXEC function? What are its benefits and draw backs?
SQLEXEC is used to execute the sql statements (select, insert,update,delete).
We can get only one row at a time.
7. How is the searchinit event most often used by people soft application?
A) Searchinit fires before the search dialogue page is displayed to the end user.For this reason
searchinit is often used to enhance roll level security by inserting and graying out certain values
to the search dialogue page.
12. What are different variables in people code and their Scope?
System variables and User defined variables.
Scope --- Global, Component, Local.
16. What is Getlevel 0()? What is the use of %subrec and %selectall functions?
Getlevel0 ()---used the get the rowset of the level0.
%subrec--is used only in Dynamic View SQL where it expands to the columns of a subrecord:
%selectall--%SelectAll is shorthand for selecting all fields in the specified record, wrapping
date/time fields with %DateOut, %TimeOut.
17. What is an array in people code? What is maximum dimension of an array? Which
function inserts values into an array? What is “pop”?
An array is a collection of data storage locations, each of which holds the same type of data.
The maximum depth of a PeopleCode array is 15 dimensions.
Push and unshift are the functions of the array used to add the elements into the array one from
the end of the array and one from the beginning.
Pop is a function of array used to select and delete an element from the end of the array.
21. What are the built-functions used to control translate values dynamically?
Adddropdownitem ()
Deletedropdownitem ()
25.What are the rules used by the system to determine whether a user is authorized to
update an object?
The user should have the permission to update the object. This is given by the Definition security.
The group, which holds the object, should be added to the permission list of the user in update
mode.
What are the different ways we can set up the portal security to access component in portal?
1) Structure & content
2) Menu import
3) Register component
========================================================================
1. What is Application Engine?
It is the tool, which performs, background SQL processing against our application data tables. It is
an alternative for COBOL, SQL or SQR
Programs. Other tools such as query tool and mass change generate SQL.
PORTABILITY
You can use Data Mover to import/export your applications. This means that you can export an
application(s) into a file, and attach it to an e-mail message. Then, the recipient can simply use
the IMPORT feature of Data Mover, and the application is ready to run.
5. What is unique about panels, which refer to view as opposed to physical tables?
Panels that refer to views in People soft are not used for insert, update or delete. All fields on
these panels are display only.
8. Does the search record for a panel has to be the same as the record being
Accessed on the panel? Why or Why not?
The search record for the panel does not have to be the same as the record being
Accessed on the panel because the search record is used to search for and or
Filter the search key.
10. What do search views delivered by People soft do besides displaying the dialog
Box?
Search views delivered by People soft are used to implement row level security as well as display
a dialog box.
12. When would you have to alter the tables and modify the panels, in the process
of modifying search records?
You need to alter tables and modify panels, when you modify a search record to include a new
field.
13. When will there be two occurs level records in a panel group?
If you are referring to two different record definitions that share a same high-level key then two-
level one-scroll bar can be displayed as stacked scroll bars.
14. In what order does the application processor fill buffer for the panel group?
The application processor uses occurs level in the panel group to fill the buffer.
18. List the three output destinations available through the Process Scheduler?
You can direct the output to a printer file and windows screen.
19. Where do you set up default operator / class options for Process Monitor?
In operator security, using change, process profile.
20. What are the advantages of incorporating Table set ids into People soft applications?
Table set Ids allow you to share sets of values (codes) in the same prompt table.
21. What fields should be at the tope of every search record definition that use table set
Ids?
SET ID is the field that should be at the top of every record definition that uses table set Ids.
23. What do you determine using Table set Ids control information?
Table set ID control information determines how the information should be shared. The Table set
ID control panel defines which Table set Ids set control filed code will use for each record group.
24. What are the three types of Maps used by the navigator?
The 3 types of Maps used by the navigator are..
1. Business Process Map
2. Activity Map
3. Step Map
1. Edit: Read through the rows to imported and processes an edit report of the
Results. No data is written to the database.
2. Load: Writes rows of data to the database and automatically prints an edit report
Summarizing the result.
3. Compare: Reserved for future use. It currently has the same functionality as an
Edit.
1. SQL table - Corresponding physical SQL table in the database we create with build option.
2. SQL View – It is not a physical SQL table on the database, it gives the replicate of joined
tables. It is used for security and faster access.
3. Dynamic View – It is actually stored in the form of SQL view text and is executed at runtime. It
uses the built in indexes. Whereas normal view is executed and stored in the database.
4. Derived/Work record - It is a temporary workspace to be used during on line panel processing
and is not stored in the database, therefore derived work records are not built. They cannot be
seen in the update/display mode. Once the panel is cancelled it is removed from the buffer.
5. Sub Records – A group of fields commonly used in multiple records.
6. Query View – A Query view is a view constructed using People soft Query tool.
16. How many types of Displays are there in the tool bar?
1. Field Display - It shows the filed attributes (fieldname, Type, Len, Format, H, and Shortname,
Long name
2. Use Display - It shows key related characteristics and default values for the fields
(Field name, type, direction indicates, search key, list, system indicates, audit, H, default values)
3. Edit Display - It shows the auditing options available for the fields (field name, type required ,
edit, prompt table, reasonable date, people code)
4. People code display - It shows the different events and the user can choose required event to
write people code.
4. What is an activity?
It is a collection of logical steps. It represents specific transaction a user might need to perform.
6.What is a Process?
A task involved by the system.
12. What is Mass change and explain the uses of Mass change?
Mass change is a SQL generator you can use to develop and perform custom applications. Using
mass change, a developer can set up a series of INSERT, UPDATE, OR DELETE SQL
statements that the end user can execute to perform business functions.
The overall structure of Mass change is similar to that of People soft Query
Except that Query retrieves data from the database while mass change actually updates the
database.
The uses of Mass change are as follows.
1. It is used to perform high volume set oriented transactions.
2. Copy data from table or table
3. Archive table data (Archive means that the data does not have backup file and uses to update
the values)
13. Why use Mass change and why not SQL execute to update a record, which is not
attached to the panel?
The reason why Mass change is preferred over SQL exec is….
1. Two- Three Mass change program can work at a single time.
2. Data / information need not be defined in Mass change
3. Mass change can be used for file download upload.
Note: While defining the above fields in the record definition, a key has to be assigned in the
record field properties.
20. Why workflow is used and explains the advantage of workflow in People soft
application?
Workflow typically eliminates the job tasks associated with controlling paper flow, and frees
people the once performed clerical functions to do more meaningful work.
• Tasks that don’t require user involvement
• Tasks that involve non People soft users
• Tasks that several users work on together.
Rules
Rules are your company’s business practices captured in software. Rules determine what
activities are required to process your business data. The rules are contained in policies and
procedures documents.
Roles
Roles describe how people fit into the workflow. A role is a class of users who perform the same
type of work, such as clerks or managers. Your business rules typically specify what user role
needs to do an activity.
Roles direct the work to types of people rather than to individuals. Identifying roes instead of
individual users makes your workflow more flexible and easier to maintain. Roles remain stable
even as people change jobs.
Routings
Routings connect the activities in the workflow. They are the systems means of moving
information from one place to another, from one step to the next. Routings bring the flow into
workflow. The network of routings creates a business process from what used to be isolated
activities. Routings make it possible to deploy applications throughout the enterprise. They work
through the levels and departments of an enterprise to bring together the role that are necessary
to complete complex tasks.
1. Define Data Move?
Data Mover is People Tool that provides a convenient way to:
0. Transfer application data between People soft data tables
0. Move People soft database across Operating systems and database plat forms.
0. Create release specific archives of People soft database or individual People soft
records.
0. Execute SQL statements against any People soft database, regardless of the
underlying operating systems or database plat form.
0. Control database security and access.
7. What is a FLAG?
It is an attribute given to programming for processing and generating output destination
file.
5. SQT: These program files are precompiled SQR programs. As a People soft 5+ there
are no delivered precompiled SQR programs.
12. How to pass Inputs for sqr program while running from windows?
Using ASK & INPUT Commands.
13. How to pass Inputs to the SQR while running through the Process Scheduler?
Using Procedures & SQC’s to access data on Run Control Page (Run Control Fields).
15. What is the SQT file? What are the advantages of SQT files?
SQT’ file is nothing but resultant file after the compilation (i.e.) Runtime File. By using this SQT
file for Execution we can increase the Performance of the program by reduciong the Compilation
Time.
16. What is the SQC used to read data from translate table?
‘READXLAT.sqc’ is the SQC used to read data from Translate Table.
23. Can you connect more than one database using one Sqr? How?
Yes.
24. What are the differences between Load lookup and Array
ARRAYS LOAD-LOOKUP
1. Arrays can be declared in any section. 1. Load-Lookup is declared in only in
SETUP section only.
2. Number of rows are not automatically 2. Numbers of rows are automatically added. gives a
error if the number of added.
Exceeds the specified number.
3. We should insert data in to Array by 3. Rows are automatically inserted in to
programming. Load-Lookup.
4.We can retrive any number of fields. 4.We can retrive only Two fields from
from a table. a table.
5.We have Length & Data type. 5.We don’t have Length & Data type.
6.We cannot directly print from Array. 6.We can directly print from
Load-Lookup.
25. What are the steps required to run the SQR from peoplesoft environment?
Three steps we have to fallow to run the SQR program from the peoplesoft environment (Process
Scheduler). These steps include
a. Making the SQR program API aware by calling two procedures (stdapi-init, stdapi-term) from
the Begin-program section and including the Stdapi.sqc in the bottom of the program.
b. Create new run control table or using existing run control table and creating run control page,
component and register the component. Creating new run control SQC if we create a new run
control table.
c. Giving the permission to the user by giving process groups.
26. How to pass command line flags to a sqr report running through process scheduler?
Using override options in the process definition in the Process Scheduler in the People Tools.
28 .How does peoplesoft Process monitor knows that the process (Say sqr report) is at
what stage such as initiated, in process, completed etc
From the Field Value of ‘RUNSTATUSDESCR’field from ‘PS_PMN_PRCSLIST’ table.
SECOND PASS: Actual execution of the program source occurs starting at the begin
Report stopping at the end-report.
1. Process data for the body section.
2. Senses page overflow or response to new-page command in code.
3. Process heading section
4. Process footing section
5. Writes entire page buffer to file.
8. Define an Array?
An Array can be defined to store intermediate results or data retrieved from the database.
1.What conditions are required to establish parent child relationship between two
records? What are the advantages with that?
Conditions are:
1) The child record should have all the key fields of parent record and at least one more key field
other than the key fields of parent record.
2) We should mention the parent record in the record properties of child record.
3) We can not go for more than three levels of parent/child relationships.
Advantages are:
1) To have referential integrity.
2) No need to enter information again and again
2. Which effective dated rows can be retrieved in update/display mode, update/display all
and correction mode?
Update/display – can view current and future rows. Can update only future rows.
Update/display all – can view history, current and future rows. Can update only future rows.
Correction – can view and update history, current and future rows.
3. What types of audits are supported by people soft? In case of record level audit what is
the structure of table?
We have field level audit and record level audit. The structure of the table in record level audit is:
AUDIT_OPRID, AUDIT_STAMP, AUDIT_ACTN, AUDIT_RECNAME and can add fields from
record.
10.How can a component have more than one search record? Give a situation.
You might want to reuse the same component multiple times with different search records. You
can accomplish this by overriding the component search record at runtime when the component
is opened from a menu item without creating separate copies of the component. The component
override is temporary, and occurs only when the component is opened from the menu item in
which the override is set. It does not change the component definition.
11. How can you improve the security and usability of a Prompt table edit.?
Prompt table view
12. What are the different ways to setup row level security?
We can setup row-level security using a SQL view that joins the data table with an authorization
table. And By having Query search for data using a query security record definition. The query
security record definition adds a security check to the search.
13. How does peoplesoft use views? Which are online functions?
A) People soft uses views for search records, summary pages, prompt views, reports.
Search records and summary pages are online functions.
15. What is Record Group? Which records can be included into a record group?
Record group consists of records with similar functionality. To setup a record in record group we
should enter a set control field value in record properties
6) What are the important steps for implementing the parallel processing?
Define you Temporary Tables.
Set the Temporary Tables Online pool.
Assign Temporary Tables to your Application Engine program in it program.
Set Temporary Table Batch Pool – Instance count in the AE.
Build / Rebuild your Temporary Table record.
Code %Table Meta – SQL as reference to Temporary Tables in your Application Engine program,
so that Application Engine can table references to the assigned Temporary Table instance
dynamically at runtime.
7) What happens when all the instance of the temporary table are in use?
It behavior can control by AE developer. If the runtime options are set to continue “People Tools
will insert rows into the base table using the PROCESS_INSTANCE as a key”. If temp table
doesn’t contain PROCESS_INSTANCE as a key field in a Temporary table, you should change
the Temp table runtime options to “Abort” in the appropriate Application Engine programs.
8) How can you divide the data to be processed by different instance of the program to
perform parallel program?
Run control parameters passed to each instance of the AE program enable it to identify which
input rows “belong” to it, and each program instance inserts the rows from the source table into its
assigned temporary table instance using %Table.
9) What are the 3 common ways to pass a trace parameter and value to your program
psae.exe?
Configuration manager, Process Definition, Command prompt.
10) What is the main purpose of the Access property in the Section?
Basically they have two option, public and private if section declared as public then it be access
from other program.Private we cannot call from other program.
11) Which actions are mutually exclusive and why they are mutually exclusive?
Sql and callsection.
15) what is the difference between the %SELECT and %SELECTINIT meta sql functions.
Ans %select : if any values have not selected then previous value will be there
%selectinit : if any values have not selected then previous value will reinitilate to null
16) what is the difference between exit(0),exit(1) when we are using this functions in AE
Exit (1) causes immediate termination of a PeopleCode program. Use this parameter to rollback
database changes.
Exit (0) caused immediate termination of a Peoplecode Program but don’t make rollback in the
database.
Find keys: - These are mapped to fields marked as Alt or Srch in the component search record.
You may remove Find keys that you do not wish to make available for searching.
Create Keys: - It is generated from the key fields for the search record. If Add search record is
present then its key fields are taken. We cannot change it.
4) What the steps that you need to do in people code to invoke Component Interface?
• Establish a user section
• Get the component interface definition
• Populate the create keys
• Create an instance of the component interface
• Populate the required fields
• Save the component Interface.
&Session = GetSession();
&CI = &Session.GetcompIntfc(CompIntfc.INTERFACE_NAME)
&CI.KEY_FILED_NAME = ‘NEW’
If not &CI.Create () Then
Else
Populate other fields
End-if;
Function CheckErrorCodes()
&PSMessages = &Session.PSMessages;
&ErrorCount = &PSMessages.Count;
For &i = 1 To &ErrorCount
&ErrorText = &PSMessages.Item(&i).Text;
&ErrorType = &PSMessages.Item(&i).Type;
End-For;
End-Function;
1. It provides a way of ordering data in the table when the duplicate values are allowed.
2. It will create index for the column. However the index can be disabled.
1. It identifies the field as a key that provides an alternative path into table data.
2. Due to alternate search key the system becomes slow, because database index will be
created when SQL creates the tables, so it will consume the disk space.
3. It allows duplicate values.
4. Alternate search will be seen in the search dialog box when update/display mode is
selected.
1. Nested scrolls – For each repeating data and for each entry with other set of
repeating set of data is called a nested scroll. Maximum 3 nested levels are allowed. The
nested scrolls share same high-level keys.
2. Independent scrolls – At each scroll level a maximum of 15 screen be included.
5. What are the types of controls that can be placed on the panel?
There are three types of controls:
1. Aesthetic Control: It is used to organize the information on the panel and it is not
associated with the database. There are 4 types of aesthetic contents. A) Text B)Frame
C) Group box D) Static image.
2. Data entry control: It is used to offer different way to enter and maintain the
information. There are 7 types of Data entry controls. A) Edit box B) Drop down list box
C) Long edit box D) Check box E) Radio button F) Sub-panel image.
3. Function and data processing control: It adds command and maintains level of
information on the command. There are 6 types of data processing controls
A) Command push button B) Process push button C) Secondary panel D)Scroll bar E)
Grid control F) Tree.
7. Explain about display control field and related display control field?
Display control field: It is controlling the field in some other record.
Related control field: display control field controls it.
2. What is MDI?
Multiple Document Interface – having an option to open multiple windows at the
same time. But only one window can be activated at a time.
3. What is Morphing?
The Application designer uses an approach of morphing, or dynamically transforming the
menus and toolbars to edit the definition in the active window.
7. Define a Field?
Fields are basic building blocks in People soft and can be used in application when they are
added to atleast one record. Fields are globally defined.