Stop workitem in inbox - Urgent
Hi experts,
I have a task defined in workflow which creates a workitem in the inbox. upon execution of which a Z transaction gets called.. now problem is if i come out of teh Ztransaction without making any changes by pressing F3... the workitem is not remaining in the Inbox...
how do i stop the task for later processing..
Thanks in advance
Hi Guys
My code already has a code for exit on F3... anyways my problem is solved...
I tried to use the macro EXIT_CANCELLED which is defined in the predefined include program of the Business objects. based on the the control code that F3 is returning i tried to use thsi macro, which helps in retaining the workitem..
Thanks & regards
Kan
Similar Messages
-
Workflow - Change description "Cancel and keep workitem in inbox"
Hi,
Can you please tell me whether we have a way to change the description of "Cancel and keep workitem in inbox" as "Cancel".
Thanks
AshuHi Ashu,
The text is coming from the Text symbol of standard include program LSWU2F10.
Text symbol number is 301.
Check for enhansement option to change the text symbol.
But this change will affect all your decision step workflow's.
Thanks,
Viji. -
Cancel and Keep Workitem in Inbox
Hi,
My Workflow Step calls a Cutom Transaction which should have a button Cancel and keep Workitem in Inbox.How do i go abaout implementing this.
It should work similar to the User Decision cancel and keep work item .
My Step also has a Confirm End of processing Check.So if i click on the Cancel
the work item the screen confirm end of processin step should not appear and workitem should be in my InboxHello,
Just call EXIT_CANCELLED. in your method. This cancels a WI without completing it and leaves it in the inbox.
<code to call screen/transaction>
if <your button was clicked>
exit_cancelled.
endif.
Cheers,
Mike
Message was edited by:
Mike Pokraka
Correction, brain on holiday, it's exit_cancelled not exit_return. -
Hi Friends,
I have worked on standard BO.
PR release workflow as purchaseofficer got the mail and pr release-please register workitem..that's fine.
But purofcr should be click on workitem. he is not saved. then purofcr back to inbox. but workitem is not inbox. it's go to outbox.
now client requirement workitem is not saved still in inbox after saved then go to outbox.
Plz need your's help.Hi,
i know difference in mail & workitem. and check also outbox.
my Workflow purchase officer got mail and workitem both.he is click on workitem. then he is not check the confirm button. he is back to inbox.
not before confirm check box disappear on workitem in inbox.. then after check the check the disapper in workitem.
Regards
MSR -
My email stopped going into inbox 2 days ago
my email stopped going into inbox 2 days ago
OS X Mail: Troubleshooting sending and receiving email messages - Apple Support
-
Hi,
my requirement is to call webdyn pro screen from workflow..
i am calling webdynpro screen by using FM :CALL_BROWSER from workflow.
when webdyn pro screen is called user will enter some values . if user closed webdyn pro screen with out entering any values we need show this workitem in his inbox. so that user can again open it and enter values in the webdyn pro screen.
Please help how to stop work item complete based on conditions.
Thanks,
phaniHi,
As per my understanding, this is not a proper approach toy call web dynpro using FM CALL_BROWSER. is the web dynpro screen being called when user clicks on the work item from portal UWL OR from SAP SBWP ?
if you are calling web dynpro screen from portal UWL when user clicks on work item link, better you achieve it using SWFVISU tcode. in SWFVISU tcode you can maintain which web dynpro. application to call when particualr work item task come in user's inbox. in your web dynpro code, then you can write your buisiness logic when user clicks for example SUBMIT/SAVE button. on action submit/save button you can use FM SAP_WAPI_WORKITEM_COMPLETE to complete the worktiem once the user clicks on final submit/save button. in this way the workitem will get removed from user inbox only upon clicking on submit/save button.
You can refer below link for web dynpro for workitem:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70648e99-4cc1-2c10-879d-9c61003c69d6?QuickLink=index&… -
Approver again receiving workitem in inbox
Hi All,
I have implemented legal contract workflow, based change ststus(RA ) workflow should be triggered. for that i have given a condition.my workflow is 2 level approval workflow. 1st level approved then status to be changed to a1,if he rejected status changed to q1. it is working fine. but when ever approver1 rejects , status got changed to q1 , again approver1 receiving another workitem for approve.
could you please suggest me, how to stop again that one.
my BO is draw based on Condition documnet type(vcd) and documnet status(RA)then only my workflow triggers and went approvers inbox,here i have used Rule with responsibilities.based on the circle i am getting the approver1.
Thanks and Regards,
SivaHi Swaminathan,
Thanks for your reply..
Once rejected container showing user WF-Batch again triggerring workflow.
How to stop this.
After rejection happens status got changed.(for that i have used method setstatus) , if i check approver inbox again another workitem with changed status.
as per the requirement if approver1 rejects status to be changed to q1 and send mail to workflow initiator workflow ends.
this is happening, but after rejecting approver1 again receiving another workitem for approve.(i.e US WF-batch generating)
in approver1 inbox.
please help me how to resolve this?
Regards,
Siva -
RE: Mail sent to SAP inbox-Urgent.
Hi,
I sent mail with attachment( internal table contents) to SAP inbox using the below codw.
DATA: l_text TYPE char255. " Text
*DATA: l_text(280) TYPE c. " Text
DATA: l_lines TYPE i,
l_size TYPE sood-objlen. " Size of Attachment
Mail related
DATA: i_content TYPE soli_tab, " Mail content
i_attach TYPE soli_tab. " Attachment
DATA: l_send_request TYPE REF TO cl_bcs, " E-Mail Send Request
l_document TYPE REF TO cl_document_bcs, " E-Mail Attachment
l_recipient TYPE REF TO if_recipient_bcs, " Distribution List
l_sender TYPE REF TO if_sender_bcs, " Address of Sender
l_uname TYPE salrtdrcpt, " Sender Name(SY-UNAME)
l_bcs_exception TYPE REF TO cx_document_bcs, " BCS Exception
l_addr_exception TYPE REF TO cx_address_bcs, " Address Exception
l_send_exception TYPE REF TO cx_send_req_bcs. " E-Mail sending Exception
DATA: l_recipient_soos TYPE soos1.
*data : p_uname TYPE ad_smtpadr .
FORM send_to_sap_mail .
Preparing body of the Mail
MOVE 'Pending Delivery Documents List' TO l_text.
APPEND l_text TO i_content.
Preparing contents of attachment with Change Log
PERFORM prepare_attachment.
Creates persistent send request
TRY.
l_send_request = cl_bcs=>create_persistent( ).
Creating Document
l_document = cl_document_bcs=>create_document(
i_type = 'RAW'
i_text = i_content[]
i_subject = 'Pending Delivery Documents' ).
DESCRIBE TABLE i_mara LINES l_lines.
DESCRIBE TABLE it_output LINES l_lines.
Size to multiplied by 2 for UNICODE enabled systems
l_size = l_lines * 2 * 255.
Adding Attachment
CALL METHOD l_document->add_attachment
EXPORTING
i_attachment_type = c_ext
i_attachment_size = l_size
i_attachment_subject = 'Pending Delivery Documents'
i_att_content_text = i_attach[].
Add document to send request
CALL METHOD l_send_request->set_document( l_document ).
Get Sender Object
l_uname = sy-uname.
l_sender = cl_sapuser_bcs=>create( l_uname ).
CALL METHOD l_send_request->set_sender
EXPORTING
i_sender = l_sender.
E-Mail
TRANSLATE p_uname TO UPPER CASE.
l_recipient_soos-recesc = 'B'.
l_recipient_soos-recnam = p_uname.
Preparing recepient from SAP Logon Name
CALL METHOD cl_send_request_bcs=>create_recipient_from_soos1
EXPORTING
i_soos1 = l_recipient_soos
RECEIVING
result = l_recipient.
Add Recipient
CALL METHOD l_send_request->add_recipient
EXPORTING
i_recipient = l_recipient
i_express = 'U'
i_copy = ' '
i_blind_copy = ' '
i_no_forward = ' '.
*Trigger E-Mail immediately
l_send_request->set_send_immediately( 'X' ).
CALL METHOD l_send_request->send( ).
COMMIT WORK.
CATCH cx_document_bcs INTO l_bcs_exception.
CATCH cx_send_req_bcs INTO l_send_exception.
CATCH cx_address_bcs INTO l_addr_exception.
ENDTRY.
Refresh it_output.
clear l_text.
clear I_content.
refresh I_attach.
ENDFORM. " Send_to_sap_mail
*& Form prepare_attachment
text
--> p1 text
<-- p2 text
FORM prepare_attachment .
FIELD-SYMBOLS: <lfs_table>, " Internal table structure
<lfs_con>. " Field Content
DATA: l_text TYPE char1024. " Text content for mail attachment
DATA: l_text(1280) TYPE c. " Text content for mail attachment
DATA: l_con(50) TYPE c. " Field Content in character format
Columns to be tab delimeted
LOOP AT it_output ASSIGNING <lfs_table>.
DO.
ASSIGN COMPONENT sy-index OF STRUCTURE <lfs_table>
TO <lfs_con>.
IF sy-subrc NE 0.
CONCATENATE c_cr l_text INTO l_text.
APPEND l_text TO i_attach.
EXIT.
ELSE.
CLEAR: l_con.
MOVE <lfs_con> TO l_con.
CONDENSE l_con.
IF sy-index = 1.
CLEAR: l_text.
MOVE l_con TO l_text.
ELSE.
CONCATENATE l_text l_con INTO l_text
SEPARATED BY c_tab.
ENDIF.
ENDIF.
ENDDO.
ENDLOOP.
ENDFORM. " prepare_attachment
Here my problem is in my internal table i have 30 columns and the row output length is more than 255 char,
and the SOLI structure fields defined as CHAR255, thats why when i am opening the sap mail attachment in Excel sheet, last three fields data is not displaying can any one please let me know the answer.loop at output_table.
concatenate g_string
filed1
filed2
CL_ABAP_CHAR_UTILITIES=>CR_LF
into g_string separted by
CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
endloop.
now pass the filled string to
CALL FUNCTION 'SCMS_STRING_TO_FTEXT'
EXPORTING
text = g_string
IMPORTING
LENGTH = LENGTH
TABLES
ftext_tab = obj_bin.
pass this objbin to SO_NEW_DOCUMENT_ATT_SEND_API1
now you will get the desired excel sheet.
NOte: dont put urgent in your subject.it is arule that people should not ans question which have urgent.
Edited by: S.r.v.r.Kumar on Jun 18, 2008 10:25 PM -
Hi Gurus,
I have created new Z event for Service notification (ZCHANGE) which will trigger on the change of service notification. I have configured this using TCODE SWEC. While configuring this I have selected option 'On Change'.
For creation of Service Notification I am using standard event (CREATED) and also configured this using SWEC. While configuring this I have selected option 'On Create'.
Now when I'm creating Service Notification I'm receving two workitems triggered by these events. where as there should be only one wrokitem in the inbox on creation.
I have checked Workflow log, these Workitems are getting triggered by one workflow and with two separate events 'CREATED and ZCHANGE'.
Any inputs, as how can i get only one workitem in my inbox?
Thanks & Regards,
Yogesh.Hi Arghadip,
Thanks for reply.
Here my senario is I want to trigger mail two times when user is creating and user is changing service notification.
Standard event is to trigger workflow on create service notification and Z event is on change service notification.
When I am changing service notification then only my Z event is get triggered.
But on create both these events are getting triggered.
Regards,
Yogesh. -
ICWEB Client - Agent Inbox - Urgent
Hi,
I want to know how can we change the due date appearing in the Agent inbox to a date type in my service ticket.
Currently, the default due date and time are 23:59,1999.
Please respond ASAP .
good answers will be rewarded
Regards
RajHi Jaoquin
I have the BADI implemented and active already ..
Thanks for the reply but my concern still remains.
Hi Arden
_A Service Ticket should be assigned a Date Profile, by manipulating a the Date Profile you can parameterise the Due Date value.
I have a date profile with date types assigned to my ticket and i want that the ticket should go red on completion of one of the date types for which i maintained the settings in
Agent Inbox>Map Item Attributes to Inbox Attributes>Define Advanced Warning for Due Date_
but the due date being picked is from somewhere else did i miss some customization ..
Please Help!! --Urgent
Regards
Raj -
PO Release WF not sending workitem to inbox
Hi All,
We are working on activating the PO release WF 'WS 20000075'. We activated it thru OOCU and it is triggering when we save the PO (i checked in SWEL) but we do not see any workitems in SBWP (inbox). I 'Agent Assignment' is in GREEN and is a 'General Task' in the task.
This is the config we did in SPRO:
SPRO -> MM -> Purchasing -> Purchase Order -> Release Procedure for Purchase Orders -> Define Release Procedure for Purchase Orders > Workflow -> Here we assigned OT as US and respective User ID's for Release Codes.
When i double-click on the entries in SWEL:
- The 'Receiver Data' section is BLANK and in the 'Trace Data' section, action says 'No receiver entered'.
I think the WF is not able to read the AGENT. Not sure. Can anyone please help me with this/
Thanks in advance.
Karuna.Karuna,
How have you managed to read the agent? -
Cance and Keep Workitem in Inbox
Hi,
Is there any way to change the text of Cancel and Keep workitem Inbox to Exit Menu.
I dont want to build custom Transaction i prefer using the standard user decision step.
Regards,
SwathiHi,
This is SAP Standard option, you can can't ignore/change.
Thanks and Regards,
Prabhakar Dharmala -
Hi All,
Successfuly workitem executed,but again the same workitem text and its attachment keeping in the inbox with nill records.
And also the same nill record workitem keeping in all other user's inbox.
Same thing happening also in all other workflow workitems.
Hope you understood my issue
What could be the problem?
Thanks and Regards,
Prabhakar DharmalaYou are not giving a lot of information. I suggest you spend some more time trying to figure out either the cause, or some things you can tell us.
Sounds like a general task where the agent resolution fails (e.g. a role without the checkbox checked to raise an error when no agents are found).
I would start by checking who started the workflow, and how it was started. Then check a few other things before you come back here with more information if it is still a mystery.
<i>Message was edited by Kjetil Kilhavn:</i>
You are not even saying if it is a standard workflow or a customer solution, whether it is a BOR object type or class that has been used, or indeed whether that is a standard or customer-developed class or BOR object.
In short: you are not giving any information that is specific for your problem. You can't solve a problem without specific information. It's no different from when end-users say "SAP does not work". -
Removal of workitems from Inbox for specific user
Hi,
Can anyone tell how to delete mass workitems from a specific user's inbox.
For example if there are some 4000 workitems in a user's inbox, how can we delete all the workitems by not seleting one by one and deleting.
Thanks&Regards,
PavanHi,
you can use tcode : SWWL to do that...
This is not the right fourm for asking this ???? it should be under BPM.
Atul -
Workflow: Execute WorkItem from Inbox
Dear experts
We upgraded CRM 4.0 to CRM 2007. We have workflows scenarios in our system. Workflows are received in our Outlook Inbox. From there, we have 3 options:
- Workflow Inbox
- Display Work Item
- Execute Work Item
The workitem should open a service process in CRM.
If we execute the workitem from the outlook inbox, it will open the service process but not using the standard WebUI screen, instead it will use the IC WebUI screen to open the service process.
If we execute the workitem from the worklist (in WebUI), it will open the service process using the standard WebUI screen.
What should we change in order to use the standard WebUI screen (and not the Interaction Center) when we execute a work item from outlook?
Thanks in advance for your help.
Best regards
StephanieHi Govil,
Thanks.
The agent assignent is fine and the task is also made as general task . Even the object i am using is standard 'BUS2000120' not the custom one.
i feel the problem may be due to someworkflow settings between Web UI and backend. Let me know if any settings like such (apart from SWU3).
Any more suggesstions please????
Regards,
Sateesh
Maybe you are looking for
-
Runtime Error : UNCAUGHT_EXCEPTION
Hi Solman Experts, While downloading softwares through Maintenace Optimizer ( Solution Manager ),I am getting below error.. First Error : Function module /SDF/AL_MAP_TRANSID_LOGH does not exist. The Maintenance Optimizer can automatically determine w
-
Hello everyone! This is my first post because i have grown very disgruntled at the fact that my eye dropper does not work my Premiere CS5. I would use the Ultra Key a lot but now I obviously can not really use it too well because of no eye dropper. I
-
CANNOT OPEN PICTURES IN EMAIL FIREFOXX STOPS OR RUNS FOREVER
FIREFOX ASKS WHAT TO OPEN ATTACHMENTS AND GIVES ONLY BROWSE. YOU OPEN A PICTURE AND IT GOES ACROSS AS IF THERE ARE MILLIONS OF PICTURE, YOU HAVE TO CUT OFF COMPUTER TO STOP THIS . MS EXPLORER JUST OPENS A PICTURE OR ATTACHMENT. YOUR STUFF WWORKS MUCH
-
Hi, Has anyone done PM scheduling using API. Please share if you have. I have to convert contracts from legacy and would really appreciate any help regarding PM scheduling. TIA, Alka.
-
Trouble Restoring to Vista Factory Default
I have had a Thinkpad T61 (6460-66U) for just under a year now. When I first got it, it was pre-loaded with Vista and came with XP Pro recovery CDs. Since it only had 1G of RAM in it, I opted to burn out a Vista Recovery DVD with the ThinkVantage t