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

Copy Standard Function modules to Z Function modules

Former Member
0 Likes
5,866

Hello,

I have a requirement like , I need have a typical requirement where i need to copy few function modules in the same function group , in this regard i copied 4 function module and calling performs with the program name , but i am unable to achive the requirement , Function module is getting Dump,

Can any one explain the standarded function modules and place it in Z function group. or is it possible to include standard function group in to Z function group ?

How to get reslove ? please guide ...

Thanks In Advance.

With Best Regards

Naganjaneyulu.P.V

11 REPLIES 11
Read only

agnihotro_sinha2
Active Contributor
0 Likes
2,483

hi,

did u copy the FM using COPY button at the SE37 screen???

Read only

Former Member
0 Likes
2,483

Hi Naganjaneyulu,

In that case copy the Function group to a Z Function Group. Please also paste the short dump that you are getting.

Thanks,

Sai

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
2,483

Hello,

I think you need to copy the entire Function Group to Z-Function Group.

BR,

Suhas

Read only

former_member404244
Active Contributor
0 Likes
2,483

Hi,

Copy the function group to zfunction group and then change the function modules which u require to zfunction modules and also the includes which u need to zincludes..

Regards,

Nagaraj

Read only

Mohamed_Mukhtar
Active Contributor
2,483

hi,

Go to se80..
1. Select function group
2. Enter as name  "-----> click on spectacles button.
3. Right click on functiongroup name
4. Select copy  "--------> give a Zfunction group name
5. "Copy  the function modules in this function group with zfunctionmodules.
6. Save & Activate.

Regards,

Read only

0 Likes
2,483

Hi Mukthar,

How can we copy standard Function module along with Enhancements. when i try to copy CS_SO_FIX_ASSEMBLY i am getting like coping with out enhancements.

please help me.

thanks!!!

Read only

Former Member
0 Likes
2,483

Hello ,

My Question, In Standard function group we have 30 function modules , So At this point of time i need not copy all because on my requirement, i just need 4 to 5 function modules only and have to modify , This situation comes like this , I have one function module to use in the program but in that FM they called 4 function modules internally so i need to copy these and i have to modify in middle level.

if i copy the function group , it will be similar to standard.

Thanks

Naganjaneyulu.P.V

Read only

0 Likes
2,483

Hi Naganjaneyulu,

If you copy it will be similar to Standard. But you can modify those FMs as you like which will not be possible in standard. Also if you solely copy the FM, If that FM consists or depends on the screens or Includes which are present in the Function Group then there will be syntax errors and shortdumps. The Reason for your short dump might be this.

If you are still not happy with this approach, Kindly paste the standard FM that you are trying to clone and the short dump that you are encountering.

Thanks,

Sai

Read only

0 Likes
2,483

We have made it and resoloved the issue as per bussiness requirement..

Thanks for your help..

With best Regards

Nags

Read only

0 Likes
2,483

Can you tell me , how you did it

Read only

0 Likes
2,483

rohit.dcosta Copying standard ABAP objects is strongly discouraged by the SAP community nowadays. So, just DON'T DO IT, NEVER. If there's no other alternative, modifying the standard is not a good choice, but is a much better choice than copying.