请教BAPI高手,生产订单确认,谢谢!
在用BAPI确认订单时,订单确认已经成功,但不能修改货物移动中的数量和插入批次号,请高手帮忙解决下,谢谢!CLEAR:t_timetickets,t_timeticket...
在用BAPI确认订单时,订单确认已经成功,但不能修改货物移动中的数量和插入批次号,请高手帮忙解决下,谢谢!CLEAR:t_timetickets,t_timetickets[].t_timetickets-conf_no = '534'.t_timetickets-orderid = '10000132'.t_timetickets-postg_date = sy-datum.t_timetickets-yield = '1'.t_timetickets-conf_activity1 = '1'.APPEND t_timetickets.CLEAR t_goodsmovements.t_goodsmovements-material = '1010000015'.t_goodsmovements-plant = '2100'.t_goodsmovements-stge_loc = '2107'.t_goodsmovements-batch = '2007032801'.t_goodsmovements-entry_qnt = '2.000'.t_goodsmovements-entry_uom = 'T'.t_goodsmovements-orderid = '10000132'.t_goodsmovements-ORDER_ITNO = '10'.APPEND t_goodsmovements.CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'EXPORTINGpost_wrong_entries = '1'testrun = ' 'IMPORTINGRETURN = t_return1TABLEStimetickets = t_timeticketsgoodsmovements = t_goodsmovementslink_conf_goodsmov = t_link_conf_goodsmovdetail_return = t_return .COMMIT WORK AND WAIT.
展开
2个回答
2013-11-13
展开全部
In the link table you have to pass something like this: (if you want to do the goodsmovemnt with the first confirmation)clear i_link.i_link-index_confirm = '1'. " Index of the confirmation with the goodsmovementi_link-index_goodsmov = '1'.append i_link.clear i_link.i_link-index_confirm = '1'.i_link-index_goodsmov = '2'.append i_link.Another problem that can ocurrs is that you have to specify more fields in the goodsmovent table as the field val_type.
巧豚豚
2024-12-25 广告
2024-12-25 广告
WOOT提报要求简述如下:提报产品需确保品质优良、性价比高,符合WOOT平台定位及消费者需求。产品描述需详尽准确,包括功能、材质、尺寸等关键信息。图片要求清晰美观,多角度展示产品细节。同时,需提交有竞争力的价格策略及库存保障计划。请特别注意...
点击进入详情页
本回答由巧豚豚提供
2013-11-13
展开全部
这个问题解决了吗?我在SDN上看说好像要用link_conf_goodsmov 这张表来关联LZ解决这个问题了吗?是否有相关的code可以参考?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询