Skip to Content

How to add functionality in SAP tables

Hi All,

i created one enchancement to ME31K screen,

i added one button to contract header page when user click on this button it will tak me to my functionlity.

and in my screens i added one more button that will tak me to contract header page.( i used that stmt 'Leave program').

but in second cycle if the user click on button it is showing me the following error.

This function not defined

Message no. 06006


There is no entry for this function in Table 168F (system table). An error involving the screen control has probably occurred.


Contact your system administrator.

Am i need to add this functionalty to any sap table.

plz guide me on this.

Thanks & Regards,

Murthy Sannidhi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2011 at 06:15 AM


    I am also facing the same problem in ME31K.

    I am adding a screen and over there i am adding a checkbox.

    But when i click on the checkbox,i am getting the message FUNCTION IS NOT DEFINED.

    If i am manually adding the entry in table T168F,then it's throwing the error message as FUNCTION IS NOT ALLOWED HERE.

    Did you find any solution for this one???

    Kindly reply..


    Santanu Mohapatra.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member


      The function exits used for screen enhancement of ME31K screens would have an export parameter E_UCOMM. Which needs to be mapped to a function code maintained in T168F table. Ideally 'KOPF' function needs to be passed onto E_UCOMM within the function exit.

      i.e. E_UCOMM = 'KOPF'.

      This shall solve the issue.

      Thanks & Regards,

      Kiran Kumar Somaroutu

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.