2010 Mar 13 7:19 AM
Dear gurus
i have made an enhancement point in program MV45AFZB t-code VA02
below is the code
if sy-uname ne vbak-ernam.
if vbap-ABGRU eq 'Z1'.
MESSAGE 'You are not Allowed to Change RM Block' TYPE 'I'.
ENDIF.
ENDIF.The Code is syntactically correct
but when i activate it it give error
SQL error in the database when accessing a table.
Missing RAISING Clause in Interface
Program CL_ENH_CONTRACT===============CP
Include CL_ENH_CONTRACT===============CM00Z
Row 1
Module type (METHOD)
Module Name GET_ALL_INACTIVES_FOR_OBJECT
SELECT * FROM dwinactiv INTO TABLE inactives
94 WHERE obj_name IN l_sel
95 AND ( object = 'REPS' OR
96 * object = 'CINC' OR
97 * object = 'INTF' OR
98 object = 'METH' OR
99 object = 'TYPE' OR
100 object = 'FUNC' ).
101 *BREAK STORTZ.Please help
Regards
Saad nIsar
2010 Mar 13 7:29 AM
Please check out if [OSS note 1065778|https://service.sap.com/sap/support/notes/1065778] is applicable in your system and fixes the problem.
Cheers, harald
Dear gurus
i have made an enhancement point in program MV45AFZB t-code VA02
below is the code
if sy-uname ne vbak-ernam.
if vbap-ABGRU eq 'Z1'.
MESSAGE 'You are not Allowed to Change RM Block' TYPE 'I'.
ENDIF.
ENDIF.The Code is syntactically correct
but when i activate it it give error
SQL error in the database when accessing a table.
Missing RAISING Clause in Interface
Program CL_ENH_CONTRACT===============CP
Include CL_ENH_CONTRACT===============CM00Z
Row 1
Module type (METHOD)
Module Name GET_ALL_INACTIVES_FOR_OBJECT
SELECT * FROM dwinactiv INTO TABLE inactives
94 WHERE obj_name IN l_sel
95 AND ( object = 'REPS' OR
96 * object = 'CINC' OR
97 * object = 'INTF' OR
98 object = 'METH' OR
99 object = 'TYPE' OR
100 object = 'FUNC' ).
101 *BREAK STORTZ.Please help
Regards
Saad nIsar
2010 Mar 13 7:29 AM
Please check out if [OSS note 1065778|https://service.sap.com/sap/support/notes/1065778] is applicable in your system and fixes the problem.
Cheers, harald
2010 Mar 13 11:38 AM
Dear SAAD ,
Ur code is correct , instead of vbap write XVBAP , in global variable of include program its standard by sap .
Joy .
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |