Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

cdpos

Hi,

I am using these queries one after other but can anybody tell me how to use

FM CHANGEDOCUMENT_READ_HEADERS and CHANGEDOCUMENT_READ_POSITIONS in place of these queries?

A) select objectclas

objectid

changenr

udate

into table i_cdhdr

from cdhdr

client specified

for all entries in i_data

where objectclas = c_lieferung

and objectid = i_data-vbeln

and udate in so_udate

and ( tcode = c_vl02n or

tcode = c_vl02 )

and change_ind = c_u.

B) Select objectclas

objectid

changenr

fname

into table i_cdpos

from cdpos

client specified

for all entries in i_cdhdr

where objectclas = c_lieferung

and objectid = i_cdhdr-objectid

and changenr = i_cdhdr-changenr

and tabname = c_likp

and fname in r_fname

and chngind = c_u.

Former Member
Not what you were looking for? View more on this topic or Ask a question