on 2024 Aug 29 2:51 PM
Hej guys,
I read (felt) every tutorial about that but it seems that I am too dumb to get the final clue, so if someone knows the answer on a level "for dummies" I'd really appreciate...!!
How can I use the approuter or other mechanism to test a CAP App - which should consume a DESTINATION LOCALLY within Business Appplication Studio (BAS) - , WITHOUT deploying the whole thing to BTP PRIOR TO TESTING???
Do I need to programmatically get the JSON Web Token (JWT) then HOW!!??!
thanks for any answer...
nearly desperated---- ;-( -----
Request clarification before answering.
Please refer to documentation on how to go about it.
Gist is in package.json you will find a snippet similar to the following if you have service named API_BUSINESS_PARTNER using destination S4HANA:
"API_BUSINESS_PARTNER": {
"kind": "odata",
"model": "srv/external/API_BUSINESS_PARTNER"
"credentials": {
"destination": "S4HANA",
"path": "/sap/opu/odata/sap/API_BUSINESS_PARTNER"
}
}
change it to
"API_BUSINESS_PARTNER": {
"kind": "odata",
"model": "srv/external/API_BUSINESS_PARTNER",
"[production]": {
"credentials": {
"destination": "S4HANA",
"path": "/sap/opu/odata/sap/API_BUSINESS_PARTNER"
}
},
"[development]": {
"credentials": {
"url": "http://S4HANA.dest/",
"path": "/sap/opu/odata/sap/API_BUSINESS_PARTNER"
}
},
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 14 | |
| 8 | |
| 6 | |
| 6 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.