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

Problem in copy version of function module

Former Member
0 Likes
1,045

Hi,

I have copied a standard function group V56K to Z, and then copied the desired function module to Z FM. Now I double clicked on the subroutine PERFORM FILL_IDOC_TAB_DELIVERY. It's asking for deveoper key. I guess when we copy to Zfucntion group then should let me change. Cna anyone tell me what si the resolution.

Regards

Rinku

8 REPLIES 8
Read only

Former Member
0 Likes
1,003

When you copied the function group ? Did you also copy all the includes and rename all of them in to Z* ones ?

Read only

Former Member
0 Likes
1,003

Hi Rinku ,

In a FM there will be many includes now when you have copied the FM , you must have changed the FM name but inside the code of the FM there will be performs which will be in these includes , which are standard SAP code which cannot be modifed without access key ,

So you need to make a Z copy of the include which contains the performs and in the function group either in the top include or some where else all the includes in the FG will be mentioed using the include statement , here you need to repalce the standard include name with the Z name , so that the system can identify that your perform is in the Z include and not in the statndard one.

Hope this helps ,do feel free to revert back in case of any further queries,

Regards

Arun

Read only

0 Likes
1,003

I Copied the function module to Z function module and it has includes which has my new function group name and when i click on few subroutines they r opening amd letting me change but some of them have the same old function group in include names which i can't change and it's asking for access key. Why it is different in few cases where i can change but in few places can't change.

Is it possble that while copying the fucntion group it didn't copy correctly.

Regards

Rinku

Read only

0 Likes
1,003

Please check the include to which the control gets transfred when you click on an include if it a standrad include then make a copy of it and then use it.

Regards

Arun

Read only

0 Likes
1,003

So does it mean I will have to copy so mahy includes as each subroutine is in different different includes.

is there any other way to achieve this?

Read only

0 Likes
1,003

This is what i mentioned in my previous post , first check to which all subroutines you want to make changes to , then make a zopy of all the includes progams which contain there subroutines.

Generally the amount of subroutines you need to change will be quiet few if the change you are making is not really a drastic change.

Regards

Arun

Read only

former_member196280
Active Contributor
0 Likes
1,003

I guess you did not copy the includes... Include might be other than Z*

Regards,

SaiRam

Read only

Former Member
0 Likes
1,003

Hi Rinku,

You need to copy all the includes as Z Includes. That is the only way to solve your problem.

Best regards,

Prashant