Selection program &1 uses LDB &2, LEAVE statement is missing
Message type: E = Error
Message class: HRPAY99PM - Messages for HR Process Manager
Message number: 408
Message text: Selection program &1 uses LDB &2, LEAVE statement is missing
What causes this issue?
The selection program <LS>&V1&</> uses the logical database &V2&. This
automatically triggers an event. This is not required for the selection
program because the events are triggered by the function module
<LS>HRPY_PROCESS_CLOSE_SELECTION</>. To make sure that the logical
database does not trigger the event, the program must end with either
LEAVE, LEAVE PROGRAM, or LEAVE-LIST PROCESSING.
System Response
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
How to fix this error?
Insert one of the above statements at the end of <LS>&V1&</>.
Procedure for System Administrators
Error message extract from SAP system. Copyright SAP SE.
Related Error Messages
HRPAY99PM407 Program &1 with LDB &3 must not contain parameter &2
HRPAY99PM406 The interface for breakpoint &1 contains additional parameters
HRPAY99PM409 Selection program &1 must not contain function module &2
HRPAY99PM410 Program &1 with LDB &3 must not contain function module &2