Automate

 View Only
  • 1.  Recording ME22N Opens as Display Purchase Order

    Posted 04-06-2022 09:19
    I am trying to record a script using ME22N ("Change Purchase Order") transaction.  When Winshuttle opens the transaction, it opens "Display Purchase Order."  I am able to run ME22N in SAP.

    I cannot figure out how to get the proper transaction to open so I can complete recording a script.

    Any help or suggestions would be most welcome!

    ------------------------------
    Tad Somes | Global Logistics Category Manager
    Westinghouse Electric Company LLC | 4123742481
    ------------------------------


  • 2.  RE: Recording ME22N Opens as Display Purchase Order

    Employee
    Posted 04-06-2022 09:42
    Hi Theodore,

    That tcode can open in display mode.

    You can click on the edit/display button on top

    But please put an IF first transaction around it, so that on the 2nd PO, it doesn't toggle back to display mode.

    BTW, there was another post about updating PO's using BAPIs.  In that thread I posted a BAPI example, which can make it simpler - no worry about display/edit, finding the right line  in the PO, etc.  https://community.winshuttle.com/communities/community-home/digestviewer/viewthread?GroupId=103&MessageKey=417348db-01e8-43e6-a5db-b23094a56c42&CommunityKey=38e230c6-6617-4960-a664-beb6b492e9b2&ReturnUrl=%2fcommunities%2fcommunity-home%2fdigestviewer%3fcommunitykey%3d38e230c6-6617-4960-a664-beb6b492e9b2

    Best Regards,
    Sigrid

    Best Regards,
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------



  • 3.  RE: Recording ME22N Opens as Display Purchase Order

    Posted 04-07-2022 04:15

    Hey There :)

    I struggled a lot with ME22N because of its behaviour in SAP.  For me using Transaction ME22 works way better. You just need to figure out, where your data / fields are located because thats a little bit different than the in ME22N.

    Hope that helps :)

    Best regards,
    Iris



    ------------------------------
    Iris Müller | Specialist Data Management
    Thomas Sabo | 09123-9715328
    ------------------------------



  • 4.  RE: Recording ME22N Opens as Display Purchase Order

    Posted 04-07-2022 09:10
    I just got done building ME23N and I use the display/Change option in the pull down under purchase Order. This way if you are in ME22N it could be posable that the change mode is turned on.  Hope this helps.

    ------------------------------
    Benjamin Kielas | SAP Data
    Generac Power Systems, Inc. | (262) 510-6580
    ------------------------------



  • 5.  RE: Recording ME22N Opens as Display Purchase Order

    Employee
    Posted 04-07-2022 20:13
    Hi again Tad

    Since you're new to being a developer, please check out the online training:  https://community.winshuttle.com/browse/training  You can create a support ticket to get a login.  For example, you can go through Transaction and Direct.  You can also reach out to your account rep for training or services help, which will have a cost.


    There's an example ME22N template on the community site - resources - templates - https://community.winshuttle.com/sap-module-templates/viewdocument/change-purchase-order-header-notes?CommunityKey=8a12989f-fefe-4b81-8147-4bbb11af6820&tab=librarydocuments

    For IF statements, please go to the Expert Mode tab, there you can add an IF statement and select the row range, as well as use the dropdown to choose First Transaction

    I agree with several of the others - ME22 is easier if you have access, and BAPIs for ME21/2 are a good option.

    Best Regards,
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------