Hi Team,
I have a requirement where I need to run an existing job, and wait for it to finish. As per https://github.com/huysentruitw/SapNwRfc, I have added the SapNwRfc package and added the required dlls as the project reference.
I'm able to set-up the connection as .Connect() and .Ping() are returning true, but when I'm trying to run a job in SAP, it is not performing any action.
I'm using the below code to trigger the Job.
<code>ISapFunction something = connection.CreateFunction("BAPI_XBP_JOB_START_ASAP");
something.Invoke(new JobParameters
{
JobName= "JOBNAME",
});
This doesn't throw any error but when I look at the client, no operation is performed as well even after multiple refresh.
Is this the right way to do it? or is there something else we need to add here?