Agnostic Guides
Developers Guide
docuflow BAPI Web Services
1min
docuflow provides two end points to access sap bapi's using the get request on the "any" endpoint we can retrieve what data is available to the developer docuflow bapi web services use basic authorization with a default username docuflow , and a default password docuflow ensure ssl cert validation is disabled prior to accessing the web services the following examples can be imported into insomnia rest client via this link https //docuflow\ box com/s/em0ckv2zarcai15cr5az6rewxvfw18p5 https //docuflow\ box com/s/ebxqa3tfrwbiur9fxekncx5uc2g1lb65 for example using a get request, https //localhost 82/bapi/any?bapi=bapi incominginvoice create https //localhost 82/bapi/any?bapi=bapi incominginvoice create would return the following data below https //jsoneditoronline org/#left=cloud b9e0a63872034234850ac9de5709b564 https //jsoneditoronline org/#left=cloud b9e0a63872034234850ac9de5709b564 we can use this response to learn what all the available fields/data are available in that particular bapi to send data to bapi incominginvoice create we would send a post request to https //localhost 82/bapi/any https //localhost 82/bapi/any using the json body included in this link https //jsoneditoronline org/#left=cloud dbd7f72e2ade41eab9301c17081b2a04 https //jsoneditoronline org/#left=cloud dbd7f72e2ade41eab9301c17081b2a04 you should see the following json response here https //jsoneditoronline org/#left=cloud 73c35d070cb546f683dc05e82865cac1 https //jsoneditoronline org/#left=cloud 73c35d070cb546f683dc05e82865cac1 notice in the export parameters the response given from the bapi that was executed another example is given here with bapi po change using post https //jsoneditoronline org/#left=cloud b9a0aeb968344aeb94b1153ca69b1959 and it's corresponding response, https //jsoneditoronline org/#left=cloud d6ef93f919e443d7a8153c1fd6b856ec https //jsoneditoronline org/#left=cloud d6ef93f919e443d7a8153c1fd6b856ec common tables to look at for response from sap are the return table, and the export parameters