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

CHANGEDOCUMENT_READ_HEADERS Creator of entry

Former Member
0 Likes
1,486

Hello.

I started using CHANGEDOCUMENT_READ_HEADERS today and I need to find the creator of an entry. I've noticed that when there are no changes after the creation there will occur an error.

Does anybody know a FM which allows me to find the creator of an entry?

Thanks!

7 REPLIES 7
Read only

Sandra_Rossi
Active Contributor
0 Likes
1,290

CHANGEDOCUMENT_READ_HEADERS should work.

Read only

Former Member
0 Likes
1,290

Well it doesn't unfortunately. The problem is that apperantly the creation of an entry is not seen as a change by CHANGEDOCUMENT_READ_HEADERS, and I don't know how to fix this problem.

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,290

I just tried, and apparently it works.

Read only

RaymondGiuseppi
Active Contributor
1,290

CHANGEDOCUMENT_READ_HEADERS should do the job, check again you code or try to use CHANGEDOCUMENT_READ_ALL and choose yourself a header record?

Read only

1,290

Yes I got it now. The problem was that if you don't provide any username in CHANGEDOCUMENT_READ_HEADERS it apperantly just takes the current logon user. Now I just use '*' as username.

Kind of awkward that I didn't see this earlier, sorry to bother you guys.

Read only

Former Member
0 Likes
1,290

I guess i'm doing something wrong then. Can you maybe provide your code?

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,290

But why don't you provide code to see what you're doing wrong?