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

select statement

Former Member
0 Likes
269

Hi all,

can anyone tell me how to write the code for the following

In CDPOS table search for all the records for which changes are there in table MARC for the following fields,

MINBE

EISBE

MABST

with respect ot changes in material no.with this code we can check for only one field,how to check for multiple fields

select objectclas objectid changenr tabname fnamefrom cdpos into table itab where objectclas = 'material'

and tabname = 'marc'

and fname = 'minbe'.

1 REPLY 1
Read only

Former Member
0 Likes
248

Hi Siva,

Use this query.

select * from cdpos into CORRESPONDING FIELDS OF TABLE

itab where objectclas = 'MATERIAL'

and tabname = 'MARC'

and fname IN ('MINBE','EISBE','MABST').

Regards,

Amit.