Hi,
didnt find any related topic. If there is please redirect the post.
For a process i used the UiPath.SAP.BAPI.Activities v2.2.5 and the SAP Application Scope and Invoke SAP BAPI activities.
Goal is to use these BAPIs:
- BAPI_QUALNOT_MODIFY_DATA
- BAPI_QUALNOT_SAVE
- BAPI_TRANSACTION_COMMIT
- RFC_READ_TABLE
Now if you enter the correct data everything works fine. Next step is to publish it as a library where you pass the arguments.
After custom publication and dragging in the activity this error pops up (this message basically repeats a few times for the other BAPIs):
The private implementation of activity ‘1.2.: SAP_Q-not_Partner_single_SAPApplicationScope’ has the following validation error: The activitiy ‘RFC_READ_TABLE’ cannot reference activitiy ‘VisualBasicReference’ because activity ‘VisualBasicReference’ is already referenced elsewhere in the workflow and that reference is not visible to activity ‘RFC_Read_Table’. In order for activity ‘VisualBasicReference’ to be visible to activity ‘RFC_Read_Table’, it would have to be a child or imported child (but not an implementation child) of activity ‘SAP_Q-not_Partner_single_SAPApplicationScope’.
This message also pops up when you create a test library with just BAPI_QUALNOT_MODIFY_DATA and BAPI_QUALNOT_SAVE.
It worked fine before publishing and had no validation error or similar.
Any ideas for solution are more than welcome.
Thanks,
Quan Nguyen