Image processing in ABAP Web Dynpro using custom table

By M Singh

This tutorial covers following points

1. Upload an image through webdynpro application.

2. Saving image into a custom table.

3. Retrieving image from custom table and show it into table control   

Create table “ZTABLE_IMAGE” with following details

Field

Data Element

Data Type

MANDT

MANDT

CLNT

ID

INT2

INT2

IMAGE

 

RAWSTRING

For entering data type for image field click on button “Predefined Type”

Create a web dynpro component “ZWD_IMAGE_PROCESS”

Activate wd component and open the view “V_MAIN”

Open “Context”  tab and create node “Image”

Create attributes “name” and “data” of type “string” and “xstring” respectively.

Also create “link” attribute of type string.

Also create another node “IMG_TABLE” with cardinality 0:n

Create attributes “ID” and “URL” of type “int2” and “string” respectively.

Now click on “Layout” tab and Make layout like as shown below

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