Forum Discussion
JC_Hackkett
New Contributor II
I was also validating this topic. No, it is not necessary
Download the dll from the OneStream marketplace according to the SIC manual, once you copy it into the local SIC configuration xml, automatically add the license.
Validate with the Basic or ABAP people that your login request is being received and the request, whether it is to read a table or request an RFC.
I had to take the error that calls you back
This is an example of how to take the error message that comes to you directly from SAP, use some standard RFC and give access to your SAP connection user.
Dim r3Conn As New R3Connection(host, systemnumber, username, password, language, client)
r3Conn.Protocol = ClientProtocol.NWRFC
r3Conn.Open()
If r3Conn.IsOpen Then
Dim r3Func As RFCFunction = r3Conn.CreateFunction("BAPI_GL_ACC_GETBALANCE")
r3Func.Exports("COMPANYCODE").ParamValue = "XXXX"
r3Func.Exports("GLACCT").ParamValue = "XXXXXXXXX"
r3Func.Exports("FISCALYEAR").ParamValue = "XXXX"
r3Func.Exports("CURRENCYTYPE").ParamValue = "XX"
r3Func.Execute()
Dim balanceDetail As RFCStructure = r3Func.Imports("ACCOUNT_BALANCE").ToStructure()
Dim returnStruct As RfcStructure = r3Func.Imports("RETURN").ToStructure()
'This message is from SAP
Dim message As String = returnStruct("MESSAGE").ToString()
End If
ashimoga
6 months agoNew Contributor
Thank you JC_Hackkett , Let me try this.
Related Content
- 5 months ago
- 3 years ago
- 3 years ago