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: 

copying std f.m to zf.m.

Former Member
0 Kudos

Dear Experts,

while copying the std., f.m PT_ARQ_REQUEST_EXECUTE to zPT_ARQ_REQUEST_EXECUTE then while checking its

giving some error and no perform statements are copied is there any other way to do this.,.,

Thanks and REgards,

Thirukumaran. R

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi ,

try to copy the Function group contents also..i mean copy top include and form routines also , then it will work proper

Prabhudas

4 REPLIES 4

Former Member
0 Kudos

Hi ,

try to copy the Function group contents also..i mean copy top include and form routines also , then it will work proper

Prabhudas

0 Kudos

how to find the includes which are there in std f.m., can u explain little clear,,

Thanks and Regards,

Thirukumaran. R

0 Kudos

Hi,

Go to SE80 and enter function group name. Choose the function module and try to copy it into new Z-function module.

It will ask you whether you want the includes to be copied or not. Copy all the includes into new includes starting with Z so as not to interfere it with the Standard includes.

KR Jaideep,

Former Member
0 Kudos

Hi Thirukumaran,

You need to consider below points while making a copy of FM.

First , FM is not independent but depends on Function Group which contains other FM also.

so in first go copy FM with its Function group.

Now carefully , delete the unnecessary part from the various includes of the Function group.

You can also delete the other unnecessary FM's avaliable in Function group.

Also, you need to do extended program check to eliminate unnecessary declarations and code.

Hope it helps you.