Skip to Content
0

How to attach local file ( pdf , jpg ) to a custom screen in Module Pool Programming ?

Feb 25, 2017 at 06:19 PM

131

avatar image

I am fairly new as an ABAPer so kindly advice me in case I am doing something wrong. The requirement is to record the history of a Vehicle (Fleet management). The details of it's past and present Driver and its current status wether its available or inactive etc etc.
Inorder to accomodate some new fields I have created a ztable where the values are going to get stored. The user wants to attach 1 PDF & 4 JPG files from the local system against each record (i.e. swap from driver to driver) for which a field Transaction Key (Value Range is assigned) has been maintained. He wants to see those attachments against each record for future reference. Apprecaite if you can explain step by step.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sandra Rossi Feb 25, 2017 at 10:29 PM
2

The classic way of doing it is to make a business object type (either a class which implements BI_PERSISTENT, or a Business Object type in transaction SWO1), then use class CL_GOS_MANAGER to display a little button at the left of the screen title (in the title bar), which allows attaching files manually to the currently maintained business object. There are lots of stuff in SCN or WWW, so you should first read them and revert back with more precise questions.

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you !. I will try this

0