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

read table syntax in upgrade server ECC6.0

Former Member
0 Likes
690

hi guys,

i am facing a problem regarding declaration in ECC 6.0 .

i.e.,

read table t_ekbe with key

ebeln = t_pocond-ebeln

ebelp = t_pocond-ebelp

vgabe = '2'

bewtp = 'R'

bewtp = 'Q'.

the error message is

Key field "BEWTP" has been used more than once. This is not allowed . .

..pls suggest the solution ASAP ..

regards,

satya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
671

write like this

read table t_ekbe with key

ebeln = t_pocond-ebeln

ebelp = t_pocond-ebelp

vgabe = '2'

bewtp = 'R'.

read table t_ekbe with key

ebeln = t_pocond-ebeln

ebelp = t_pocond-ebelp

vgabe = '2'

bewtp = 'Q'.

don't forget to reward

sameer

5 REPLIES 5
Read only

Former Member
0 Likes
671

Hi,

not only iin ECC 6.0 YOU WILL GET THE ERROR IN 4.7 ALSO.

SYNTAX IS WRONG

Regards,

V.Balaji

Reward if Usefull...

Read only

Former Member
0 Likes
671

hi u have to use like this using or r end..

( bewtp = 'R' or bewtp = 'Q' ).

regards,

venkat.

Read only

Former Member
0 Likes
671

Hi,

pls try this

read table t_ekbe with key

ebeln = t_pocond-ebeln

ebelp = t_pocond-ebelp

vgabe = '2'

bewtp in ( 'R', 'Q').

If its useful reward points

Read only

Former Member
0 Likes
672

write like this

read table t_ekbe with key

ebeln = t_pocond-ebeln

ebelp = t_pocond-ebelp

vgabe = '2'

bewtp = 'R'.

read table t_ekbe with key

ebeln = t_pocond-ebeln

ebelp = t_pocond-ebelp

vgabe = '2'

bewtp = 'Q'.

don't forget to reward

sameer

Read only

0 Likes
671

thanks sameer , the problem is solved....