Welcome Guest. Sign in or Signup

3 Answers

%Mode System Variable in PeopleCode

Asked by: 15616 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”

    +28 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

    +3 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

    +10 Votes Thumb up 0 Votes Thumb down 0 Votes


Answer Question