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.

View Entire Topic
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