cancel
Showing results for 
Search instead for 
Did you mean: 

CHANGEDOCUMENT_READ_RANGES

Former Member
0 Kudos

Hello everyone!

CHANGEDOCUMENT_READ_RANGES

I need to use this function module in CRM in order to get all the modifications made to documents in a certain time frame and export them to BW. However, one of the fields it should return, FNAME, comes out blank. I know there should be data in there, because I've done the corresponding queries in tables cdhdr/cdpos.

Has anyone encountered this issue befone?

Thanks in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Luis,

FNAME is the first field in the CDPOS table and the functinal module you used

CHANGEDOCUMENT_READ_RANGES has no FNAME in the import or export parameters. Check it once again and let me know if you have any queries..

Steve

Former Member
0 Kudos

Thanks for your reply, Steve!

If you check the structure of EDITPOS, wich is the return table for this FM, you'll see that it contains FNAME.

...

KEYLEN CDINTLEN NUMC 4

CHNGIND CDCHNGIND CHAR 1

FNAME FIELDNAME CHAR 30

FTEXT DDTEXT CHAR 60

TEXTART CDTEXTART CHAR 4

...

-Luís Andrade.

Former Member
0 Kudos

Hi,

Try looking directly in th CHDR , CDPOS table ..if you are getting expected entries there with corresponding FNAME .

I guess if you are not getting it thorugh FM you shouldnt get it in table ...otherwise it should be problem with function module call parameters ...

Hope that helps.

Regards

Mr Kapadia

Former Member
0 Kudos

Thanks for your response!

That was my initial solution. However, the FM is much faster that the queries... Maybe it's optimized by SAP, I don't know...

It doesn't make sense, appearing in the queries, and not in the FM...

Former Member
0 Kudos

Hi,

May be source code bug ??? try searching notes for the FM , there must be something or may be raise a mesasge to SAP ..

Regards

Mr Kapadia