on 10-23-2021 6:23 PM
Is there any way to execute the transaction code (e.g. /nVA03) with the script (BAT/CMD, VBS, PowerShell, SAP.NET) thru the task scheduler job and get success/failure results?
I have a PowerShell script that is created based on examples/suggestions I get on this forum. It's working fine but now when I tried to execute it from the task scheduler script not working. If I understand the issue is that SAP GUI cannot work in the background, is there any other approach/workaround?
Hi Thorsten Höfer,
thanks for the suggestion, but I don't have experience with SAP ABAP. This is why my question was more focused on the scripting side supported/existing let's say out of a box (without using the SAP ABAP). As I mentioned before we have a PowerShell script that works fine from the user desktop but we don't get an output when I started it from the task scheduler. Anyway, thanks for sharing the ideas.
Regards,
Vladimir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi prusacv,
a transaction can be called in ABAP with call transaction. Create a RFC Function in ABAP.
You can call this function via the .Net Connector.
If you want to schedul a job, this can also be done via ABAP. Please check Transaction SM36.
Kind Regards
Thorsten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.