I got this error:
{
name: 'RfcLibError',
group: 5,
code: 20,
codeString: 'RFC_INVALID_PARAMETER',
key: 'RFC_INVALID_PARAMETER',
message: 'Parameter ASHOST, GWHOST, MSHOST or PORT is missing.'
}
I was trying get SAP data using rfc-node in NestJS project. I am adding sapnwrfc.ini
file also with parameters of RFC_TRACE,DEST,USER,PASSWD,ASHOST,SYSNR,CLIENT,LANG. Eventhough I added all these parameters I got the above error. But this same I used in the fastify code, it works correctly. Please help me to fix this.