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

Problem with calling method from include unable to reach its implementation

former_member242512
Participant
0 Likes
803

Hi all,

I have an issue regarding calling methods .

I have called a method in include xyz_f01 .

CALL METHOD g_val->data_selection.

If i double click on this it takes me

CLASS abc DEFINITION.
    PUBLIC SECTION.
      METHODS:  data_selection.
endclass.
 which is in another include xyz_F02_CLASS .

Now when i double click on data_selection it does not takes me to its implementation instead it displays message :

'data_selection not found'. Its implementation is present in the same include xyz_F02_CLASS .

The program is working correctly but it needs the drill down . Plz help .

Edited by: ujjwal dharmak on May 26, 2010 11:36 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
769

Hi, the solution is very simply:

1. Go to TA SE80,

2. select the Package for Your Program in Repository Browser,

3. click on Package and

4. Go To Other Functions -> Rebuild Object List clicking right mouse Taste

Thats all.

Sincerely yours, Lubomir

5 REPLIES 5
Read only

former_member242512
Participant
0 Likes
769

Hi all , Please give any suggesstions what can be done .

Read only

Former Member
0 Likes
770

Hi, the solution is very simply:

1. Go to TA SE80,

2. select the Package for Your Program in Repository Browser,

3. click on Package and

4. Go To Other Functions -> Rebuild Object List clicking right mouse Taste

Thats all.

Sincerely yours, Lubomir

Read only

0 Likes
769

Hi Lubomir Thanks for the reply .....will it be fine to do this ......i mean it should not affect other objects..

Read only

0 Likes
769

Hi Ujjwal, you know, the Problem is in the Workbench Repository. The Index of the Objects of Yours Package is up to date. I dont know why. Also, you have to update the Package to say the Repsitory, whitch new Object has been inserted into the Object Index. Hmm, I hope, this is a Bug from SAP :o().

Read only

0 Likes
769

hi Lubomir .....actually i was using 2 different classes and both were instantiated.

Now im using one class and the problem is solved .

Thanks for the reply .You have given a good way to solve the problem.