BAdi:BOM_UPDATE - Check update for BOM Save
2014-03-21 13:08
2206 查看
需求:BOM中替代项目组要求同一组比率之和必须是100.
实现:BAdi:BOM_UPDATE
实现:BAdi:BOM_UPDATE
METHOD if_ex_bom_update~change_at_save. DATA: ls_wa TYPE stpob, ls_str TYPE string. TYPES:BEGIN OF ty_check, alpgr TYPE stpob-alpgr , ewahr TYPE stpob-ewahr , END OF ty_check. DATA: lt_check TYPE STANDARD TABLE OF ty_check, ls_check TYPE ty_check. LOOP AT delta_stpob INTO ls_wa WHERE selkz = 'X'. CHECK NOT ls_wa-alpgr IS INITIAL. MOVE-CORRESPONDING ls_wa TO ls_check . COLLECT ls_check INTO lt_check . ENDLOOP. LOOP AT lt_check INTO ls_check. IF ls_check-ewahr <> 100. CONCATENATE 'The total number of Usage prob. of Group ' ls_check-alpgr ' must equal to 100.' INTO ls_str SEPARATED BY space. MESSAGE ls_str TYPE 'E' . ENDIF. ENDLOOP. ENDMETHOD.
相关文章推荐
- BAdi:BOM_UPDATE - Check update for BOM Save
- Android Studio Check for Update Connection failed
- android studio check for update 更新失败
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error
- Eclipse Check for update 异常
- Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE Please check logcat output for more details.
- android studio check for update 更新失败
- #Redis Error #MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details a
- MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error
- CS01、CS02保存时增强的BADI(BOM_UPDATE)
- Android Studio Check for Update
- 每次Eclipse装插件都非常慢,怎么办?check for update也很慢。。。
- update for fetionsdk
- select for update引发死锁分析
- Security Update for JPEG Processing
- 在centos上安装软件时出现Could not execute auto check for display colors using command
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
- hibernate的各种保存方式的区别 (save,persist,update,saveOrUpdte,merge,flush,lock)等
- Please check the configured value for ha.zookeeper.quorum and ensure that ZooKeeper is running.
- ORACLE锁机制以及For update语句