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

access CDPOS Cluster table

Former Member
0 Likes
1,786

Hi friends ,

i want to extract the data from CDHDR and CDPOS table for change details.

i know CDPOS table is cluster and it will take more time to access .

Performance point of view i want to for other option.

Is there any other table to get the same (change details).

Thanks & Regards,

Rao

1 ACCEPTED SOLUTION
Read only

Former Member
8 REPLIES 8
Read only

Former Member
Read only

0 Likes
1,334

Thanks for your help.

i know we can use the Function modules to get the changeddetalis.

my requirement is wih diff import parameters i want to get the changed details.

some of the parameters are not there in the function module, so i am creating the Execuyable program for extracing chabged detaisl.

for My requirement following parameters are required.

-Transaction_code

-Number_of_days

-Company Code

for the above requirement i am using CDHDR and CDPOS tables in my program.

Please help me how can i avoid the CDPOS table to get the chnaged detals for the above parameters in my program.

Thanks & Regards,

Rao

Read only

0 Likes
1,334

Rao,

Which Change object we are talking about here?

And more over if you want to know to know what operations (Change / Insert / Delete) has been performed you have to hit the CDPOS table. There is no other go.

Regards,

Ravi

Read only

0 Likes
1,334

If you need change document details, you MUST go to CDPOS.

If you would like, I can provide some sample code that reads from CDHDR and CDPOS directly without using any Func Mods.

Would you like an example? Not sure of your concern? They are large tables... but when accessed CORRECTLY, the run-time is reasonable.

Read only

0 Likes
1,334

John,

I need to query these tables to get to see if an invoice is modified afters being posted.Can u pls send me the sample code.

Thanks

Jag

Read only

Former Member
0 Likes
1,334

Rao,

Irrespective of whether you go through SELECT statements or function modules, the performance over head will be there with these tables.

Function modules is a preferred way so that we don't have to tune our code then.

CHANGEDOCUMENT_READ_HEADERS

CHANGEDOCUMENT_READ_POSITIONS

CHANGEDOCUMENT_PREPARE_POS

CHANGEDOCUMENT_READ

Regards,

Ravi

Note : Please mark the helpful answers

Read only

Former Member
0 Likes
1,334

Hi,

I think there is no other go rather than hitting the table CDPOS.

So we have to fetch the data from the CDPOS table only.

There is no other option.

Cheers,

Sampath

Read only

Former Member
0 Likes
1,334

There is <b>no</b> problem going to a cluster table so long as you are using the key.

Rob