cancel
Showing results for 
Search instead for 
Did you mean: 

Hook_Url - Can anyone send an example?

catharina_axelsson
Discoverer
0 Kudos

Hi,

We have an issue with a supplier that is not able to get the catalog items returned to us successfully.

Does anyone have an example of how the complete message with all parameters using OCI 4.0 should look like including the items in the shopping basket?

Many thanks in advance, 

Catharina

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Catharina,

In response to your posting: http://scn.sap.com/thread/3723709, where suppliers are not able to return items to your SC successfully.

Below is an example using the POST method for one item only.

The actual HOOK_URL is the following (showing the way back to the SRM SC):

(This string is initially sent by the SAP SRM system when it first connects to the punchout catalog.)

You can also capture the hook_url by pointing the URL in the Web-Service setup to a phpinfo.php file and review the REQUEST_URI entry (create a file with the following and add to your webserver. )

<?php phpinfo(); ?>

or there are already live examples that could be used (from google search):

http://leserged.online.fr/phpinfo.php

http://austin.ispgate.biz/phpinfo.php

https://www5.vetmed.auburn.edu/~lacywil/phpinfo.php

Your supplier is most welcome to test their catalog using our system to verify connections to a SRM system.

Best regards,

simon@rinktee.com

==============================

<FORM METHOD="POST"

ACTION="http://tfgsap33.kiplink.com:8005/sap(cz1TSUQlM2FBTk9OJTNhcGRjc2FwMjNfRUQxXzAyJTNhRFNSd294V1B1ZmVUcGg..."

target="_top">

<input type="hidden" name="~caller" value="CTLG">

<input type="hidden" name="NEW_ITEM-DESCRIPTION[1]"

value="BNCM(12)-BNCM(12),735A-12 COAX,60FT">

<input type="hidden" name="NEW_ITEM-MATGROUP[1]" value="26121609">

<input type="hidden" name="NEW_ITEM-QUANTITY[1]" value="5">

<input type="hidden" name="NEW_ITEM-UNIT[1]" value="EA">

<input type="hidden" name="NEW_ITEM-PRICE[1]" value="174.83">

<input type="hidden" name="NEW_ITEM-PRICEUNIT[1]" value="1">

<input type="hidden" name="NEW_ITEM-CURRENCY[1]" value="USD">

<input type="hidden" name="NEW_ITEM-LEADTIME[1]" value="5">

<input type="hidden" name="NEW_ITEM-VENDORMAT[1]" value="12BD-60">

<input type="hidden" name="NEW_ITEM-LONGTEXT_1:132[]"

value="BNCM(12)-BNCM(12),735A-12 COAX,60FT">

<INPUT TYPE=SUBMIT VALUE="Transfer Cart To Buyer">

</form>

==============================

Former Member
0 Kudos

Hello

Please check this thread.

  1. scn.sap.com/thread/1785438.

10 User Name : T_CORP     Fixed Value

20 Password :telecom     Fixed Value

30 Server:<host>      Fixed Value

40 Catalog:Pan Telecom Supplies     Fixed Value

50 uilanguage :EN     SAP field

60Datalanguage: EN     Fixed Value

70 returntarget : _parent     Fixed Value

80 HOOK_URL : Blank        Return URL

Regards

G.Ganesh Kumar

Answers (2)

Answers (2)

laurent_burtaire
Active Contributor
0 Kudos

Hello,

have a look at this document:

OCI - Open Cataog Interface (4.0)

Regards.

Laurent.

bharathi_ponnusamy
Active Participant
0 Kudos

Hi Catharina,

Please capture an HTTP Trace for this scenario using the HTTP Watch tool. The HTTP Watch is a tool used to monitor HTTP information in your browser. You can obtain a free version of it on http://www.httpwatch.com/

With that, I am sure you will be able to get some clue on where it is going wrong. Please do let me know if you still need any further info.

Best Regards,

Bharathi