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

Regarding Transaction Code

Former Member
0 Likes
929

HI All,

I have created new Transaction code in SE93 & i added one module pool program to that transaction code. It is working fine...But, in the new screen save,back,exit and calcel buttons are in readonly mode. How to change it into active mode?

Can any one provide me solution for this..!

Thanks,

Sreelakshmi

9 REPLIES 9
Read only

former_member404244
Active Contributor
0 Likes
901

Hi,

Have you created Gui status for your module pool program.

Regards,

Nagaraj

Read only

0 Likes
901

No, can you explain me ..how to create GUI status...!

Read only

0 Likes
901

Hi,

Nitwick already suggested you to create a Gui status ...also Nitwick specified the syntax, use it and create a GUI status...

Regards,

Nagaraj

Read only

0 Likes
901

HI .

iN pbo MODULE OF SCREEN

WRIT SET PF-STATUS = 'NAME' .

1) CLICK ON 'NAME'

2) IT WILL TAKE YOU TO SCREEN WHERE IT WILL ASK FOR SHORT TEXT

3) SELCT OPTION NORMAL SCREEN OR DIALOG ACCORDING TO YOUUR PROGRAM

4) IT WILL SHOW SCREEN WITH THREE PLUS SIGN

I) STANDARD

II) APPLICATUION TOOL BAR

III) FUNCTION KEYS

CLICK ON FUNCTION KEYS

AND ACCORDING TO ICON GIVE NAMES WHICH YOU WANT FOR ICON

I. E SAVE

CANCEL

EXIT

&REFRESH&

ALL IN CAPITAL .

AND SAVE AND ACTIVATE

REGARDS

dEEPAK .

Read only

Former Member
0 Likes
901

Hi,

Sorry, I dont think I got the question correct.

My Understanding:

Your save, exit, cancel buttons are all greyed out and you want to activate them.

Create a GUI status and them on your screen using


SET PF-STATUS 'GUI'.

Read only

Former Member
0 Likes
901

Hi Sreelakshmi,

Please create a GUI status for your program.

In the PBO module of your screen write

SET PF-STATUS 'GUI'.

Now go to the PF status and in the Standard toolbar give some function codes for the buttons you want to activate.(for eg. &F03 for BACK).

This will activate your GUI status.

Regards

Avinash

Read only

Former Member
0 Likes
901

Dear Lakshmi

Follow the steps

1.Create a GUI_STATUS '9999'.

2.Double click on '9999' a window will be opened.

3.FUNCTION KEYS--> click to expand in standard tool bar declare the FCTCODES

Back Button --> BACK --> Double click here to give function attributes for the FCTCODES

Exit Button --> EXIT

Cancel Button --> CAN

4. Write the logic in your screen

PROCESS AFTER INPUT.
  MODULE exit AT EXIT-COMMAND.

MODULE exit INPUT.
  LEAVE PROGRAM.
 ENDMODULE.

MODULE user_command_9999

MODULE user_command_9999 INPUT.

  CASE sy-ucomm.
    WHEN 'BACK'.
      LEAVE TO SCREEN 0.
    WHEN 'EXIT'.
      LEAVE TO SCREEN 0.
    WHEN 'CANC'.
      LEAVE TO SCREEN 0.
    WHEN OTHERS.
  ENDCASE.

ENDMODULE.

Cheers

Pramod M

Read only

Former Member
0 Likes
901

Hi,

Go to your module pool program in se80.

Go to your program's GUI status. Go to the function keys. In the icon for back enter text BACK.

Activate and go to the PBO module.

Write:

SET PF-STATUS 'GUI STATUS NAME'.

SET TITLEBAR 'GUI TITLE NAME'.

Activate.

Then go to the PAI module.

Write:

IF SY-UCOMM EQ 'BACK' .

LEAVE PROGRAM.

ENDIF.

Activate.

Read only

0 Likes
901

Hi,

in the ABAP business since tuesday, you may need to acquire some more basics.

[how to create GUI status|http://www.google.no/#hl=en&source=hp&q=howtocreateGUIstatus&btnG=GoogleSearch&aq=f&oq=howtocreateGUI+status&fp=1&cad=b]

Regards,

Clemens