I'm using Azure Logic Apps call SAP template, I use call BAPI method to send message to SAP. But, I got error feedback every time, it tells me that The provided request payload storage blob URI 'cn01' is not valid. cn01 is what I get from SAP GUI. I don't know if it is the right formate of BAPI parameters. If someone knows the right formate, please help me. Thank you.
Asked
Active
Viewed 582 times
0

Sandra Rossi
- 11,934
- 5
- 22
- 48

zhang zhihao
- 15
- 3
-
Shouldn't it be XML? Something like `
CN01 `? (be careful, it's case sensitive) – Sandra Rossi Sep 09 '20 at 11:52 -
What would the input XML in case of a table parameter? – Jorge Dec 04 '20 at 11:10
1 Answers
0
Here is a pure deduction based on this Microsoft documentation, after logging into a SAP S/4HANA system and running the transaction code SWO1
I could check that "Company" corresponds to the Business Object BUS0002
, that BAPI_COMPANYCODE_GETDETAIL
corresponds to the method GETDETAIL
, and the parameter name in the function module is named COMPANYCODEID
, I'd say that the screen field "Input BAPI Parameters" should contain:
<GETDETAIL xmlns="http://Microsoft.LobServices.Sap/2007/03/Bapi/BUS0002">
<COMPANYCODEID>CN01</COMPANYCODEID>
</GETDETAIL>
But seeing that all those information are already in the screen fields "Business object" and "Method", maybe only this XML is relevant:
<COMPANYCODEID>CN01</COMPANYCODEID>

Sandra Rossi
- 11,934
- 5
- 22
- 48