We are working on SAP integration with Appian through RFC. We are using bind() f

We are working on SAP integration with Appian through RFC. We are using bind() function where we are getting null output. Can someone please help us through the approach of using bind() using the following SAP write function.
= a!sapInvokeWriter(
scsExternalSystemKey: "sapintegrationuser",
usePerUserCredentials: false,
hostname: cons!hostName,
clientnumber: "100",
systemNumber: "00",
bapi: "ZBAPI_OEPRATING_ACCOUNT",
importParameters: {
ACCOUNTDEFNITION: "Holder",
ACCOUNTID: 100,
ACCOUNTNAME: "Appian",
ACCOUNTTYPEID: "A",
ACTIVE: "Y",
ICACCOUNT: 2001,
LINKEDACCOUNT: "Yes",
LINKEDACCOUNTOPID: 1001,
RQST_ID: 500,
TEMPID: 110,
TYPEACCOUNTID: "A"
},
tableParameters: ""
)

...

OriginalPostID-116825

OriginalPostID-116825

  Discussion posts and replies are publicly visible

Parents
  • Can you copy in your full bind expression (or provide a link to a gist/pastebin/etc.)? Writers do not return a value, so my hunch is that the get parameter for your bind function is returning null and you are expecting it to return something else. You could use a!sapInvoke as your get parameter and call a BAPI that would request the account you are updating so that you can capture the result of the update. Can you confirm that the account you are trying to update has been updated in SAP?
Reply
  • Can you copy in your full bind expression (or provide a link to a gist/pastebin/etc.)? Writers do not return a value, so my hunch is that the get parameter for your bind function is returning null and you are expecting it to return something else. You could use a!sapInvoke as your get parameter and call a BAPI that would request the account you are updating so that you can capture the result of the update. Can you confirm that the account you are trying to update has been updated in SAP?
Children
No Data