How to create GUI Custom Container in WebDynpro Component
Could any one kindly let me know how to create GUI custom container in WebDynpro. When I am trying in WD Componet sy-subrc is failing but the same thing if I try in SE38 sy-subrc is success.
Now I can explain clearly what & where this requirement comes in my application is I need to upload the images from local PC to WDA and trying to get the data from Upload UI element in XSTRING format and after reading this data am applying in CALL FUNCTION 'DP_CREATE_URL' to get the URL.
Here I am trying to display the image in two ways:
Method1: Set the attribute of Image UI element dynamically with newly created URL value, its displaying a small icon on image but not showing actual image.
Method2: Create custom container, picture, by using classes CL_GUI_CUSTOM_CONTAINER, CL_GUI_PICTURE and call method LOAD_PICTURE_FROM_URL to connect to newly created URL. But create GUI custom container is not working in WebDynpro, the same method is working fine in SE38.
Can anybody suggest me the right way, if my approach is not correct here.