Skip to Content

We can not change the document type (MEREQ_TOPLINE-BSART) of PR which created from MRP by ME52N, this is because the following hard 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.

Like above, the system checks if the PR was created manually (R). If not, then system will change the document type back to the original one.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply