Automate

 View Only
  • 1.  Need help with using OK Codes for ME51N, service req with multiple lines

    Posted 12-08-2021 10:49
    I am trying to create a script for service reqs with multiple lines.  I cannot find any ok codes to help specify the next line.  If you know of any can you please share.  And if you have an example script that would be great.

    ------------------------------
    Darrell Dorsey | SAP PM Specialist
    Ascend Performance Materials Holdings Inc. | 7133056303
    ------------------------------


  • 2.  RE: Need help with using OK Codes for ME51N, service req with multiple lines

    Posted 12-08-2021 14:20
    Hi Darrell -

    Please refer to the ME51N template that's available on the community. 

    https://community.winshuttle.com/sap-module-templates/viewdocument/create-purchase-request?CommunityKey=8a12989f-fefe-4b81-8147-4bbb11af6820&tab=librarydocuments

    There is no "next line" button, so to ensure that you do not overwrite any previous line items, you need to use the filter and filter on a line item that does not exist (e.g. 99999 in the template). You also cannot use the filter unless you have at least one existing line item, so the first line item also needs to be outside of the loop. 

    Here's also a related Support article: 
    https://support.winshuttle.com/hc/en-us/articles/360023445592-ME51N-Fields-Not-Showing-Up-In-Mapper

    Thanks!

    ------------------------------
    Jennifer Hwang | Senior Solutions Engineer
    Winshuttle North America
    ------------------------------