on 2017 Feb 02 9:13 AM
Hello,
we are implementing SRM UI Add-On with software components:
We succeeded in SRM Product Master Data extraction and product data indexation with TREX.
The Cross-Catalog Search works correctly.
Nevertheless, with catalog extraction in HTTP/HTTPS import, no data are extracted.
Indeed, the call:
in lv_body_string, there is no items detail, so process cannot carry on.
Moreover, we do not have any log after background process with report /SRMNXP/CATALOG_SCHEDULER.
Does anyone have some clues regarding this extraction process?
Regards.
Laurent.
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hello,
i have the final answer...
Regarding catalog data extraction from Ariba in JSON format, parameters to configure requests are available in the integration guide for Ariba Procurement Content:
- "URL" > correct URL is https://s1-eu.ariba. com/Buyer/downloadJson/<ANID> where <ANID> is the Ariba Network ID value for Ariba Procurement Content (this URL will never be the same as the one for Punch-Out catalog access),
- "UserId" and "password" are used to connect to APC for data extraction. Nevertheless, those two mandatory parameters do not exist for Punch-Out integration with Ariba catalog. This means they do not make part of Web Service catalog call structure.
Moreover, in SAP standard program /SRMNXP/CATALOG_EXTRACTION (transaction /SRMNXP/CAT01), user and password parameters are hard-coded (USERNAME and PASSWORD), so, it cannot work if you populate selection fields:
The only workaround is to add parameters "UserId"' and "password" in the Ariba catalog call structure Web Service for Punch-Out.
Be carefull, the HTTP request is case sensitive for its parameters. So, take care of the upper or lower case for each parameters given in the APC integration guide (otherwise, you will get HTTP 401 error) !
For any other Punch-Out catalog, same process will have to be done.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
regarding Ariba catalog extraction, correct URL to use is https://s1-eu.ariba.com/Buyer/downloadJson/
In our case, s1-eu needs to be used as we are on the EU datacenter.
User name selection field does not have to be populated because in HTTP request, parameter expected by Ariba is “UserId” and not "USERNAME". So, I added UserId in catalog call structure.
Now, we are able to reach Ariba server, but we have a new problem being an Ariba internal server error.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ricardo,
thank you for your answer.
Regarding your first point for page size. I tried with 1500 instead of 20. I have the same authentication error sent back by APC.
Concerning SMICM, i already checked if i have error message: there is no problem.
Previously there was SSL error due to missing certificate: this point is solved.
I think the problem is on Ariba side, but i do not know which one.
We are waiting for answer from an Ariba consultant.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Which page size parameter are you using? For Ariba it should be 1500, as note 2380979 mentions.
Also, check the ICM trace for this extraction. Maybe there is a certificate issue when connecting to Ariba.
As these traces are really (really) long, you can follow these steps to obtain it:
- Go to transaction SMICM
- Navigate to "Goto" > "Trace Level" and set trace to level 2
- Navigate to "Goto" > "Trace File" and * the last line shown in trace file
- Reproduce the issue
- Go back to SMICM and check just the traces shown after the line marked previously
This trace should show an SSL error or something similar.
You will find more details about this kind of ICM errors in the SAP Note:
2244483 - Catalog errors in shopping cart after item was transferred
Regards,
Ricardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi again,
i checked in Ariba Procurement Content groups assigned to user i populated for field username: he has 'Catalog Extract'.
It seems not to be sufficient.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
regarding the point lv_body_string has no items detail, this was due to wrong parameters populated for HTTP/HTTPS extraction.
First, URL does not have to be the one coming from web Service call structure. Indeed, according to "Ariba Procurement Content Integration Guide", paragraph 'Extracting Catalog Data in JSON Format', correct URL is:
https://s1.ariba. com/Buyer/downloadJson/<ANID> where <ANID> is the Ariba Network ID value for Ariba Procurement Content.
Regarding user name and password, i tried with one "functionnal" user (having authorizations to connect to APC).
Now, data in lv_body_string iserror HTTP Status 401: This request requires HTTP authentication.
I think i do not have the correct user and password.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
other question: the multi-backend is not managed for HTTP/HTTPS catalog data extraction.
It is OK for Product Master as all material extracted come from table COMMPR01.
But for Punch-Out catalog, only one category GUID can be extracted.
Does anybody know if it is SAP limitation process or a bug?
Thank you.
Regards.
Laurent.
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.