‎2006 Aug 24 2:04 PM
Hi All,
I have to Copy the standard function modules "FI_ITEMS_DISPLAY" and "ITEM_DERIVE_FIELDS".
The Function group for both of above FM is "FI_ITEMS".
What i did is I went to SE80 ,I copied down the Function Group 'FI_ITEMS' to 'ZFI_ITEMS'.
later on i copied the standard function modules 'FI_ITEMS_DISPLAY' and 'ITEM_DERIVE_FIELDS'
to the 'ZFI_ITEMS_DISPLAY' and 'ZITEM_DERIVE_FIELDS' resp.in the same function group 'ZFI_ITEMS'.
Then i made some changes to these copied modules (I did change the structure of it_items from RFPOSXEXT to ZRFPOSXEXT in ZFI_ITEM_ITEM_DISPLAY,and same change in ZITEM_DERIVE_FIELDS but for the parameter s_item).
And finally i activated these FM..and it got activated also.
But later on when i used these FM in my report...error occured saying that -
"The name of the function module to be called is "ZITEM_DERIVE_FIELDS".
but "ZITEM_DERIVE_FIELDS" cannot be found in its function group. "
hence i thought of activating the function group ZFI_ITEMS,which was inactive before to this...but when i tried activatin this FM it was giving hell lot of errors showing conflict occured at diffrent places,I think just because of the change (structure of IT_ITEM chnged from RFPOSEXT to customised ZZRFPOSXEXT).
I am helpless in removing all this errors ...
Can anybody suggest where did i go wrong?
And what is the right way to copy the function module.?
If possible reply me ASAP.
Thanx in advance.
‎2006 Aug 24 2:12 PM
Hello Sanjay,
First, delete your new function group and
Do like this:
1. copy FI_ITEMS_DISPLAY to zFI_ITEMS_DISPLAY from Se37. here you find a button on the application toolbar to do it. It also asks about the Function group. GIve the FG as
ZFI_ITEMS.
Activate all the related objects
2. same for the other FM. Use the same FG. and activate the related objects.
Regards,
Naimesh
‎2006 Aug 24 2:44 PM
Hi Naimesh,
You are saying to delete my new FG and copy the standard FM with FG name ZFI_ITEMS.
But in my case ZFI_ITEMS itself is the new function group which i copied from the standard FG FI_ITEMS.
I got confused with ur statement..Can u please exaplain it one more time plz.
‎2006 Aug 24 2:18 PM
Hi,
if you activate FG some times you need to ignor all errors for the first time. if you will activate it second time you will get no errors.
regards
Vladimir
‎2006 Aug 24 2:41 PM
hi Vladimir,
Thanks for response .
while activating first time it eror box appeared i pushed the button ACTIVATE ANYWAY.and activated the function group.
But when i used these FM in my report same errors poped up.
‎2011 Apr 06 11:53 AM
‎2015 Dec 13 6:29 AM
hi
--> Mainly we face two problems when copying the standard to z customized
1) First we need to check the language support and
2) Second one is where we are storing that mean Function Group for this we need to specify the FG name .
‎2015 Dec 13 9:11 PM