on 09-16-2016 10:34 AM
Hi Gurus,
Is there any option to display an image dynamically from SAP Web repository in FPM application?
I have seen some article on Carousel UIBB for displaying image in FPM, but it's not clear.
If anybody know the process, please suggest...
Hi Ramya,
it's already one step closer .
Please go to the Carousel Configuration and set width and height settings for the images. Hope then everything will work.
Best regards
Jinchi
P.S. I just see that you wrote that the test application doesn't work. In which system are you, so I can check?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramya,
the image not different, it's just not displayed. The black arrows you see in there a the "Scroll-arrows" and the images should be between them. It means the carousel UIBB is rendered, but just without any images. Since you have already set width and height, it could be that there is some problem with the url. Can you please try another picture url?
Best regards
Jinchi
Hi Jinchi,
The black arrows are getting displayed even there is no image source supplied in the code.
And also I have tried with different picture URL.
If possible ,Can you please try carousel UIBB in your system with any image from MIME repository and let me know the correct URL address to be passed to the image source in GET_DATA method?
Please find the below screen shot.
Thanks in advance.
Regards,
Ramya
Hi Jinchi,
Thanks for sharing your screen.
I am able to display JPG image but not GIF images.
I need to display GIF images from SAP Web repository(SMW0).
Could you please suggest me how to achieve this ?
If possible can you confirm if there is a limitation to display GIF images?If yes is there any work around for this?
Thanks in advance.
Regards,
Ramya
Hi Ramya,
that is a strange problem. We are using the SAP UI5 Carousel control and it should be able to accept gif pictures. To rule out that there is a problem with the MIME path, could you please try this file:
http://www.sap.com/global/images/SAPlogo.gif
Best regards
Jinchi
Hi Ramya,
the image source must be on the same application server as the application with the carousel itself, because the relative path you enter as src is dependant on the application server. If the image from Web Repository is not on the server, then it will not be displayed.
Best regards
Jinchi
Hello Ramya,
pass the value for EV_DATA_CHANGED parameter as abap_true.
Hope it will helps you.
Regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Simon,
After adding ev_data_changed parameter I'm able to see some arrow kind of Icon as showed in the below screen shot however it's not displaying the actual image( Logon.JPG).
For your information -- Even I run standard application FPMGB_TEST_OVP_CAROUSEL_UIBB, and even that is not showing the images on my browser(IE11).
Regards,
Ramya
Hi Ramya,
in Carousel UIBB just implement the Feeder Class with interface IF_FPM_GUIBB_CAROUSEL.
Here you have in method GET_DATA the changing parameter CT_CONTENT, in which you can provide the image sources regarding the MIME Repository.
Regards,
Simon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Simon,
Thanks for your reply.
I have implemented the feeder class with the required details in GET_DATA method.
And also I have created a Carousel UIBB in my configuration. But when I'm trying to configure this Carousel uibb it's not showing any details related to image and there is no option for testing it.
Can you please suggest me how to configure this Carousel uibb?
Regards,
Ramya
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.