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

URGENT HELP ME OUT !!! NO FILED DEFINED FOR THE FUNCTION CODE

Former Member
0 Likes
855

hello friends,

I am working with module programming t-se80,

i have made a simple screen with some filed on it.Along with this i have made gui staus with 2 icons create and display and i have assiged text to them also , also they appear in screen when i run the t-code.

problem is that when i click on any of icon i am unable to debug my code and system prompts an information message

"NO FILED DEFINED FOR THE FUNCTION CODE ".

In the screen elements with elemnt ok if have assigned ok_code in the screen and also a data statement in the code.

Still i m unable to monitor the debuger.

when ever i run the t-code and on the debuger and when i click on the create icon nothing happens?/

kindly help me urgently

with thanks

sam

hello friends,

I am working with module programming t-se80,

i have made a simple screen with some filed on it.Along with this i have made gui staus with 2 icons create and display and i have assiged text to them also , also they appear in screen when i run the t-code.

problem is that when i click on any of icon i am unable to debug my code and system prompts an information message

"NO FILED DEFINED FOR THE FUNCTION CODE ".

In the screen elements with elemnt ok if have assigned ok_code in the screen and also a data statement in the code.

Still i m unable to monitor the debuger.

when ever i run the t-code and on the debuger and when i click on the create icon nothing happens?/

kindly help me urgently

with thanks

sam

5 REPLIES 5
Read only

Former Member
0 Likes
838

Hi,

Keep the Breakpoint in PAI At Case ok-code.

Check the FCode of Create Button in GUI Status.

Use that FCode in WHEN ' '.

Thanks,

Kishore

Read only

Former Member
0 Likes
838

plz paste your code.

~Sid

Read only

0 Likes
838

Have you defined your gui status correctly with function codes.If yes give ok_code in field element list after that

please code in the pai following

ok_code = sy-ucomm.

Case ok_code.

WHEN 'FUNCTION CODE'

instructions......

endcase.

Read only

pradiptakumar_mishra
Participant
0 Likes
838

Hi,

It seems you have not assigned Function codes to your buttons in GUI. Assign them d relevant fct codes in Screen Painter (if u've created 2 push buttons) or menu painter.

Hope this wil soleve your problem.

Reward points if helpful.

Thnx

Pradipta K Mishra

Read only

Former Member
0 Likes
838

thanks