Hyperlink in Work-flow activity
Hi all I want to pass a hyperlink in Work-flow activity
I am getting problem when my URL is more then 66 0r in sometime 77 characters it that.
It is adding %20%20 in between the URL if it is having more then 66 characters .
Please help me for resolving the issue
Hi,
As there some some charecter limitation to send the link, you need to use the FM SO_NEW_DOCUMENT_SEND_API1. Please see the follwing sample code. Write the code in method and call it within the Task. Make suer that all the required data should be passed to method through binding.
DATA:
lt_user_IDS type STANDARD TABLE OF SWHACTOR,
ls_user_IDS type SWHACTOR,
lt_EMAIL_ADDRESSES TYPE STANDARD TABLE OF ADR6-SMTP_ADDR,
ls_EMAIL_ADDRESSES type ADR6-SMTP_ADDR,
lv_STATUS TYPE CFS_STATUS-STATUS_ID,
Lv_Object_ID type crmd_orderadm_h-object_id,
ls_document_data TYPE sodocchgi1,
lt_text TYPE solisti1 OCCURS 0,
l_document_data TYPE sodocchgi1,
lt_receivers TYPE somlreci1 OCCURS 0,
ls_wa_receive TYPE somlreci1,
ls_text TYPE solisti1,
lv_link_title TYPE char50 'Please click here'.
DATA: lv_link TYPE char200 VALUE 'http://sdfkndggfhjgasdfhasdfhgjhdgfhjasdkljhsdhfjkhjsdfjklhsddfjklhsaddkjghasdjksjkhfjkhjkhsdfjkhasdjkfhjkhsdfkjhjkhsdajklfhjkhkjfhjkh.com'.
CONCATENATE '<A HREF=' lv_link '>'
INTO ls_text.
APPEND ls_text TO lt_text.
CLEAR : ls_text.
CONCATENATE '<H5>' lv_link_title '</H5></A>'
INTO ls_text.
APPEND ls_text TO lt_text.
* Receiver
Loop at lt_user_IDS into ls_user_IDS.
ls_wa_receive-rec_type = 'G'. "SAP User
ls_wa_receive-receiver = ls_user_IDS. "Mail Address
APPEND ls_wa_receive TO lt_receivers.
Endloop.
Loop at lt_EMAIL_ADDRESSES into ls_EMAIL_ADDRESSES.
ls_wa_receive-rec_type = 'U'. "Internet User
ls_wa_receive-receiver = ls_EMAIL_ADDRESSES. "Mail Address
APPEND ls_wa_receive TO lt_receivers.
Endloop.
*This function module is used to send mail
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = ls_document_data
document_type = 'HTM'
put_in_outbox = 'X'
commit_work = 'X'
TABLES
object_content = lt_text
receivers = lt_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
*If Mail Send Successful
IF sy-subrc EQ 0.
COMMIT WORK.
* Push mail out from SAP outbox
SUBMIT rsconn01 WITH mode = 'INT' AND RETURN. "#EC CI_SUBMIT
ENDIF.
Thanks and regards,
SNJy
Similar Messages
-
Hi Gurus,
I am new to ESS-MSS, my client is implementign this module. Can any one please tell me what r the steps to active Work Flows to trigger mails for "Absence/Attendance application in ESS" by employee and for CATS Time sheet filling & its approvals by the manager inMSS& the related tasks.
r there any standard Work Flows to be called in R/3, if so , can any one tell me the path.
In Personnel Time Management -> Web Applications -> Leave Request
do we need to active the Work Flow templet and what input need to be given in fiends New requet____, Cancellation Request_____, & Change Request_____.
we are usign ECC6 in R/3.
Please help,
Thanks for all the help in advance.
Regards
PrasadHi Siddharth,
Thanks for the replay, but
System is asking for three Work Flow Teplets they are
Path: Personnel Time Management -> Web Applications -> Leave Request ->Link Absence Type & Workflow Teplets
WF ID of New Requst:
WF ID of Cancellation Request:
WF ID of Change Request:
Pleae let me know are there any standard Templets for this & also apart from this node is there any whare else we need to asign the WF Templets.
Regards
Prasad -
Standard workflow report to monitor each and every work flow activity
hi experts,
Is there any standard report or table which gives the status of workflow activity.
i.e., approved/rejected/person responsible...etc..
Kindly give some suggestions.SWI1 Selection report for workflows
SWI2_ADM1 Work Items Without Agents
SWI2_ADM2 Work Items with Deleted Users
SWI2_DEAD Work Items with Monitored Deadlines
SWI2_DIAG Diagnosis of Workflows with Errors
SWI2_DURA Work Items by Processing Duration
SWI2_FREQ Work Items per Task
SWI3 Workflow Outbox
SWI5 Workload Analysis
SWIA WI Administration Report
If you have workitems,
SWF_APPL_DISPLAY : Analyze Application Log
SWDP : Workflow Log -
Work flow activity for vendor creation
Hi
In standard do we have any control so that user cannot create vendor master unless it is approved by the authorised person.
I know for changing the existing we can put control in FK08.
But is it possible at creation level?
Thanks in advance,
Regards,
KumarDear Please post it in MM forum.
-
Any Special transaction code for Activation of Work flow
Hi all.
Any Special transaction code for Activation and deactive of Work flow?
which have we need to transport after WF (like task,method,rule)?
To be reward all helpfull answers.
Regards.
JayIf I understand your question correctly, you want to know how to activate your workflow after transport ?
Normally, the status of a workflow is included in your transport (if I'm not mistaken)
So activate/deactivate in your dev-system and transport it.. -
Hi All,
I have a section called USERS as a related information in the task detail page.Every time I modify the task & click on the SEND EMAIL check box I need to send an email to all users under the USERS section mentioning that this task has been modified.
The problem is I dont have an option to extract all the user details and their email ids. I am using the below mentioned options to create the work flow.
Record Type : Activity
Trigger Event : When modified Record Saved
Workflow Condition: When SEND EMAIL is checked
Under Actions
For the TO EMAIL address, I am not able to extract all the email ids of the users under the USERS related info section. Any suggestions.
Thanks
NatrajHi
I do not think you can do it with the current functionality.
you can send emails for activity owner, activity owner manager, activitiy account owner and activity account owner manager.
You can not define to send it to all users, as much as I know.
Guy -
Need an example for work flow based on multistep activity
hi,
i need an example for work flow based on multistep activity for practicing.please do the need.
thanksHi,
Workflow document information:
Check these links.
http://www.sapgenie.com/workflow/index.htm
/people/ginger.gatling/blog/2005/12/01/link-workflow-business-objects-to-your-collaboration-tasks
http://help.sap.com/saphelp_nw04/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
http://help.sap.com/saphelp_bw33/helpdata/en/92/bc26a6ec2b11d2b4b5006094b9ea0d/content.htm
http://help.sap.com/saphelp_bw31/helpdata/en/8d/25f94b454311d189430000e829fbbd/content.htm
http://www.sap-press.com/product.cfm?account=&product=H950
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
&**********Reward points if helpful**************& -
Error Activation of all work flow templates
Dear Folks,
Accidentally there is a big hurdle before me, I have found that all my event linkage's are active in swe2 for almost all the work flow templates. please help me how could such a situation araise with out even activating any thing from SWDD.It happened in Quality & PRD only.
Please help ASAP unwanted work flows are generating.
Thanks and Regards,
Krishna MukthineniHI ALL,
The cause of issue is not yet identified however, there is a solution for deactivation / activation from DEV .
Go to SWE2 and in the menu option we find the Transport option, copy all the line items/Records into the Request and place for importing into the desired server. Since it is a maintenance view please be care ful of changing the entries of the table manually rather please follow the method mentioned above.
Thanks and Regards,
Krishna Mukthineni -
How to set active version for work flow
hi ppl,
I have 3 versions of my work flow i want to set the second version to be the active version how do i do this ? . plz help me out.WF builder choose your second verion & choose <i>Workflow -> Activation -> Generate and Activate runtime version.</i>
This will make it second version as active verion.
<b>*Reward each useful answer</b>
Raja T -
Hi All,
How can I Activate the standard workflow?How to trigger the standard work flow when ever a button is clicked on the protal page suppose "SAVE" Button.
Thanks In Advance, Any links and documents are encouraged
Regards
PavanHi Samson
Thanks but
Just make sure that you make the status of
the standard event as 'Inactive'
How the above operation is possible making a event of workflow inactive. For you to give an idea the same BOR consists both the events but i don't want to trigger the workflow for the event which SAP has defined instead i want to trigger the workflow for the same BOR but other event how can i acheive this.
Thanks In Advance
Regards
Pavan -
Urgent : Work flow in ABAP
Hi friends,
kinkly send me about Work flow. Also send me step by step procedure on how to do work flow. Thanks in advance.Hi,
check the below links
REfer this link:
There is a good book from SAP Press that I would
recommend as a starting point.It's called Practical Workflow for SAP and it is by Alan Rickayzen.
http://www.sap-press.com/product.cfm?account=&product=H950
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
Go through the following links on FORK :
http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8d/25f1e7454311d189430000e829fbbd/frameset.htm
http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm
http://www.insightcp.com/res_23.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
Work Flow
1) Goto Tcode PFTC : Standard Task > Create Button>Workflow Templete
For Create Container
Element : ZBUS1001006
Name : ANy Name
Description
Data Type & Properties
Data Type:
select Object Type : BOR Object Type for BUS1001006
Properties:
Parameter Settingd : check all Import, Export & Mandatory Checkboxes
Basic Data :
Abbr : Create_View
Name : Some Name
Work Item Text : Create View Material & -
Click on DELE Button & Select Material From The List
Object Catagory : BOR Object Type
Object Type : BUS1001006
Method : View
Triggering Events
Obj Catagory Object Type Event
BOR Object BUS1001006 View
activate it
Enter on BUS1001006 Object Type you will get Quadratel<> Button after that
double click on Quadratel<> button you get green button
after that the system will generate the task No.
check in the Event linkage Tcode : SWETYPV
if you find an entry with your Workflow and linkage active
goto Tcode : SWEC click on New Entries
Change Doc Obje Obj Cat Obj Type Event on create
Material BOJ Obje BUS1001006 View Option Button(Checked)
save this
goto Tcode : SWEC
Change Doc Object : Material
Obj Catagoty : BOR Type
Obj Type : BUS1001006
Event : View
Check with On Create Button
Goto SWETYPV
Obj Catagoty : BOR Type
Obj Type : BUS1001006
Event : View
Receiver Type : Some Work Flow No: WS80000431 like this
Click on Work flow Builder
~~Guduri -
Triggering a sub work flow for multiple users at same time.
I have a scenario in which I have created sub workflow as an activity for approval process. This sub work flow should be triggered for multiple users at the same time and their decison is independent of each other.
This is like creating multipe instance of the same sub work flow and then the sub work flow runs indepedently as a new work flow for each of the approver and the process is completeded for approver independently.
How can this be achieved?Tyr to do like this,
1. First include the subworkflow in the main workflow template.
2. Now include standard Block Step in the main workflow template.
3. In the block select the block type as ParForEach.
4. Before doing the 3rd point make sure that all the agents for whom you want whom you want to initiate the workflow, populate them in a Multiline conatiner element.
5. Once completing 3rd and 4th points open the block step under the tab ParallelProcessing assign the multiline container element name in the for e;g if the multi line container element name is COSTCENTER then do the binding like below. the conatiner element COSTCENTERLINE is created by default once you include the multi line conatiner element under parller processing tab.
&COSTCENTER[&_WF_PARFOREACH_INDEX&]& --------> &_COSTCENTER_LINE&
Now assign the agent of the subworkflow as COSTCENTERLINE , imean if suppose you have 3 entries in the internal table then three separate and for three different agents the workflow is instantiated. -
Screen output without connection to user - Work flow
Hi,
i have created a workflow, it has a task which refers to a method which call a BDC in N mode, but workitem is not generating, in event trace showing RFC status 'Screen output without connection to user'.
Same time i observed in ST22 for any dumps, as it is giving this error 'DYNPRO_SEND_IN_BACKGROUND'.
Please suggest how to solve. Thanks in advance.
BR,
RajaniHi Vijay shah /Rick Bakker ,
As i am on leave from last 2 days, sorry for delay in response.
As the work flow tasks and what ever the methods i developed are working as per requried.
But after each step by step analysis i founn every usefull information regarding the background type activity options.
Solution :
In background type activity step, in details tab we have option of ->Advance With Immediate Dialog flag is set to X, due to this system checking for user interaction.
Because of this its creating problem. After unmarking the falg i am able to execute the task in background successfully
with out any problem.
Once again sorry for delay in reponse
BR,
Rajani -
Using web services in Approval Work flow in OIM 11g
Hi All,
I am a new bie to OIM 11g. I have created an approval work flow and it is working fine.
Now my requirement is to use a web service in the approval work flow instead of directly embeding the java code in Java Embeding Activity. Can some body share me a document or url for the process of doing it.
Thanks in advance for the help.
Thanks,
PreetiIf you are using OIM 11gR2 please refer the below document. All steps are very clear with the screenshots.
http://docs.oracle.com/cd/E27559_01/dev.1112/e27150/request.htm#autoId27
See section 21.3.5.7 Configuring the Human Task and BPEL Mappings
Also see this OBE tutorial for getting idea on Java embedding activity and assigning and retrieving data from global variables in SOA
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/oim/oim_11g/Request_Workflow_for_Self_Registration/request_workflow_for_self_registration.htm -
CUP MSMP Work flow in GRC 10.0
Hi GRC Experts,
I am working on a MSMP Work flow requirement in GRC 10.0 and would appreciate any guidance/inputs on this.
As per my requirement we would have to design a CUP Work flow in GRC 10.0 to decommission a user in 24-hours if the user has not activated his/her new user account. After a user account is provisioned, system should wait for 24 hours to have user login/activate the account, otherwise decommission/disable the account. I have never heard of this functionality in GRC 5.3, so was not sure if this is something that can be designed and configured in 10.0. Would really appreciate if you can please guide us with requirement and advise if this can be implemented in GRC 10.0.
I know outside GRC , this requirement can be designed using a background job, which can monitor the provisioning and activation for a user account , however i am wondering if this can be designed and implemented with MSMP Work flow in GRC 10.0
Thanks every one for your valuable and precious time.
Cheers .. VikasHi Vikas,
You doesn't require customized ABAP programs to achive this and neither GRC 10 and can be achived with the below login parameters:
login/password_max_idle_initial
login/password_max_new_valid
login/password_max_reset_valid
The login/password_max_idle_initial will make the initial password invalid if the user is not logged in, which means you are making the system secure if the user doesn't login to the system in specific number of days.
However, this will not decomission the user IDs. You may need to look at custom options to identify the users from USR02 table and lock them using standard BAPIs.
I am not sure on why Multi Stage/Multi Path is required for this??
Regards,
Raghu
Maybe you are looking for
-
Have two 4s's registered under the same apple account. The 1st phone was set up on the computer perfect. The second phone was set up by somebody who didn't know what they were doing and set this second phone up using the same apple id but onto a lapt
-
Several websites are not working. Please Help.
Over the last couple of months, several regularly used websites (ebay, myspace, itunes main page) have stopped loading and give me an unable to find server page. When I log out of my normal user id and log in as a different user id, every website wor
-
How to lock a user by using random password?
hello, i need to lock a user from a target system by pushing in random passwords for the accounts. i am successfully able to create an adapter that can generate a random string, but the place where i am stuck is that where to use it as i just need to
-
"Ship To Address" details missing in the SC and subsequent documents
Hi All, We have a strange situation. There is no "Ship To Address" details in the shopping Cart and its subsequent documents. This happens only for some shopping carts. As per my understanding "Ship To Address" is a mandatory partner information with
-
I just purchased a nokia 6700 classic and there is a USB cable included in the package. When connecting to the PC it has PC suite as one of the options but when I go to the web page at www.nokia.no to download PC suite it does not list 6700 classic n