Show TOC Start of Content Area

Procedure documentation Creating an Exception Process  Locate the document in its SAP Library structure

Use

In this procedure, you create a process in which you use the block that you created in the previous step of the tutorial. In addition, you explicitly configure the process roles.

Procedure

...

       1.      Launch Guided Procedures (GP) design time, and choose Create Process from the contextual panel.

       2.      From the Original Language dropdown box, select English and choose Create.

       3.      Enter the following basic data for the process:

¡        Name – enter User Lookup

¡        Description – enter a brief description for the process; for example, User Lookup

¡        Folder – for example, Exception Handling

       4.      Choose This graphic is explained in the accompanying text (Insert) to add the Exception block to the process flow.

       5.      Select the process and open the Roles tab page.

Set all roles to Initiator to ease the process instantiation at runtime.

       6.      Choose This graphic is explained in the accompanying text (Activate).

Result

You can now go to GP runtime and start the process.

The example below shows the User Lookup process runtime.

Example

...

       1.      Launch GP runtime and choose Start a new Process from the contextual panel.

       2.      Browse the gallery to select User Lookup.

       3.      Choose Next.

You must associate an existing user to The one and only role.

To associate a user, select a role, and choose Add User. The user picker is displayed in the right-hand part of the screen. Use function Find to search for the required user. To associate the user to the role, select it and choose Add.

       4.      Choose Next.

       5.      Choose Initiate.

The User Lookup runtime opens.

       6.      Enter a user ID that definitely does not exist such as XXXXX and choose Submit.

Example

This graphic is explained in the accompanying text

The UME checks whether the User ID is available. The EXCEPTION_NO_USER_FOUND occurs and the action Handler: User Input is executed so that the user can enter the User ID again.

7.   Enter an existing user ID this time and choose Submit.

This graphic is explained in the accompanying text

The user details are displayed.

End of Content Area