cancel
Showing results for 
Search instead for 
Did you mean: 

mark message has read with DIAPI

Former Member
0 Kudos

Hi there,

anyone know how to mark messages has read from the DI API?

Thank you all

gabriele

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

please be clear in posting question.which is helpful to all.

regards,

varma

Former Member
0 Kudos

In sap you can receive messages or alert and the new ones are in bold.

I have done a programs that retrieves from sap only the new ones and once they were read by the user i want to mark them as read also in sap.

I have found that the object messageHeader has a property READ but it's only a readproperty that tell you if a message is new or not.

What i'm missing is a property that mark the message as read.

Nussi
Active Contributor
0 Kudos

Hi,

in this situation you have to use a RecordSet UPDATE in

the OAIB Table with Field WasRead changing to Y

altough it will work i have to warn you that RecordSet Updates are unsupported.

lg David

Former Member
0 Kudos

i think the DIAPI comes with too much limitations, partial implementantions, and missing features. It should be rewritten from scratch, (and retought) is really a daunting experience having to work this way. It's ironical, to say the least, noticing that if i want my application to be compliant with SAP policies (in order to obtain the certification) i can't have a direct dialog with the db while at the same time if i want my application to be complete, and not a toy i'm obliged to talk with that damn db.

I think this is NOT abstraction, this is NOT good pratice, this is ALL BUT a well developed API. An API which deserves such a name would not force me to write native code in order to fill the gaps left by some sorry-i-forgot-about-usability developer who worked on that.

Edited by: Peter Petrelli on Oct 31, 2008 12:12 PM

Nussi
Active Contributor
0 Kudos

Peter,

you're right, but it's not my fault.

iam here to help people and iam not developing the SAP DIAPI.

i just gave Gabriele a hint how to solve the problem.

lg David

Former Member
0 Kudos

i know, i was just giving vent to my disappointment

Former Member
0 Kudos

Because post is from 2008 and I have the same problem, I ask if someone know the solution. Maybe something changed in new version of DI API ?

Johan_H
Active Contributor
0 Kudos

Hi everybody,

Please visit the B1 Idea Place. Here you can suggest new functionality (also for the DI API), and /or vote for suggestions made by other people.

Peter, if I am not mistaken you are not the only one who has issue with the DI API in its current form, and an idea about that has been suggested to SAP. Please vote for it.

Regards,

Johan

Former Member
0 Kudos

Hi All,

I made an idea to solve the problem:  Main Workspace: DI API: Allow to mark message as read

Johan, thanks for information (I'm new right here:).

Regards

Maciej

Johan_H
Active Contributor
0 Kudos

Hi Maciej,

Welcome to the club.

Regards,

Johan

P.S. Would you please mark any one of the answers here as the solution to your problem, so this thread gets closed?

Former Member
0 Kudos

I can't close this problem. I don't have that option. This topic was created by Gabriele Fedeli.

Johan_H
Active Contributor
0 Kudos

Sorry, I wasn't paying attention.

Forget I said anything