Welcome Guest. Sign in or Signup

3 Answers

%Mode System Variable in PeopleCode

Asked by: 2705 views PeopleCode

It’s common to write PeopleCode that fires only when a Component is accessed in a particular mode. We use a System Variable called %Mode that returns a character based on the present mode and then, use it in a conditional statement to achieve this.

Can you list the different modes available in PeopleSoft and the corresponding values that %Mode would return?

Related Questions

3 Answers



  1. Janardhan on Feb 27, 2013 Reply

    A “Add Mode”
    U “Update/Display”
    L “Update/Display All”
    C “Correction”


    Warning: mysql_query(): No such file or directory in /home/psoft_adm/psoftsearch.com/interview-questions/wp-content/themes/Answers/library/includes/comment-rating.php on line 57

    Warning: mysql_query(): A link to the server could not be established in /home/psoft_adm/psoftsearch.com/interview-questions/wp-content/themes/Answers/library/includes/comment-rating.php on line 57

    Warning: mysql_query(): No such file or directory in /home/psoft_adm/psoftsearch.com/interview-questions/wp-content/themes/Answers/library/includes/comment-rating.php on line 64

    Warning: mysql_query(): A link to the server could not be established in /home/psoft_adm/psoftsearch.com/interview-questions/wp-content/themes/Answers/library/includes/comment-rating.php on line 64

    +25 Votes Thumb up 0 Votes Thumb down 0 Votes



  2. muneendra vemula on Feb 24, 2014 Reply

    %MODE will returns mode it opened
    the vale. based on the component in which


    Warning: mysql_query(): No such file or directory in /home/psoft_adm/psoftsearch.com/interview-questions/wp-content/themes/Answers/library/includes/comment-rating.php on line 57

    Warning: mysql_query(): A link to the server could not be established in /home/psoft_adm/psoftsearch.com/interview-questions/wp-content/themes/Answers/library/includes/comment-rating.php on line 57

    Warning: mysql_query(): No such file or directory in /home/psoft_adm/psoftsearch.com/interview-questions/wp-content/themes/Answers/library/includes/comment-rating.php on line 64

    Warning: mysql_query(): A link to the server could not be established in /home/psoft_adm/psoftsearch.com/interview-questions/wp-content/themes/Answers/library/includes/comment-rating.php on line 64

    +2 Votes Thumb up 0 Votes Thumb down 0 Votes



  3. kshitiz on Feb 22, 2015 Reply

    In peoplecode there are 6 types of mode:

    Numeric Value Constant Value Description
    A %Action_Add Add
    U %Action_UpdateDisplay Update/Display
    L %Action_UpdateDisplayAll Update/Display All
    C %Action_Correction Correction
    E %Action_DataEntry Data Entry
    P %Action_Prompt Prompt


    Warning: mysql_query(): No such file or directory in /home/psoft_adm/psoftsearch.com/interview-questions/wp-content/themes/Answers/library/includes/comment-rating.php on line 57

    Warning: mysql_query(): A link to the server could not be established in /home/psoft_adm/psoftsearch.com/interview-questions/wp-content/themes/Answers/library/includes/comment-rating.php on line 57

    Warning: mysql_query(): No such file or directory in /home/psoft_adm/psoftsearch.com/interview-questions/wp-content/themes/Answers/library/includes/comment-rating.php on line 64

    Warning: mysql_query(): A link to the server could not be established in /home/psoft_adm/psoftsearch.com/interview-questions/wp-content/themes/Answers/library/includes/comment-rating.php on line 64

    +9 Votes Thumb up 0 Votes Thumb down 0 Votes


Answer Question