Skip to Content

用LSMW的事物记录(BDC Recording)来处理Sales Order多个条目

各位前辈,

我现在要用LSMW来从一个文件批量生成Sale Order, 但是Order的子项目不一定,可能一个,也可能多个,用BDC的方式来做,怎么对不确定的子项目进行处理呢?

谢谢.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 08, 2012 at 10:01 AM

    LSMW 能做前台可以做的,前台能做成的LSMW不一定能做成,如果你确定用BDC,那么你只能把你所有的数据分开,分成数个文件,只有1个Item的放一起,有两个Item的放一起...之后,你做数个BDC工具,所以,用BDC只能做到这个地步了。

    不知道这个方法是不是SAP通用的,你可以check 一下你的系统里面,是否有这个IDoc,用WE81,check,SALESORDER_CREATEFROMDAT2

    看看这个消息类型是否存在。

    如果存在可以试试IDoc,LSMW的第四种方法:

    消息类型:SALESORDER_CREATEFROMDAT2

    基本类型:SALESORDER_CREATEFROMDAT202

    Note: 用IDoc有风险,最后一步一定不要执行,它那个上面sap 默认没有时间限制,会把系统中所有IDoc 都处理了。

    Ths,

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.