‎2007 Mar 06 6:29 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
ERROR:- field corresponding is unknown . it is neither in one of the specified tables nor defined by "data"statement.
‎2007 Mar 06 6:34 AM
Hi,
It appears that you are using field which is not declared or which is not in a database table.
Where in the code exactly you are getting this error? I mean for which field it is giving this error.
Check for that field and find.
Regards,
Anji
‎2007 Mar 06 6:35 AM
Hi
Here the syntax is wrong.
The syntax is
move-corresponding itab to lfa1
Regards,
Prasanth
Reward if it helps
‎2007 Mar 07 5:10 AM
i didn't get the result.
the display button is not displaying the details of country & name.
when i create the trans. code & after that i am executing
display button is not working .
‎2007 Mar 07 5:18 AM
i didn't get the result.
the display button is not displaying the details of country & name.
when i create the trans. code & after that i am executing
display button is not working .
‎2007 Mar 06 6:37 AM
Hi
Check ur code the move statment and also some variables which are used are not decalred properly.
move corresponding itab to lfa1
Kindy reward points