Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Display the Logo in our workitem.

Former Member
0 Kudos
78

HI,

Could you please tell how to display the logo in Workitem.

Thank,

Bhanu Gattu.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
41

To upload the logo:

1. Go to transaction SMW0

2. Select u201CBinary data for Web RFC applicationsu201D.

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

Click on u201CCreateu201D. The following screen appears. Enter the u201CObj. Nameu201D and u201CDescriotionu201D.

5. Click on u201Cimportu201D. 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 u201CUser decisionu201D.

2. Now in the step u201CUser decisionu201D, go to tab u201CWork item displayu201D.

3. Click on u201CDemo Function Modulesu201D.

The function modules shown above need to be used as a template for defining the logo as per the requirement. Using the function module u201CSWL0_PREVIEW_DEMO_GIF_ONLYu201D, we can only display the logo of the company. Using u201CSWL0_PREVIEW_DEMO_TEXT_AND_GIFu201D, we can display both logo and our own text below the logo. The FM u201CSWL0_PREVIEW_DEMO_TEXT_ONLYu201D is used to display custom text only. For our demo purpose, we would use the FM u201CS5. Copy the function module u201CSWL0_PREVIEW_DEMO_TEXT_AND_GIFu201D to a u2018Zu2019 function module.

6. Now change value of u201Ce_info-gif-idu201D to the object-id created in u201CSMW0u201D (Logo id) and u201Ce_info-dialogtextu201D to the custom text we require.

Save and activate the function module.

7. Now in the workflow builder and in the tab u201CWork item displayu201D, mention the name of the u2018Zu2019 function module created earlier.

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.

Thanks..

Saj

1 REPLY 1

Former Member
0 Kudos
42

To upload the logo:

1. Go to transaction SMW0

2. Select u201CBinary data for Web RFC applicationsu201D.

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

Click on u201CCreateu201D. The following screen appears. Enter the u201CObj. Nameu201D and u201CDescriotionu201D.

5. Click on u201Cimportu201D. 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 u201CUser decisionu201D.

2. Now in the step u201CUser decisionu201D, go to tab u201CWork item displayu201D.

3. Click on u201CDemo Function Modulesu201D.

The function modules shown above need to be used as a template for defining the logo as per the requirement. Using the function module u201CSWL0_PREVIEW_DEMO_GIF_ONLYu201D, we can only display the logo of the company. Using u201CSWL0_PREVIEW_DEMO_TEXT_AND_GIFu201D, we can display both logo and our own text below the logo. The FM u201CSWL0_PREVIEW_DEMO_TEXT_ONLYu201D is used to display custom text only. For our demo purpose, we would use the FM u201CS5. Copy the function module u201CSWL0_PREVIEW_DEMO_TEXT_AND_GIFu201D to a u2018Zu2019 function module.

6. Now change value of u201Ce_info-gif-idu201D to the object-id created in u201CSMW0u201D (Logo id) and u201Ce_info-dialogtextu201D to the custom text we require.

Save and activate the function module.

7. Now in the workflow builder and in the tab u201CWork item displayu201D, mention the name of the u2018Zu2019 function module created earlier.

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.

Thanks..

Saj