采购订单创建、修改、审批增强ME21NME22NME28ME29N ⼀、采购订单创建修改增强
BADI:ME_PROCESS_PO_CUST
个人简历范本通过POST⽅法中的参数im_header,获取对应的数据
订单头
*Get header
CALL METHOD im_header->get_data
RECEIVING
re_data = header.
*获取长⽂本
REFRESH ex_textlines.
CALL METHOD im_header->if_longtexts_mm~get_text
EXPORTING
im_tdid = im_tdid
IMPORTING
ex_textlines = ex_textlines.
订单⾏
"获取⾏
*Get Item
CALL METHOD im_header->get_items
RECEIVING
re_items = items_data.
LOOP AT items_data INTO item_data.
** First get Item Object, Second fill item data
"获取⾏对象
item_obj = item_data-item.
袁惟仁老婆"获取⾏字段值
CALL METHOD item_obj->get_data
RECEIVING
re_data = item.
"获取⾏长⽂本
REFRESH ex_textlines.
CALL METHOD item_obj->if_longtexts_mm~get_text
EXPORTING
im_tdid = im_tdid
IMPORTING
ex_textlines = ex_textlines.玉怎么分好坏
ENDLOOP.
qq飞车的歌曲
借记卡和信用卡的区别计划⾏
"获取计划⾏
CALL METHOD item_obj->get_schedules
RECEIVING
re_schedules = schedules_data.
LOOP AT schedules_data INTO schedule_data.
schedule_obj = schedule_data-schedule.
CALL METHOD schedule_obj->get_data
RECEIVING
re_data = schedule.
ENDLOOP.
⼆、采购订单审批同步外围系统增强
函数:ME_PURCHASE_DOCUMENT_DATA_SAVE
调⽤接⼝同步数据到外围系统
ENHANCEMENT 1 ZME28. "active version
"采购订单审批发送SRM接⼝
CALL FUNCTION'Z_XXX'"IN BACKGROUND TASK DESTINATION 'NONE' EXPORTING
什么牌子的隔离霜好用i_ekko = E_EKKO.
ENDENHANCEMENT.
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论