Integrating Workflow with WebDynpro
Hi Guys,
I am making some altrations to the Workflow integrated with WebDynpro ABAP.
Once we maintain the Task and WebDynpro application in SWFVISU and Register in UWL,
Is that the context has been genarated automatically in component controller with structures in task container and an Interface with the name of the application.
If its not, how to interface Task container data structure with component controller and how to create interface to access task container data.
Thanks
HI Geek,
We are trying to retrieve the workitem id from the web dynpro abap application.
We have the similar issue and we have done the all things but some where, some things is missing.
1. When we debug the application, from within the R/3, it directly goes to the init method of the main view.
We are trying to debug the window - handle default method code, but the control is not able to reach that part. Plz suggest.
2. Also, can u plz send the steps, to be in place, to retrieving the workitem id from the workflow in the web dynpro application.
Thanks and Regards,
Anil.
Similar Messages
-
Problem while Integrating workflow with OID.
Hi I have a problem with integrating workflow with OID.I must execute the wf_ldap.synch_all() but I couldn't find WF_LDAP package body in the database.There is only package specification.How I can restore the wf_ldap package.
Thanks for help..The file WFLDAPB.pls should be used to recreate the package body for WF_LDAP (this file is in the wf/sql directory).
-
Integrating flex with webdynpro java
hi,
iam new bie in webdynpro java.please tell is there possibility of integrating flex in webdynpro java,if so what are the prerequisites for it.Hi
This is possible through Adobe Flash Islands under Mimes folder in your Webdynpro project. You create flex objects in FlexBuilder and generate the .swf files. Then the swf files need to be placed under the Mimes folder of Webdynpro Project from which they can be accessed.
Follow the link below for details :
http://wiki.sdn.sap.com/wiki/display/WDJava/WebDynproJava(CE7.1EHP1)andAdobeFlexIntegration-ColumnChart
http://help.sap.com/saphelp_nw72/helpdata/en/48/825afcf53d3ff6e10000000a42189c/content.htm
Regards,
Sayan Ghosh -
How to integrate SAP HR Workflows with Webdynpro ?
Hello All,
Could you please drop some hints for the below points please ?
How do we trigger SAP workflow from Webdynpro DC? Usually if its a RFC we import RFC through Model and trigger the RFC. Can that be done only through Adobe forms? If yes,how do we trigger work flow through Adobe Forms?
Many Thanks,
DhanyaHi, Dhanya
Of course via RFC! Usually these workflow related RFMs are called WAPI
(Workflow API).
Please refer to this thread.
Workflow and Trigger Event
And Adobe forms is not relevant to SAP workflow at all. Usually, Adobe forms
+ workflow scenarios are achieved via the above workflow APIs.
Best Regards.
Sejoon -
How to work with a workflow in Webdynpro
Hi Team,
I am new to webdynpro ABAP, i have a scenario
I have a work flow id with me, i want to start this workflow from a webdynpro application,
1. wedynpro application contains a list of inputs and user1 inputs this data that i have stored node, So node contains full data.
2. Now i have a workflow id, i want to pass this node data to this workflow on a button click
I have the button action, what code is required to pass this?
(I sow few FMs in fourms but i dont know how exactly i can use it)
3. When the approver gets the workitem, he should be able to approve,reject or send backToAuthor option he will get
how to read this data back to approver screen for the approver to take correct action ?
Please help me with some code sample, i sow few things but i am not sure about the parameters which required for this.
Thanks,
PPHi,
1) In order to trigger the workflow from webdynpro and pass the list of inputs and your workitem id , i will suggest you to go for a business object.
2) If you have a business object than you can just trigger the workflow through the event (provided your workflow should be an event trigger workflow). As well as you can pass your parameters through it.
3) In order to trigger the workflow through your business object event u can use the following function module.
in the below code:-
it_container- contains the parameter u want to pass like workitem id in your case.
ZPOC_LEAVE- is my business object.
OPTIONAL- is my event which will trigger the workflow.
ty_object_key:- structure type of key fields of business object.
Note:-you have to define these values as per your business object.
* Trigger the event ZPOC_leave-CREATE to start the workflow
DATA: it_container TYPE TABLE OF swr_cont,
is_container LIKE LINE OF it_container.
DATA: g_return_code TYPE sy-subrc,
glf_event_id TYPE swr_struct-event_id.
DATA : ls_objkey TYPE ty_objkey.
DATA : ls_objtype TYPE swr_struct-object_typ VALUE 'ZPOC_LEAVE'.
DATA : ls_objectkey TYPE swr_struct-object_key.
DATA : ls_event TYPE swr_struct-event VALUE 'OPTIONAL'.
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
EXPORTING
object_type = ls_objtype
object_key = ls_objectkey
event = ls_event
commit_work = 'X'
event_language = sy-langu
language = sy-langu
user = sy-uname
* IFS_XML_CONTAINER =
IMPORTING
return_code = g_return_code
event_id = glf_event_id
TABLES
input_container = it_container
* MESSAGE_LINES =
* MESSAGE_STRUCT =
4) You also need to define the parameter(workitem id in your case) under the parameter option of your event in your business object. (you can use the transaction SWO1 for business objects).
5) Now in swdd transaction in the basic data u can mention your start event.
This should be enough to trigger your workflow and pass your workitem id to it.
Thanks and regards,
Mayank Gupta
Edited by: Mayank Gupta on Feb 4, 2011 5:52 AM -
Integration of ABAP workflow with portal
Hello Experts,
Need urgent help on UWL configuration.
We have integrated our ABAP workflow with portal through UWL.
We have a Ad Hoc link in the ABAP workflow which takes us to some transaction. For some reason we are not able to view that link when we see this workflow through portal.
1. Is is possible to show any Ad hoc links from ABAP workflow into portals?
2. If yes, what is the process for the same? We did not get any relevant documents.
Any inputs/sugessions are most welcome.
AshutoshHi Ashutosh,
Can you please send me the documents how did you resolve this issue?
koti -
Integration of Oracle Workflow with OWB
Hi,
I am using OWB 10gR2. Can you please give me some guidelines on integrating Oracle workflow with OWB? I have to deploy OWB schedules to Oracle Workflow.
Thanks,
PraveenKeep in mind that these are really two different products.
First make sure you have installed workflow (2.6.3 for Oracle10gR1, 2.6.4 for Oracle10gR2 for the TARGET database).
Then create a connection to the workflow schema (default would be OWF_MGR). Then you can start creating your OWF packages using OWB and finally deploy your packages to the newly defined Workflow connection.
On a sadder note, OWF really blows. But that's just me. -
Integration of Adobe Flex 3.0 with Webdynpro ABAP
Dear Experts,
This is the first time I am trying to work with Flex and trying to integrate with Webdynpro ABAP.
What I have done is made a 'Starter' project in Flex where I have just embedded an image , downloaded
1. WDIslandsLibrary30.swc
2. WDIslandsLibrary30-debug.swc
included them in the flex project and did Export Release Build.
What I want to do through this project is just to display the image and no data exchange is happening here between Flex and webdynpro.
Next I have made a webdynro project , included the Flash Island and imported the mime object.
When I activate my object and run the application I dont see the image , i can only see a blank window.
Please guide me where I am going wrong.
Regards,
Mamai.Hi Banarji
Ple try this.
In Flex Part
[Bindable]
[Embed(source=".jpg")]
<mx:Image x="" y=" " width=" " id="loader1" autoLoad="true" source=".JPG" height=" "/>
Webdynpro Part
Goto MIME - > add .swf file
I hope.It will work fine.
Regards
Laxmikanth Karunamoorthy -
MS-outlook integration with WebDynpro
Gurus,
Is there any way to integrate MS-Outlook with WebDynpro.
Meaning, if an E-Mail Id '[email protected]' is configured to receive mails from outer world.
Now, whenever a new mail arrives to [email protected], WebDynpro is informed immediately about this.
Also, from WebDynpro some API which could help retrieve the mail contents i.e. From, Subject, Body etc
Any help would be highly appreciated
Regards,
Arvind KugasiaArvind,
<i>Now, whenever a new mail arrives to [email protected], WebDynpro is informed <b>immediately</b> about this.</i>
This (push) is not possible. WD application may only check for new mail on start or by user request, i.e. poll for data.
<i>Also, from WebDynpro some API which could help retrieve the mail contents i.e. From, Subject, Body etc</i>
Try to use JavaMail with POP3/IMAP protocols or in case of MS Exchange access inbox via WebDAV.
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com -
Compatibility of an editor made in javascript with WebDynpro
Currently we are using a textarea for the content for the text of a chapter in an application. Of course end-users would like to have a rich text editor since the result is stored as PDF file, so since we use MVC and BSPs our first thought was to use the BTF editor but it seems that this editor is not planned to be replaced with an equivalent in WebDynpro.
So we have found a nice editor called FCKEditor (see http://www.fckeditor.net/) done in JavaScript but with java integration possibilities, it is under LGPL open source license.
So my question is, would it be compatible with WebDynpro ?but they say that you can integrate it with java:
Installing FCKeditor in a JSP environment is quite easy:
Unzip the Java Integration Library in a directory named "FCKeditor".
Unzip the content of the FCKeditor release of your choice inside the "FCKeditor\web" folder.
Then you have to create in tomcat (or any servlet container) a new context named "FCKeditor" that points to the previously created "FCKeditor\web" folder.
Point your browser to http://domainName.ext/FCKeditor/_samples/index.jsp for the list of the samples.
Usage
Take a look at the test files and in the javadoc API provided in the distribution. Here is a simple example.
First put this taglib definition at the top of the JSP page:
<%@ taglib uri="http://fckeditor.net/tags-fckeditor" prefix="FCK" %>
Then the tag:
<FCK:editor
id="EditorAccessibility" //Unique name of the editor
width="80%" //Width
height="120" //Height
toolbarSet="Accessibility" //Toolbar name
>This is another test. <BR><B>The "Second" row.</B></FCK:editor>
A more advance example, that show how to use the inner tags to overrides any of the settings specified in the config.js file:
<FCK:editor id="EditorDefault" basePath="/FCKeditor/"
styleNames=";Style 1;Style 2; Style 3"
fontNames=";Arial;Courier New;Times New Roman;Verdana" >
This is some <B>sample text</B>.
</FCK:editor>
Building
Inside the files there is the source files for the tags (/src) and the ant build file (build.xml).
The ant build file provides the following tasks:
all: Clean build and dist directories, then compile
clean: Delete old build and dist directories
compile: Compile Java sources
dist: Create binary distribution
javadoc: Create Javadoc API documentation
release: Create Release Distribution
Plus some Tomcat managing tasks (to make this tasks work you need to copy inside the "web" folder the FCKeditor package):
install: Create a web application pointing to the build directory
reload: Recompile and reload the web application
remove: remove the web application
To start building the class you first need to modify the "catalina.home" property inside the build.xml, then type "ant dist" to compile, create the javadoc API description and generate the jar library to be copied in the WEB-INF.
Or more easily, type "ant install" after setting the right username and password for the tomcat manager application. -
Not able to integrate Payment Gateway with WebDynpro for ABAP
Hi,
I am not able to integrate the Payment Gateway for Billdesk ( third party software) with Webdynpro for ABAP.
Summery of the Issue : -
(*) Data from PORTAL Application to PAYMENT GATEWAY is going Correctly but
(*) Data from PAYMENT GATEWAY to PORTAL Application is not going correctly.
Details about the Problem : -
I have created 3 View in Webdynpro Application for ABAP.
View 1 -> Sales Order
View 2 -> Confirm Order
View 3 -> Success Message
When I am on the View 2 i,e Confirm Order, I have a UI Element ( LINK TO URL) on this View. When I click on the Link it successful takes me to the Bill desk site(Payment Gateway Integrator).After selecting the Card Type - > Master card, or Visa or Amex, I am routed to the Gateway Site of the Citibank, Where I have to enter the CARD details like Card Number, CVV Number, Expiry Date, and press the Submit Button.
Which now takes me to the final confirmation site, stating
1) Order Number
2) Bank ID
3) Merchant ID
4) Amount
5) Authorize ( APPROVED / NOT APPROVED)
Now once i click on the Submit button, It transfers the amount of the Customer to my bank account, correctly and goes back to the my portal application.
Till here it is working correctly, but 1 parameter is missing which is called "msg", and this parameter contains important information regarding the payment. This parameter is sent back form the Gateway Site to my Portal.
1) Authorize STATUS
2) Check Sum
etc... which will be finally required to decided whether I should go on to create the Sales Order for the Customer or not.
If the Authorize Status = '0300' then only create the Sales Order other wise if the status is any thing else lets say not equal to '0300' then gives the message that the Credit Card is not authorize to process the Sales Order.
Regards,
Saurabh Bhatnagar
E : [email protected]Dear Sir,
we are implementing Retail POS (Point of sale) for one retail company. We need to integrate third party payment gateway.
it's name is PLUTAS. We have got developer kit from Plutas (For trial ) . we have installed that kit in our system.
In my program, I am triggering " PL_TriggerTransaction" using call method. After triggering method it executes method, control passes to third party software. But I am not able to catch return parameter (Responce).
So that would be great if you help me out with this issue.
I wrote following code.
REPORT ZTEST678.
INCLUDE OLE2INCL.
data : rc_plutus type ole2_object,
lpszTransData type string,
lTxnType type char4,
lpszTransData1 TYPE string,
ret_string TYPE string,
l_count TYPE i,
l_time TYPE sy-uzeit.
rc_gui type ref to CL_GUI_CONTROL.
lTxnType = '4001'. "----
transaction type
lpszTransData = '1234567'. " -
trasaction data
*create object rc_gui.
create object rc_plutus 'PLUTUSEXCHANGE.EXCHANGEOBJ'(001) no flush. "no flush ."queueonly.
call method of rc_plutus 'PL_TriggerTransaction'(002) = lpszTransData1
exporting
#1 = lTxnType
#2 = lpszTransData.
wait up to 20 seconds.
write: ret_string. " <----
Value is not coming
write: lpszTransData1. " <----
Value is not coming -
Workflow with delay using ABAP OO
Hi,
I am new to workflow and trying to design a workflow where the workflow should be triggered after certain number of days.
For ex: Suppose the sales order is created. Then, I need to fire parallel workflows for Administrator like -
1) 10 days after sales order is created contact department X
2) 15 days after sales order is created, create dispatch order.
I thought of having a workflow with start event 'ABC' and trigger this event 'ABC' from function module which creates sales order. Then have fork for parallel flows mentioned above. But how can I introduce this delay? I checked wait step, but it waits for an event.
Also, is there any document/weblog which describes creating workflows along with ABAP class(Not using BOR object). I checked this link
/people/jocelyn.dart/blog/2006/06/28/getting-started-with-abap-oo-for-workflow-using-the-ifworkflow-interface,
but it does not give corresponding workflow integration.
Regards,
Srini.Hi,
sorry it took so long to answer.
It is possible to evaluate the latest end date by expression. Therefore you chose expression in field: Reference date.
To get your requested start, you habe to do some work in advance.
Create two new container elements in your workflow for your sales order end date -10 and your sales order end date.
Create a step that calls a Z-Task (you have to create this one!) where you evaluate your Sales order end date and your Sales order end date-10 and write that back into a container element (please check your binding). Alternative back in your workflow include a container operation as a step, where you calculate your latest start date (Sales order end date-10).
Back in your original Step you can now maintain latest start and end date based on your new container elements.
Hth
Ute -
Take Control of Workflow with Workflow Analyzer! See Note 1369938.1
Take Control of Workflow with Workflow Analyzer! Immediate Analysis and Output of your EBS Workflow Environment.
The EBS Workflow Analyzer is a script that reviews the current Workflow Footprint, analyzes the configurations, environment, providing feedback, and recommendations on Best Practices and areas of concern.
Video - Watch a 9-minute overview video (9:00)
Go to [Doc 1369938.1|https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1369938.1] for more details and Script Download.
Proactive Benefits:
Immediate Analysis and Output of Workflow Environment
Identifies Aged Records
Identifies Workflow Errors & Volumes
Identifies looping Workflow items and stuck activities
Identifies Workflow System Setup and configurations
Identifies and Recommends Workflow Best Practices
Easy To Add Tool for regular Workflow Maintenance
Execute Analysis anytime to compare trending from past outputs
[Please send any items to Feedback.|https://communities.oracle.com/portal/server.pt?open=514&objID=224&mode=2&threadid=297966]
Edited by: user715498 on Feb 14, 2012 11:09 AM
Edited by: user715498 on Feb 14, 2012 11:12 AM14. Once my photos look the way I want, I then export them to JPEG. I have set up a Photoshop droplet for Lightroom that will then do all my sharpening after export.
That's it! I know it sounds like a lot of steps, but once you've done it a couple of times it goes by really quick. I'm really loving most things about Lightroom in terms of its cataloging and export options. But the image quality of the Lightroom raw conversions just isn't there yet. I've found by integrating both Capture NX and Lightroom I can get top quality results while still gaining advantage of Lightroom's many nice features. It took me a few days of exploration and experimentation to nail down the optimal workflow for my needs. Hopefully this will help some others out and maybe give them some ideas of their own toward a better workflow.
Please feel free to share your thoughts or own experience on all of this.
Thanks to Tony Long for his suggestion in this thread, which caused me to go on a search for the optimal Lightroom/Capture workflow: http://www.adobeforums.com/cgi-bin/webx?7@@.3bc719df/3
If you are interested in taking a look at the final output of the workflow listed above, please look here: http://photos.unsavory.com/p634883589
Cheers everyone!
-©aine -
Reg: MDM workflow in webdynpro
Hi,
I am using MDM java API (Version: 5.5 SP 06 Patch 2) for webdynpro. I am creating a record in MDM using MDM java API. Once the record gets created in MDM i need to call the MDM workflow. Is there any java API available to call the MDM workflow into webdynpro. If that is not possible, what is the alternative to call the MDM workflow into webdynpro.
Kindly suggest.
Thanks,
Prasanthi.Hi
Check the following doc for workflow
1.[Workflow for SAP NetWeaver MDM|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60559952-ff62-2910-49a5-b4fb8e94f167]
2. [Extending MDM 5.5 Business Package functionality with Web|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/12195312-0e01-0010-a392-debbd32e39d4]
Best Regards
Satish Kumar -
IDM - GRC AC 5.3 integration - workflow detour not working as expected
Hi IDM Experts!
I would greatly appreciate your help with the problem we're currently facing; when integrating IDM with GRC, we have configured 2 CUP workflows; one for handling requests with SoD violations (Workflow B) and one to handle ones without any SoD violations (Workflow C), with the former handling risk analysis followed by role approval, and the latter handling only role approval; we have one path with one stage configured as "No Stage" (Workflow A); this path is used to decide which of the primary workflows to use (i.e. SoD violations or no SoD violations) using two detours; we have one detour configured to use Workflow B if any SoD violations are found in the request and another detour configured to use Workflow C if no SoD violations are found.
Currently what happens in our tests is that requests without risks / SoD violations work fine and actually get detoured to Workflow C, awaiting role approval from the right approver ; while requests with inherent risks / SoD violations unforutnately get automatically approved and provisioned rather than being sent to Workflow B
Any clues as to why this could be happening? We've checked if there are any settings that might be triggering it to automatically approve requests despite any risks, but can't find anything of the sort; Would be very grateful for any insight / advice on the issue.
Thanks a lot in advance!
Best regards,
SandeepHi Diego!
Once again; thank you for your quick reply!
I did recheck the auto-provisioning issue and I can confirm that it is definitely set to "No Auto-provisioning" and it hasn't been changed recently. The strange thing is that the detour works for NO SoD violations, but doesn't work for SoD violations; find below the audit trail for detour working:
Request XXX Submitted by Sandeep (SANDEEP) on 01/28/2012 02:04
Z_111111-ECC Role Added with validity dates 01/28/2012-12/31/9999
Request submitted for approval by admin(system) on 01/28/2012 02:04
Approved by Sandeep (SANDEEP) on behalf of Sandeep (SANDEEP) at path WORKFLOW_A and stage WORKFLOW_A on 01/28/2012 02:04
Approved Z_111111-ECC role for Add action with validity dates 01/28/2012-12/31/9999
Request has taken a detour to path C_WORKFLOW and stage C_STAGE on 01/28/2012 02:04
Detour condition SOD Violations with value No is satisfied at path WORKFLOW_A and stage WORKFLOW_A
and find below the audit trail for the detour not working:
Request YYY Submitted by Sandeep (SANDEEP) on 01/28/2012 01:53
Z_222222-ECC Role Added with validity dates 01/28/2012-12/31/9999
Request submitted for approval by admin(system) on 01/28/2012 01:53
Approved by Sandeep (SANDEEP) on behalf of Sandeep (SANDEEP) at path WORKFLOW_A and stage WORKFLOW_A on 01/28/2012 01:53
Approved Z_222222-ECC role for Add action with validity dates 01/28/2012-12/31/9999
Request Closed By Sandeep (SANDEEP) on 01/28/2012 01:53
I even checked the CUA System section, and the "By system" tab and it was empty; there were no specific system configurations.
And to answer your questions:
Since Workflow A is the path with the Initiator, the detour flag is deactivated and the active flag is activated.
WF B & C have both the active and detour flags activated.
Thanks a lot again for your quick responses and all the help you've provided so far!
Best regards,
Sandeep
Maybe you are looking for
-
Sharing iphoto library with different users
I have a new imac, set up different users for myself and my wife. We have been uploading our photos to iphoto on my account and evertime she would like to access them she has to log out and into my account. Any way to share the library between users?
-
Hi All, I face the following error message in the web browser when I try to run a simple page from JDeveloper: 500 Internal Server Error java.io.IOException The message is the same when I run the Hello World test from the Tutorials project. Here is t
-
Subinventories not listed in Sales Order Line
Hi Gurus, Need your help for the below issue. I enabled Subinventory field (through Folder>Show Filed) in the Sales Order line. But, when I click the LOV there were no subinvnentories listed. The inventory org is listed correctly. I tried with differ
-
Trying to use Two Speakers IN Two Jacks on an X-Fi. Microphone Question As We
I just bought the X-Fi Fatalty Champion Series card, with the front dri've. Love the sound quality and the novelty of the front control set-up, but having a few major problems. . I can't seem to connect my two powered speakers to two different jacks
-
I have been trying to use an apple wireless keyboard with my ipad 2. I will be typing along and suddenly the ipad will take off and repeat the key stroke about twenty times rapid fire. It really makes me crazy. What is happening and why? Help