‎2007 Mar 07 6:02 AM
fields in yvtrans r vendor ,name, country.
buttons r : display , exit.
first go to screen painter :se 51
give
pgm :
screen no:
desc:
save
click layout
goto->secondary window->dic->pgm fields
table lfa1
select fields lifnr ,land1 , name1
enter
drop it in layout
provide options display and exit
save
click flowlogic
pai:
case sy-ucomm
when 'disp'
select lifnr name1 land1 into table itab from lfa1 where lifnr = lfa1-lifnr
append itab
when 'exit'
leave pgm.
pbo:
after double clicking
inside write
move corresponding itab to lfa1
for push bottons
name : display
desc : display
fctcode: disp
click x to close
similerly for exit
save
create transaction code with se 93
tcode : ydemo(any name as u wish)
short txt :
start object
dialog transaction
pgm : (module pool pgm name)
screen no:
save
But the display button if i enter any vendor number the other field is not displaying.
this i did through se93 after creating i executed this .
but display is not working.
it is single screen program.
i gave everything correct.
then for fcttype what should i give.
Message was edited by:
lakshmi veera
‎2007 Mar 07 6:08 AM
hi Lakshmi,
If you have coded like <b>when 'disp'</b>, change this line to when 'DISP'.
Also, make sure that in screen painter, for the button DISPLAY, you have entered DISP in the FCODE field, in the properties window.
Hope this helps,
Sajan Joseph.
‎2007 Mar 07 6:27 AM
Please give more details about your question,as of now check if you have given the fcode to the button at design time or not and check that if you are writting the fcode in case statement as DISP or Disp,fcode should always be in caps,
is it a multi screen program or single screen.