Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

error at CREATE OBJECT

Former Member
0 Likes
2,500

hi all,

We update our SAP from 4.7 to ECC6.0 and now, in a report program it's giving the next error:

- You cannot create an instance of the class "CL_SWF_REP_MANAGER" outside the class...

at 4.7 it's work fine.

here it's the code:

CLASS cl_swf_rdg_dispatcher DEFINITION LOAD.

DATA: int TYPE REF TO if_swf_rep_workitem_selection.

{ ... }

IF int IS INITIAL.

CREATE OBJECT int TYPE cl_swf_rep_manager.

ENDIF.

{ ... }

Thanks for ur help.

2 REPLIES 2
Read only

Former Member
0 Likes
514

hi,

this question is solved:

[;

Read only

Former Member
0 Likes
514