External API Call with POST Method and File Upload - with ABAP [english]

  Рет қаралды 6,963

Cust&Code in SAP ABAP

Cust&Code in SAP ABAP

Күн бұрын

Пікірлер: 48
@naveenkumarbaskaran9578
@naveenkumarbaskaran9578 8 ай бұрын
This video helped me solve the problem I was facing! Thank you!
@CustAndCode
@CustAndCode 8 ай бұрын
Awesome to hear. And thank you for watching! 🤗
@ashutoshkanaujia1827
@ashutoshkanaujia1827 Жыл бұрын
This is a great video and very detailed explanation.. Thanks a lot
@CustAndCode
@CustAndCode Жыл бұрын
Thank you very much for your feedback and thanks for watching 🤗😀
@ceyhunsimsek5686
@ceyhunsimsek5686 Жыл бұрын
You are an absolute life saver
@CustAndCode
@CustAndCode Жыл бұрын
hehe, nice to hear that! Thanks for your comment 🤗
@davialves6021
@davialves6021 Жыл бұрын
Hi, I know the video is not about that but would you know how I can disable fields in the tcode BP (business partner)? I'm trying for BUPT but I'm not succeeding.
@CustAndCode
@CustAndCode Жыл бұрын
Unfortunately, I can't tell you anything about this yet, because we haven't changed over yet ourselves. That will still take a few months. 🤗
@davialves6021
@davialves6021 Жыл бұрын
@@CustAndCode I managed to do my enhancement, but I thank you all the same. I'm starting now as an ABAP developer and your videos help a lot.
@CustAndCode
@CustAndCode Жыл бұрын
@@davialves6021 Thank you for your feedback! 🤗 ABAP is nice, you will see 🤗😀
@jona156
@jona156 Жыл бұрын
Hi! please, could you explain in a video how to configure ADS to show Adobe Forms ? thanks!!
@CustAndCode
@CustAndCode Жыл бұрын
Unfortunately, I have very rarely used ADS myself. 🙄
@ekekakos
@ekekakos Жыл бұрын
Hello and thanks. I need desperately to understand how I respond to an external rest api by sending a csv file in multipart as it would be huge. So my response must return a multipart file besides some other information data. I will be much obliged if you can help me. Thanks Elias
@CustAndCode
@CustAndCode Жыл бұрын
Unfortunately, I don't have any special experience with that either. 🙄
@Parida902
@Parida902 5 ай бұрын
Hi Can I get some sample program In which we can post the pdf file and meta data in JSOn format in one request in rest spi using multipart form object in sap abap
@CustAndCode
@CustAndCode 5 ай бұрын
Maybe you can find an API on rapidapi.com or additional sites where you can test your call.
@Soralovers9565
@Soralovers9565 6 ай бұрын
How about doing vice versa? File is coming from external server and downloading it to SAP? I have a requirement wherein the file is uploaded in POSTMAN and it will be stored in SAP Application Server. Hope you can help on this. Thanks!
@CustAndCode
@CustAndCode 6 ай бұрын
Yes, I made a few videos about that, this is the first one, a simple GET request. kzbin.info/www/bejne/aF6WY4WrbM2hnqc There are some other too like POST Call or transfere File and so on. hth 🤗
@Soralovers9565
@Soralovers9565 6 ай бұрын
@@CustAndCode a pdf file is uploaded in POSTMAN. I need to convert the json string of the PDF file into BASE64 so I can upload the file in AL11
@CustAndCode
@CustAndCode 5 ай бұрын
check the class cl_http_utility 🤗
@FunHappyAngryBirds
@FunHappyAngryBirds 5 ай бұрын
Your code works, but I'm getting SSL handshake error. Did you have to upload a certificate using SAP tcode STRUST ? This is the error I got: SSL handshake failed: SSSLERR_PEER_CERT_UNTRUSTED (-102). Peer's X.509 Certificate (chain) is untrusted
@CustAndCode
@CustAndCode 5 ай бұрын
Exactly! You have to upload a certificate using T-Code STRUST. Have a look at this video here: kzbin.info/www/bejne/iYmpiYqBoa6jmqc
@nitin11meena
@nitin11meena 11 ай бұрын
I need similar kind of requirement where output type document needs to be posted to content server.
@CustAndCode
@CustAndCode 11 ай бұрын
This should work or? 🤔
@nitin11meena
@nitin11meena 11 ай бұрын
@@CustAndCode I didnot try yet due to environment setup,will find first the plug in point where I can write rest API code. If you have any idea then let me know.
@CustAndCode
@CustAndCode 11 ай бұрын
@@nitin11meena Unfortunately, I've never had a requirement like this before. 🤔
@coolashmak1
@coolashmak1 Жыл бұрын
Can I use the same program for POST request body for JSON?
@CustAndCode
@CustAndCode Жыл бұрын
Yes you can! 🤗
@ardydk9944
@ardydk9944 Жыл бұрын
@@CustAndCode sir can you explain what line of code that i must change if i want to use json post method (only send json format ). sorry im just learn API and still confused step by step to use this api to post json data thanks
@CustAndCode
@CustAndCode Жыл бұрын
@@ardydk9944 Which API do you use? Is this a public API? Can I try it? Or is it private? 🤔
@ardydk9944
@ardydk9944 Жыл бұрын
@@CustAndCode its private API sir, i just receive the url of the API with localhost****, no uname & pass, its possible to send API with this url?
@CustAndCode
@CustAndCode Жыл бұрын
@@ardydk9944 Ok, I will check if i find an public API where I can post a JSON snippet. Then I can provide a sample code. 🤔
@coolashmak1
@coolashmak1 Жыл бұрын
Awesome....the POST method for API REST is great...but you could have used JSON format itself.
@CustAndCode
@CustAndCode Жыл бұрын
Thank you! Yes, thats right, ou can use JSON as payload as well. 🤗😀
@FunHappyAngryBirds
@FunHappyAngryBirds 5 ай бұрын
Can you share the code ?
@CustAndCode
@CustAndCode 5 ай бұрын
I already did 😉 Unfortunately I do not provide a blog 🙄
@FunHappyAngryBirds
@FunHappyAngryBirds 5 ай бұрын
@@CustAndCode You don't use github ?
@CustAndCode
@CustAndCode 5 ай бұрын
@@FunHappyAngryBirds Just for backup 🤗
@FunHappyAngryBirds
@FunHappyAngryBirds 5 ай бұрын
@@CustAndCodeI've implemented your program, but I'm getting certificate error. Did you have to load any certificate in SAP using tcode STRUST ? This is the error I got: SSL handshake with qr-code-and-barcode-scanner.p.rapidapi.com:443 failed: SSSLERR_PEER_CERT_UNTRUSTED (-102) Peer's X.509 Certificate (chain) is untrusted
@FunHappyAngryBirds
@FunHappyAngryBirds 5 ай бұрын
@@CustAndCode Your code works, but I'm getting SSL handshake error. Did you have to upload a certificate using SAP tcode STRUST ? This is the error I got: SSL handshake with qr-code-and-barcode-scanner.p.rapidapi:443 failed: SSSLERR_PEER_CERT_UNTRUSTED (-102) Peer's X.509 Certificate (chain) is untrusted
REDUCE Operator - Using in ABAP [7.50] [english]
10:58
Cust&Code in SAP ABAP
Рет қаралды 1,3 М.
Call External API in SAP ABAP - API Key - REST API [english]
15:51
Cust&Code in SAP ABAP
Рет қаралды 24 М.
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 143 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 40 МЛН
这是自救的好办法 #路飞#海贼王
00:43
路飞与唐舞桐
Рет қаралды 104 МЛН
У вас там какие таланты ?😂
00:19
Карина Хафизова
Рет қаралды 19 МЛН
API Call with ABAP - POST Method and JSON Request [english]
12:15
Cust&Code in SAP ABAP
Рет қаралды 9 М.
Copilot for ABAP  Eclipse : Is that Really a Thing .......
29:08
Versatile Technomaniac
Рет қаралды 61
SAP: ABAP, Calling the External API, 2 Ways to Deserialize JSON
17:17
Display Data in SAP - Quickly and Easily with CL_SALV_TABLE [english]
19:54
Cust&Code in SAP ABAP
Рет қаралды 6 М.
REST API in SAP - Create POST Method with JSON Payload [english]
12:38
Cust&Code in SAP ABAP
Рет қаралды 3 М.
Create ODATA Project Segw Basic Full Course
1:11:31
Sap for Beginners
Рет қаралды 23 М.
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 143 МЛН