cancel
Showing results for 
Search instead for 
Did you mean: 

Block by QM for purchase order but also for scheduling agreement

Former Member
0 Kudos

Dear.

Using QM info record I can block purchase order creation for a material/vendor with error message 06883.

I need to block also scheduling agreement creation but during ME31L for the same material/vendor the system send only warning message 06883.

Why this different behavior ?

Can you help me to solve this problem ?

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

as you noticed, the message 06882 is hardcoded as a warning message

using transaction ME31L, so the settings in Customizing have no effect.

And it is no possible to change this behavioiur without modification.

It is a standard design, that you don't have an error message, if you

create a sheduling agreement. But if you later create a

Sch. agrm. shedule with ME38 you will have an error message 06 883.

SAPMM06E

MM06EFQM

IF ekko-bstyp EQ bstyp-kont OR

( ekko-bstyp EQ bstyp-lfpl AND t160-vorga NE vorga-lpet ).

MESSAGE w883 WITH ekpo-matnr INTO gl_dummy.

mmpur_message 'W' '06' '883' ekpo-matnr '' '' ''. <<<<<<<<<<< !!!

ELSE.

IF ekpo-revlv NE space AND "457199

( aktyp EQ hin AND fc_vorga NE cva_en OR "457199

Only possibilitity is you have to change the code i.e. if you want these

messages as error then you have to change the error category as "E" in

program MM06EFQM. Please note that this is means a modification.

Using TA ME21N is the message 06883 an error message

BR

Nadia Orlandi

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks again.

Former Member
0 Kudos

Nadia only one question.

Can i use an exit to change this behavior , or itu2019s a modification ?

Thanks,

Former Member
0 Kudos

Hi Cris,

it is not necessary to use an user exit...

In every case you are changing the standard.

This messages are hard corded.Please see in the program MM06EFQM.

If this program

contains the PERFORM ENACO(program name) USING '06' '883' statement

then you can customize these messages.

But in program MM06EFQM these messages are hardcoded.

Only possibility is you have to change the code.i.e if you want these

messages as error then you have to change the error category as "E" in

program MM06EFQM.

Please note that this is standard system modification.

SAP will not recommand/support you to change the standard system

behaviour.

Hope this will clarify your issue. I am sorry I could not provide

a more positive answer on this occassion.

BR

Nadia

Former Member
0 Kudos

Thanks Nadia.

Former Member
0 Kudos

Hi there,

have You tried to set / maintaine this message as error in

SPRO->Materials Management->Purchasing->Enviornment Data->Define attributes Of system messages

add as new value, and check if works differently.

Br