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

After copied class from standard class program getting dump.?

Former Member
0 Likes
817

HI

Expert

I copied to a zclass from standard class (CL_SPROJECT_SOLAR_BASE_REPORT).. if calling program through zclass program getting dump, if calliing program through above standard class then it works fine...

error is

The function module interface allows you to specify only fields of particular type under i_so_report. The field "ME" specified different here......

Note:- Totaly i copied from standard class and activated it also.. even i did not changed any code inside method .but facing this dump why..

How to achieve this...pls help me out

Thanks

Susanta

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
767

Its because you copied to new name. Please have a look at the similar mistake done by another member

5 REPLIES 5
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
768

Its because you copied to new name. Please have a look at the similar mistake done by another member

Read only

0 Likes
767

I did wt ever was there given solution but still not resolved pls help me ..thanks

showing error

Call Method XXXXX

DATA: lo_grid TYPE REF TO CL_SPROJECT_SOLAR_BASE_REPORT.

lo_grid = me.

CALL FUNCTION 'SPROJECT_EVAL_SET_SELSCREEN'

EXPORTING

i_o_data_container = a_o_data_container

i_v_reptype = global_reptype

i_o_sa_report = lo_grid

i_v_category = category

i_o_data_cont_lnk_docu = a_o_data_cont_lnk_docu "MP 21.07.05

syntax error - The type of "ME" cannot be converted to the type of "LO_GRID". ..why..? did i coded incoreclty or tell me where to define that data type...

Read only

0 Likes
767

No you have not corrected it. What is me referring to ? Error message states everything. Please donot expect spoon feeding here

Kesav

Read only

0 Likes
767

Sorry Kesav i did wrong.. again i did correctly i.e

DATA: lo_grid TYPE REF TO /FACTGLB/GTR_FINAL_REPORT(its my copied report),

lo_grid = me

but same dump is coming ..

Thanks... pls help me out.

Read only

0 Likes
767

THANK YOU ... I SOLVED FROM MY END....