cancel
Showing results for 
Search instead for 
Did you mean: 

Consumming a API REST/POST with XML file

0 Kudos

Hi,

I have a requirement where I need to consume an API (REST/POST – format XML). I received the format of xml file to send to the API. This API will return an xml file too.

My SAP_BASIS version is 702, so I not have the REST library. The URL is not fix, it change according to SAP mandant (I think, I can’ use the SM59 config).

What classes or methods I should use?. (I'm working with SAP CRM)

thanks a lot.

Accepted Solutions (0)

Answers (1)

Answers (1)

Sandra_Rossi
Active Contributor
0 Kudos

CL_HTTP* classes (not CRM related). It's been already answered in the forum.

felix_rubinshtein4
Discoverer
0 Kudos

If it was answered, please provide link!

Sandra_Rossi
Active Contributor
felix.rubinshtein4 Unfortunately, it seems that many people who ask either don't search before posting, or they don't know anything about the topic and ask for a direction. From my answer, the user should be able to search in the ABAP system for classes CL_HTTP*, he'd find for instance the class CL_HTTP_CLIENT, and he'd then find SAP Library official documentation, and so on.If the OP hadn't find anything, he would have posted a comment to explain what he searched/found or not so that people can help him again. So, I guess this answer was sufficient for the OP.I understand that many people don't know how to search efficiently and I'm sorry for them. That would be a good idea that SAP provide a forum to help people learn to search better.