on 2025 Feb 27 7:54 AM
Hi everyone,
We are using S4 hana
We are trying to set up external purchasing catalogs via Open Catalog Interface. The plan is to make them available to the end users via the My purchase requisitions- New app. The punch out works as expected. The external catalog creates an html form as described in the OCI documentation.
The form is submited to the HOOK_URL.
SAP then gives a 403 forbidden error. I can only assume that we have missed to get some sort of prerequisit in place. I find some mentions about setting up RFC-connections for this but cant find enough info to understand exactly how to set those up to support this. If that is even the reason for tis error.
Have anyone encountered something similiar and have any suggestions for a solution?
Example from documentation:
<form action="HOOK_URL" method="post" target="_top">
<input type="hidden" name="~caller" value="CTLG" />
<!-- Item 1 -->
<input type="hidden" name="NEW_ITEM-DESCRIPTION[1]" value="Article number 1">
<input type="hidden" name="NEW_ITEM-QUANTITY[1]" value="1">
<input type="hidden" name="NEW_ITEM-UNIT[1]" value="EA">
<input type="hidden" name="NEW_ITEM-PRICE[1]" value="250">
<input type="hidden" name="NEW_ITEM-PRICEUNIT[1]" value="1">
<input type="hidden" name="NEW_ITEM-CURRENCY[1]" value="EUR">
<input type="hidden" name="NEW_ITEM-LEADTIME[1]" value="10">
<input type="hidden" name="NEW_ITEM-VENDORMAT[1]" value="5433334">
<input type="hidden" name="NEW_ITEM-MANUFACTCODE[1]" value="AN1">
<input type="hidden" name="NEW_ITEM-EXT_QUOTE_ID[1]" value="">
<input type="hidden" name="NEW_ITEM-EXT_PRODUCT_ID[1]" value="">
<input type="hidden" name="NEW_ITEM-EXT_SCHEMA_TYPE[1]" value="UNSPSC">
<input type="hidden" name="NEW_ITEM-SERVICE[1]" value="X" />
<input type="hidden" name="NEW_ITEM-EXT_CATEGORY_ID[1]" value="43100100">
<input type="hidden" name="NEW_ITEM-MATGROUP[1]" value="43100103">
<input type="hidden" name="NEW_ITEM-PARENT_ID[1]" value="">
<input type="hidden" name="NEW_ITEM-ITEM_TYPE[1]" value="">
<!-- Item 2 -->
<input type="hidden" name="NEW_ITEM-DESCRIPTION[2]" value="Article Number 2">
<input type="hidden" name="NEW_ITEM-QUANTITY[2]" value="1">
<input type="hidden" name="NEW_ITEM-UNIT[2]" value="EA">
<input type="hidden" name="NEW_ITEM-PRICE[2]" value="250">
<input type="hidden" name="NEW_ITEM-PRICEUNIT[2]" value="1">
<input type="hidden" name="NEW_ITEM-CURRENCY[2]" value="EUR">
<input type="hidden" name="NEW_ITEM-LEADTIME[2]" value="10">
<input type="hidden" name="NEW_ITEM-VENDORMAT[2]" value="5433335">
<input type="hidden" name="NEW_ITEM-MANUFACTCODE[2]" value="AN2">
<input type="hidden" name="NEW_ITEM-EXT_QUOTE_ID[2]" value="">
<input type="hidden" name="NEW_ITEM-EXT_PRODUCT_ID[2]" value="">
<input type="hidden" name="NEW_ITEM-EXT_SCHEMA_TYPE[2]" value="UNSPSC">
<input type="hidden" name="NEW_ITEM-EXT_CATEGORY_ID[2]" value="43100100">
<input type="hidden" name="NEW_ITEM-SERVICE[2]" value="X" />
<input type="hidden" name="NEW_ITEM-MATGROUP[2]" value="43100103">
<input type="hidden" name="NEW_ITEM-PARENT_ID[2]" value="">
<input type="hidden" name="NEW_ITEM-ITEM_TYPE[2]" value="">
<center>
<input type="submit" value="Åter till S4 Hana" id="submit1" name="submit1">
<br>
</center>
</form>
Request clarification before answering.
Hi Vindir,
Try to maintain the value of the HOOK_URL parameter in the call structure with the path of ICF service of OCI catalog.
It should look like this (replace host and port with your data): https://<fiorilaunchpadhost:port>/sap/bc/rest/sap/oci_catalog
If you have access to SAP KBAs, check this one for more details: https://me.sap.com/notes/2375333
Best regards,
Timea
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 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.