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

transactions

Former Member
0 Likes
371

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

2 REPLIES 2
Read only

Former Member
0 Likes
352

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.

Read only

Former Member
0 Likes
352

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.