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

BADI Implementation , method calling

Former Member
0 Likes
831

Hi Gurus,

plz answer this simple question.

i have to code in method PROCESS_ITEM in Badi ME_PROCESS_PO_CUST:

How can i get 'CALL METHOD im_item->get_data' in the method implementation ?

-


In pattern->ABAP OOPS Patterns->

what should i give in the 3 col below to call the above method?

Instance:

class/Interface:

Method:

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
571

Hi,

Go to pattern.

Now select the abap objects patterns

Now just mention the data as below

Instance: IM_DATA

Class/Interface: IF_PURCHASE_ORDER_MM

Method: GET_DATA

Reward Points if you find it helpful.

Regards,

Prasanna

3 REPLIES 3
Read only

Former Member
0 Likes
572

Hi,

Go to pattern.

Now select the abap objects patterns

Now just mention the data as below

Instance: IM_DATA

Class/Interface: IF_PURCHASE_ORDER_MM

Method: GET_DATA

Reward Points if you find it helpful.

Regards,

Prasanna

Read only

0 Likes
571

Thanks for ur immediate reply

prob solved..

awarded points...

Read only

Former Member
0 Likes
571

Hi,

Click patterns.

Then choose Abap objects patterns.

Click on the Tick

It will give a new screen

Here Give the name of the class first.

Then the object (instance of the calss)

And finally the method ..

it will give you the pattern

Regards

Kiran