Application Development 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: 

select query

Former Member
0 Kudos

Hi all

i want select query for this.

in cdpos table search for all the records for which changes are there in table MARC(fieldname TABNAME) for the following fields wrt to change in material no

MINBE

EISBE

MABST

I require for all the 3 fields

4 REPLIES 4

Former Member
0 Kudos

Is your matnr issue solved or still pending ?

0 Kudos

Exactly Balu!! Even I wanted to know that.

Sivaram:

Close one issue first and then go to the other one.

If the issue is solved, close the question.

Edited by: Vishwa Sri Hari on Oct 22, 2008 9:05 AM

Former Member
0 Kudos

Hi,

data: it_cdpos like table of cdpos ,

it_mara like table of mara .

select * from cdpos into it_cdpos .

select * from mara into it_mara.

loop at it_cdpos .

if it_cdpos-fieldname <> it_mara-fieldname.

select field1 field2 field3 from cdpos into it_cdpos1

.

endif.

endloop.

Former Member
0 Kudos

yes the matnr issue has been resolved.

There is actually no need to use any FM,

I declared another variable like CDHDR-OBJECTID

and passed the matnr to this variable.

It has been done and the no is now being dispalyed as 18 digit.

can you please give me the solution for the select query.