<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>"Florin Wach"
<florin.wach@gmx.net></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>
"SAP Workflow Users' Group" <sap-wug@mit.edu></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">"SAP Workflow Users' Group"
<sap-wug@mit.edu></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.- Text
Net price<br>
00010 ........ Test WACH Textände 3.200,00 EUR<br>
<br>
Coding excerpt:<br>
<br>
REFRESH: longText.<br>
<br>
FIELD-SYMBOLS: <pos> TYPE LINE OF MEREQ_T_EBAN.<br>
<br>
DATA: text TYPE
LINE OF Z_WF_MAILTEXT_TAB,<br>
date_c(12) TYPE
C,<br>
l_t_purchaseOrganization TYPE VVXTEXT78,<br>
l_t_createdBy
TYPE VVXTEXT78,<br>
l_t_companyCode
TYPE VVXTEXT78,<br>
l_t_documentType
TYPE VVXTEXT78.<br>
<br>
<br>
<br>
l_t_purchaseOrganization = Z_CL_TRANSLATOR=>translate( i_dtel
= 'EKORG' i_text = 'S' ).<br>
CONCATENATE l_t_purchaseOrganization ':' INTO l_t_purchaseOrganization.<br>
l_t_createdBy = Z_CL_TRANSLATOR=>translate( i_dtel = 'ERNAM'
i_text = 'H' ).<br>
CONCATENATE l_t_createdBy ':' INTO l_t_createdBy.<br>
l_t_companyCode = Z_CL_TRANSLATOR=>translate( i_dtel = 'BUKRS'
i_text = 'M' ).<br>
CONCATENATE l_t_companyCode ':' INTO l_t_companyCode.<br>
l_t_documentType = Z_CL_TRANSLATOR=>translate( i_dtel = 'BLART'
i_text = 'H' ).<br>
CONCATENATE l_t_documentType ':' INTO l_t_documentType.<br>
<br>
* ========== Header information<br>
* ------- New line<br>
CONCATENATE l_t_purchaseOrganization m_ekorg SY-VLINE<br>
l_t_companyCode m_bukrs<br>
INTO text SEPARATED BY
SPACE.<br>
APPEND text TO longText.<br>
<br>
* ------- New line<br>
WRITE m_erdat TO date_c.<br>
CONCATENATE l_t_documentType documentType SY-VLINE<br>
l_t_createdBy m_ernam
'on'(002) date_c<br>
INTO text SEPARATED BY
SPACE.<br>
APPEND text TO longText.<br>
<br>
* ------- New line<br>
text = '-Pos-|-Matnr.-|------- Text -------|--- Net price
---'(L01).<br>
APPEND text TO longText.<br>
<br>
* ========== Line items<br>
LOOP AT m_eban ASSIGNING <pos>.<br>
* ------- New line<br>
DATA: netwr(15) TYPE C,<br>
matnr_c(8) TYPE
C.<br>
WRITE <pos>-preis TO netwr CURRENCY <pos>-waers.<br>
WRITE <pos>-matnr TO matnr_c.<br>
IF matnr_c IS INITIAL.<br>
matnr_c = '........'.
"#EC NOTEXT<br>
ENDIF.<br>
CONCATENATE <pos>-bnfpo matnr_c <pos>-txz01(20)
netwr <pos>-waers<br>
INTO text
SEPARATED BY SPACE.<br>
APPEND text TO longText.<br>
<br>
ENDLOOP.<br>
<br>
<br>
<br>
<br>
-------- Original-Nachricht --------<br>
> Datum: Mon, 1 Sep 2008 08:40:25 +0200<br>
> Von: "Christian Wallner" <C.Wallner@ats.net><br>
> An: sap-wug@mit.edu<br>
> Betreff: Fw: Antwort: Re: PO Release WF Question<br>
<br>
> Hi Florin, <br>
> <br>
> Works fine, but there is a minor cosmetic issue :-) <br>
> (Sorry this screenshot is german...) <br>
> <br>
> The text is not really beautifully aligned: <br>
> <br>
> <br>
> When testing BUS2012 with this PO, the test is formatted like that:
(Table<br>
> of RSTXT-TXLINE) <br>
> <br>
> <br>
> So, SBWP seems to "swallow" the spaces to allign the columns
:/ <br>
> Any ideas how to avoid that? <br>
> <br>
> regards, <br>
> Chris <br>
> <br>
> <br>
> <br>
> "Florin Wach" <florin.wach@gmx.net> <br>
> Gesendet von: sap-wug-bounces@mit.edu <br>
> 26.08.2008 11:38 <br>
> <br>
> Bitte antworten an<br>
> "SAP Workflow Users' Group" <sap-wug@mit.edu><br>
> <br>
> <br>
> An<br>
> "SAP Workflow Users' Group" <sap-wug@mit.edu> <br>
> Kopie<br>
> <br>
> Thema<br>
> Re: PO Release WF Question<br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> <br>
> Hi Chris,<br>
> <br>
> you'll create a virtual attribute of BUS2012, marking it as a mulitline
<br>
> element referring to VVXTEXT78.<br>
> In the coding section of the attribute you build up the text you'd
like to<br>
> display.<br>
> <br>
> In the long text of the work item, enter the expression for (e.g.)
<br>
> BUS2012.Longtext and on the following dialog answer with "All
lines with <br>
> line breaks".<br>
> <br>
> Rummage here through the forum or the SDN to learn more about Business
<br>
> Object Types and how to create a system-wide delegation, if you need
<br>
> information on that.<br>
> <br>
> <br>
> Best wishes,<br>
> Florin<br>
> <br>
> <br>
> -------- Original-Nachricht --------<br>
> > Datum: Tue, 26 Aug 2008 11:24:08 +0200<br>
> > Von: "Christian Wallner" <C.Wallner@ats.net><br>
> > An: sap-wug@mit.edu<br>
> > Betreff: PO Release WF Question<br>
> <br>
> > Hi Folks,<br>
> > <br>
> > I have a question regarding influencing the workitem longtext
of a task.<br>
> > In a po release workflow, the approver has the possibility to
reject or <br>
> > approve the po.<br>
> > <br>
> > To make the decision quicker, the approver wants to see several
data of <br>
> > the po positions in the longtext of the user decision.<br>
> > <br>
> > How can I achieve that? Ok, I need a table in the workflow container
<br>
> with <br>
> > the needed position data, but how do I bring them into the longtext
of <br>
> the<br>
> > task?<br>
> > <br>
> > regards and thanks for all hints!<br>
> > Chris<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<br>
> > Leoben <br>
> > <br>
> > This e-mail and any attachment may contain confidential and/or
<br>
> privileged<br>
> > information. If you are not the intended recipient (or have received
<br>
> this<br>
> > e-mail in error) please notify the sender immediately and destroy
this<br>
> > e-mail. Any unauthorised copying, disclosure or distribution
of the <br>
> material in<br>
> > 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>
> <br>
> <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
<br>
> Leoben <br>
> <br>
> This e-mail and any attachment may contain confidential and/or privileged
<br>
> information. If you are not the intended recipient (or have received
this <br>
> e-mail in error) please notify the sender immediately and destroy
this <br>
> e-mail. Any unauthorised copying, disclosure or distribution of the
<br>
> material in 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>
> <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<br>
> Leoben <br>
> <br>
> This e-mail and any attachment may contain confidential and/or privileged<br>
> information. If you are not the intended recipient (or have received
this<br>
> e-mail in error) please notify the sender immediately and destroy
this<br>
> e-mail. Any unauthorised copying, disclosure or distribution of the
material in<br>
> 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>