转 Adding Logo to the Work item preview

本文介绍如何在SAP的工作项预览中插入公司Logo,包括上传Logo到系统、创建工作流程定义以及使用特定功能模块显示Logo的具体步骤。

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

Inserting the logo in the Work item preview

from link.
To upload the logo:

1.      Go to transaction SMW0

2.      Select “Binary data for Web RFC applications”.

3.      Execute the transaction (No need to fill any values on the selection screen)

 

4.      Click on “Create”. The following screen appears. Enter the “Obj. Name” and “Descriotion”.
 

5.      Click on “import”. Select your company logo.

6.      Your entry is now available in the table control on the screen.
 

Embedding this logo in the Work item preview 

1.      Create a workflow definition with a simple step “User decision”.

2.      Now in the step “User decision”, go to tab “Work item display”.

3.      Click on “Demo Function Modules”.
 

The function modules shown above need to be used as a template for defining the  logo as per the requirement. Using the function module “SWL0_PREVIEW_DEMO_GIF_ONLY”, we can only display the logo of the company. Using “SWL0_PREVIEW_DEMO_TEXT_AND_GIF”, we can display both logo and our own text below the logo. The FM “SWL0_PREVIEW_DEMO_TEXT_ONLY” is used to display custom text only. For our demo purpose, we would use the FM “SWL0_PREVIEW_DEMO_TEXT_AND_GIF”.

5.      Copy the function module “SWL0_PREVIEW_DEMO_TEXT_AND_GIF” to a ‘Z’ function module.


 

6.      Now change value of “e_info-gif-id” to the object-id created in “SMW0” (Logo id) and “e_info-dialogtext” to the custom text we require.

Save and activate the function module.

7.      Now in the workflow builder and in the tab “Work item display”, mention the name of the ‘Z’ function module created earlier.
 

8.      Execute your workflow definition. In your SAP inbox, you can see the logo and the custom text in the preview pane of the work item.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值