cancel
Showing results for 
Search instead for 
Did you mean: 

one query

Former Member
0 Kudos

hi,

i have one query regarding one scenario which demands automatic deliver of mail to concerned person whenever there is no stock available for any material in the system..My interest is to notify the warehouse incharge about the status of items whether it is being totally utilised so that proper and immediate action could take place...As soon as the material Qty becomes zero,this should happen...Please guide me briefly for the same...

Thanks and Regards,

Gaurav

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

how about a report running as a job, which is looking if the quantity is zero. If it is zero start your created workflow by an event.

Or is the table writing change documents. In this case you could start a workflow if the specific field is zero.

Regards,

Christian

Answers (1)

Answers (1)

imthiaz_ahmed
Active Contributor
0 Kudos

Create a WF with a single email step. Add start conditions to this WF. You may need to add a virtual attribute to check the stock level and this virtual attribute has to be check in the start conditions.

Regards, IA

Former Member
0 Kudos

hi imtiaz,

thanks for reply..but i didn't get abt virtual attribute funda behind ur answer...

Thanks and Regards,

Gaurav

Former Member
0 Kudos

Gaurav,

Instead of starting the workflow and checking the start condition. If you can find a UserExit/Badi/Ench., use that to validate the stock and if it satisfies then go ahead and start the workflow.. If it only a mail to the concerned person, you can even send a mail using function modules(SO_NEW_DOCUMENT_SEND_API1 or similar one) .

Thanks,

Sudhir.