<br><font size=2 face="sans-serif">Thanks for the Info,</font>
<br>
<br><font size=2 face="sans-serif">I did the same thing, 2 lines per position
so that everything fits. But theres no unwanted line breaking, SBWP seems
to swallow the spaces which I use to align the data :/</font>
<br>
<br><font size=2 face="sans-serif">regards,</font>
<br><font size=2 face="sans-serif">Chris</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>&quot;Florin Wach&quot;
&lt;florin.wach@gmx.net&gt;</b> </font>
<br><font size=1 face="sans-serif">Gesendet von: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">01.09.2008 08:52</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Bitte antworten an<br>
&quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">An</font></div>
<td><font size=1 face="sans-serif">&quot;SAP Workflow Users' Group&quot;
&lt;sap-wug@mit.edu&gt;</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Kopie</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Thema</font></div>
<td><font size=1 face="sans-serif">Re: Fw: Antwort: Re: PO Release WF Question</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hi Christian,<br>
<br>
I usually use two lines per line-item until it fits. E.g. putting the material
short text on the next line. Sadly that there's no solution for that line-breaking
thing that I know of.<br>
Also I cut the material text at 20 characters or so<br>
<br>
Best wishes,<br>
Florin<br>
<br>
Example for purchase requisition's descriptive text (the translator-class
gives the Heading-Text for a data element):<br>
<br>
Output:<br>
<br>
-Pos- -Matnr.- &nbsp; &nbsp; &nbsp; &nbsp; Text &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;Net price<br>
00010 ........ Test WACH &nbsp;Textände &nbsp; &nbsp; &nbsp; 3.200,00 EUR<br>
<br>
Coding excerpt:<br>
<br>
 &nbsp; REFRESH: longText.<br>
<br>
 &nbsp; FIELD-SYMBOLS: &lt;pos&gt; &nbsp; &nbsp;TYPE LINE OF MEREQ_T_EBAN.<br>
<br>
 &nbsp; DATA: text &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TYPE
LINE OF Z_WF_MAILTEXT_TAB,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; date_c(12) &nbsp; &nbsp; &nbsp; &nbsp;TYPE
C,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; l_t_purchaseOrganization TYPE VVXTEXT78,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; l_t_createdBy &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp;TYPE VVXTEXT78,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; l_t_companyCode &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;TYPE VVXTEXT78,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; l_t_documentType &nbsp; &nbsp; &nbsp; &nbsp;
TYPE VVXTEXT78.<br>
<br>
<br>
<br>
 &nbsp; l_t_purchaseOrganization = Z_CL_TRANSLATOR=&gt;translate( i_dtel
= 'EKORG' i_text = 'S' ).<br>
 &nbsp; CONCATENATE l_t_purchaseOrganization ':' INTO l_t_purchaseOrganization.<br>
 &nbsp; l_t_createdBy = Z_CL_TRANSLATOR=&gt;translate( i_dtel = 'ERNAM'
i_text = 'H' ).<br>
 &nbsp; CONCATENATE l_t_createdBy ':' INTO l_t_createdBy.<br>
 &nbsp; l_t_companyCode = Z_CL_TRANSLATOR=&gt;translate( i_dtel = 'BUKRS'
i_text = 'M' ).<br>
 &nbsp; CONCATENATE l_t_companyCode ':' INTO l_t_companyCode.<br>
 &nbsp; l_t_documentType = Z_CL_TRANSLATOR=&gt;translate( i_dtel = 'BLART'
i_text = 'H' ).<br>
 &nbsp; CONCATENATE l_t_documentType ':' INTO l_t_documentType.<br>
<br>
* ========== Header information<br>
* ------- New line<br>
 &nbsp; CONCATENATE l_t_purchaseOrganization m_ekorg SY-VLINE<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; l_t_companyCode m_bukrs<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INTO text SEPARATED BY
SPACE.<br>
 &nbsp; APPEND text TO longText.<br>
<br>
* ------- New line<br>
 &nbsp; WRITE m_erdat TO date_c.<br>
 &nbsp; CONCATENATE l_t_documentType documentType SY-VLINE<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; l_t_createdBy m_ernam
'on'(002) date_c<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; INTO text SEPARATED BY
SPACE.<br>
 &nbsp; APPEND text TO longText.<br>
