Thanks for the detailed informations shared. Very clear! I've only struggled a bit with the certificate but after some attempts I've successfully called the API!
With pleasure! 😀 RAP and Cloud? maybe at a later time. Currently I try to make short videos that involve a specific task or problem. I am also just BEFORE a S4/HANA conversion 🤔🙄😄
Hi, excelent explaination, i'm trying to do the same example in my SAP, I copied exctly as you did. When I ran the Report I get an error "HTTP_COMMUNICATION_FAILURE", do you have any idea, I would really appreciate it if you can help me. Thank you in advance.
Sure 🤗 On Codeline 31 set the method to post like: o_client->request->set_method( if_http_request=>co_request_method_post ). Set the data (json?) in a string variable like lv_data. Then call the "set_form_field" Method like: o_client->request->set_form_field( name = 'data' value = lv_data ). If you need more form fields set them with the method above. 🤗 If I have time I make a video about that. 😀
Yes , it is very challenging, jst thought if u can guide me. I have the online SharePoint URL , I have passed it as u have done, but the confusion is how do I call the folder and sub folder created inside the URL library? Any idea would help
@@ParvezKhan-dl1tb In one of my former videos I showed how to create a type to consume a JSON from an API. Is that what you were looking for? 🤗 ua-cam.com/video/Ej-M5yLbzZs/v-deo.html
pls tell me how to find x-rapid in postman apllication, we are getting short dump like | Exception condition "HTTP_COMMUNICATION_FAILURE" triggered |, please resolve this
I have a requirement: Whenever OBD is getting PGI ed then one output type will trigger which is of transmission medium 8- special function then my report should call in which I need to consume external API and send status of PGI via API How can I code here??
Diese Anforderung hatte ich selbst noch nie, wäre eine gute Idee für ein Video 😉 Vielleicht hilft dir in der Zwischenzeit dieser Post hier weiter: answers.sap.com/questions/7174658/abap-send-file-with-http-post-multipartform-data.html 🤗
@@CustAndCode vielen Dank. Ich bin seit einer Woche am Rumwühlen im Netz, bis jetzt keine Gebrauchbare Hilfe gefunden. Auf diesen Link war ich schon, aber ist keine richtige Hilfe. Deine Videos sind sehr gut und sehr strukturiert. Danke
@@mmb1821 vielen Dank für das positive Feedback! 😀🤗. Deine Anforderung ist auch sehr speziell. Ich verwende meist JSON als Payload. Eine Datei ist doch etwas ungewöhnlich. 🤔
I already do! But I do not run a website because I unfortunately do not have the necessary time. The self-writing also helps in understanding the logic and the code. 🤗
Thanks for the detailed informations shared. Very clear! I've only struggled a bit with the certificate but after some attempts I've successfully called the API!
You are very welcome, and thank you for watching and commenting! Glad that it worked with the certificate! 🤗😀
Very easy to undersand explaination !! Thank you !
Thank you for your kind feedback! 🤗😃
With pleasure! 😀 RAP and Cloud? maybe at a later time. Currently I try to make short videos that involve a specific task or problem. I am also just BEFORE a S4/HANA conversion 🤔🙄😄
Great Explaination - Thanks for this Tutorial!
Will you also start making SAP Videos for RAP and Cloud-Ready based programming?
this is clear and clean coding 🤩
I'm glad you liked it. And thank you for watching! 🤗
@@CustAndCode
how would you configure SM59 in that case ?
Many thanks, very nice. It is concise and to the point.
Thank you! Great to hear that! 😃🤗
Thanks for the clean and minimalistic guide.
Thank you for your kind feedback! 😀
Hi, excelent explaination, i'm trying to do the same example in my SAP, I copied exctly as you did. When I ran the Report I get an error "HTTP_COMMUNICATION_FAILURE", do you have any idea, I would really appreciate it if you can help me. Thank you in advance.
Sounds like a certificate error.
Have a look at this video: ua-cam.com/video/SXFXWKlIpdE/v-deo.html
@@CustAndCode Thank you very much
Thank you. You were right, was the certificate. I put the certificate in SAP (Strust) and the report ran perfectly
@@jorgeayala8268 congrats! 🤗
I had the same error, did you solve the issue?
Thanks
You are very welcome! 🤗😃
thank you very much
You are welcome 🤗 thank you for your feedback! 😀
Very Good . Thank you!
Thanks for your kind feedback! 😃🤗
Hi, thx for the great video! Do you maybe also know where i can find an example with a POST request with (with body)?
Sure 🤗
On Codeline 31 set the method to post like:
o_client->request->set_method( if_http_request=>co_request_method_post ).
Set the data (json?) in a string variable like lv_data.
Then call the "set_form_field" Method like:
o_client->request->set_form_field( name = 'data' value = lv_data ).
If you need more form fields set them with the method above. 🤗
If I have time I make a video about that. 😀
Hello. Could you please share how to get the response headers? Thank!
Hi,
DATA(lv_result1) = o_client->response->get_header_field( name = 'content-type' ).
🤗
@@CustAndCode Thank you! :)
Any Idea about Microsoft SharePoint API , Need an Integration of DMS in SAP and Microsoft SharePoint
Sorry I have no experience with SharePoint the API. But your task sounds challenging. 🤔
Yes , it is very challenging, jst thought if u can guide me. I have the online SharePoint URL , I have passed it as u have done, but the confusion is how do I call the folder and sub folder created inside the URL library? Any idea would help
I am not sure if sharepoint provide here APIs to do that. 🤔
Brilliant video ..Thanks a lot
Thank you very much for your feedback! 🤗😀
Nice job!
Thank you! 🤗😀
Pls provide some solution for developer ease in POST scenario where request payload is complex deep structures
Did you mean how to send send a complex JSON Payload to a API or how to receive a complex JSON from a API? 🤔
@@CustAndCode yes its hectic to create TYPES for request payload based complex structure
@@ParvezKhan-dl1tb In one of my former videos I showed how to create a type to consume a JSON from an API. Is that what you were looking for? 🤗
ua-cam.com/video/Ej-M5yLbzZs/v-deo.html
pls tell me how to find x-rapid in postman apllication, we are getting short dump like | Exception condition "HTTP_COMMUNICATION_FAILURE" triggered |, please resolve this
Postman is just another client. Be sure that post man can reach the endpoint of your service. Could be a certificate problem? 🤔
I have a requirement:
Whenever OBD is getting PGI ed then one output type will trigger which is of transmission medium 8- special function then my report should call in which I need to consume external API and send status of PGI via API
How can I code here??
Unfortunately, I do not fully understand the problem. But I also think that I can not help here. 🤔
@@CustAndCode ok… can you show me one example of consuming api with PUT operation
@@manasvicollections642 I have never used a PUT call. I have always gotten along with GET and POST. 🤗
Do you know how to send data out of the SAP system using REST API(SICF)?
You mean to create an API in SAP and call it from outside to receive data from SAP? 🤔
@@CustAndCode yes, I've only just received data, I want to learn more about sending data.
@@doan_luc207 Ahhh ok that is a good topic! I will have a look about this. 🤗
I hope you will soon release a video on this topic so I can learn@@CustAndCode
I have release a video now and I will extended the video with more features in the future 🤗
What about url without key ?
The key ist just an API key. If you don't have or need one you dont't have to pass one. Just call the API URL with your parameters. 🤗
why am i getting syntax error with same code??
I suspect that you are not using the exact same syntax... Maybe there is a Typo in your Code. What is the error message? 🤗
Hello, when I try the example found here, I get an SSL certificate error. how can i fix this error
Have a look at this video: ua-cam.com/video/SXFXWKlIpdE/v-deo.html
🤗
@@CustAndCode thank you😊
Hallo,
Kannst du vielleicht posten, wie ein Post Request an einer REST API mit einer CSV-Datei geht.
Vielen Dank.
Diese Anforderung hatte ich selbst noch nie, wäre eine gute Idee für ein Video 😉 Vielleicht hilft dir in der Zwischenzeit dieser Post hier weiter:
answers.sap.com/questions/7174658/abap-send-file-with-http-post-multipartform-data.html
🤗
Vielen Dank, ich wäre sehr dankbar, wenn du mich informierst, sobald es verfügbar ist.
@@CustAndCode vielen Dank.
Ich bin seit einer Woche am Rumwühlen im Netz, bis jetzt keine Gebrauchbare Hilfe gefunden.
Auf diesen Link war ich schon, aber ist keine richtige Hilfe.
Deine Videos sind sehr gut und sehr strukturiert. Danke
@@mmb1821 vielen Dank für das positive Feedback! 😀🤗. Deine Anforderung ist auch sehr speziell. Ich verwende meist JSON als Payload. Eine Datei ist doch etwas ungewöhnlich. 🤔
@@mmb1821 Besser wäre es natürlich du abonnierst meinen Kanal und aktivierst die Benahcrichtigung 😜
pls share code
I already do! But I do not run a website because I unfortunately do not have the necessary time. The self-writing also helps in understanding the logic and the code. 🤗