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

error in transaction

Former Member
0 Likes
789

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.

5 REPLIES 5
Read only

Former Member
0 Likes
760

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

Read only

Former Member
0 Likes
760

Hi

Here the syntax is wrong.

The syntax is

move-corresponding itab to lfa1

Regards,

Prasanth

  • Reward if it helps

Read only

0 Likes
760

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 .

Read only

0 Likes
760

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 .

Read only

Former Member
0 Likes
760

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