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

How do i get the Result value from FM: CHANGEDOCUMENT_READ_HEADERS.

Former Member
0 Likes
414

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

2 REPLIES 2
Read only

Sm1tje
Active Contributor
0 Likes
338

Then you will have to provide a field for username which is initial. Otherwise it is defaulted to SY-UNAME.

Read only

Former Member
0 Likes
338

problem solved. Thank you