Skip to Content
author's profile photo Former Member
Former Member

How to debug the field exits

Dear All,

How to debug the field exits. Please let me know.

Urgent.

Regards,

Karthik.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 07:35 AM

    go to rsmodprf program in se 38 and then give ur data element of field which is having field exit..execute and then put cursor on ur concerned field exit there and click on button Edit FM ,it will take u to the SE37 screen of tht FM..just put a breakpoint in tht FM .

    now when u will execute ur program and trigger the field exit ,the program will stop to tht breakpoint and u can debug it then

    reward if helpfull

    amit

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 11, 2007 at 07:36 AM

    Look at OSS note Note 29377 - FAQs: field exits (CMOD) https://service.sap.com/sap/support/notes/29377

    5. Can field exits be debugged ?

    No. Field exits must be tested separately in the ABAP/4 Development Workbench. For errors which only occur in the screen environment, it is helpful to write interesting variables to the file system using TRANSFER... . These can then be analysed there.

    Sorry

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 07:38 AM

    first of all have you created the fnmodule for that be sure.

    run RSMODPRF in se38 without giving any selection criteria.

    now search for your dataelement.

    check the correct prog name and screen no assign for that or not and it is active or not.

    now in application toolbar you will get Edit fm button. click that.

    it will go to se37 fnmodule sourcecode. put a breakpoint there.

    regards

    shiba dutta

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 07:58 AM

    Hi karthik,

    1. We cannot debug field exits.

    2. For a workaround,

    we can put a MESSAGE of type I

    to display the value of the variable.

    3. For detecting whether the field exit is working/getting triggered,

    we can simply put

    MESSAGE as the first line of the code.

    regards,

    amit m.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.