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

Call a method inside a method

Former Member
0 Likes
331

Hi Gurus,

My requiremnt was to display the item data details ( delivery date, requiremt quantity) on the item text tab ( info record PO text - tab) via tranaction Me23n.

For that I found the BADI ME_PROCESS_PO_CUST method PROCESS_ITEM.

For this PROCESS_ITEM method the Importing parameters was IM_ITEM I need to know how the item data are pass through this IM_ITEM parameter when I debuged the parameter I am not getting any value moreover I new to ABAP object it is showing some oops related stuff.

Could any one plz guide me how to get the item value in to the method PROCESS_ITEM and how to call the method (IF_LONGTEXTS_MM~SET_TEXT) in the method PROCESS_ITEM to set the text.

Suggest me with any sample coding

Rgerads

Dhanoo

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
306

Hi,

This is the code using which you can call the ur second method inside the process_item.

Reward points if you find it helpful.

Regards,

J.Prasanna

1 REPLY 1
Read only

Former Member
0 Likes
307

Hi,

This is the code using which you can call the ur second method inside the process_item.

Reward points if you find it helpful.

Regards,

J.Prasanna