Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

to attach document in table control.

shadab_maldar
Active Participant
0 Likes
366

Hi,

My client's requirement is to attach document in each records of a table control.

Please help .

Thanks,

Shadab

1 REPLY 1
Read only

Arun_Prabhu_K
Active Contributor
0 Likes
328

Hi Shadab,

     Add either a button / hyper link to a column of the table control.

     In your PAI, you can call function CALL_BROWSER with the URL of the document.

     For instance,

     CALL FUNCTION 'CALL_BROWSER'

         EXPORTING

           URL                                = 'URL of your document'

           WINDOW_NAME            = ' '

           NEW_WINDOW             = ' '

         EXCEPTIONS

           FRONTEND_NOT_SUPPORTED = 1

           FRONTEND_ERROR                  = 2

           PROG_NOT_FOUND                  = 3

           NO_BATCH                               = 4

           UNSPECIFIED_ERROR              = 5

           OTHERS                                    = 6.

Regards.