Skip to Content

SAP OCI für Custom Fiori Apps

Communication with a web page via the user's SAPGUI takes place for SAP ERP via the SAP OCI (Open Catalog Interface). The parameters for the web page to be called are maintained in a so-called call hierarchy (such as user, password, the URL of the page). Part of this is a worthless parameter HOOK_URL. This parameter can then be used on the website as the return address (Action URL for POST). The SAPGUI then dynamically enters the URL of the SAP ERP with a reference to the user's SAP process.

<form name="hookForm" action="SAPEVENT:POST" method="post">
<input type="hidden" name="HOOK_URL" value = "SAPEVENT:POST">

With this procedure a (complex) search help for the selection of the product group has been realized. The external web page that is used to select the product group should now also be used in the context of a Fiori app. So the web page can be called up from the Fiori app in a separate window. The website should then transfer the selected product group back to the SAP system (communication via JavaScript to the calling window fails due to cross-site scripting). How can the action URL for the external website be determined so that it sends the value selected by the user to the SAP system and the value there for the correct user process (i.e. the user who called up the external website via the Fiori app) can be assigned.

clip-image001.jpg (20.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on May 11 at 08:34 AM

    Hello Franck,

    please check if this below blog could answer to your request:

    Custom FIORI App – ODATA for Create PR using external catalog Ariba (Punch Out Catalog)

    Regards.

    Laurent.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.