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

Error in Module pool:Function code

arvind_soni
Participant
0 Likes
1,657

Hi All,

I am using IW52 transacion for which I have activated the Screen exit and inserted table control on it.

The table control entries has to be deleted for which I have added a Delete button with function Code 'DELE'.

When trying to delete the entry the system throws an error message saying that 'The function code DELE is not available here'.However after pressing enter the entries are deleted.

I have debugged for the error and could find that the table T185F is being checked in the function module screen sequence.

Could someone please let me know how to customize the table with the function code I have added.

Thanks.

Arvind

3 REPLIES 3
Read only

Former Member
0 Likes
933

Hi

Check if this link is useful:

Regards

Neha

Read only

0 Likes
933

Hi Neha,

The link says that we cannot enter Custom User command in the SAP Screen exit.But I think there is a way to maintian T185* table in VFBS transaction.

I tried the same and now not getting the error message that "Function code XXX is not available here".

The problem is now that the system is always keeping the OLD sy-ucomm value.That is when I press delete records I get a confirm prompt message ( custom ) and record gets deleted.After this I again press enter the pop up comes again.

I checked in de bugging and found that the sy-ucomm was not cleared.I tried to clear sy-ucomm values but the main program of the transaction again resets the Sy-ucomm.

Please let me know if you or anyone has any solution to deal with this.

Thanks.

Arvind

Edited by: Arvind Soni on Jan 19, 2009 11:34 AM

Edited by: Arvind Soni on Jan 19, 2009 11:34 AM

Read only

0 Likes
933

Hi All,

You can maintain the required custom function codes in the T.code VFBS as follows.

1. Maintain related program name.

2. Check Function Codes radio button --> Change

3. Maintain the individual entries for each custom function codes which you want.

4. Check Development Support radio button, maintain an entry for the users who need authorizations for the program and function codes.

Best regards

Siva Kukkala