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

INTERFACE WITH OBJECTS INSIDE ( OR I BELIEVE THAT)

Former Member
0 Likes
385

Hi,

i need use a method public that object CL_PO_ACCOUNTING_HANDLE_MM.

but the object is in a inteface¿?¿?, not it is a atribute is something that i don't understand, when i debug the program i can see the objects. I see a tree with the diferent objects with their atributes, but i can acces to the objetcs or attributes,

Someone explain me that, and how i can acces the object for modify with a set_data ( a method implemented in CL_PO_ACCOUNTING_HANDLE_MM. no in the external interface ( the external object haven't got method or attributes.)

the interface is IF_MODEL_MM

1 REPLY 1
Read only

Former Member
0 Likes
321

IF_MODEL_MM is an interface that is implemented by other classes like CL_PO_HEADER_HANLE_MM and CL_PO_ITEM_HANDLE_MM.

Depending on what the method it is expecting, it will probably be an instance of a class that implements this interface rather than the interface itself.

I have created instances of CL_PO_HEADER_HANDLE_MM before. If this relates purchase orders, I could help you if you provide more details.