Initiate Workflow within WebDynpro ABAP
Hi,
Can anyone list the steps to be followed in creating a new workflow and initiating the workflow from WebDynpro for ABAP ?
Regards
Ravikumar
Check this elearning for creating a workflow,
[Tutorial 1|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0bbdb3c-d640-2a10-d3b2-e4d9b90536a6]
[Tutorial 2|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30488d68-8451-2a10-d993-bb36e56a1dc8]
For calling a workflow from webdynpro, chek this thread
[how to call workflow from webdynpro ?]
For questions purely related to workflow, please post your queries in the Workflow forum
Hope it helps!
Regards,
Radhika.
Edited by: Radhika Vadher on May 23, 2009 11:40 AM
Similar Messages
-
Trigger an workflow from webdynpro abap.
hai
gurus!
iam new to webdynpro.iam femilier with workflow . can anybody explain me with an clear example, how to trigger an workflow from webdynpro abap.
regards
roseHi Rose
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/using%20web%20dynpro%20java%20and%20web%20dynpro%20abap%20applications%20in%20universal%20work%20list.pdf">Click</a> Here, to know the step by step procedure of using Webdynpro in Workflows
Use SAP_WAPI_START_WORKFLOW RFC
Regards
Abhimanyu L
Message was edited by:
Abhimanyu Lagishetti -
In Webdynpro abap workflow integrating
HI,
I have Created one sample workflow now when i click the button in webdynpro i need to run that workflow .
I have searched so many articles but iam not clear plz tell me clearly if any articules also .
i need clear steps to integrate workflow in webdynpro abap.
Iam Wiating For good response.
thanking you,
A.S.Ananth.Hi Ananth,
Check this.. it might help
Information about Integration WebDynpro for ABAP and Business-Workflow
how to call workflow from webdynpro ?
Workflow in WebDynpro
Cheers,
Kris.
Edited by: kissnas on Mar 10, 2011 7:06 AM -
Launching webdynpro ABAP application from workflow task (without UWL)
Hello,
How can i start webdynpro ABAP application from workflow without portal?
Workflow and webdynpro ABAP are located on the same system.
I assume it must be possible without transaction SWFVISU.
thanks
Regards
PaulFirst you need to define a external service then you have to generate a task from this external service and then you need to include this task id in you workflow for a ACTIVITY step then this step can be either background or can be assigned to any agent
you have to make use the below two Txn
WF_HANDCUST and WF_EXTSRV -
How to access SQL tables from WebDynPro ABAP application ?
Hi,
I am trying a scenario, where I need to send an user ID to SQL server table (update/modify/delete) from webDynpro ABAP application.
Basically ,I am trying to know:---
a>How to write a SQL Connection from ABAP code within webdynpro ABAP application
b>What are the ways to do it.(by code or any other API/mechanism)
I appreciate if anybody knows this.
Thanks
PraveenHi,
The EXEC CONNECT ... is usually used in the procedural ABAP code. For this you can refer to the ABAPDOCU.
I dont have any sample code on the classes I listed try to check out them for the parameters and the methods they have.
In WD for Java, we have these connection classes to connect to any databsae server.
Or try to create an RFC with DESTINATION for this
Pls check out this link for this -
Pull data from another r3 server using abap dynpro
Regards
Lekha -
Integrating WebDynpro ABAP applications with UWL for workflow in Portal
Dear
We want to integrate an abap webdynpro application as task in the workflow with UWL.
More information was found in /people/ginger.gatling/blog/2005/12/14/create-new-uis-for-existing-workflow-tasks-with-abap-web-dynpro-and-universal-worklist
But no answer on the following issue:
We use the transaction SWFVISU to prepare standard setting for our task. This defines how a task is executed, once you select the task subject line on the worklist.
Task TS91700001
Visualization Type ABAP Web Dynpro
APPLICATION z_wd_pas
DYNPARAM IV_WIID=${item.externalId}&period=${item.PERIOD}
NAMESPACE SAP
SYSTEM_ALIAS SAP_BSP_EREC
But we want to start the abap webdynpro application with a dynamic parameter: period 07.2010 or 08.2010 or MM.YYYY. This parameter is a container element of the task, filled when the task is created. Also other parameters are available in the abap webdynpro application.
Component Z_WD_PAS
Interface View PAS
Plug Name DEFAULT
Help Menu Text
Help Link
Package Z_PAS
Language EN
URL http://saperpd1.imec.be:8000/sap/bc/webdynpro/sap/z_wd_pas
with parameters
IV_WIID 000000000000 SWW_WIID
ORG_UNIT 00000000 ORGEH
PERIOD SPMON
PERNR 00000000 PERSNO
Can we set the dynamic parameter list DYNPARAM from the task
or should we read the container in our abap webdynpro application described in http://wiki.sdn.sap.com/wiki/display/WDABAP/IntegratingWebDynproABAPapplicationswithUWLforworkflowin+Portal?
More information: The task is a webservice
Standard task 91700001 Z_PAS_CC
Object Category BOR Object Type
Object Type WEBSERVICE WebFlow Service
Method PROCESSDIALOG Dialog Service
with the following standard program code for this method:
begin_method processdialog changing container.
DATA: l_wi_objkey TYPE swotobjid-objkey.
DATA: l_wiid TYPE swwwihead-wi_id.
CALL FUNCTION 'SWE_WI_GET_FROM_REQUESTER'
IMPORTING
requester_workitemid = l_wi_objkey.
l_wiid = l_wi_objkey.
CALL FUNCTION 'SWF_WSC_START_LH_DIALOG'
EXPORTING
i_wiid = l_wiid
EXCEPTIONS
url_creation_failed = 1
browser_launch_failure = 2
OTHERS = 3.
IF sy-subrc <> 0.
CASE sy-subrc.
WHEN 1.
exit_return '1000' space space space space.
WHEN 2.
exit_return '1001' space space space space.
WHEN OTHERS.
exit_return '1002' space space space space.
ENDCASE.
ENDIF.
end_method.
Before calling the function SWF_WSC_START_LH_DIALOG the parameters for the abap webdynpro should be defined. Is this possible ?
Thanks for your suggestions.
Best regards
Luc MarentI added below sources .
> <ItemType name="uwl.request.webflow.WS91000001" connector="WebFlowConnector" defaultView="WorkItemRequestsView" defaultAction="launchWebDynPro" executionMode="default">
> <ItemTypeCriteria systemId="UWLSETXXX" externalType="WS91000001" connector="WebFlowConnector" />
> <Actions>
> <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
> <Properties>
> <Property name="WebDynproApplication" value="ZWD_WF_002" />
> <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no" />
> <Property name="DynamicParameter" value="wi_id=${item.externalId}" />
> <Property name="openInNewWindow" value="yes" />
> <Property name="System" value="WDSETXXX" />
> <Property name="WebDynproNamespace" value="sap" />
> <Property name="display_order_priority" value="5" />
> </Properties>
> <Descriptions default="" />
> </Action>
> </Actions>
> </ItemType>
> <ItemType name="uwl.request.webflow.decision.WS91000001.UWLSETXXX" connector="WebFlowConnector" defaultView="WorkItemRequestsView " defaultAction="viewDetail" executionMode="default">
> <ItemTypeCriteria systemId="UWLSETXXX" externalType="WS91000001" connector="WebFlowConnector" />
> </ItemType> -
Attach Interactive Forum to Workflow from a Webdynpro ABAP application
I have a webdynpro ABAP application which has an Interactive form. After the user enters the form and clicks on 'Submit', I trigger a workflow for Approval. My requirement is to add this same form as an attachment to the workflow. I know I can do this by adding the Fileupload UI element and letting the user browse to the file after saving it. But I want to attach it directly without the user having to save the form to Desktop first.
I tried passing the pdf_source(XSTRING) to the container and it does attaches a pdf to the workflow but when I open it, the form is blank and user entered values are missing.
Please respond only if you know the solution and don't send me links to other forums on SDN, I have read them all.sharing the solution always helps some or the other person seeking similar answers to their problems. It would be good to share your solution in this open community. It helps.
-
Debugging ABAP Code From Within WebDynpro
Hi experts,
I would like to check whether i can debug ABAP code from within webdynpro if i m using a remote J2EE server.
So netweaver development studio is on my machine
J2ee server is on a remote machine
R/3 is also on another remote machine
Thanks.
Rgds,
DanielHi Daniel,
One thing note here is
"You have debugging authorization in the ABAP Workbench in the relevant system.
Since debugging in the ABAP system via load balancing is not supported, you must reconfigure your JCO destinations so that the calls take place on a dedicated ABAP application server. For Web Dynpro, this is done in the Web Dynpro Content Administrator. In the destination maintenance, specify Single Server Connection as the Destination Type ".
Other than that ideally it works with j2ee and abap on diff systems.
Regards
Ayyapparaj -
Webdynpro abap to workflow attachments
Hi gurus,
I have opened same meaasge in workflow forum also since I was not sure which will be more helpful.
I added the attachment to workflow using the following code from my webdynpro abap application:
DATA: lv_xstring TYPE xstring,
att_id TYPE swr_att_id,
ls_msg_ln TYPE TABLE OF swr_messag,
ls_msg_str TYPE TABLE OF swr_mstruc,
lv_objkey TYPE swr_att_doc_id,
ls_header TYPE swr_att_header.
lv_xstring = lv_file.
ls_header-file_type = 'B'.
ls_header-file_name = 'Attachment'.
ls_header-language = sy-langu.
CALL FUNCTION 'SAP_WAPI_ATTACHMENT_ADD'
EXPORTING
workitem_id = lv_wi_id
att_header = ls_header
att_bin = lv_xstring
do_commit = 'X'
IMPORTING
return_code = rc
att_id = att_id
TABLES
message_lines = ls_msg_ln
message_struct = ls_msg_str .
I see the attachments in the workitem but am unable to open the attachment.
Another question is how can I show the same documents in another webdynpro application as attachments.
Thanks,
STused the standard webdynpro component WDK_POWL_WF_DETAIL and it has whatever was needed for attachments.
Thanks,
St -
Hyperlink to launch webdynpro abap from workflow
Hi Guys,
We have developed WORKFLOW where we need to send HYPERLINK along with WORKITEM to the AGENTS.
When ever the user(AGENT) clicks on the HYPERLINK we need to launch our WEBDYNPRO ABAP APPLIOCATION.
Please guide me to achieve this scenario.
Thanks®ards,
Harsha PHi
I think you have to check the below points as Karri has suggested you some good points, and still if you face some issues then
1. Make sure you have made the workitem ID as URL parameters.
2. You should be able to access the URL parameters from Default method of the Window.
3. Make sure the URL that you are generating is correct , by looking at URL I felt like some thing is missing, like if you have observed the url of any webdynpro applicaiotn it may be some thing like
https://<domain>.50000/sap/bc/webdynpro/.... and this is purely my guess so make sure th URL you are populating is correct.
@Rick
Why do you keep saying "kemp" when the sign-off is "Karri"?
May be you should concentrate on suggesting some thing useful regarding thread issue, rather than how the others signature is or suggesting something how to call or address the other forum participants. Its just a suggestion....
Don't mind its just a friendly advise.
Regards
Pavan -
SAP Workflow, Webdynpros Abap and NW Business Client
Hi All,
Are there good explanations or examples about using Webdynpros Abap in Business Workflow in combination with Netweaver Business client? There is one for using WD4A with UWL, but i'm not sure if this is the same...
Kind Regards Thomas
Edited by: tw18399 on Jun 22, 2010 2:29 PMHello !
Please refer to Practical workflow for SAP - second edition or refer
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70648e99-4cc1-2c10-879d-9c61003c69d6?quicklink=elearn&overridelayout=true
Regards,
S.Suresh -
Attachment from webdynpro abap to workflow and vice versa
I added the attachment using the following code from my webdynpro abap application:
DATA: lv_xstring TYPE xstring,
att_id TYPE swr_att_id,
ls_msg_ln TYPE TABLE OF swr_messag,
ls_msg_str TYPE TABLE OF swr_mstruc,
lv_objkey TYPE swr_att_doc_id,
ls_header TYPE swr_att_header.
lv_xstring = lv_file.
ls_header-file_type = 'B'.
ls_header-file_name = 'Attachment'.
ls_header-language = sy-langu.
CALL FUNCTION 'SAP_WAPI_ATTACHMENT_ADD'
EXPORTING
workitem_id = lv_wi_id
att_header = ls_header
att_bin = lv_xstring
do_commit = 'X'
IMPORTING
return_code = rc
att_id = att_id
TABLES
message_lines = ls_msg_ln
message_struct = ls_msg_str .
I see the attachments in the workitem but am unable to open the attachment.
Another question is how can I show the same documents in another webdynpro application as attachments.
Thanks,
STHello,
Try specifying file_extension = 'DOC' like in this thread (see Pavan's code about halfway down) :
attachment to _Attach_Objects in user dicision step
regards
Rick Bakker
Hanabi Technology -
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.
ThanksHI 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. -
Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input
Dear Friends,
We are facing a serious problem for debugging. Expecting valuable input for the same.
Debugging is not working in R/3 from WebDynpro-ABAP developed webpage input in Production Server.
The debugging (for WebDynpro-ABAP application) is working in Dev. Server for
1st ] Within R/3
Ex. debug for bapi within R/3. i.e. value enter as input in R/3 only.
2nd ] From webpage to R/3
Ex. Some input given on the internet web page developed through WebDynpro and external breakpoint set in R/3 it works. It directs to R/3 code through debugging.
In Prod. Server the 1st case above is working but the 2nd case is not working.
In Prod. Server the WebDynpro developed applications are running successfully through internet explorer webpage inputs. So running the application is not a problem in prod. Server but debugging of the same is the problem.
The setting which are done in Prod. server are,
1] RZ10 in parameters are set for port and host name.
2.1] In SMICM check for ICM.
2.2] Host file updated in Windows-System 32.
3] In SICF following services are active,
3.1] default_host/sap/bc/webdynpro
3.2] default_host/sap/public/bc
3.3] default_host/sap/public/bc/webdynpro/viewdesigner
3.4] default_host/sap/bc/wdvd
3.5] default_host/sap/public/icman
3.6] default_host/sap/bc/gui/sap/its/webgui
3.7] default_host/sap/public/ping
3.8] default_host/sap/bc/error
3.9] default_host/sap/bc/echo
4] In SE80
4.1] Internet services-System-are published
4.2] Internet services-WEBGUI-are published
4.3] Utilities-Setting-ABAP Editor-Debugging-Username & New Debugger set.
4.4] Utilities-Setting-ABAP Editor-Editor-Front-End Editor(New) set.
5] In Su01 for user profiles sap_all & sap_new is assigned and role SAP_BC_WEBSERVICE_DEBUGGER is assigned.
6] The support packages are also updated to latest level.
7] Gone through following links but not getting any clues.
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/74d50bd1431b5ae10000000a42189c/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/EN/77/3545415ea6f523e10000000a155106/frameset.htm
Thanks in Advance.
Best Regards,
Abhijit.No cross posting
Read the "Rules of Engagament"
Regards
Juan -
Create PMD (Clinical Document) Document from Webdynpro ABAP
Greetings everyone,
I have developed two PMD document category(Tcode :N2T6 ) for Clinical documents in SAP R/3 and somehow with the limitation of R/3 in terms of developing user friendly screens like Auto fill and image processing etc...,Users do not satisfy with it.So we are planning to develop in Webdynpro ABAP.But i am not sure how do we integrate the webdynpro development with IS-H PMD (clinical documents) documents ,also I am looking for BAPI's to create our customized parameterized documents.Any help will be really appreciated.
Thanks,
VigneshHi Vignesh,
You are right that certain features, such as auto-completion, are not supported in the PMD toolset. But as most of the data captured in those documents have a high importance for treatment process, you need to elobarate whether such a feature has any impact on patient safety. Just a quick one - user types An ... and the system determines matching diagnoses such Anorexia or Angina. In case the user picks the wrong one by accident the patient safety is an issue.
Other features such as image management can be used. For that you need to use a PMD link module which does provide the image integration. Siemens will ship in the next release EhP6 such a link module for a third party imaging software. Beforehand the link module use with custom development.
In general Siemens has started a product redesign program named "Smart UI". It's major aim is to provide an up-to-date user interface for all major application within i.s.h.med. The very first application we plan to ship is a web-based electronical medical record.
In case you still want to develop your application, I'm sorry to say, but there are no BAPIs or Web services in the standard delivery. For changes to existing documents you can utilize the PMD API of generator version 2. But be aware that document creation is not supported by the API. You need to have a document. Also certain user exit developments may brake a change without having the GUI running. For instance a popup in the save routine will cause a dump if no SAP GUI is available.
Hope this help.
Axel Biernat
Siemens AG
Product Commercialize
Maybe you are looking for
-
Xorg not start with 'radeon' driver, and gnome not start with 'vesa'.
Hey all. I just install the fresh installer for Arch. All my system its updated for last date. I can't running the Xorg server with 'radeon' driver (xf86-...-ati), But in 'vesa' Xorg working ok. Anywhere, with 'vesa' the gnome can't start.. What is l
-
Cannot centre web page no matter what.
Hello, Like the title says, I tried all methods: Making the left and right margin of the wrapper tag set to: auto, I tried just making the margin set to: auto aswell, and it still doesnt centre. I tried the old method of div align="centre" after the
-
Why MyHandler cannot work?
Help me ! It print "OK" and then no other message! MyHandler.java import org.xml.sax.helpers.*; import org.xml.sax.*; public class MyHandler extends DefaultHandler { private boolean bW = false; private StringBuffer content = new StringBuffer(); publi
-
Hello Experts, I am new to BW reporting and have been searching for an approach to design a Technical Spec from Functional specs given to me. The domain is SPL,I need to understand what should be the approach in identifying the free characteristics,
-
Convert Entourage .rge to .pst to import into MS Outlook 365 for Mac
How can I convert Entourage .rge to .pst to import into Microsoft Outlook 365 for Mac? I have an exported Entourage .rge file and can no longer access the program (on an old computer where the hard drive crashed), so I can't export as MBOX or anythin