‎2009 Nov 16 6:11 AM
Hi all,
I have some problem with FM: CHANGEDOCUMENT_READ_HEADERS.
This FM will return I_CDHDR table if i put username.
However, my requirement is....i will only need to pass objectclass and objectid only. I want to get the whole list of username from this FM.
If i debug my program, I_CDHDR will return 0.
If i execute the FM at front end, i could see a Result under I_CDHDR with a whole list of username.
How do i retrieve the whole list without passing username? Please advice.
Below its the value i pass into the FM.
CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
EXPORTING
ARCHIVE_HANDLE = 0
DATE_OF_CHANGE = '00000000'
objectclass = zobjc
OBJECTID = zobjid
TIME_OF_CHANGE = '000000'
USERNAME =
LOCAL_TIME = ' '
TIME_ZONE = 'UTC'
DATE_UNTIL = '99991231'
TIME_UNTIL = '235959'
NOPLUS_ASWILDCARD_INOBJID = ' '
READ_CHANGEDOCU = ' '
tables
i_cdhdr = zcdhdr
Thank you.
Regards,
SW
‎2009 Nov 16 6:25 AM
Then you will have to provide a field for username which is initial. Otherwise it is defaulted to SY-UNAME.
‎2010 Sep 23 2:41 AM