Skip to Content
0
Former Member
Mar 27, 2007 at 04:21 AM

t-code:cnpar

181 Views

Hi,system have a error when I use transation cnpar.

My steps: tcode cnpar ---> input project -


>excute --->display

messsage --->select project define or WBS element ,select menu

button "Display details".

Runtime Errors RAISE_EXCEPTION

Date and Time 2007.03.27 12:19:13

Short text

Exception condition "FAILED" raised.

What happened?

The current ABAP/4 program encountered an unexpected

situation.

Error analysis

A RAISE statement in the program "SAPLCNPB_W" raised the exception

condition "FAILED".

Since the exception was not intercepted by a superior

program, processing was terminated.

Short description of exception condition:

For detailed documentation of the exception condition, use

Transaction SE37 (Function Library). You can take the called

function module from the display of active calls.

-Trigger Location of Runtime Error

Program SAPLCNPB_W

Include LCNPB_WU18

Row 47

Module type (FUNCTION)

Module Name CNPB_W_READ_PREFS_FROM_DB

Source Code Extract

Line SourceCde

17

18 * Get user

19 IF i_user IS INITIAL.

20 l_user = sy-uname.

21 ELSE.

22 l_user = i_user.

  • Get user

IF i_user IS INITIAL.

l_user = sy-uname.

ELSE.

l_user = i_user.

ENDIF.

IF NOT i_user_prefs IS INITIAL.

IMPORT g_flg_is FROM MEMORY ID 'SAPLCNPB_W_FLG_IS'.

IF g_flg_is IS INITIAL.

IMPORT user_prefs TO et_user_prefs

FROM DATABASE cnpb_indx(wp) ID l_user.

ELSE.

IMPORT user_prefs TO et_user_prefs

FROM DATABASE cnpb_indx(is) ID l_user.

ENDIF.

ENDIF.

IF NOT i_exp_nodes_table IS INITIAL.

IF i_cluster_relid_cp IS INITIAL.

IMPORT exp_nodes_worklist TO

et_exp_nodes FROM DATABASE cnpb_indx(w1) ID l_user.

ELSE.

IMPORT exp_nodes_copylist TO

et_exp_nodes FROM DATABASE cnpb_indx(w2) ID l_user.

ENDIF.

ENDIF.

IF sy-subrc <> 0.

RAISE failed.

ENDIF.

ENDFUNCTION.