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

problem with okcode

Former Member
0 Likes
533

Hi all,

I have developed a module pool program , in which I have used push buttons for details , save , delete.

but okcode is taking only fctcode of details only.

I have even used clear okcode.

but still, only details is taken by okcode.

please do refer the possible cause for this error, and an approach to fix this problem.

thanks and regards,

Namratha Vasireddy

3 REPLIES 3
Read only

Former Member
0 Likes
484

Hi Vasireddy..

your question..........

......................................................

I have developed a module pool program , in which I have used push buttons for details , save , delete.

but okcode is taking only fctcode of details only.

I have even used clear okcode.

but still, only details is taken by okcode.

please do refer the possible cause for this error, and an approach to fix this problem.

.....................................................................................

did you give okcodes for all the push buttions which you created in the program and saved it.. then put the break point on each fuction code in the program.. and debug it .. by which you will know where you have done the mistake..

ask me any help in this regard..

hope this answer will help you..

Regards,

Kiran

Read only

Former Member
0 Likes
484

Hi Siva,

Try to declare a new variable save_ok and at PAI move ok_code to save_ok and clear ok_code.

regards

Read only

faisalatsap
Active Contributor
0 Likes
484

Hi,

Switch on Debugging using /h in Command field and just after this Push any button and in the Debugger mode check the Value of SY-UCOMM.

Hope this will help you to understand the problem.

Thanks and Regards,

Faisal