‎2008 Mar 31 11:04 AM
see this select statement
select * from ce4e001 where bukrs eq s_bukrs-low.
check s_kndnr.
check s_prctr.
move-corresponding ce4e001 to v_ce4e001.
append v_ce4e001.
endselect.
in the above select statement you can see two check statements befor appending (both those checks are on the select options)
i came to know that these two check statements is to check whether the values(kdnr,prctr) are present in the table ce4e001.
if present then the following conditions are executed.
if not nothing wiil be moved into v_ce4e001.
now my problem is, i want to replace this statement with
select using into table. in this case how can i incorporate those two check statements in my new select statement
‎2008 Mar 31 11:06 AM
Hi
try below code
select *
from ce4e001
into table v_ce4e001
where bukrs eq s_bukrs-low
and kndnr in s_kndnr
and prctr in s_prctr.
regards
shiva
‎2008 Mar 31 11:06 AM
Hi
try below code
select *
from ce4e001
into table v_ce4e001
where bukrs eq s_bukrs-low
and kndnr in s_kndnr
and prctr in s_prctr.
regards
shiva
‎2008 Mar 31 11:16 AM
Hi,
select * from ce4e001 into corresponding fields of table v_ce4e001 where bukrs eq s_bukrs-low and
kndnr in s_kndnr and
prctr in s_prctr.
Regards,
Morris Bond.
Reward Points if Helpful.
‎2008 Mar 31 11:22 AM
hi Vamshi,
do this way
select * from ce4e001 into corresponding field of table it_ce4e001
where bukrs eq s_bukrs-low and
kndnr in s_kndnr and
prctr in s_prctr.