<br>
* ------- New line<br>
 &nbsp; text = '-Pos-|-Matnr.-|------- Text &nbsp;-------|--- Net price
---'(L01).<br>
 &nbsp; APPEND text TO longText.<br>
<br>
* ========== Line items<br>
 &nbsp; LOOP AT m_eban ASSIGNING &lt;pos&gt;.<br>
* ------- New line<br>
 &nbsp; &nbsp; &nbsp;DATA: netwr(15) &nbsp; &nbsp; TYPE C,<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;matnr_c(8) &nbsp; &nbsp;TYPE
C.<br>
 &nbsp; &nbsp; &nbsp;WRITE &lt;pos&gt;-preis TO netwr CURRENCY &lt;pos&gt;-waers.<br>
 &nbsp; &nbsp; &nbsp;WRITE &lt;pos&gt;-matnr TO matnr_c.<br>
 &nbsp; &nbsp; &nbsp;IF matnr_c IS INITIAL.<br>
 &nbsp; &nbsp; &nbsp; &nbsp; matnr_c = '........'. &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &quot;#EC NOTEXT<br>
 &nbsp; &nbsp; &nbsp;ENDIF.<br>
 &nbsp; &nbsp; &nbsp;CONCATENATE &lt;pos&gt;-bnfpo matnr_c &lt;pos&gt;-txz01(20)
netwr &lt;pos&gt;-waers<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;INTO text
SEPARATED BY SPACE.<br>
 &nbsp; &nbsp; &nbsp;APPEND text TO longText.<br>
<br>
 &nbsp; ENDLOOP.<br>
