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
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.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Insert one of the above statements at the end of <LS>&V1&</>.
Error message extract from SAP system. Copyright SAP SE.
HRPAY99PM408
- Selection program &1 uses LDB &2, LEAVE statement is missing ?The SAP error message HRPAY99PM408 indicates that there is an issue with a selection program that uses a Logical Database (LDB). Specifically, the error states that the program is missing a LEAVE statement, which is necessary for proper termination of the processing of the LDB.
Cause: This error typically occurs when: A custom or standard report is using a Logical Database (LDB) but does not properly handle the flow of control. The program is expected to terminate the processing of the LDB with a LEAVE statement, which is missing in the code. There may be a coding error or oversight in the ABAP program that is supposed to handle the data selection from the LDB.
Solution: To resolve this error, you can take the following steps: Check the ABAP Code: Open the ABAP program that is generating the error. Look for the section of the code where the LDB is being called. Ensure that there is a LEAVE statement present
Get instant SAP help. Sign up for our Free Essentials Plan.
HRPAY99PM407
Program &1 with LDB &3 must not contain parameter &2
What causes this issue? Program <LS>&V1&</> uses the logical database &V3&. In this case, the parameters required by the ...
HRPAY99PM406
The interface for breakpoint &1 contains additional parameters
What causes this issue? In addition to the parameters that are predefined for the breakpoint interface, breakpoint &V1& also uses other non-o...
HRPAY99PM409
Selection program &1 must not contain function module &2
What causes this issue? If a selection program is not used for off-cycle batch processing, it must not contain function module &V2&.How to fi...
HRPAY99PM410
Program &1 with LDB &3 must not contain function module &2
What causes this issue? Program <LS>&V1&</> uses the logical database &V3&. The logical database triggers the events and ...
Click on this link to search all SAP messages.