cancel
Showing results for 
Search instead for 
Did you mean: 

How to have SRM append https attachment from a supplier web site

Former Member
0 Kudos

Hi,

we run SRM 4.0 and roundtrip/punchout to a supplier web site.

in the shopping cart OCI inbound, the supplier wants to send the url of a file with very sensitive information

(ie NEW_ITEM-ATTACHMENT = https://supplier.com/syus.pdf)

SRM cannot append the attachment (it is a pdf attachment)

after looking at BBP_ATTACH_CONTENT_WEBGET

(…)

  • Read attachment

IF lv_url(6) CS text-htp.

  • Eliminate blanks etc. in URL

CALL FUNCTION 'BBP_URL_ESCAPE_CRITICAL_CHARS'

EXPORTING

iv_url_string = lv_url

IMPORTING

ev_url_string = lv_url.

(…)

ELSE.

IF lv_webget_error = c_on.

MESSAGE e050(bbp_out) WITH is_attach-url(50) INTO gv_dummy.

ELSE.

MESSAGE w050(bbp_out) WITH is_attach-url(50) INTO gv_dummy.

ENDIF.

PERFORM pd_error_messages TABLES et_messages.

ENDIF.

(…)

text-htp was equal to http and it works with http urls

I have tried to change it to https:, but still does not work

any idea on where else to search ?

many thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Look in transaction SM21 and ST11 for errors relating to https (in ST11 - look just after you tried to return from the supplier catalog, the information you are after will be in the top entries). Probably you will find something along the line of: "no certificate found for https://supplier.com".

If the above is the case you will have to download the supplier certificate and have to enter it in your SRM system using STRUST after that you will have to restart your ICM using SMICM.

Regards,

Robin

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks Robin,

I will check for this message and keep you in the loop

Former Member
0 Kudos

It works, many thanks !