Function Modules
hi,
Can any one let me know , is it good to change the function module when required.
Pooja.
Maybe u can try creating a copy of the function module and making changes in the new one instead.
Hi pooja
Guest is excatly rite. You should create copy of that fm and modify it accordingly.
Direct changes in FM can cause much problems later on .
_________________
Regards
Abaper
hello!
Thanks a lot for replying.
Why i need to make change in Function module is , in Tcode VL03 when we go into Header->Partners there we maintain SH, SB and SP. I need to retrieve address of SB if SB is existing else address of SH need to be printed.Displaying of address is handled in Function module.When i m trying to display the address of SB before entering into function module , the address of SB is getting printed correctly if SB is existing but when SB does not exist its not printing address at all instead of printing SH address.
Could any one provide me the possible ways to handle it.
I think you should try to look for user-exit if there is one available instead of changing the Standard SAP function because you don't know how many other programs are using the same function.. As a result, you may cause a lot of problems.... if you cannot find any user-exit available and changing function module is the only choice.. Then make a copy of the function module.. Do your modification ... But remember, this is your very last choice....
hi pooja ,
I think its better to go for Enhancments , Instead of dist'bing Std FM .
Keep in Mind If any thing goes wrong... It will affect Function Group also...
Regards,
ITAB.