‎2008 Mar 27 9:51 AM
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
‎2008 Mar 27 9:58 AM
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
‎2008 Mar 27 9:54 AM
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...
‎2008 Mar 27 9:55 AM
hi u have to use like this using or r end..
( bewtp = 'R' or bewtp = 'Q' ).
regards,
venkat.
‎2008 Mar 27 9:56 AM
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
‎2008 Mar 27 9:58 AM
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
‎2008 Mar 27 10:00 AM