Closed Kalyan7829 closed 1 year ago
You need to look at this part of the documentation: https://github.com/huysentruitw/SapNwRfc#define-models-with-a-nested-table
In your function, the SPOOL_LIST is a table
Your import parameters look okay. For export, assuming your SAPReturnBAPI class is defined correctly, that also looks okay.
For the SPOOL_LIST, I would do something like this (a similar question was answered here: https://github.com/huysentruitw/SapNwRfc/issues/58)
public class SapJobDatSpoolExportParameters
{
[SapName("SPOOL_LIST")]
public SapSpoolListItem[] SpoolList { get; set; ) }
}
public class SapSpoolListItem
{
[SapName("")]
public string Value { get; set; }
}
@tom-j-irvine ,
Firstly Thankyou for the quick response.
The Solution you provided is working as per the requirement.
Hello Team,
I have a requirement where i need to read the spool logs after executing the SAP job using RFC.
However I am getting the exception as below
C# code -
Export Parameters
Import Paramaters
Really not sure what datatype to be used to get the logs for the export parameter - SPOOL_LIST.
can you pls help me with this?
Thanks in Advance!