Skip to Content
-5

How to make a zcopy of the Function Module : ME_READ_INFORECORD

Apr 13 at 06:32 AM

62

avatar image

Dear All,

please guide how to make the zcopy of the Function Module : -

ME_READ_INFORECORD

I have copied the Function group : MEQR through SE80 .

and copied all function mmodules

but the includes remained as the standard ones .


I need to make editable one of the include which is LMEQRF30.


I need to edit this include .



How to proceed please guide as all the includes are standard ones .It is asking for the access key to edit the include .I need all the zcopy of all the includes in Function group : MEQR .


Please suggest some ideas or workaround .

Regards

Deep

10 |10000 characters needed characters left characters exceeded

Below is the error I am getting :-

Error in the ABAP Application Program The current ABAP program "ZME_READ_INFORECORD===========FT" had to be terminated because it has come across a statement that unfortunately cannot be executed. The following syntax error occurred in program "SAPLZMEQR " in include "LZMEQRU05 " in line 38: "FORM "CHECK_SOURCE_MAIN" does not exist" " " " " " "

0

The first question which comes to my mind: why do you want to copy a function module? Isn't it possible to add the needed functions with, for example, Enhancement Implementations?

1
Further commenting has been locked.
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Matthew Billingham
Apr 13 at 08:54 AM
6

There is only one answer to your question.

DON'T

Do not copy SAP standard code.

It is very dangerous and extremely BAD programming practice.

Workaround - use BADI/Enhancment Points/User Exits/ Modify the standard (if all else fails). Then you will be supported through upgrades.

Read these articles:

https://blogs.sap.com/2012/03/02/z-copy-of-a-standard-sap-reportdo-we-really-need-to/

https://blogs.sap.com/2012/12/01/the-attack-of-the-clones-episode-2/

I am now locking this question to avoid anyone giving you hints how to do what is really bad programming practice.

Share
10 |10000 characters needed characters left characters exceeded