Home > SAP software/management Tips > SAP tips and best practices > Web-enabled workitems
SAP Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

SAP TIPS AND 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
SAP ABAP/Java developer tips
How to do additional dialog processing after SAP COMMIT WORK statement
How to find a piece of SAP ABAP code without debugging
How to read an SAP transaction in an ABAP code
How to provide an SAP R/3 4.5B application server with a Web service interface
How to find owners and transports of deleted ABAP programs
Fixing a common OPEN_FORM and START_FORM error in SAPscript
Select Text fields: Case-insensitive
Is this the quickest way to find a BADI?
Easily debug error messages in SAP processes
Accessing private attributes in ABAP Objects

SAP tips and best practices
Minimizing business disruptions during an SAP upgrade or implementation
Retrieving content from an SAP workflow attachment
Updating URLs in SAP SRM
How to change default settings in SAP SRM
What are the benefits of implementing SAP SRM?
Increase column width in a transaction screen
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
Improving performance with ABAP Objects in SAP Workflow

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.



NetWeaver SAP White Papers
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, 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