Leave Overview IAC iview not trigerring workflow (WS01000109 or WS12400005)
Hi,
We have brought in IAC iview (WS01000109 and WS12400005) for leave request Overview in portal . When I try to delete an unapproved leave it is not triggering the desired workflow for (WS01000109 and WS12400005). It is giving error message "Request cannot be deleted".
Hello,
What application are you using to delete the unapproved leave?
It sounds like it has a problem with that leave being deleted, and so won't start the workflow.
So, it doesn't sound like a workflow problem. Debug the application, if possible, to see why it is doing so.
regards
Rick Bakker
Hanabi Technology
Similar Messages
-
Leave Cancellation Workflow - WS01000109
Hey SAPiians,
We have implemented the "Cancel Leave" service on the ESS at the client's end. We have already implemented and tested the service for "Leave Requests" using workflow "WS12300111".
Now i have the following questions:
1. Can the same workflow be used for "Cancellation of leave" ??
If yes, are the necessary deletions performed from the respective
infotypes ??
2. Can the workflow WS01000109 (Cancel Leave Request) be used for the
same purpose ?? Where do i need to put the Workflow id in the
config ??
Here is what we did...
1. We made a copy of the workflow WS01000109 (Cancel Leave Request) and did the expected activations in workflow wherever required.
2. In transaction PTARQ under CUSTOMIZING -> Service-Specific Settings -> Working Time -> Leave Request -> Processing Processes -> Specify Processing Processes for Types of Leave -> Define Absences/Processing Processes, we put this workflow id in the section "Workflow Template" in the cancellation request input box.
3. We then tested the scenario by raising a request. However, the request gets deleted without any approval and also no workitem is created in SWIA.
Is there any other setting which needs to be done to activate the workflow ??
Please guide.
Thanks,
Shashankhi Shashank
Use only WS12300111 workflow template for delete,change and applying leave. Am using the same standard workflow for all the three cases its works fine. No need to worry about infotype. If you tag your workflow in cancellation request work item will go to the approver if he approves then run the post documetn which will convert from status approved to posted in tabel PTARQ_HEADER then go to t-code PA30 type the employee number and infotype 2001 and check the overview you can find the type of leave applied and date and all details.
Regards
vijay -
F4 help is not working in IAC Iview
Hi,
There is IAC iview for transaction PA61
F4 help is not working for the iview
it workes in backend SAP PA61
kindly give any hints what can we check
thanks in advance
bHi,
This might be due to the JRE version of the browser. We faced such issue and the update of JRE version in the browser helps to get the pop-up of F4 help. Check in the internet broswser Tools -> Internet Option -> Advanced. Check whether the JRE applet is checked or not. it has to be checked. if it is checked and even if you dont get the F4 help, upgrade the JRE version.
Thanks,
Mahendran B. -
Workflow is not trigerred from the portal
Hi all,
I have a scenario in which the workflow requires to be trigerred through the portal and direct the task to the approver's inbox in extent to sending email notification to the approver, I have developed the custom workflow and i am using the standard rule for getting the approver. all of this is working fine when i test them on R/3 but wheni am integrating the workflow to the portal using a BAPI it is not trigerring the workflow. The first step in my worklflow is to send the email notification to the approver, if i remove this step then it directs the task to the approver's inbox which is the second step in my workflow.
Can anyomne please guide me why it is happening.
Thanks.
Saurbah Anand.Hi,
You said
<i>"wheni am integrating the workflow to the portal using a BAPI it is not trigerring the workflow. The first step in my worklflow is to send the email notification to the approver, <b>if i remove this step then it directs the task to the approver's inbox</b> which is the second step in my workflow."</i>
Do you mean say that it is not working when you put the sendmail step alone? Or is it that the workflow is not triggering at all.
I assume that you are using a BAPI to create an event which will start this workflow. Now if your workflow is not starting at all then you need to activate the event trace (SWELS) and check whether the event was triggered first (in SWEL). If yes then check for any errors in the receiver connection.
If your workflow does start and fails at sending mail step then you may need to give some more info. Are you using the standard sendmail step or Are u using a background task. In case if u r using a BG task then it might be creating a dump while triggering from portal (Ex. it might need the Evt_creator user id to determine the approver which is not binded properly from Event<->Workflow<->Task<->Method).
Also have a look at ST22 for any dumps.
Thanks,
Prasath N -
MSS Absence Report PT64 not working via IAC iView
We have a problem with MSS regarding the PT64 Absence Report. If we invoke the report via SAP GUI it produces a report using the correct date criteria specified.
If we invoke the same report through MSS business package v 60.1.4 on EP6 SP2, the Selection Criteria iView delivered in the business package launches a new window to display the report using an AppIntegrator IAC iView and generates a URL as follows:
http://server/irj/servlet/prt/portal/prtroot/pcd!3a!2f!2fportal_content!2fcom.sap.portal.migrated!2fep_5.0!2ftemplates!2fcom.sap.portal.appintegrator.sap.bwc.IAC?System=SAP_R3_HumanResources&SAP_IAC=hrwpc_fc_exec&SAP_QueryString=S%3DZMSS%26F%3D*HISRETABS+5%26B%3D18000101%26E%3D20050901%26V%5B1%5D%3DZRPT_D1%26O%5B1%5D%3DP00003582
The report ignores the date criteria passed from the MSS iView. I can see in the URL above that the URL contains the dates I specified in MSS (start date=18000101 and end date=20050901).
So I assume that either the URL is wrong or that PT64 or ITS is incorrectly interpreting the URL?
Problem is, how do I know what the URL is supposed to look like?
And if ITS or PT64 is incorrectly interpreting the URL query data, how on earth do I investigate or debug this.
Cheers,
SteveHi all,
I am having the same problem, only I am not able to see any reports, the link appears ok but the screen opens up empty.... Any ideas ??
Regards,
Paulo Poinha -
EHp4 NEw ECM Workflows not trigerring from portal
CL_HRECM00_WORKFLOW_EVENT This is the class used to trigger the workflow and the workflow templates are
WS04000022
WS04000023
WS04000024
WS04000025 and these are having only notification steps and wait for events.
When we do the test Run in R/3 events gets triggered and workflow is running sucessfully but from the portal Event is not trigerring to start the Workflow.
please guide.
Thanks,
AmarHi
Please provide the steps taken in Portal to reproduce the issue
I think the problem could be missing configuration in UWL configuration file which is uploaded via
System Administration -> System Configuration -> Universal Worklist
and Workflow -> Universal Worklist Administration.
I am not sure how UWL team delivers this code for new work items - its possible a CSS message is needed to investigate this
Thanks
Stuart -
Run time error iview 'Leave Overview' in ESS - Pl Help
Hi Gurus ,
We are getting run time error when we
click the 'Leave Overview' in
ESS.
when emloyee applies for leave he may
need to wait for aproval during
that time he cannot access the 'leave
overview' screen he will be
facing run time error .
because of this run time error system
performance become very slow .
please help me .i will give points for valid answers .
:-Suneetha reddy
Edited by: Sunitha Reddy on Mar 26, 2008 9:47 AMHi ,
I am soory for late reply ,
I changed the runtime parameter to 1200 and monitaring the system .
Now there is no Run time error but still Leave overview is taking time .
Please help
Thanks,
Sunitha -
Good Night.
I am configuring ESS with BP 1.41 and ECC 6.04.
I want know What is the name of the table that SAP use for display the information of the field enclosed in the box red of the following screenshot.
[Leave Overview ESS|http://www.freeimagehosting.net/uploads/e3b68e8e1e.jpg]
Thanks in advance for your help
Best RegardsGood Night Nachy.
The employees in the company want know that mean the field status with value "Informados". ?
I don't registered this absence from the portal(ESS->Leave Request).- I registered the absence from the Infotype 2001 in the backend. In the iview of Leave Overview I can display the absence with value "Informados".
I want know in What tabla is gotted this value of "Informatados". With this I can display What other values exist in this table and understand the issue.
I checked in the tables PTREQ_HEADER; , PTREQ_ATTABSDATA and PTREQ_ITEM, and this tables not have entries.
The field that you comment is the enclosed in the box red of the following image:
[Image1|http://www.freeimagehosting.net/uploads/8349d05dc8.jpg]
Thank in advance for your help.
Best Regards -
ESS Bus. Pkg EP 6.0 SP19 to R/3 4.7 ext.2 - IAC iView Problem
Given the above components, I've deployed the ESS business package to the Portal. All components deployed successfully... no errors. I'm creating a new Role (custom, not from BP) and I'd like to use one of the iViews from the Business package in this role. I'm using the "Enrollments" iView which seems to be an IAC iView calling PZ14.
Now the problem... when I access this iView via the Portal, ITS is called and the iView loads but only shows me the Easy Access Menu (SMEN). PZ14 never loads. I can enter PZ14 in the transaction field and it will load but it doesn't come up on its own. I also created a SAP GUI for HTML transaction iView to test PZ14 and that one works fine. To meet the customer's requirements though it must look "pretty" ... like the IAC iView does.
The only thing I changed on the iView was the system alias. Changed it from SAP_R3_HumanResources to SAP_R3 (this is the proper name of the system I'm using to test).
Any ideas?
-KevinThis has been resolved. Oddly enough, I inadvertantly added /webgui/! to the end of the ITS Path definition in the system object. This was causing the afore mentioned behavior. Once removed, the iView behaved as expected.
-Kevin -
Dear All,
We are trying to create IAC iviews but getting error.
Environment details:
OS: AIX 5.3
DB Oracle 10.2.0.2(UC)
Application EP7.0 (SPS14)
Backend ECC 6.0 SR3
We followed the below mentioned steps:
01) Created one Internet Service ziactest in se80 with the parameters -
~transaction = tcode and ~generatedynpro = 1
02) Published the 'complete service' to the site INTERNAL.
03) Created one sub element under /sap/bc/gui/sap/its as ziactest
04) Modified the service ziactest as :
- specified "GUI Link" = Yes
- specified following GUI Configuration parameters:
~WEBGUI = 1
~SINGLETRANSACTION = 1
~NOHEADEROKCODE = 1
~TRANSACTION = tcode
~GENERATEDYNPRO = 1
- specifed handler as CL_HTTP_EXT_ITS
05) save & activated the service
When trying to test the service, we are getting a script error "Error on Page": wgu_global_eventhandler is null or not an object and the page displayed - is getting distorted . Also, system is specifying that: "The URL
http://gcbeccd:/sap/public/bc/its/mimes/system/page/menubase.html was not called due to an error."
When tried directly with the above url, the following error is getting displayed:
"The following error text was processed in the system RD3: The theme extracted from PAGE/MENUBASE.HTML has more than 2 characters."
Please note that: The SAP GUI for HTML has been configured and working properly. Also, the SAP note 790727 has been applied to resolve this problem but no result.
Any help in this regard will be highly appriciated.
Thanks & Regards
SudipHello Sudip,
If the webgui service is working then there should be no reason for this to not work. By specifying ~webgui 1 you're actually not using any template you've created for the ziactest service. The URL should be:
http://gcbeccd:/sap/bc/gui/sap/its/ziactest
Please also try:
http://gcbeccd:/sap/bc/gui/sap/its/webgui?~transaction=tcode
Please also publish the IAC, WEBGUI and SYSTEM Internet Services from SE80 to the Internal ITS.
You should look at the developer trace (dev_w#) for the Dialog Workprocess that is used and reporting the error for more information.
Edgar -
Need to make Leave request delete a single step process on Leave Overview..
<h5> Hi Guru's, </h5>
<p>
My clients requirement is to add a coulumn to the standard LeaveOverview application under SAP ESS Leave application.This coulumn should have a "Delete" button for each row while showing the LeaveOverview records.
<p>
On Click of the Delete button the client wants the Leave request to be deleted,without carrying out any further steps as they appear in the standard scenario.
<p>
I could add the coulumn by using the provided hidden cutomer field, and added the button as well. Only thing remaining is now the deletion part of it. I am new to WebDynpro java so please help me.
<p>
Thanks in advance!
<p>
Samir Kulkarni
9922111479Hi Siddharth,
Thanx for a quick reply!
I know it can be done with wd java, but I would like a step by step process as being a amature in this domain. I tried few things on standard but in the end it will take me to the review screen only.
It will really be helpful if you let me know the note number cause I have been searching for the same for long and could only get a note for skipping review screen in the Leave Request process not in the deletion's case from leave overview screen.
Thanks in advance!
Regards,
Samir
9922111479 -
ESS/MSS: Approve Leave Request in UWL - not working
Hi to all,
we are using web dynpro ESS/ MSS (SAPESS07_12/ SAPMSS07_4) in portal NW04s for mySAP ERP2005 and are using UWL in order to approve leave requests. If employees are creating leave requests, everything works fine. After that the manager opens the leave request in UWL, the web dynpro application is openening succesfully and after some clicks he reaches the buttons to approve or reject the leave request. But by pushing one of them the following messages occures :
<b>Workitem 000000000000 Cannot be read</b>
After pushing the button again, another message comes up:
<b>No Customizing for status typ ARQ, Status approved...</b>
By the way, the same errors also come up when the employee wants to delete his leave request which is not approved.
Any ideas, what can be the reason?
Regards,
FrankHi Ashutosh,
I have found the reason. The user <b>WF - Batch</b> in sap erp, which is using the RFC Destination for workflow, was locked. Well, it is a a little bit strange for a cummunication user that he becomes locked. Unlocked him, now all works.
Thanks for your support.
Regards,
Frank -
Hello experts,
I have a problem with the ITS Service in portal side. if I hace two pages, page1 and page2, and this pages are IAC iViews for the same ITS service, and I perform this steps:
1) open page1
2) press a button in page1, that will show more information
3) open page2
4) open page1
When I open the page1, in point 4, the status was not the same that I got when opened the iView for the first time, but with the content that I got after I press button.
How can I fix this? I want that, when I open the page1 in 4th step, I get the same content that in step1.
Can someone help me?
Thank you
BR
JoaoHi,
Which transaction are you using on your ITS service? You can define two services, one for edit and another one for view. On first step you run first service and on fourth step you run second service.
Hope this helps,
Iván. -
Problem when testing ITS (IAC) iView
Hi all,
I have created a service for a T-Code:SMEN.When I test this service I am able to see the 'SMEN' screen, but in the command box if I type any t-code, say "SE38".
The entire screen refreshes but it is not taking me to "SE38"..
I have complete authorizations for all t-codes.
In this service I have the below parameters:
Parameter Name value
~TRANSACTION smen
~GENERATEDYNPRO 1
I have created a IAC iView with this service and even in the preview of this iView, same thing happens.
Can any one give some direction in solving this ..
Thanks in advance
sethuMichael is right - you should not be using an IAC iView, but a SAP Transaction iView with the SAP GUI type set to "Web GUI".
- Darren
<a href="http://www.fortybeans.com/">blog</a> -
Control Framework tree control event not trigerring
The event handle_node_double_click is not trigerring on the tree controls . I want to display the contents of the nodes on the text editor on trigerring of this event
*& Report ZCONTROLS_TREE_TEDIT_SPITTER
REPORT zcontrols_tree_tedit_spitter.
DATA : editor TYPE REF TO cl_gui_textedit,
tree TYPE REF TO cl_gui_simple_tree.
DATA : container TYPE REF TO cl_gui_custom_container,
splitter TYPE REF TO cl_gui_easy_splitter_container,
right TYPE REF TO cl_gui_container,
left TYPE REF TO cl_gui_container.
DATA : node_itab LIKE node_str OCCURS 0.
CLASS EVENT_HANDLER DEFINITION
CLASS event_handler DEFINITION.
PUBLIC SECTION.
METHODS : handle_node_double_click
FOR EVENT NODE_DOUBLE_CLICK OF cl_gui_simple_tree
IMPORTING node_key.
ENDCLASS. "EVENT_HANDLER DEFINITION
CLASS EVENT_HANDLER IMPLEMENTATION
CLASS event_handler IMPLEMENTATION.
METHOD handle_node_double_click.
perform node_double_click using node_key.
ENDMETHOD. "HANDLE_NODE_DOUBLE_CLICK
ENDCLASS. "EVENT_HANDLER IMPLEMENTATION
data : handler1 type ref to event_handler.
START-OF-SELECTION.
CALL SCREEN 9001.
*& Module start OUTPUT
text
MODULE start OUTPUT.
SET PF-STATUS 'ZSTAT1'.
IF container IS INITIAL.
CREATE OBJECT container
EXPORTING
container_name = 'CONTAINER_NAME'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
lifetime_dynpro_dynpro_link = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CREATE OBJECT splitter
EXPORTING
parent = container
orientation = 1
name = 'Mohit'
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
left = splitter->top_left_container.
right = splitter->bottom_right_container.
CREATE OBJECT editor
EXPORTING
parent = right
name = 'MohitEditor'
EXCEPTIONS
error_cntl_create = 1
error_cntl_init = 2
error_cntl_link = 3
error_dp_create = 4
gui_type_not_supported = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CREATE OBJECT tree
EXPORTING
parent = left
node_selection_mode = tree->node_sel_mode_single
name = 'MohitTree'
EXCEPTIONS
lifetime_error = 1
cntl_system_error = 2
create_error = 3
failed = 4
illegal_node_selection_mode = 5
OTHERS = 6
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
PERFORM fill_tree.
CALL METHOD tree->add_nodes
EXPORTING
table_structure_name = 'NODE_STR'
node_table = node_itab
EXCEPTIONS
error_in_node_table = 1
failed = 2
dp_error = 3
table_structure_name_not_found = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
create object handler1.
set handler handler1->handle_node_double_click for tree.
ENDIF.
ENDMODULE. " start OUTPUT
*& Module USER_COMMAND_9001 INPUT
text
MODULE user_command_9001 INPUT.
CALL METHOD cl_gui_cfw=>dispatch.
ENDMODULE. " USER_COMMAND_9001 INPUT
*& Form fill_tree
text
--> p1 text
<-- p2 text
FORM fill_tree .
DATA : node LIKE node_str.
CLEAR node.
node-node_key = 'head_mohit'.
node-isfolder = 'X'.
node-text = 'Mohit'.
APPEND node TO node_itab.
CLEAR node.
node-node_key = 'Child1'.
node-relatkey = 'head_mohit'.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = 'Mohit is the best '.
APPEND node TO node_itab.
CLEAR node.
node-node_key = 'Child2'.
node-relatkey = 'head_mohit'.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = 'Mohit is the bestest '.
APPEND node TO node_itab.
CLEAR node.
node-node_key = 'head_JAIN'.
node-isfolder = 'X'.
node-text = 'jAIN'.
APPEND node TO node_itab.
CLEAR node.
node-node_key = 'Child3'.
node-relatkey = 'head_JAIN'.
node-relatship = cl_gui_simple_tree=>relat_next_sibling.
node-text = 'cnh INDIA '.
APPEND node TO node_itab.
CLEAR node.
node-node_key = 'Child4'.
node-relatkey = 'head_JAIN'.
node-relatship = cl_gui_simple_tree=>relat_last_child.
node-text = 'SAP '.
APPEND node TO node_itab.
ENDFORM. " fill_tree
*& Form node_double_click
text
-->P_NODE_KEY text
form node_double_click using p_node_key type TV_NODEKEY.
DATA : node LIKE node_str.
DATA textline(256).
DATA text_table LIKE STANDARD TABLE OF textline.
READ TABLE node_itab WITH KEY node_key = p_node_key
INTO node.
endform. " node_double_click
*& Module exit INPUT
text
module exit input.
CASE sy-ucomm.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
endmodule. " exit INPUTHello Mohit
Here is a sample routine (taken from BCALV_TREE_02) which you have to add and adapt for your report. It does two things:
1. Register events that should be handled (required but not sufficient for event handling)
2. Set event handler for registered events
The first step is different from ALV grid controls because here all events are already registered with the control (not the control framework).
Set the event handler (statement SET HANDLER) registers the event handling with the control framework.
FORM register_events.
*§4. Event registration: tell ALV Tree which events shall be passed
* from frontend to backend.
DATA: lt_events TYPE cntl_simple_events,
l_event TYPE cntl_simple_event,
l_event_receiver TYPE REF TO lcl_tree_event_receiver.
*§4a. Frontend registration(i): get already registered tree events.
* The following four tree events registers ALV Tree in the constructor
* method itself.
* - cl_gui_column_tree=>eventid_expand_no_children
* (needed to load data to frontend when a user expands a node)
* - cl_gui_column_tree=>eventid_header_context_men_req
* (needed for header context menu)
* - cl_gui_column_tree=>eventid_header_click
* (allows selection of columns (only when item selection activated))
* - cl_gui_column_tree=>eventid_item_keypress
* (needed for F1-Help (only when item selection activated))
* Nevertheless you have to provide their IDs again if you register
* additional events with SET_REGISTERED_EVENTS (see below).
* To do so, call first method GET_REGISTERED_EVENTS (this way,
* all already registered events remain registered, even your own):
call method g_alv_tree->get_registered_events
importing events = lt_events.
* (If you do not these events will be deregistered!!!).
* You do not have to register events of the toolbar again.
*§4b. Frontend registration(ii): add additional event ids
l_event-eventid = cl_gui_column_tree=>eventid_node_double_click.
APPEND l_event TO lt_events.
*§4c. Frontend registration(iii):provide new event table to alv tree
CALL METHOD g_alv_tree->set_registered_events
EXPORTING
events = lt_events
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
illegal_event_combination = 3.
IF sy-subrc <> 0.
MESSAGE x208(00) WITH 'ERROR'. "#EC NOTEXT
ENDIF.
*§4d. Register events on backend (ABAP Objects event handling)
CREATE OBJECT l_event_receiver.
SET HANDLER l_event_receiver->handle_node_double_click FOR g_alv_tree.
ENDFORM. " register_events
Regards
Uwe
Maybe you are looking for
-
XML structure in SAP XI for receiving output para of AS400 stored procedure
Dear all, I submit a stored procedure of AS/400 via SAP XI with JDBC adapter by using below XML format. I try to define two output parameters at the end of this XML. How to get the return value ? Should I define a response message type ? and what is
-
ThinkPad 390, Ethernet card driver
I have reinstall Windows 98 on ThinkPad 390. I install (almost) all drivers from this location (http://www-307.ibm.com/pc/support/site.wss/DSHY-45XN9C.html), but I have problem with two drivers (in device manager) one is PCI Ethernet Controller (I th
-
Sql Server 2012 Integration Services Catalog views - cpu usage history
Hi, I am new to SQL Server 2012. I have deployed and executed a SSIS package on the Integration Services catalog. Now, to analyze the performance of the executed package I wish to query the SSISDB catalog views to retrieve the cpu & memory usage hist
-
Get comp name and apply expression using it.
Hey Guys, So basically, I've created a Vignette script using cc spotlight. The only problem is, in order to link some expression between comps, I had to rename the main comp the vignette is being applied to. Is there a way to get the name of a comp
-
Ok, I setup successfully an Oracle database and I can access it e.g. through SQLplus. Later I could access this database from inside a program like CSharp or Java. For that I could code: OracleConnection con = new OracleConnection(connectionstring);