11.5.11

SAP Note 25826 - CPS DUMP: TO SB01 RAISE_EXCEPTION NOT_FOUND

Symptom:

Excerpt from the dump: =====================
ABAP/4 runtime error RAISE_EXCEPTION
occurred on August 31st, 1995 at 08:43:30

Exception "NOT_FOUND" initialized


User, transaction...
--------------------

Client............. 019
User............ "DPD_3"
Language key... "D"
Transaction......... "SB01"
Program............ "SAPLSF04"
Screen.............. "SAPMSSY01000"
Screen line......... 6

---------------------------------------
Information on the point of termination
---------------------------------------

The termination occurred in "BM_NAVIGATE" in the ABAP/4 program "SAPLSF04".
The main program was "SBMHV000".

In the source code, the point of termination is in line 263 (for selecting using the editor: 2630) the ABAP/4 source "LSF04U06".

----------------------
Section of source code
----------------------
002330 PERFORM CALL_GRAPHIC
002340 USING NAV_MODEL
002350 GRAPHIC_ACTIVE.
002360 ENDIF.
002550
002560 WHEN C_NAV_IN_OUT. " input-output assign
002570 SELECT SINGLE * FROM DF40D
002580 WHERE PARENT_TYP = NAVTYP
002590 AND PARENT_OBJ = NAVOBJ
002600 AND AS4LOCAL = C_AS4_ACTIVE
002610 AND MODEL_TYP = C_MTYP_FUN_ASS_DIA.
002620 IF SY-SUBRC <> 0.
-----> RAISE NOT_FOUND.
002640 ELSE.
002650 CALL FUNCTION 'BM_FA_DIAGRAM'
002660 EXPORTING
002670 FA_OBJ = NAVOBJ
002680 TYPE = 'I'.
002690 ENDIF.
002700
002710 WHEN C_NAV_ORG_ASS. " sysorg assign
002720 SELECT SINGLE * FROM DF40D
002730 WHERE PARENT_TYP = NAVTYP
002740 AND PARENT_OBJ = NAVOBJ
002750 AND AS4LOCAL = C_AS4_ACTIVE
002760 AND MODEL_TYP = C_MTYP_FUN_ASS_DIA.
002770 IF SY-SUBRC <> 0.
002780 RAISE NOT_FOUND.
002790 ELSE.
002800 CALL FUNCTION 'BM_FA_DIAGRAM'
002810 EXPORTING
002820 FA_OBJ = NAVOBJ

Cause and prerequisites

Transaction SB01, selection of the input output assignment for a function which has no input output assignment.

Solution
Use the navigation popup to display the input output assignment (reached via the menu option Goto - Navigation options). Input output assignment can only be reached there if it also actually exists.

No comments:

Post a Comment