cancel
Showing results for 
Search instead for 
Did you mean: 

How to use input parameter or values defined in environment parameters in SAP Process Automation

NickSYYang
Active Participant
0 Kudos

Hi SAP RPA experts,

I wonder is there a way to use values from input parameters or environment parameters in "Recognition Criteria"? From its editor dialog, I can't see there is a way to achieve this. Any suggestions?

Thanks.

Regards,

Nick

View Entire Topic
Gunter
Product and Topic Expert
Product and Topic Expert
0 Kudos

Good day nick.yang1

I don't think this is possible. But why not add the dynamics into your automation itself?

NickSYYang
Active Participant
0 Kudos

Hi Gunter,

Thanks for your suggestion. The target system that I am working on is a S/4HANA cloud system.

When you open the system, it will re-direct you to its logon page if not authenticated yet (SAML authentication).

This is the approach mentioned in page 497 in below SAP online help.

https://help.sap.com/doc/464781c43f264b8fb956c6e1594cd723/Cloud/en-US/29e8302075ea4c75a5952d44625ce5...

And this tutorial step 2 to 4.

https://developers.sap.com/tutorials/irpa-customize-s4hana-recorder-automation.html

The alternative approach that I can think of is to add all the URLs from two systems (dev and prod) to "Recognition Criteria". Not very nice but should work.

Regards,

Nick

Gunter
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Nick,

I see. I suppose you did a good analysis already. When working with S/4HANA Cloud: For what you want to do is there an API? Because if it is, this will be likely the most stable setup you can achieve. E.g. check this blog https://blogs.sap.com/2022/07/20/supplier-invoice-posting-with-sap-process-automation/

One more idea: Would it be an approach to look for a screen element rather than the URL? Like "if this text/button/field with that ID or name shows up, then continue." See example below:

Maybe I still didn't get it why the URL is the only way to identify.