Home > SAP Tips > SAP best practices > Web-enabled workitems
SAP Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SAP BEST PRACTICES

Web-enabled workitems


Sergey Breslavets
02.11.2003
Rating: -2.25- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


You can have workflow generate workitems that can be executed both in the Web environment as a custom web application, and in a regular R/3 environment as an ABAP application.
This tip is intended for release 4.6C.



Code

Prerequisites:
1. You have developed custom IAC that you want to use as the web front-end for the task.
2. You already have developed a workflow dialog task that you want to "Web-enable"

Procedure:
1. In the WF Builder, create a new Web transaction for the task (Menu: Goto->Web transaction -> Generate)
At this point SAP will generate Web-forms IAC and tcode for it, and assign tcode to the task.
You may delete the generated ABAP module pool since you won't need it anymore.

2. Extend your custom application with additional screen which will be used as an entry point for the web transaction. The screen should have the following fields:
- WI_ID (PID='WID', Char12) - will contain workitem id.
- CALLINGSERVICE (PID = 'CSV', Char20) - name of the calling service/tcode

Develop PAI module which would grab WI_ID from screen, go to the workitem container and retrieve necessary data for the application.

3. Assign the transaction name, created on the step 1, to your application (use the new screen created in step 2 as the initial screen). Make it the easy-web transaction.

4. Create ITS service with EXACTLY the same name as the web transaction created in step 2 & 3, and assign it to this transaction. Copy or create all necessary HTML templates and resources in the ITS service. Publish it.

5. You're done. When you will start your workitem from the Web - it'll run your custom easy-web transaction. And when executed from R/3, the workitem will run the object method.


Rate this Tip
To rate tips, you must be a member of SearchSAP.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Web enablement
Top 10 SAP tips of 2007
How to integrate BW query iViews with a WebDynpro application
Content management solution for NetWeaver 04 Enterprise Portal
BSP vs Java
Access Tables Via RFC
Cascading Style Sheets
Function module for Web RFC
Enabling HTTPS in the Web Application Server
Workflow for generating an IAC
Component parts of Internet applications

ABAP/Java developer tips
Fixing a common OPEN_FORM and START_FORM error in SAPscript
Select Text fields: Case-insensitive
Finding BADIs you can use
Is this the quickest way to find a BADI?
ABAP Objects in SAP Workflow to provide improved performance
Easily debug error messages in SAP processes
Accessing private attributes in ABAP Objects
Find a BADI in a minute
Top 10 SAP tips of 2007
How to transport an SAP query in R/3 4.6x

SAP best practices
Increase column width in a transaction screen
Select Text fields: Case-insensitive
Finding BADIs you can use
Updating an RT table entry in SAP HR Payroll -- without the ADDWTE option
Is this the quickest way to find a BADI?
Adding custom fields for retail product comparisons in SAP BW
ABAP Objects in SAP Workflow to provide improved performance
Top 10 SAP tips of 2007
Retrieve BI data with Web Services
Eliminate database read/write times with ABAP shared memory

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsBlogsTipsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2000 - 2008, TechTarget | Read our Privacy Policy
SearchSAP.com is a search service provided by TechTarget and is completely
independent of and not affiliated with SAP AG.
  TechTarget - The IT Media ROI Experts