Application Development 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: 

How to add functionality in SAP tables

0 Kudos

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

Diagnosis

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

Procedure

Contact your system administrator.

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

plz guide me on this.

Thanks & Regards,

Murthy Sannidhi

2 REPLIES 2

Former Member
0 Kudos

Hi.

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..

Regards,

Santanu Mohapatra.

0 Kudos

Hi,

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