Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

problem in copying the function module.

$
0
0

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.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>