cancel
Showing results for 
Search instead for 
Did you mean: 

BDS images in custom logon HTML

Former Member
0 Kudos

Hi, In ECC6.0 I have some images in our BDS(se78) which I would like to use in a custom HTML that I've created for a custom ITS logon screen. I have seen some of the responses to similiar questions but I cannot believe that it is this complicated. All I want to do is to use the HTML tag <img src= ?????> where the question marks contain the path to the BDS document in question. There are 2 functions which seem to make sense namely 'SAPSCRIPT_CONVERT_BITMAP' followed by 'DP_CREATE_URL' which give me a URL. However this returned URL, in this case "SAPR3://45695AF5466C48D4E10000009C2CA0FB", seems to be quite useless when used in an

<img src="SAPR3://45695AF5466C48D4E10000009C2CA0FB"> tag context. I'm also quite surprised that there isn't a utility within the class builder to link to the BDS documents. Does anyone have any ideas?

Thanks in advance,

Kevin

Accepted Solutions (0)

Answers (1)

Answers (1)

athavanraja
Active Contributor
0 Kudos

you can use FM <b>WEB_BDS_BUILD_URL_FOR_AL</b> for building a weburl for BDS images.

Regards

Raja

Former Member
0 Kudos

Thanks Raja, I've tried the function but I'm unsure as to what it is expecting as import parameters. I was expecting to send data such as 'GRAPHIC', 'BCOL', 'BMAP', 'PICTURE_NAME'. What is it expecting?

Thanks,

Kevin

athavanraja
Active Contributor
0 Kudos

hi Kevin,

Ignore my previous post. kindly use the following url pattern to get the BDS image.

http://<wasserver>.<domain>.com.<port>/sap/bc/smart_forms/gr/GRAPHICS/BMAP/BMON/<name [as in table fieldSSFXSFBMP-NAME]?sap-client=023

Regards

Raja

Former Member
0 Kudos

Hi Raja, thanks for the link, however in my case it doesn't really help as it forces the user to logon to the WAS to view the image. In addition I would have to dynamically build the wasserver link part as it would be running in different environments. The simplest thing to do so far seems to be copying the image to a network drive and referring to it from there. This seems to be stable and quick as long as there is security over the folder containing the image in the network drive.

Kevin

athavanraja
Active Contributor
0 Kudos

you can simply load the image to the MIMEs folder of the logon application. i guess it should work.

Regards

Raja

athavanraja
Active Contributor
0 Kudos

about forced login for image check this OSS note , 653099 - this is for BW but it should apply to your case aswell.

anyhow i wont suggest using a image from BDS (as only limited types of images can be stored there) for the logon screen.

Regards

Raja