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

Deactivating Function Module.

Former Member
0 Likes
2,364

Hi ABAPers,

I want to De-activate one Function Module. Can any one Tell how can we de-activate that one.

Thanks in Advance,

Regards,

Ramana Prasad.

8 REPLIES 8
Read only

Former Member
0 Likes
1,359

Hi Ramana,

What do you mean by deactivate? You don't want to use it or want to delete it?

Regards,

Atish

Read only

0 Likes
1,359

Hi Atish,

I Don't want to use that Function Module Further. So can u suggest me how can we do that.

Regards,

Ramana Prasad.

Read only

0 Likes
1,359

Hi,

I am thinking if u go for obsolate this F.M will called,

As per my undersatnding, If u don't wan't use this FM, Comment the code.

Regards,

Vamsi.

Read only

0 Likes
1,359

Hey,

If you don't want to use that FM then just comment the code inside the FM like vamsi said or you can comment the CALL FUNCTION code in the program.

Alternatively if you don't want to comment also then you can put a failing IF condition like

If ( 2 = 5)

< FM Code>

Endif.

This will not allow the code to be called even if FM is called .

Rest there is no other way to do that

Regards

Nishant

Read only

Former Member
0 Likes
1,359

i hope you want to make the function module obsolete. to make a function module obsolete, look at this:

http://saptechnical.com/Tips/ABAP/MarkFMObsolete.htm

Read only

0 Likes
1,359

Hi,

I am doing exactly what is there in the link for making function module obsolete, but it was saying only user can release the Function Module.

Regards,

Ramana Prasad.

Read only

Former Member
0 Likes
1,359

Answered

Read only

0 Likes
1,359

This message was moderated.