‎2006 Nov 28 2:23 PM
Hi
I am runing on ECC 6.0 and I am able to store images in R/3.Now i have to write an RFC to pass these images in export parameters. Is it possible.
Regards,
Murali.
‎2006 Nov 28 2:32 PM
‎2006 Nov 28 2:27 PM
Yes it is possible.
there is a RFC FM <b>BDS_BUSINESSDOCUMENT_CREATEF</b>
Call the FM BDS_BUSINESSDOCUMENT_CREATEF to upload the images from System.
LOGICAL_SYSTEM
CLASSNAME PICTURES
CLASSTYPE OT
CLIENT 321
OBJECT_KEY ZIMAGE
and the table parameter Files pass
DOC_COUNT 00000001
COMP_COUNT 00000001
COMP_ID
DIRECTORY C:\
FILENAME WINTER.JPG
MIMETYPE
Regards
Vijay
‎2006 Dec 09 5:05 PM
Hi
Can you please help me out my explaining me what I should give for
Class name = 'BUS2002'
Class type = 'BO'
Client = <client no>
object key = ??
I have no clue of the Tcode and what I should for these parameters.
Regards,
Murali.
‎2006 Dec 10 8:05 AM
BDS_BUSINESSDOCUMENT_CREATEF is for creating attacments to BDS in your case you want to read image which you stored using OAAD . if yes for your portal webdynpro you cannot use the URL generated (mentioned in your previous post).
Raja
‎2006 Dec 10 8:42 AM
Yes Raja, So I cannot use BDS_BUSINESSDOCUMENT_CREATEF or any url. How do i go about. I am just looking for a functionality that will expose the images in the RFC and available for my portal applications.
Kindly help..
Murali.
‎2006 Dec 10 8:44 AM
you cansimply use the following FM to generate a url for the object loaded thru OAAD and use it in your appliation.
WEB_BDS_BUILD_URL_FOR_AL
Regards
Raja
‎2006 Dec 10 10:11 PM
Thanks Raja. Unfortunately I was not able to understand how to use WEB_BDS_BUILD_URL_FOR_AL. Infact I came across another FM related to this. It is HRXSS_COD_GET_DETAILS. Here I just gave pernr number and get his photo stored using OAAD Tcode. It gives me a URI something like :
Now when I paste this on my browser, I get <b>SSF error: Decoding not possible</b>.
I went to SICF > BC > Content server and tried to test it. It does not give me anything. It says The page cannot be found. I rechecked the userId and Password. Could this be a problem for the above error.
Will giving me a URL allow me to access SAP Resource wiothout logon UserId & Pwd. ?
Kindly help me.
Regards,
Murali.
‎2006 Dec 11 4:44 AM
when you call the url generated by the system (http://<servername>:8001/sap/bc/...) you need to log in. but since you are going to call this from portal (and i assume you would have done SSO) you wont be prompted for authentication.
for SSO to work, you have to set up FQDN - fully qualified domain name the url should look like http://<servername>.<domain>.com:8001/sap/bc/.
for this you have to set up profile parameter (RZ10) icom/host_name_full
<i>SICF - The page cannot be found.</i>
this could be due to various reasons - like inactive service node in SICF, etc. to get the correct error message thrown by the server, in your browser go to internet options->advanced- and uncheck the check box show friendly HTTP error message and re run the application.
Regards
Raja
‎2006 Dec 11 5:05 AM
if you are not constrained with storing images thru OAAD. you can store the same in MIME repository (SE80) and easily access them thru url
Raja
‎2006 Dec 13 7:59 AM
Hi Raja,
Yes, I am using FQDN. You had already told me this in previous threads. So nowadays I am very careful with FQDN. When I changed the settings in IE, and test contentserver service, it says 'BAD REQUEST'. I am not able to see the Contentserver screen at all.
As of now I just want to test the images. So I just want a popup to come asking me for R/3 logon and after that it should show me the image. Later when i use this in Webdynpro's I will make it SSO enabled.
I am not only restricted with OAAD Tcode. I can free to upload the image anywhere. But please guide on how to upload the images and also how to use an FM to retreive the same. There are lot of postings on using FM , but since I am new to this area, I am not able to proceed.
Please help me Raja.
Regards,
Murali.
‎2006 Dec 13 10:11 AM
Should I create a "Service" user and add it in ContentServer service ? I even tried attaching a service user. It still gives me the same problem.
Message was edited by:
Muralidaran Shanmugham
‎2010 Feb 01 9:18 PM
Hi Muralidaran,
I'm having the same problem and can't get any help for this. We're getting a "bad request" message when testing the content server. How did you resolve this.
Thanks,
Redding
‎2006 Nov 28 2:30 PM
‎2006 Nov 28 2:32 PM
‎2006 Nov 29 6:20 AM
it depends where you store the image
is it
MIME repository of ICF?
or theu SE78 or
thru SMW0
regards
Raja
‎2006 Nov 29 3:55 PM
Thanks a lot everybody. I am uploading images in my R/3 using Tcode OAAD Tcode.
Murali.
‎2006 Dec 09 4:18 PM
Hi Raja,
I am back again. I just want to export an image from R/3 and show it using a webdynpro on my portal page. I am ready to upload the image in my R/3 using any Tcode.
Regards,
Murali.
‎2006 Dec 09 4:30 PM
Hi,
There is a FM called :
CALL METHOD logo->load_picture_from_url
EXPORTING
url = url
EXCEPTIONS
OTHERS = 1.
URL is SAPR3://457ADA36BC860BD5E10000000A34463D.
Can I use this URL somehow in my portal side to access the Image
Murali.
‎2006 Dec 09 5:01 PM
Hi Raja,
I am able to see you helping lot of people using BDS_BUSINESSDOCUMENT_CREATEF. Kindly let me know from where to get information about. this FM, whih does not have a documentation.
I got to see Tcode like CN22, OAOR. But I have no clue why we are using these Tcode. Why do I need to give Logical system name in my RFC.
Please help me.
Murali.
‎2007 Sep 11 10:28 AM
If you have stored your images as MIME objects, then you can retreive them using FM SKWF_PHIO_LOAD_CONTENT.
This will return the file as binary.
If this sounds like what you want, let me know and I'll give you more details
‎2010 Mar 19 10:16 AM
Hi,
I want to know how to convert binary data from FM SKWF_PHIO_LOAD_CONTENT into file. Please, let me know if any one knows how to do this.
Thanks,
Alok Mehta