URL in decision task description
Imthiaz ahmed
simthiaz at hotmail.com
Fri Sep 12 10:13:04 EDT 2008
Use the following code:
<a
href="www.xyz.com">
test </a>
It should work. Do not put http or any additions.
Imthiaz Ahmed
'Putting things right between two people is charity' - Hadith
> From: sap-wug-request at mit.edu
> Subject: SAP-WUG Digest, Vol 46, Issue 34
> To: sap-wug at mit.edu
> Date: Thu, 11 Sep 2008 03:01:12 -0400
>
> Send SAP-WUG mailing list submissions to
> sap-wug at mit.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.mit.edu/mailman/listinfo/sap-wug
> or, via email, send a message with subject or body 'help' to
> sap-wug-request at mit.edu
>
> You can reach the person managing the list at
> sap-wug-owner at mit.edu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of SAP-WUG digest..."
>
>
> Today's Topics:
>
> 1. Re: RE: ABAP-OO Workflow Rule Resolution (Florin Wach)
> 2. RE: URL in decision task description (Serge Boulay)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 11 Sep 2008 09:00:13 +0200
> From: "Florin Wach" <florin.wach at gmx.net>
> Subject: Re: RE: ABAP-OO Workflow Rule Resolution
> To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
> Message-ID: <20080911070013.40890 at gmx.net>
> Content-Type: text/plain; charset="us-ascii"
>
> ...because it isn't passed to the function module of the rule resolution
> (see function module RH_GET_ACTORS lines 158ff)
> * execute function to resolve actor without evaluation path
>
> CALL FUNCTION exec_fname
> TABLES
> ac_container = actor_container
> actor_tab = actor_tab
> EXCEPTIONS
> OTHERS = 1.
>
>
>
> -------- Original-Nachricht --------
> > Datum: Wed, 10 Sep 2008 15:51:40 +0000
> > Von: Mike Gambier <madgambler at hotmail.com>
> > An: "SAP Workflow Users\' Group" <sap-wug at mit.edu>
> > Betreff: RE: ABAP-OO Workflow Rule Resolution
>
> >
> > Florin,
> >
> > Any reason why a container based on ABAP_PARMBIND_TAB couldn't be used
> > here instead?
> >
> > Mike GT> Date: Wed, 10 Sep 2008 16:14:52 +0200> From: florin.wach at gmx.net>
> > Subject: ABAP-OO Workflow Rule Resolution> To: sap-wug at mit.edu> > Hi
> > Wuggies,> > I have just stumbled over an issue with the rule resolution by
> > "function module" using ABAP-OO, as the container is not passed as a reference
> > to IF_SWF_CNT_CONTAINER nor as a persistent XML-reference (as the check and
> > receiver function modules do). So there's currently a small GAP.> > > The
> > requirement was, to pass the persistent object reference (structure
> > SIBFLPOR) and/or the object instance (TYPE REF TO ---type---) to the role-container
> > (AC_CONTAINER).> > The straightforward(?) solution was:> - Create a
> > container element "LPOR" with struct-reference to type SIBFLPOR> - Create a
> > public attribute MS_LPOR and assign this in the binding to the rule
> > (Releasable->MS_LPOR --> LPOR)> > A little bit of a suprise was, that the binding
> > checks returns with an error, saying that that assignment is just incompatible.
> > That was true in the way, that the instance-attribute MS_LPOR was treated
> > as it was a TYPE-REF-TO definition. So the only eligible target type for the
> > binding was a TYPE-REF-TO definition.> > However. I have changed the
> > container stuff and now having a new element RELEASALBE with a TYPE-REF-TO
> > definition and within the dataflow I just pass the _wi_object_id itself. Now the
> > binding checks is fine.> > On runtime now, the following coding will /not/
> > work, to retrieve the object instance:> > DATA: releasable TYPE REF TO
> > Z_CL_RELEASABLE.> swc_get_element ac_container 'Releasable' releasable.> >
> > Because the "new" ABAP-OO elements are passed in a way, that the old
> > BOR-container macros cannot work with.> > On the other hand, the rule interface does
> > not (!) provide the ac_container as an object referring to
> > IF_SWF_CNT_CONTAINER (or something like this).> > So this is, how it works:> > Create a
> > new import parameter (optional, pass-value) for future use:>
> > ACTOR_CONTAINER_OO TYPE REF TO IF_SWF_CNT_CONTAINER Container: Implementing Class> > > "...
> > further in coding> > * The ABAP-OO container object is currently not
> > designed by SAP. This> * part is not yet fully compatible to the new
> > ABAP-OO-Workflow.> * Therefore we will help ourself here and create it backwards from>
> > * the BOR-container.> * If the interface is correctly(!) used in the
> > future, then we will> * also use, what the standard gives us.> IF
> > actor_container_oo IS INITIAL.> CALL METHOD
> > CL_SWF_CNT_CONTAINER=>IF_SWF_CNT_CONVERSION~CREATE_FROM_BOR_CONTAINER> EXPORTING> values = ac_container[]> RECEIVING>
> > container = actor_container_oo.> ENDIF.> > DATA: releasable_oo TYPE REF TO
> > Z_CL_RELEASABLE.> swf_get_element actor_container_oo 'Releasable'
> > lo_releasable.> "no it's fine :-)> IF NOT sy-subrc EQ 0.> "Handle exceptions here>
> > ENDIF.> > > > Take care,> Florin>
> > _______________________________________________> SAP-WUG mailing list> SAP-WUG at mit.edu>
> > http://mailman.mit.edu/mailman/listinfo/sap-wug
> > _________________________________________________________________
> > Make a mini you and download it into Windows Live Messenger
> > http://clk.atdmt.com/UKM/go/111354029/direct/01/
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 11 Sep 2008 03:00:33 -0400
> From: Serge Boulay <serge.boulay at n-spro.com>
> Subject: RE: URL in decision task description
> To: "'SAP Workflow Users' Group'" <sap-wug at mit.edu>
> Message-ID: <006f01c913dc$160fb1f0$422f15d0$%boulay at n-spro.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
>
>
> I am not trying to send an e-mail but rather to include, in the description
> of a decision task, an hyperlink to a web page.
>
>
>
> Thanks,
>
> Serge
>
>
>
>
>
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
> Read, Tony
> Sent: 11 septembre 2008 02:16
> To: SAP Workflow Users' Group
> Subject: RE: URL in decision task description
>
>
>
> I have had the same problem. The functions that are used in the generic
> Email for workflow have the option of TEXT and you cannot change it to HTML.
> I have to create my own method to send an email and then link it to a task
>
>
>
> See below
>
> method SEND_FAC_EMAIL.
>
> TYPES:
> ty_tab_soli TYPE bcsy_text.
>
> data:
> lcl_send_request TYPE REF TO cl_bcs,
> lcl_document TYPE REF TO cl_document_bcs,
> lcl_sender TYPE REF TO cl_sapuser_bcs,
> lcl_recipient TYPE REF TO cl_cam_address_bcs,
> l_subject_text TYPE so_obj_des,
> lt_message TYPE ty_tab_soli,
> l_uname TYPE syuname,
> ls_message LIKE LINE OF lt_message,
> lt_urls TYPE ZFIMT_URL_LINK,
> ls_url TYPE ZFIMS_URL_LINK.
>
>
> * Create the document title
> CONCATENATE text-m01 me->wa_impr-posid
> INTO l_subject_text
> SEPARATED BY space.
>
> * Build the message body
> CLEAR ls_message.
> CONCATENATE text-m02 '</br>' INTO ls_message.
> REPLACE '&' in ls_message with me->wa_impr-posid .
> APPEND ls_message TO lt_message.
>
> CLEAR ls_message.
> CONCATENATE text-m03 '</br></br>' INTO ls_message.
> REPLACE '&' in ls_message with me->g_revision.
> APPEND ls_message TO lt_message.
>
> CLEAR ls_message.
> CONCATENATE '<h3>' text-m04 '</h3></br>' INTO ls_message.
> APPEND ls_message TO lt_message.
>
> ls_message = '<table><thead></thead><tbody>'.
> APPEND ls_message TO lt_message.
>
> CLEAR ls_message.
> CONCATENATE '<tr><td>' text-m05 '</td><td></td>' INTO ls_message.
> APPEND ls_message TO lt_message.
>
> CLEAR ls_message.
> CONCATENATE '<td><b>' me->wa_impr-posid ' - ' me->g_afe_desc
> '</b></td></tr>' INTO ls_message.
> APPEND ls_message TO lt_message.
>
> CLEAR ls_message.
> CONCATENATE '<tr><td>' text-m06 '</td><td></td>' INTO ls_message.
> APPEND ls_message TO lt_message.
>
> CLEAR ls_message.
> CONCATENATE '<td><b>' me->G_AFE_VALUE '</b></td></tr>' INTO ls_message.
> APPEND ls_message TO lt_message.
>
> CLEAR ls_message.
> CONCATENATE '<tr><td>' text-m07 '</td><td></td>' INTO ls_message.
> APPEND ls_message TO lt_message.
>
> CLEAR ls_message.
> CONCATENATE '<td><b>' me->G_CONTACT_NAME '</b></td></tr>' INTO ls_message.
> APPEND ls_message TO lt_message.
>
> ls_message = '</tbody></table></br></br>'.
> APPEND ls_message TO lt_message.
>
> CLEAR ls_message.
> CONCATENATE text-m08 '</br>' INTO ls_message.
> APPEND ls_message TO lt_message.
>
> * Now display the URL links
> CALL METHOD me->reformat_urls
> EXPORTING
> i_raw_urls = i_urls
> IMPORTING
> e_new_urls = lt_urls.
>
> loop at lt_urls into ls_url.
> CLEAR ls_message.
> CONCATENATE ls_url '</br>' INTO ls_message.
> APPEND ls_message TO lt_message.
> ENDLOOP.
>
>
> TRY.
> * Create a send request object
> lcl_send_request = cl_bcs=>create_persistent( ).
>
> * Create message text
> lcl_document = cl_document_bcs=>create_document( i_type = 'HTM'"#EC
> NOTEXT
> i_text = lt_message
> i_subject =
> l_subject_text ).
>
> * Add document to the send request
> lcl_send_request->set_document( lcl_document ).
>
> * Set the sender
> l_uname = cl_abap_syst=>get_user_name( ).
> lcl_sender = cl_sapuser_bcs=>create( l_uname ).
> lcl_send_request->set_sender( i_sender = lcl_sender ).
>
> * Add recipient
> lcl_recipient = cl_cam_address_bcs=>create_internet_address( i_email ).
> lcl_send_request->add_recipient( i_recipient = lcl_recipient
> i_express = zcl_zca_common=>c_true ).
>
> * Send document
> lcl_send_request->send( ).
>
> commit work.
> ENDTRY.
>
>
>
> endmethod.
>
>
>
> Regards
> Anthony Read
>
> SAP ABAP Consultant
> Woodside SAP Services
> Tel +61 (08) 9348 4428
> Fax +61 (08) 9348 5387
> Anthony.read at woodside.com.au
>
>
>
>
>
> _____
>
> From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] On Behalf Of
> Serge Boulay
> Sent: Thursday, 11 September 2008 12:00 PM
> To: SAP Workflow Users' Group
> Subject: URL in decision task description
>
> Hi everyone,
>
>
>
> I am trying to include a URL into a decision task description ( ex. <A
> HREF=" <http://www.google.com> http://www.google.com">TEST LINK</A>) but it
> always shows up as plain text in the UWL or the SAP Inbox.
>
>
>
> How can i make it appear as a clickable text?
>
>
>
> Thanks,
>
> Serge
>
>
>
>
>
>
> NOTICE: This email and any attachments are confidential.
> They may contain legally privileged information or
> copyright material. You must not read, copy, use or
> disclose them without authorisation. If you are not an
> intended recipient, please contact us at once by return
> email and then delete both messages and all attachments.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080911/162ef878/attachment.htm
>
> ------------------------------
>
> _______________________________________________
> SAP-WUG mailing list
> SAP-WUG at mit.edu
> http://mailman.mit.edu/mailman/listinfo/sap-wug
>
>
> End of SAP-WUG Digest, Vol 46, Issue 34
> ***************************************
_________________________________________________________________
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20080912/b83dc4c5/attachment.htm
More information about the SAP-WUG
mailing list