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

Method SET_DATA

Former Member
0 Likes
1,223

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
797

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

3 REPLIES 3
Read only

Former Member
0 Likes
797

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

Read only

Former Member
0 Likes
798

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

Read only

0 Likes
797

Thank's Ravi

l found thet we can use also the patern AABAP OBJECT PATERNS.

Robert