Webdynpro & Workflow
Hi all,
In the current scenario, I have an employee, who makes changes to his personal data. After he clicks saves, the workflow is triggered and a workitem, should go to the approver,in the Universal work List. Once an approver clicks the work item, a webdynpro application should be displayed, showing the approver's screen.
To create the workflow, i need to mention an ABAP Class/ BOR Object.
How do i handle this situation in the case of a WebDynpro Application?
If I leave this blank on executing the workflow it shows the status completed and is shown in the Outbox.
I have maintained entries in Transation SWFVISU, and the system is registered in UWl.
Hi Raj,
it doesn't actually matter what BO/class you are using since the the UWL visualization settings (maintained in SWFVISU) will override them.
I've normally just done a dummy task with a BO/class which shows a simple "go to UWL" message to the user in case someone will execute the work item in Business Workplace.
To make the Web Dynpro app get launched, you can maintain the visualization settings in transaction SWFVISU (have a look at the other entries for examples). Then just remember to re-register your newly defined task types in UWL.
Hope this helps,
Mikko
Similar Messages
-
MSS implementations using Webdynpro - workflow
Hi All,
I would like to know what would be the best way i can implement the MSS transaction in our implementation project.
We are planned to go with Webdynpro and Wrok flow, in my previous experince we have used the IQSR frame work to driver all the MSS transaction ( Multil level BADI implementation).
I Want to know in the latest version of Ecc6 EHP4 what is the best suggestable way to implement , I am aware of implementing point to point (Initiator Page (webdynpro ) submits the request can able to trigger the Workflow ).
I am looking for your valuble suggestionsHi Krishna, I have been working with Webdynpros and Workflow and I didn't face any impossible issue to solve. So, I recommend you this option.
Good luck. -
Displaying both ABAP webdynpro and Java Webdynpro tasks in the UWL
Hi,
We have two an issue when trying to get the UWL to process two different types of workflow tasks : ABAP webdynpro and Java webdynpro.
Examples of these tasks are:
TS12300097 u2013 LeaveRequestApprover u2013 Java Webdynpro
TS17900100 - ASR_PROCESS_EXECUTE u2013 ABAP webdynpro
We have two backend systems configured
SAP_ECC_Financials u2013 This has the WAS host pointing to the java stack (xxx:50000)
SAP_ECC_Workflow u2013 This has the WAS host pointing to the ABAP stack (xxx.80xx)
In transaction SWFVISU all the tasks which use Java webdynpro have been configured to use the u2018Javau2019system (SAP_ECC_Financials) using the SYSTEM_ALIAS parameter
In the UWL configuration the system SAP_ECC_Workflow has been registered
In addition to this all u2018Javau2019 tasks have had an extra UWl config XML created to ensure that the SYSTEM_ALIAS is set to SAP_ECC_Financials
The system SAP_ECC_Workflow has been re-registered
The UWL cache has been cleared
However when we try to launch the java webdynpro tasks the system is trying to access the ABAP stack (It is still trying to access the Web AS location for the system SAP_ECC_Workflow even though the system alias was specified as SAP_ECC_Financials )
The ABAP webdynpro tasks (in this case a HCM process and form) are launched correctly
If we try the reverse (i.e register the Java system SAP_ECC_Financials and change the SYSTEM_ALIAS parameter for the ABAP webdynpro tasks to system SAP_ECC_Workflow) then the reverse happens. The java tasks can be launched and the ABAP tasks cannot.
Does anyone have a solution to this problem. Surely other people have implemented both ABAP and Java webdynpro workflows?
Any help much appreciated
AndrewThanks a lot for all your replies..
The workitem type registration has been done already, but still it doesn't work..
But here is the actual problem...
There is a link 'Execute Workitem' in the inbox of the approver, or the second level manager...
In the leave application, when we click on this link it is taking to the portal as the task is the Webdynpro Java application task. Whereas, when using ABAP webdynpro application task, it is taking to R/3 - which means that the user cannot access this link without R/3 access. The users are given only portal access, they don't have access to backend R/3.
The requirement is that the link has to take the user to portal directly instead of R/3 - i.e it should ask only for the portal id and password.
Since it was working fine with leave application, I changed the task to Java webdynpro task, but I think the Java Webdynpro application is not deployed in the server.
Please can anybody suggest.
Best Regards,
Sushmitha -
Hi ,
I have learnt SAP ABAP module , planning to learn another module which is of good combination for ABAP .. can you plz, help me out ??
Thanks and Regards
Sireesha Reddyyou can never 'learn' everything - there are many aspects and facets to master related to ABAP & the Workbench.
And even if you master a few aspects to some extent - everything is always evolving and improving...
so for example, you could be an expert in sapscript, but then smartforms arrives, and then Adobe Forms....so its a continual process of adaapting and relearning or even consolidating what you have already learned.
Gaining experience of any of the SAP modules (functional aspects) is necessary for you to improve your programming skills and knowledge.
There are also some other abap/development related areas to explore for you learn that are more technical too, such as some Basis, PI/interfacing/IDOC, Webdynpro, Workflow etc You can argue these are full time skills in their own right - but having ABAP knowledge is a pre-requisite to many i.e. webdynpro and a distinct advantage.
Cheers -
What is best for my career: Sap ABAP or Sap BI
Hi Experts,
I am Rajesh, done my bachelor degree in Information Technology,
having 4 years of Exp as a Mainframes Programmer in a Banking Software company.
my job containts
30 % understanding the product
40 % Analysis
30 % Programming
my career Goal is to get SAP job in Abroad(US/UK/AUS) for that i am planning like below:
First i want to gain some minimum(8-10 Months) Exp in India by
Choosing one Best(or)Hot Cake Module in SAP, which matches any one of 3 points
1)Currently that module should have more demand less supply.
2)Should have good Future
3)it should not be much vast Because need to expertise Early
I already Trained and good in SAP-Core ABAP,
but just Core ABAP is not enough to get expertise in ABAP, because i need to add it with
OOPS, Webdynpro, Workflow ETC.
even i Trained in all the above, it is difficult to be Expert in 1 YR.
and Hard to get job in US/UK/AUS.
So i am planning to go with SAP-BI for below Reasons
1) SAP BI is not that much Vast compare to ABAP for becoming an Expert on it
2) for Skill Set ABAP+BI, can have good openings
3) SAP-BI is a techno functional Job, where ABAP is not a final Destination.
4) in Future, BI will help to get into HANA.
I request you to guide me, whether my decision towards my Goal is correct or not,
if not, please give valuable Suggestions to reach my destination.
Thanks in Advance,
RajeshHi Rajesh,
as per as your selection of module, its a good mix, but i have a few words that i wants to share with you. Being a developer in sap abap i have come across some points where many indivisuals get strucked by asking what is next.
Started with sap abap you will have many options to go ahead, as you have seen that the combination of BI along with ABAP has an added advantages, and yes later on you can move towards HANA, one of the major sap module in which the database of sap persist in furure.
As far as i concern, if you wants to be in technical stream of sap you will have UI5, Webdynpro, Workflow, BW/ BI, HANA etc, so you may go ahead with these options, but as you have told that you wants to get hands on these things in one year, i think you have to devote in abap as much as possible
what you will require to know the syntax and semantics used in SAP, along with all the stuffs associated with it, once you will get familiar with it, you can play as you wants.
But one thing more is that its not mandatory to have sap abap knowledge to learn other technologies, you can learn without abap, but if yiu have hands on in abap somehow it will boost your future in related technilogies.
So, finally your decision is on right track, what you will need is to get it as your passion. -
Hello Gurus,
I have seen this question in forum before , still i am putting this, Sorry for that.
I have work experience of 5.5yrs in SAP , Basically i joined as an ABAPer but here i put into BI project.
from 5.5yrs i have 4.5 hands on exp in ABAP , rest 1 yr i am just in BI project.
I have no knowledge in BI system, neither any training provided in BI. honestly there is not much work in ABAP. just changing some codes in Routines.
Now i am really frustrated as i dont want to continue like this.
My Organization is saying they will provide Training in BI . i am not sure as this is what i am listening from last 6 months.
Assuming i will get some training on BI ,
Shall i stick to BI or shall i move back to ABAP .(getting released from this project), stick to my core competency ABAP with SD/MM . I have sound functional knowledge in SD/MM module.
My question is ,
Is BI will have better career growth in my case in terms of exposure ( if i learned it as compared to ABAP.+SD/MM functional knowledge )
Please guide me , you valuable inputs will help me a lot.
Thanks in advance.Hi Sagar,
please understand one thing as you become a senior proffessional, industry will look after you to be a multifunctional person, that means you should have knowledge of more than one tool, so if you will take a foot ahead for some other module it will be fruitful to you to get exposure in that field.
Now when it comes to have modules with abap, i will suggest you to go with Webdynpro, Workflow, or UI5 because the combination of these modules plays always more demands in market, and it will be.
But if you are looking for BI , BOBJ or HANA side , its also a very good combination ever.
But please understand one thing, as you are saying that in 2015 you will have only 2 yrs. exposure in BI, so what are you looking for a change in 2015, as far as i concern , never set priority in leaving a current job, untill the situation is too harsh.
So, go with your options you have choosen, when you will see that you have enough exposure you can make a change, but never plans for it on priority basis. (i am sorry if my understandings are wrong). -
Hi all,
need some info on CE bpm . I am abap consultant need to work on CE bpm .
what are minimum technical skilks required to work on CE BPM ( like webdynpro , workflow etc ) . so that iIget trained in those areas .
Thanks In advance .
Thanks ,
Sridhar MarteHi Sridhar,
It would be based on what scenarios you want to implement using BPM and you would require basic knowledge on how workflows work. Apart from that you may need to know Web Dynpro Java if you want to use it for designing UI or Visual Composer/Adobe Interactive forms. It would also be benefecial for you to have knowlege on SOA and how services work.
Hope this helps!!
Cheers,
Arafat -
Which SAP certification could I complete for technical expertise??
I have completed my bachelors in Engineering(Information Technology) and Master in Business Administration. I am employed in Investment Banking sector right after my Masters. It has been two years now and I still have this urge to get in to the technical side rather to be Banking sectors (with no offense to my job and company). I have always wanted to do a SAP certification but somehow never got in to that. Now that I have this plan to persue a SAP certification can somebody suggest me what would be the best thing for me to choose that's happening and can find me a more technically oriented job that.
Hi Raghav,
for your kind information, a certification never gurantees a job in sap, so think before going to certification. If you wants to go with some technical side, you have some options like SAP ABAP, BASIS, in sap abap pure coding techniques are required, in basis it requires administration of the sap system.
So, what you can do is, you can take training from anu sap authorised training center, they will provide you training along with certifications, please work hard during training and use each tool to get as many exposure as can be practicable, so in this way you can enter into sap technicakl side, there are many modules like webdynpro , workflow , UI5 etc which can be learned alongwith abap, but your primarily section should be abap module.
There are some more modules in sap for functional persons those not required coding, so you can search in google for it, if find it interesting, you can also choose any one of them.
But your main question is for certifications, so please understands, sap certification alone never fulfill your job hunt.
If you have further queries, feel free to ask. -
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 -
Whether Workflow Program Exit works in ABAP WebDynpro
Hi,
I have the custom workflow in which in each task i have given a program exit to update the status into my custom tables.
Now i'm in doing the change in workflow, that it should call the abap webdynpro screen, where the user decisions has to be made.
I'm getting the Workitem id from the UWL and then it lauches the Web Dynpro to choose either Approve, Reject or Change etc along with some other travel expense information.
Now once i complete the web dynpro by calling the method 'SAP_WAPI_WORKITEM_COMPLETE', the particular work item is completed.
I want to ask whether before this FM is called,whether the Program Exit which i have written in the Class method and which is called in the Workflow, whether it triggers or not?
Regards,It is calling the workflow program exit before the SAP_WAPI_WORKITEM_COMPLETE function module.
So closing the thread. -
How to Trigger a Workflow from ABAP Webdynpro
Hi All Gurus,
I have the following urgent requirement, my client is implementing HR and there is a requirement, where is a ABAP Webdynpro component in which we have integrated a Adobe Interactive Form. When the user calls this from through Portal and fills out the relevant data and submits it, a Workflow in the backend ECC system should lauch,
I am not familiar with, this concept although I have worked in Workflow this is the first time I am interfacind with ABAP Webdynpro and Adobe Interactive From.
Can you please let me know in steps what needs to be done to make the workflow trigger for my scenario and also the specific settings to be done in the bacckend.
Regards,
Pratima JainHi,
If you are using HCM Processes and Forms, the Workflow and form are not directly related, thats true.
But the method in the task calls the corresponding webdynpro application which responds to the action triggered by the user in turn to trigger the workflow and update the data in the HR Master Data.
There are 3 layers 1. UI (webdynpro which launches Adobe Interactive form based on ISR Framework)
2. Workflow
3. Backend framework (used for retrieving F4 helps, default values, save data in the infotypes).
for more documentation, please refer it on help.sap.com.
http://help.sap.com/erp2005_ehp_03/helpdata/EN/82/b6b94278560c31e10000000a1550b0/content.htm
hope this helps.
Best Regards,
Saujanya. -
Attachments from Workflow to ABAP Webdynpro launched from UWL
Hi All,
You might have seen a recent post from me for sending attachments from ABAP Webdynpro to Workflow.
I could do that by just calling SAP_WAPI_ATTACHMENT_ADD. I didnt have to create an instance of the SOFM object
by passing the ATT_ID from this function module.
Now the next task of the workflow which is sent to UWL, automatically carries the attachements in the Workitem.
I didnt do binding from workflow container to Task container. (I dont know how!!)
But I need to get those attachments on my ABAP Webdynpro after it is launched from UWL.
For this I am using SAP_WAPI_GET_ATTACHEMENTS. But this FM is giving me the BOR reference.
How do use this to get the attachments displayed on my Webdynpro as links?
Thanks
DebHi Debabra,
I have similar requirement where I want to add new attachment from Webdynpro abap to workflow and again next level want to view it in UWL in another Webdynpro abap from workflow.
I am trying to attach the document from Webdynpro to Workflow I used FM SAP_WAPI_ATTACHMENT_ADD and looks like it attached in workflow.
Can you please tell how the second part was solved where I want to attach document from workflow to Webdynpro abap
Thanks,
ST -
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> -
Webdynpro Interactive Adobe Forms/Workflows
Hi,
I have the following steps for my client in their appraisal process.
Manger selects his employee using webdynpro and selects the appraisal form.
Manager and Employee fills Appraisal form / interactive adobe form in the beginning of the year .
It will be sent to the employee UWL through workflow for verification in read only form where he can add his comments in the comments box.Once he agrees with the objectives and submits the form it sits in the UWL of managers.
After six months there will be revision of Objective Setting if required by manager and employee with same as above process.
Objective Setting should be freezed after approval.
At the end of the year, the final appraisal form is agreed with employees and manager an approval from manager should send to the next level line manager UWL using workflows.
I have built the webdynpro application with an interactive adobe appraisal form , but how to trigger the Workflow from the adobe form and what are the steps i need to customize for the above process and store the appraisal form after the second line managers approval??
Are these available in standard workflows provided by SAP? Or do I need customization?
Please help.
Thanks.
KumarHi Kumar,
Your requirement is achievable by configuring a HR Process by using the HCM Process and Process. Please refer to SAP course material HR 280 for an overview of the HCM process and forms.
Regards,
Roy -
How to attach document from webdynpro TO workflow
Dear friend,
For one requirement i want to attach documents(.doc or .pdf)
from webdynpro form.
I want to display it with user decision step along with description.
I am confused that which container element would contain it?
and how can i display it along with description?
How can i attach document to the workflow?
Please guide me stepwise.
Thanx in advance!
Regards,
Purvesh.hi,
Please Refer to the thread.
How to Attach a pdf file which is created in EP while sending the mail
Regards
Sumit Agarwal
Maybe you are looking for
-
Check number in accounts payable - urgent
Hi all, This is regarding the check number not appearing in the invoice document line item in the report. The following is the scenario: 1. Invoice document is entered - KR document type( expense a/c to vendor) 2. Automatic payment program - ZP docum
-
Publishing Flash 8 as .mov
I have a flash animation created in Flash 8 Pro that I want to publish as a .mov I continually get the message that the animation must have a publish setting of "Macromedia Flash 5 or lower" -- it does. The proper Quicktime is installed. The title is
-
OSD: Downloading multiple files is very slow
I has a exe software. It is not a single file package, it contains a lot of files. when I installed this software in OSD, I found it would spend 15~20minutes to download files. It was very strange. The software is only 750 mb size. the speed of downl
-
HT4623 Can i copy iphone aps to my computer?
Can I copy purchased iphone aps to my computer?
-
Web interface to read CSS service status
I'd like to write a web page to read the service summary. I'm using Content Switch SW Version 5.00. It looks like the xml interace can write but not read. Is there any method to read the CSS service status from an active server page?