Application Development 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: 

Hi SAP gurus can anyone tell me how i can replicate a FM( Function Module)

Former Member
0 Kudos

The Function Module READ_TEXT gives me an error message if the PO text in the Material master is empty.

The thing is i have a loop on all the materials and if there are 1000 materials

and the 654th material has to text in the text editor then it gives an error and abends so i want to create a new FM replicating the original FM " READ_TEXT" can anyone tell me the step by step methos to do this????

2 REPLIES 2

Former Member
0 Kudos

Hi,

Goto Tcode SE37->On Menubar>Function Module->OtherFunctions->COPY->

It will display pop_up There

from READ_TEXT

To ZREAD_TEXT

function Group ZSTXD---Add in your function group.

In standard group it will ask access Key

Activate your FM.

Former Member
0 Kudos

HI Srinivas,

go to SE37 and create a new function group and create a function module which either starts with Z* or Y* .... copy the source code, IMPORTING, EXPORTING, EXCEPTIONS and DOCUMENTATION section on to your new FM and activate....

Regards,

Santosh