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

Are these same?

Former Member
0 Likes
421

Hi all,

There is a Z class named 'ZCL_BSP_ACC_ACCMOD '.

There is a program named 'ZCL_BSP_ACC_ACCMOD============CM00A'.

When I see the contents of the program it is a method of the above mentioned class . The method is 'IF_CRM_BSP_MODEL_ACCESS_IL~CHECK_ACTIVE_TOOLBAR'.

(This 'IF_CRM_BSP_MODEL_ACCESS_IL~CHECK_ACTIVE_TOOLBAR' is actually a method of an Interface in the class).

Is this Interface which the program shows and the Interface of the class the same?

Kindly reply as fast as possible .

Regards,

Vijay

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
379

The interface named here IF_CRM_BSP_MODEL_ACCESS_IL is a separate development object used to produce a common interface for multiple classes which are implemented in different ways. Interfaces never implement any coding in the methods, this is done at the class level, it only defines the methods and their signatures, the coding is then implemented in the class which implementes the interface, so to answer the question, the coding which you see in the method is implemented in the class which is implementing the interface, I probably lost you now, right?

Regards,

Rich Heilman

Read only

0 Likes
379

Hi Rich,

Thanks a lot for your reply . Actually , I changed a piece of code in the program 'ZCL_BSP_ACC_ACCMOD============CM00A' . The last change date of the program was immediately changed to today and the changed by user was my name . But when I went to the class ''ZCL_BSP_ACC_ACCMOD' , the change date was not today . So I request you to provide some more inputs on this query . Thannks a lot for your reply.

Kindly reply as fast as possible.

Regards,

Vijay

Read only

0 Likes
379

'ZCL_BSP_ACC_ACCMOD============CM00A' is a component which makes up the lclass, most likely it is a method or group of methods, I would have to assume that if you change a method implementation, you may not be necessarily changing the class at that level, which is why you may be seeing different change dates on the 'ZCL_BSP_ACC_ACCMOD============CM00A' and the 'ZCL_BSP_ACC_ACCMOD'.

Regards,

RIch Heilman