Skip to Content
-1

Exception condition "NO_ENTRY_FOUND" triggered

Hi Guru's

The shipment related program SAPLV56U and RV56TRGN got failed an got an error

Category ABAP Programming Error

Runtime Errors

RAISE_EXCEPTION ABAP Program SAPLV56U

Application Component LE-TRA

Date and Time 13.07.2020 15:31:02

Short Text Exception condition "NO_ENTRY_FOUND" triggered

What happened? The current ABAP program has encountered an unexpected situation

What can you do? Note down which actions and inputs caused the error. To process the problem further, contact you SAP system administrator. Using Transaction ST22 for ABAP Dump Analysis, you can look

Error analysis: A RAISE statement in program "SAPLV56A" has raised exception condition "NO_ENTRY_FOUND". Since the exception was not caught by a program higher up in the call hierarchy, processing was terminated. Short text for exception condition: You can find detailed documentation about the exception condition in transaction SE37 (Function Library). You can find the name of the function module called from the display of active calls.

How to correct the error If the error occurs in a non-modified SAP program, you might be abl find a solution in the SAP Notes system. If you have access to the Notes system, check there first using the following keywords: "RAISE_EXCEPTION" "SAPLV56A" or LV56AU03 "READ_TABLE_BUFFERED" or "SAPLV56A" NO_ENTRY_FOUND or "RV56TRGN" "NO_ENTRY_FOUND" If you cannot solve the problem yourself, please send the following information to SAP:

Source Code

Extract Line SourceCde

101 BINARY SEARCH.

102 IF SY-SUBRC = 0.

103 if e_table_workarea is requested.

104 e_table_workarea = <tab_wa>.

105 endif.

106 EXIT. 107 ELSE.

108 * position of the new entry

109 L_INDEX = SY-TABIX.

110 ENDIF.

111

112 * ------ Now SELECT from database

113 perform prepare_where_clause

114 tables it_where

115 using i_key1 i_key2 i_key3 i_key4

116 i_value1 i_value2 i_value3 i_value4.

117

118 SELECT SINGLE * FROM (I_TABLE)

119 INTO <tab_wa>

120 WHERE (IT_WHERE).

121 if sy-subrc eq 0.

122 if e_table_workarea is requested. 1

23 e_table_workarea = <tab_wa>.

124 endif.

125 * ------ Put into buffer

126 INSERT <tab_wa> INTO <tab_body> INDEX l_index.

127 ELSE.

128 if e_table_workarea is requested.

129 CLEAR e_table_workarea.

130 endif. >>> RAISE no_entry_found.

132 endif.

133 * ^_n_643907

134

135 ENDFUNCTION.

136

137 * deleted lines of n_643907

138

139 ***********************************************************************

140 * form read_externally_buffered

141 ***********************************************************************

142 FORM READ_EXTERNALLY_BUFFERED

143 USING

144 VALUE(I_TABLE) LIKE DD02D-TABNAME

145 VALUE(I_KEY1) LIKE DD03D-FIELDNAME

146 VALUE(I_KEY2) LIKE DD03D-FIELDNAME

147 VALUE(I_KEY3) LIKE DD03D-FIELDNAME

148 VALUE(I_KEY4) LIKE DD03D-FIELDNAME

149 VALUE(I_VALUE1) TYPE ANY 150 VALUE(I_VALUE2) TYPE ANY

Please suggest me an idea to avoid this error

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 14, 2020 at 04:12 PM

    Can you post

    1) The entire ST22 dump

    2) The code of the Function Module that dumped.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 15, 2020 at 09:00 PM

    Most likely your select statement is failing. The entire dump from ST22 would have been useful to look at the variable content. Somehow you didn't get the point of my question.

    SAP has provided a dump for reason.

    Your code has e_table_workarea. Maybe its not adding any value?

    select single * from (i_table)
    into <tab_wa>
    where (it_where).
    if sy-subrc eq 0.
      if e_table_workarea is requested.
        e_table_workarea = <tab_wa>.
      endif.
    * ------ Put into buffer
      insert <tab_wa> into <tab_body> index l_index.
    
    else.
      if e_table_workarea is requested.
        clear e_table_workarea.
      endif. ">>> RAISE no_entry_found.
    endif.

    Try this

    select single * from (i_table)
    into <tab_wa>
    where (it_where).
    if sy-subrc eq 0.
    * ------ Put into buffer
      insert <tab_wa> into <tab_body> index l_index.
    endif.
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.