‎2005 Nov 15 1:12 PM
Hi,
l am using interface IF_EX_ME_PROCESS_PO_CUST the parameter IM_HEADER, methods SET_DATA.
My question is what is the syntax to apply this method.
Robert
‎2005 Nov 15 1:21 PM
HI Robert,
I don't see any method by name SET_DATA in the Interface IF_EX_ME_PROCESS_PO_CUST.
However, Interface methods are not implemented in the interfaces. They need to be implemented in the class in which the interface has been included in.
After implementing the methods in your class, you can use the same syntax for calling the method as you would call a normal method.
Call method obj1->set_data
exporting..
importing..
exceptions.
Regards,
Ravi
‎2005 Nov 15 1:20 PM
Robert,
I am unable to see the method SET_DATA in the Interface IF_EX_ME_PROCESS_PO_CUST !!! Are u sure of the method name????
Thanks
Kam
‎2005 Nov 15 1:21 PM
HI Robert,
I don't see any method by name SET_DATA in the Interface IF_EX_ME_PROCESS_PO_CUST.
However, Interface methods are not implemented in the interfaces. They need to be implemented in the class in which the interface has been included in.
After implementing the methods in your class, you can use the same syntax for calling the method as you would call a normal method.
Call method obj1->set_data
exporting..
importing..
exceptions.
Regards,
Ravi
‎2005 Nov 15 1:56 PM
Thank's Ravi
l found thet we can use also the patern AABAP OBJECT PATERNS.
Robert