How To Upload An Image into BSP

本文详细介绍了在BSP应用中使用MIME对象上传图片的方法,包括创建页面、导入本地图片、设置图片名称和描述等步骤,并展示了如何在布局中显示上传的图片。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 

I meet same question , so , I found a answer by Google. Here, I reposted  the article only for reference:

 

Original URL: http://wiki.sdn.sap.com/wiki/display/BSP/How%20To%20Upload%20An%20Image%20into%20BSP

 

Sample code to upload an image in BSP using MIME object:

Go to transaction se 80-->Create a BSP  applicationà Declare a page 
We can upload image into program by two methods:

Import: You need to save image in local file and then follow the procedure as follows:

Create:  In create option you can create your own file and you need to import the file .

To import the image into program follow the following procedure.

Step1: Create an object, right click on object create->mimeobject->import

.
 

Step2: Select the image from PC.

 
 

Step3:  Give the name and description of image


 

Step4: We can check the image was uploaded into program or not from Mime object on the left side of page:

Step5: In layout write the code to display image as follows:

 

You can view the image in output.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值