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

field exits

Former Member
0 Likes
791

how to check whether the field exit is activated for that particular field or not

since the debug is not possible for field exit , how can we check it

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
755

Hi,

Put a message statement. If you get the message, control is going there.

Or Se38--->RDMODPRF Press F8 Now all Field Exits are in front of you with their status.

Regards

Raju Chitale

Edited by: Raju Chitale on Jun 24, 2008 10:52 AM

6 REPLIES 6
Read only

Former Member
0 Likes
756

Hi,

Put a message statement. If you get the message, control is going there.

Or Se38--->RDMODPRF Press F8 Now all Field Exits are in front of you with their status.

Regards

Raju Chitale

Edited by: Raju Chitale on Jun 24, 2008 10:52 AM

Read only

Former Member
0 Likes
755

Hi,

You cannot debug field exits. If you want to know whether the field exit is active or not go to CMOD transaction. In the command prompt enter PRFB. This will give you the list of field eixts that have been created. From the list you can check whether the field exit you have created is active or not. And if it is not active then select your field exit and then from the menu bar field exit> Activate. Also activate the function module from menu bar>Edit-->Activate FM.

Thanks.

Read only

Former Member
0 Likes
755

Hi VaraLakshmi,

The best way is to put a message statement in the functional module code.

I dont think theres any other possible way.

If u want to check generally the field exits activited in the SAP system.

Follow the below steps.

1.Goto CMOD transaction

2.Type PRFB in the command prompt.

3.It displays all the field exits activated.

Thanks,

Chandrasekhar.

Read only

Former Member
0 Likes
755

when does a field exit gets executed.

say for example am going to create a field exit for measuring point/counters(field name), and a check is made for the values entered in the field using the field exit,if the check returned sy-subrc as 4 a error message will be displayed, our problem is the message is getting triggered when we execute in dev but not in QA, so we suspect the field is not fired in QA for that particular field.

but as the previous replies suggested i did a check in RZ11, the parameter is set to YES in both dev and QA.

and as mentioned, am not able to debug the field exit, even in dev where it is actually getting fired correctly.

is there any other way to find out, to prove the field exit is actually working in QA also.

Read only

0 Likes
755

Hi,

First thing is - as said earlier check whether the field exits are active using CMOD-->PRFB.

Field exits trigger only for input enabled fields. Check if the configurations are different in DEV and QA.

If the field is input enabled in QA also then check the procedure used for testing. field exits trigger only when an action is performed on that particular screen. Suppose logic is written in a field exit for a field in screen 2 and the control never goes to screen 2 while you are testing then the field exit is not triggered.

Thanks.

Read only

Former Member
0 Likes
755

solved by myself