cancel
Showing results for 
Search instead for 
Did you mean: 

Message no : M7769 - How to change warning to error

Former Member
0 Kudos

Dear Experts,

I have changed the Message no - M7769 in OMCQ from warning ro error, after that also this give the warning message.

M7 769 (Delete status for phys. inv. doc. & will be set (diff. posting exists))

Please help me to close this issue.

Regards

Soundar.G

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Pls check the document that you are trying to delete what status it has in table IKPF- DSTAT. To my understanding if it is X or A it will give error message if its inital it will not give error message.

Regards

Sangeeta

Former Member
0 Kudos

Dear Mam,

My PI document status is "X" , after that also this warning is coming

Regards

Soundar.G

Former Member
0 Kudos

In the Standard program this has been hard coded that if IKPF-DSTAT is not initial, on deletion to give warning message.

you can use following work around

You can go with the authorization object. this will not allow you to delete any document at header level.

At item level you can still delete the document that is not posted. And if you try to delete the document that is posted at item level it will give you message item already posted change not allowed

Answers (1)

Answers (1)

PollyGan
Advisor
Advisor
0 Kudos

Hi,

The error message (M7 769) is always sent as a warning, it's hard coded.

...

IF NOT IKPF-DSTAT IS INITIAL.

CLEAR OK-CODE.

MESSAGE W769 WITH IKPF-IBLNR. > !!

ENDIF.

...

You can use authority-object 'M_ISEG_WIB - Phys. Inv. Document in Plant' to control the user operation. This object

has the following activities:

01 Create or generate

02 Change

03 Display

04 Print, edit messages

06 Delete

Thanks and regards,

Polly

Former Member
0 Kudos

Dear Polly,

Our client required this error message only.

Because if i control through Authorization , they can not delete the new posted PI document also.

We need the control for posted document only.

Regards

Soundar.G

JL23
Active Contributor
0 Kudos

there is not much you can do, you can either give the authority for deletion only to peope who are able to read and understand warning messages, or you MODIFY the SAP program.