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

selection screen push button issue

Former Member
0 Likes
1,196

Hi friends,

I am using selection screen push button which displays push buttons on screen,

But unable to see the text on the button.I was able to see if i execute the program.But i was not able to see when i execute the transaction in the ecc 6 system.But i was able to see the text in sap 4.7 system.here is my code.

In top Include.

SELECTION-SCREEN PUSHBUTTON /5(18) p_audit USER-COMMAND aud.

SELECTION-SCREEN PUSHBUTTON 30(18) p_detail USER-COMMAND det.

In the report

*-- Initialization Part

INITIALIZATION.

*-- pushbuttons

p_audit = text-t01.

p_detail = text-t02.

p_copy = text-t03.

p_master = text-t04.

Thanks & regards.

Manoj Kumar

7 REPLIES 7
Read only

Former Member
0 Likes
1,103

Hi,

Did you add the Text elements? If you have added, then, it will be visible.

Check the menu path Goto -> Text Elements -> Text Symbols.

If you haven't added text-t01 or text-t02, then please add it. If you have already added it, then, the code must look like the following:

INITIALIZATION. " OR AT Selection-screen OUTPUT

p_audit = text-t01.

p_detail = text-t02.

Best Regards,

Suresh

Read only

Former Member
0 Likes
1,103

just check whether u have declared text-t01 and text-t02 in the text-symbols of the main program and not in any other includes.

Read only

0 Likes
1,103

I have done every thing.when i execute the transaction the text is not coming.when i execute the report the text is coming

Read only

Former Member
0 Likes
1,103

hi ,

can you do the following :

AT SELECTION-SCREEN OUTPUT.

TIT = 'Four Buttons'.

BUT1 = text-t01.

BUT3 = text-t02.

it will work

Read only

0 Likes
1,103

SELECTION-SCREEN BEGIN OF BLOCK B4 WITH FRAME TITLE TEXT-T03.

SELECTION-SCREEN PUSHBUTTON 33(17) PUBX USER-COMMAND US04.

SELECTION-SCREEN END OF BLOCK B4.

SELECTION-SCREEN FUNCTION KEY 1. "button on the application toolbar

INITIALIZATION.

MOVE '@1S@ Email Ids' TO PUBU.

MOVE '@47@ Cover Note' TO PUBX.

MOVE 'Mail History' TO SSCRFIELDS-FUNCTXT_01.

DYN-ICON_ID = '@1S@'.

DYN-QUICKINFO = 'History of E-Mails'.

DYN-ICON_TEXT = 'Mail History'.

SSCRFIELDS-FUNCTXT_01 = DYN.

DYN-ICON_ID = '@1S@'.

Read only

dev_parbutteea
Active Contributor
0 Likes
1,103

Hi,

Check whether you have correctly created your transaction code. The trnx type: report transaction and 3 check boxes for GUI support are checked.

Regards.

Read only

Former Member
0 Likes
1,103

hi!

Check for the text elements being declared and hope that u have activated them.....

b'coz otherwise it will work....