cancel
Showing results for 
Search instead for 
Did you mean: 

Get value of a URL attachment in an Order

Former Member
0 Kudos

Hi Gurus,

I have a saved order with a URL attachment (i.e. scn.sap.com  ). How can I get the actual value "scn.sap.com" given my Order ID without having to resort to BOL programming?

Here's what I've tried so far:

  1. I've tried the methods in CL_CRM_DOCUMENTS=>GET_INFO by providing the GUID of my order and retrieve the PHIO LOIO details of the attachment
  2. I called method CL_CRM_DOCUMENTS=>GET_DOCUMENT to get the ASCII or BINARY value of the URL attachment, but it was empty
  3. tried various function modules (like CRM_KW_DOC_GET_DOCUMENT) but the return parameters for either ASCII or BINARY are always empty
  4. Tried 1-3 above using ordinary text file attachments and I was able to retrieve it's contents. Am i misunderstanding anything with how the content mngmt works for documents and URLs?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Found it, the actual creation of the URL happens in SDOK_PHIO_GET_URL_FOR_GET where you can feed the PHIO object ID in

Answers (0)