在LC项目中,根据客户需求,需要封装CO11N,做一个Dialog程序,只对最后一道工序报工,感觉很简单,用BDC方式做了一版,运行期间,问题百出,后来找到函数BAPI_PRODORDCONF_CREATE_TT,解决了问题,代码如下,分享一下,资源共享。 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26...
报工确认CLEAR: return, return[].CLEAR: return_detail, return_detail[].CALLFUNCTION'BAPI_PRODORDCONF_CREATE_TT'EXPORTINGpost_wrong_entries='1'testrun=''"标识为 X,则为试运行 不提交至系统IMPORTINGreturn
CO11N(按工序报工)对应的BAPI是: BAPI_PRODORDCONF_CREATE_TT CO15(按订单报工)对应的BAPI是: BAPI_PRODORDCONF_CREATE_HDR 函数中关于“确认类型”、“结清未清预留”的字段分别是FIN_CONF、CLEAR_RES,按项目实际情况判断进行赋值调用即可。
When I use BAPI BAPI_PRODORDCONF_CREATE_TT to do a partial confirmation, I am getting an error "Orders of the order type XYZ cannot be confirmed". But from COR6N I am able to confirm the same order without an error. Please help. ThanksReply...
BAPI_PRODORDCONF_CREATE_TT - It will be used to confirm order First you have to use BAPI_PRODORDCONF_GET_TT_PROP to get activity values and then pass the values in BAPI_PRODORDCONF_CREATE_TT to confirm the order. Note: If you want to do partial confirmation then in BAPI (BAPI_PRODORDCONF...
I have a requirement to create 101, 261 and 531 all in single material document. Is it possible through BAPI_PRODORDCONF_CREATE_TT? Please let me know at the earliest. Regards Reply daniel_almeida88 Explorer In response to Former Member 2015 Jan 29 7:23 PM 0 Kudos 666 SAP ...
此功能会在 SAP ME 中报废某个 SFC 编号时(使用报废处置功能或在 〖SFC 报废/删除〗作业中使用 BAPI_REPMANCONF1_CREATE_MTS 和 BAPI_PRODORDCONF_CREATE_TT)将〖计划〗或〖生产〗车间订单报废与组件信息一起发送到 SAP ERP。 SAP ME 会在使用 BAPI_GOODSMVT_CREATE 报废某个父物料时将已装配组件的列表发送...
MB21创建预留单:BAPI_RESERVATION_CREATE1 MB22更改预留单:BAPI_RESERVATION_CHANGE MB24删除预留单:BAPI_RESERVATION_DELETE MIR7采购发票预制:BAPI_INCOMINGINVOICE_PARK PP模块: CO11生成报工:BAPI_PRODORDCONF_CREATE_TT CO01创建生产订单:BAPI_PRODORD_CREATE ...
BAPI是business application programming interface的缩写,是面向对象程序设计方法中的一组程序接口。它允许程序员通过SAP将第三方软件整合成R/3专有产品。为了完成一些特殊的商业任务,如上传交易数据等,R/3系统中内置了BAPI。
5、 BAPI_GOODSMVT_CREATE 创建物料凭证 注意表T158G可以决定goodsmvt_code GOODSMVT_CODE参数对应值: 01 MB01 02 MB31 03 MB1A 04 MB1B 05 MB1C 06 MB11 07 MB04 6、 BAPI_GOODSMVT_CANCEL 冲销物料凭证 7、 BAPI_PR_CREATE 创建PR 8、 BAPI_PO_CREATE1 创建PO ...