It started out with an easy requirement. Doesn’t it always? Using our “new to us” tool – ABAP Web Dynpro – pull in documents from our DMS system. This would be my second Web Dynpro application. Disclaimer: This is just a small piece of what we need to do.
The starting requirement:
Display an image and a PDF for a functional Location.
Here is a functional location from SAP.
Here’s an example of the different document types attached to it:
So we had clear requirements… ( sort of clear really )
Zenna Tinsay and I were working together on this project. We had just taken a Web Dynpro class. At least the course work was a good starting place.
We did try to find a good Web Dynpro consultant. However, we needed to get this started quickly.
We looked at SCN for about a week, and tried a lot of different things. We couldn’t figure out how to get our document from the DMS server to the ECC server to the internet. We could pull up a document in MIME. We could pull up an image via MIME. However, we couldn’t seem to get the information from the DMS server.
- Looking at the WDR_TEST* programs in SE80 in our system.
- Reading forums, blogs, anything on the net
Here are a handful of the links that we used. We used this and many more. These are the links that I remember.
- File download from DMS into Webdynpro for ABAP application from DMS to Webdypro for ABAP
- Displaying a logo or image in Webdynpro application without using MIME
- Get photo from archive link and link into WDA Image UI
None of them gave us the complete solution.
After banging our heads against the wall, Zenna came up with a solution. The solution we came up with is documented in the Code Gallery. I welcome anyone who knows Web Dynpro or DMS or any combination to take a look and modify the page. Remember this is the second Web Dynpro I’ve ever done.
Here’s an example of the final result. The tree is on the left. It is a recursive tree on functional location. The right side has a PDF file displayed. And on the bottom is the image. We have more to do. But this is a start!
I recently read a blog about blogs, articles, WIKIs. It was interesting. So – I know you are thinking to yourself – Blog versus Article? You put it in the code gallery.
- To call out some of the information we used from the forum.
- To validate that – yes – SCN is a good place to get information.
- Not everyone sees newly added pages. A blog highlights the page, and makes it easier to search.
- Thanks to a GREAT comment – to detail the functional side of the problem.