Attachments of different types of files Using Webdynpro ABAP

How to attach files through Web Dynpro Application ? Steps : O/P: To get above Output we need to follow below steps: Table Required as Below: Create a web dynpro application as below: 1. Create a web dnpro application with one main view. Go to CONTEXT node of Main View and Assign 2 nodes as below: Cardinality of nodes as follows : Go to Layout Tab To Achieve the below : We need to create UI Elements as below Text View Properties: File Upload properties: Attach Button Properties: Source Code for On Action ( ATTACH ) : method onactionattach . data lo_nd_input type ref to if_wd_context_node . data lo_el_input type ref to if_w...