2024 Sep 22 11:33 PM - edited 2024 Sep 22 11:34 PM
I am doing some work to connect to an API using an ABAP HTTP Client. How do I get the data structure to populate and send?
Note: I am working on an ECC system so I might not have access to all solutions proposed.
At this point I have reverse engineered the JSON (building a series of TYPES and putting them together) in a test program until it matches so now I know what the data structure is and how to populate it.
When I worked with web services in the past we could upload the XSD file for the destination when we want to send data, and that XSD file would generate the ABAP data structures which worked really well.
There must be an easier way to do this. I would appreciated comments from people who have done this and can give advice. I am not a big fan of the "have you tried this?" brigade that are in fact only guessing.
Any experienced advisor would be appreciated.
Hi, we need to get API documentation from the API provider. I don't see any other way. Tools like swagger can be used to check the documentation if at all API provider enabled them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.