Skip to Content
0
Former Member
Aug 11, 2010 at 01:52 AM

how to create pushbutton in CMOD? badly need help.

20 Views

hi SDN,

i hoped i posted in the correct section. how do i create a pushbutton in CMOD? i have a created an include file and when i created a push button using: SELECTION-SCREEN PUSHBUTTON 1(10) Execute USER-COMMAND EXEC it says "Within FORM routines and function modules, the SELECTION-SCREEN statement is not allowed".

i tried to create another include file in se38 and called it in the include in CMOD and put the pushbutton there but the error message is still the same. can anyone help me?

also, how do i put the push button in a specific screen? for example in tcode SUCOMP, i want to put the push button at the screen after entering the company name.

i have been slaving for a week over the internet and the forums to find the answers but so far i havent found it yet. can anyone please help me? thank you and any help will be appreciated!