Upload and Download Files in Webdynpro ABAP

...Previous

Repeat same process for ‘File Type’ and ‘File contents’.

Node ‘File_upload ‘

Cardinality 1.1

Attributes

Type

FILENAME

STRING

FILETYPE

STRING

FILECONTENTS

XSTRING

Create node ‘FILE_DOWNLOAD’.

Node ‘File_Download‘

Cardinality 0.1

Attributes

Type

FILENAME

STRING

FILETYPE

STRING

FILECONTENTS

XSTRING

After creating 2 nodes Context looks like below.

Create Layout

Go to ‘Layout’ Tab to create layout.

Create a UI element Group with name ‘File Upload’.

Create group ‘Upload’

Create a UI element File upload with name ‘Upload’.

Create UI element button with name ‘But_upload’.

Create binding for UI element UPLOAD. Double click on ‘upload’.

Click on binding for ‘data, file name, mime type’ and bind like above.

Create event for Button ‘BUT_UPLOAD’. Click on Create  

Give action name ‘upload’ and ‘Description’.

Click here to continue...
 

Please send us your feedback/suggestions at webmaster@SAPTechnical.COM 

HomeContribute About Us Privacy Terms Of Use • Disclaimer • SafeCompanies: Advertise on SAPTechnical.COM | Post JobContact Us  

Graphic Design by Round the Bend Wizards

footer image footer image