<br>
<br>
<br>
<br>
-------- Original-Nachricht --------<br>
&gt; Datum: Mon, 1 Sep 2008 08:40:25 +0200<br>
&gt; Von: &quot;Christian Wallner&quot; &lt;C.Wallner@ats.net&gt;<br>
&gt; An: sap-wug@mit.edu<br>
&gt; Betreff: Fw: Antwort: Re: PO Release WF Question<br>
<br>
&gt; Hi Florin, <br>
&gt; <br>
&gt; Works fine, but there is a minor cosmetic issue :-) <br>
&gt; (Sorry this screenshot is german...) <br>
&gt; <br>
&gt; The text is not really beautifully aligned: <br>
&gt; <br>
&gt; <br>
&gt; When testing BUS2012 with this PO, the test is formatted like that:
(Table<br>
&gt; of RSTXT-TXLINE) <br>
&gt; <br>
&gt; <br>
&gt; So, SBWP seems to &quot;swallow&quot; the spaces to allign the columns
:/ <br>
&gt; Any ideas how to avoid that? <br>
&gt; <br>
&gt; regards, <br>
&gt; Chris <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; &quot;Florin Wach&quot; &lt;florin.wach@gmx.net&gt; <br>
&gt; Gesendet von: sap-wug-bounces@mit.edu <br>
&gt; 26.08.2008 11:38 <br>
&gt; <br>
&gt; Bitte antworten an<br>
&gt; &quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt;<br>
&gt; <br>
&gt; <br>
&gt; An<br>
&gt; &quot;SAP Workflow Users' Group&quot; &lt;sap-wug@mit.edu&gt; <br>
&gt; Kopie<br>
&gt; <br>
&gt; Thema<br>
&gt; Re: PO Release WF Question<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; Hi Chris,<br>
&gt; <br>
&gt; you'll create a virtual attribute of BUS2012, marking it as a mulitline
<br>
&gt; element referring to VVXTEXT78.<br>
&gt; In the coding section of the attribute you build up the text you'd
like to<br>
&gt; display.<br>
&gt; <br>
&gt; In the long text of the work item, enter the expression for (e.g.)
<br>
&gt; BUS2012.Longtext and on the following dialog answer with &quot;All
lines with <br>
&gt; line breaks&quot;.<br>
&gt; <br>
&gt; Rummage here through the forum or the SDN to learn more about Business
<br>
&gt; Object Types and how to create a system-wide delegation, if you need
<br>
&gt; information on that.<br>
&gt; <br>
&gt; <br>
&gt; Best wishes,<br>
&gt; &nbsp; Florin<br>
&gt; <br>
&gt; <br>
&gt; -------- Original-Nachricht --------<br>
&gt; &gt; Datum: Tue, 26 Aug 2008 11:24:08 +0200<br>
&gt; &gt; Von: &quot;Christian Wallner&quot; &lt;C.Wallner@ats.net&gt;<br>
&gt; &gt; An: sap-wug@mit.edu<br>
&gt; &gt; Betreff: PO Release WF Question<br>
&gt; <br>
&gt; &gt; Hi Folks,<br>
&gt; &gt; <br>
&gt; &gt; I have a question regarding influencing the workitem longtext
of a task.<br>
&gt; &gt; In a po release workflow, the approver has the possibility to
reject or <br>
&gt; &gt; approve the po.<br>
&gt; &gt; <br>
&gt; &gt; To make the decision quicker, the approver wants to see several
data of <br>
&gt; &gt; the po positions in the longtext of the user decision.<br>
&gt; &gt; <br>
&gt; &gt; How can I achieve that? Ok, I need a table in the workflow container
<br>
&gt; with <br>
&gt; &gt; the needed position data, but how do I bring them into the longtext
of <br>
&gt; the<br>
&gt; &gt; task?<br>
&gt; &gt; <br>
&gt; &gt; regards and thanks for all hints!<br>
&gt; &gt; Chris<br>
&gt; &gt; AT&amp;S Austria Technologie &amp; Systemtechnik AG<br>
&gt; &gt; Legal form | Rechtsform: Aktiengesellschaft<br>
&gt; &gt; Registered office | Sitz: Fabriksgasse 13, 8700 Leoben, Austria
<br>
&gt; &gt; Commercial Register Number | Firmenbuchnummer: FN 55638 x, Landesgericht<br>
&gt; &gt; Leoben <br>
&gt; &gt; <br>
&gt; &gt; This e-mail and any attachment may contain confidential and/or
<br>
&gt; privileged<br>
&gt; &gt; information. If you are not the intended recipient (or have received
<br>
&gt; this<br>
&gt; &gt; e-mail in error) please notify the sender immediately and destroy
this<br>
&gt; &gt; e-mail. Any unauthorised copying, disclosure or distribution
of the <br>
&gt; material in<br>
&gt; &gt; this e-mail is strictly forbidden.<br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; SAP-WUG@mit.edu<br>
&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; AT&amp;S Austria Technologie &amp; Systemtechnik AG<br>
&gt; Legal form | Rechtsform: Aktiengesellschaft<br>
&gt; Registered office | Sitz: Fabriksgasse 13, 8700 Leoben, Austria<br>
&gt; Commercial Register Number | Firmenbuchnummer: FN 55638 x, Landesgericht
<br>
&gt; Leoben <br>
&gt; <br>
&gt; This e-mail and any attachment may contain confidential and/or privileged
<br>
&gt; information. If you are not the intended recipient (or have received
this <br>
&gt; e-mail in error) please notify the sender immediately and destroy
this <br>
&gt; e-mail. Any unauthorised copying, disclosure or distribution of the
<br>
&gt; material in this e-mail is strictly forbidden. <br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; SAP-WUG@mit.edu<br>
&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt; <br>
&gt; AT&amp;S Austria Technologie &amp; Systemtechnik AG<br>
&gt; Legal form | Rechtsform: Aktiengesellschaft<br>
&gt; Registered office | Sitz: Fabriksgasse 13, 8700 Leoben, Austria &nbsp;<br>
&gt; Commercial Register Number | Firmenbuchnummer: FN 55638 x, Landesgericht<br>
&gt; Leoben <br>
&gt; <br>
&gt; This e-mail and any attachment may contain confidential and/or privileged<br>
&gt; information. If you are not the intended recipient (or have received
this<br>
&gt; e-mail in error) please notify the sender immediately and destroy
this<br>
&gt; e-mail. Any unauthorised copying, disclosure or distribution of the
material in<br>
&gt; this e-mail is strictly forbidden.<br>
_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</font></tt>
<br><small><br><br>AT&S Austria Technologie & Systemtechnik AG<br>
Legal form | Rechtsform: Aktiengesellschaft<br>
Registered office | Sitz: Fabriksgasse 13, 8700 Leoben, Austria<br>  
Commercial Register Number | Firmenbuchnummer: FN 55638 x, Landesgericht Leoben <br><br>
This e-mail and any attachment may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
</small>