Automate

 View Only
  • 1.  [Externe] RE: Automate : Get a result after script running

    Posted 11-08-2023 15:35
    Hi Sigrid,

    Thank you for the trick. However, I am trying to get the  RP50G­-PERNR   after PA40 run with the same technique but and i didn't get anything.

    Am I missing something?

    Thank you, 



  • 2.  RE: [Externe] Automate : Get a result after script running

    Employee
    Posted 11-08-2023 17:35

    Hi Amina

    I'm not sure where this came from - as I don't see history.  If you already have a thread on the topic in the community, next time it's best to find it and stick with one thread. 

    With a personnel action, it will generate the new personnel number after the first infotype you save, you just have to download it.  Like this - I added their name and clicked SAVE and it moved me to the next one - see the personnel number filled in?

    Since it's read only, you have to enable it.

    • Go to expert mode in the mapping tab
    • Then click on the View tab 
    • Check hidden fields

    Then search for PERNR, and see where it has a value

    You can also add it manually to your script and choose download instead of upload.  Just make sure it's after the first save.

    In this script I created back in 2011, I downloaded it at the very end when I exited out of the transaction.  

    Hope that helps.

    Best Regards,

    Sigrid



    ------------------------------
    Sigrid Kok
    Precisely Software Inc.
    ------------------------------



  • 3.  RE: [Externe] Automate : Get a result after script running

    Posted 11-09-2023 15:06
    Thank you so much for your help