Automate

 View Only
  • 1.  changing multiple 'BP Role for Screen Usage' in a single script

    Posted 11-15-2021 16:04
    Hello everyone,

    I'm trying to record a script in the BP tcode and need to make changes in a single vendor but in both the Vendor and FI Vendor BP role.  I can get to the first one just fine and make the changes needed but when I try to switch BP roles SAP will insist that the changes be saved.  If I select to save, winshuttle will closed the recording thinking it is done.  If I select don't save, winshuttle will continue the recording and let me make the changes to the second role but won't save the changes to the first.  

    Ideally the changes would be made in a single transaction but I don't know if this is possible. 

    Any insight to get around this issue?

    ------------------------------
    Scott Fouss
    Shared Services Analyst | Leprino Foods
    ------------------------------


  • 2.  RE: changing multiple 'BP Role for Screen Usage' in a single script

    Posted 11-16-2021 03:31
    Hello Scott, I am not an expert and have not used the BP tcode however from what you have provided I would suggest using a "chain Script". This means recording both changes you want to do in separate scripts and then link the second one to first one i.e. in  a chain. When you run the update both scripts will be called and changes will be made. There are instructions on how to do this on the Winshuttle site.

    ------------------------------
    Martin Axon | Master Data Specialist
    Thermo Fisher Scientific (UK) | 07986735812
    ------------------------------



  • 3.  RE: changing multiple 'BP Role for Screen Usage' in a single script

    Employee
    Posted 11-16-2021 09:59
    Hi Scott, 

    I agree with Martin.  BP is a Beast, and "chunking" it up into separate scripts is the best way to go, and then chain them.  Even the BAPIs I have seen are for specific sections.  
    There are a few examples out there as templates to update general, company and sales (for customer) to give you some ideas, in case you need them:   https://community.winshuttle.com/sap-module-templates/home?s=bp&cs=null&l=1&expanded-categories=undefined

    Best Regards,
    Sigrid

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



  • 4.  RE: changing multiple 'BP Role for Screen Usage' in a single script

    Posted 11-17-2021 12:58
    Thank you for the feedback.  How would you suggest grabbing the newly created BP number from the first script to feed into the second especially when moving the scripts into evolve and hopefully using the autorun in swim lane option?

    ------------------------------
    Scott Fouss
    Shared Services Analyst | Leprino Foods
    ------------------------------