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

Function Code on Button Disappearing on Activation

Former Member
0 Likes
1,190

Hi All,

I'm trying to create a dialog program in ABAP, which I've done many times before. But today on the very first screen I put a pushbutton. Using the screen painter, I put a four character function code (FCTCODE) into the box. When I saved it, it saved fine. When I activated the screen, it cleared out the box and returned to the reddish "need input" state. I can't figure out why it's not accepting my function code. I've tried shorter codes, longer codes, codes that started with 'Z', codes that were used in the menu painter, and ones that weren't. I tried using the element list instead of the screen painter. I even logged out of the system and came back in. Nothing has worked. Has anyone seen this, and is there something I'm missing? Sadly, I'm the only ABAPer left at my company, so I have no one to run this by.

Thanks,

Nathan

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,118

That's really weird. Try entering it and hitting enter immediatly after.

Regards,

RIch Heilman

9 REPLIES 9
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,119

That's really weird. Try entering it and hitting enter immediatly after.

Regards,

RIch Heilman

Read only

0 Likes
1,118

Yes, it's really weird. I tried hitting enter and it doesn't do anything. I can even save it and leave and it's still there. It just disappears on activate. Would screenshots help anyone?

Thanks,

Nathan

Read only

0 Likes
1,118

I am not able to recreate your issue, anything special about this pushbutton? If you want, you can send me some screen shots to my email address on my business card.

Regards,

RIch Heilman

Read only

0 Likes
1,118

If it is custom program then delete that screen and recreate and see the results.

Take care about if it is big program then do not delete it.

Try to create one test program and create push button .

even if you get same issue then let me know how you create

Thanks

Seshu

Read only

0 Likes
1,118

Not able to re-create the issue, I'd hate to tell you to try reinstalling the gui and/or screen painter, but before that, try to create another test program and add the button and see if it works. If it does, then try re-creating the other program.

Regards,

RIch Heilman

Read only

0 Likes
1,118

I've now been able to restart my machine and go in and create a new test program/screen. The result is the same. It's still deleting the funciton code from the button when I activate. I will raise the issue with SAP.

Thanks,

Nathan

Read only

Former Member
0 Likes
1,118

What version are you on?

Read only

0 Likes
1,118

640, I believe (support pack 19).

Read only

0 Likes
1,118

By way of an update - the problem I was seeing was due to an error in the SAP code with our support pack and the fact that we're using unicode. It's addressed in OSS note 993341. Thanks for the help all, and sorry to have bothered you with something that could not have been answered here.

-N