Skip to Content
Author's profile photo Kevin Song

无法改动由MRP产生的采购申请的凭证类型

我们无法在ME52N里改动由MRP产生的采购申请的凭证类型(document type). 原因是在如下codings:

Main Program     SAPLMEREQ

Source code of   LMEREQF56

       IF l_context->header_new->trtyp NE hin AND

          l_context->header_new->header-estkz NE ‘R’.         <<<<<<<<<<<<<<<<<<<

         l_context->header_new->header-bsart =

             l_context->header_before_checks->header-bsart.

       ENDIF.

系统检查是否采购申请是手动创建的. 如果不是, 系统将把凭证类型改回到原来的值.

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.