cancel
Showing results for 
Search instead for 
Did you mean: 

Alert Message

Former Member
0 Kudos

Alert messsage is needed at the time of PO creation , if it reaches the Maximum stock level (stock + order)

Accepted Solutions (1)

Accepted Solutions (1)

former_member329706
Active Contributor
0 Kudos

Hi,

This type of message we can set while doing GRN.If the stock of the material is already sufficient covering all the order, the system can POP message that stock of the material exceeds or so on..

Answers (1)

Answers (1)

Former Member
0 Kudos

HI,

Devlope your own program using the below logic

Calculate Open purchase order quantity: pass the material number (MATNR), into EKPO table and check delivery completed indicator (EKPO-ELIKZ), if the delivery completed indicator is not set (open purchase order) sum the order quantity for all those items.

And also consider the following points to be for calculating the open order quantity

1. Check for the document number EBELN set with deletion flag in (EKPO-LOEKZ), if the corresponding value is set as u201CLu201D then skip the document and check for new document number.

By this you will able to find the ordered stock

+ add the stock which avialable in the storage location MARD-LABST add together

if the total is grater then the Maximum stock level popup the alert message

Regards,

Pramod