exeption MCY1

I need a trigger usuing exeption MCY1 , Please let me know how to do it to when stock reaches to certain below level.

Steps to create Exception Message when Stock is below defined limit
T-Code: MCY1
1) Choose a Exception Name say ZSTOCK and Info structure S039
2) Now click on Characteristics tab and select Char Material by clicking Choose Char at Bottom
3) Now in the same screen Click on Requirements Tab and select Key figure Valuated Stock by clicking Choose Key Figures
4) Click on Define Requirement Tab at bottom and select Threshold value Radio button and Press Continue.Here enter < and Stock qty 10 (Means when Stock qty is <10 then this Exception will trigger)
5) Now Click on Follow up processing tab at Top and tick for Send mail and assign the person id to receive mail and Press back
6) Click on Char values tab to enter the Material nos for which u want to use this exception and SAVE

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16573195/viewspace-674524/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/16573195/viewspace-674524/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
#精准延迟包: from ctypes import windll import cv2 ##检测模式 import numpy as np #为睡眠做准备 TimeBeginPeriod = windll.winmm.timeBeginPeriod HPSleep = windll.kernel32.Sleep TimeEndPeriod = windll.winmm.timeEndPeriod #精准延迟 def Precise_delay(num): # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TimeBeginPeriod(1) HPSleep(int(num)) # 减少报错 TimeEndPeriod(1) #截图模式 def Screenshot_Mode(ps_mode , pos_x,pos_y,mcx,mcy): if ps_mode == 0: from mss import mss Screenshot_value = mss() #目标检测范围 window_size_mss = (pos_x- mcx , pos_y - mcy , pos_x + mcx , pos_y + mcy) # monitor = 960-320,540-320,960+320,540+320 window_size = { "left":pos_x- mcx, "top":pos_y - mcy, "width":pos_x + mcx, "height":pos_y + mcy, } #目标检测中心点 core_x = int((window_size_mss[2]-window_size_mss[0])/2) core_y = int((window_size_mss[3]-window_size_mss[1])/2) elif ps_mode == 1: print("使用DXGI截图") from d3dshot import create # pip install d3dshot -i https://pypi.tuna.tsinghua.edu.cn/simple Screenshot_value = create("numpy",frame_buffer_size = 100) #目标检测范围 window_size = (pos_x- mcx , pos_y - mcy , pos_x + mcx , pos_y + mcy) #目标检测中心点 core_x = int((window_size[2]-window_size[0])/2) core_y = int((window_size[3]-window_size[1])/2) return window_size,core_x,core_y,Screenshot_value #检测模式 def Detection_mode(test_mode,Screenshot_value,window_size): if test_mode == 0: img = Screenshot_value.grab(window_size) img = np.array(img) img = cv2.cvtColor(img, cv2.COLOR_BGRA2BGR)#原版 elif test_mode == 1: img = Screenshot_value.screenshot(region=window_size) #使用opencv删除一个通道 img = cv2.cvtColor(img, cv2.COLOR_RGB2BGR) return img window_size,core_x,core_y,Screenshot_value = Screenshot_Mode(0, 960, 540, 150, 150) print(window_size,core_x,core_y,Screenshot_value) img = Detection_mode(0, Screenshot_value, window_size) print(img) 这个代码实现了什么功能
07-16

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值