Formatting the content in FM: SO_NEW_DOCUMENT_ATT_SEND_API1
I am using the function module SO_NEW_DOCUMENT_ATT_SEND_API1 , Here i am using contents_text to store the content
to send the mail. But my requirement is to send the contents by formatting in a table or boxes. Please suggest me how can i do that with this function module.?
Thanks in advance.
Hi naveen
Filling up the Body of the message (CONTENTS_TXT), we fill it up with the HTML code.
After filling up the content, we need to tell the system that we are sending the HTML data instead of the pure text.
Generally, we specify the DOC_TYPE in PACKING_LIST as the TEXT.
But for this purpose, we will pass HTML since our data is in HTML.
wa_objtxt-line = '<p> List of Test materials </p>'.
APPEND wa_objtxt TO t_objtxt.
* table display
wa_objtxt-line = '<table style="MARGIN: 10px" bordercolor="#90EE90" '.
APPEND wa_objtxt TO t_objtxt.
wa_objtxt-line = ' cellspacing="0" cellpadding="3" width="400"'.
APPEND wa_objtxt TO t_objtxt.
wa_objtxt-line = ' border="1"><tbody><tr>'.
APPEND wa_objtxt TO t_objtxt.
* table header
wa_objtxt-line = '<th bgcolor="#90EE90">Material</th>'.
APPEND wa_objtxt TO t_objtxt.
wa_objtxt-line = '<th bgcolor="#90EE90">Description</th></tr>'.
APPEND wa_objtxt TO t_objtxt.
* table Contents
DO 5 TIMES.
wa_objtxt-line = '<tr style="background-color:#eeeeee;"><td>TEST</td>'.
APPEND wa_objtxt TO t_objtxt.
CONCATENATE '<td>' sy-abcde '</td> </tr>' INTO wa_objtxt-line.
APPEND wa_objtxt TO t_objtxt.
ENDDO.
* table close
wa_objtxt-line = '</tbody> </table>'.
APPEND wa_objtxt TO t_objtxt.
regards
Esh
Similar Messages
-
How do i format the contents in message body in the email
Hi guys,
I have a problem.I am sending a complete record columns of a interative report from apex as a mail.But the contents are very bad to see.I want them to appear as a report along with headings in th email to user.PLs guide me in dis
Thanks in advance
SamiyaDECLARE
l_body CLOB;
l_body_html CLOB;
as_id number;
cust_id number;
customer_name varchar2(100);
mproduct varchar2(30);
minstance varchar2(20);
mtoa varchar2(30);
mton number;
mpriority number;
massesor1 varchar2(15);
massesor2 varchar2(15);
mreviewer1 varchar2(15);
mreviewer2 varchar2(15);
mDoa date;
mstartdate date;
mreviewdate date;
mfinaldate date;
mactualdate date;
mssc varchar2(10);
mpanno number;
mtime varchar2(10);
mcustinterview varchar2(10);
minterviewdate date;
mdev_by varchar2(100);
mcust_feedback varchar2(4000);
mSr_no number;
mgar_id number;
mpoc varchar2(30);
BEGIN
select ASSESMENT_ID,CUSTOMER_ID, CUSTOMER, PRODUCT, INSTANCE, TOA, TON, REL_PRIORITY, ASSESOR1, ASSESOR2, REVIEWER1, REVIEWER2, DOA, START_DATE, REVIEW_DUE_DATE, FINAL_DUE_DATE, ACTUAL_DEL_DATE, SSC , PA_NO, TIME_ENTRY, CUST_INTVW , INTVW_DATE , DEV_BY_ENG , CUST_FB , SR_NO , GAR_ID , POC into as_id,cust_id, customer_name, mproduct, minstance, mtoa, mton, mpriority, massesor1, massesor2, mreviewer1, mreviewer2, mDoa, mstartdate, mreviewdate, mfinaldate, mactualdate, mssc, mpanno, mtime, mcustinterview, minterviewdate, mdev_by, mcust_feedback,mSr_no, mgar_id, mpoc from ASSESMENT where CUSTOMER= :P17_CUSTOMER_ID;
l_body := l_body || as_id || ' ' || cust_id || ' ' || mproduct || ' ' || minstance || ' ' || mtoa || ' ' || mton ||' ' || mpriority ||' ' || massesor1 || ' ' || massesor2 || ' ' || mreviewer1 || ' ' || mreviewer2 ||' ' || mDoa || ' ' || mstartdate || ' ' || mreviewdate || ' ' || mfinaldate ||' ' || mactualdate || ' ' || mssc ||' ' || mpanno || ' ' || mtime || ' ' || mcustinterview || ' ' || minterviewdate || ' ' || mdev_by || ' ' || mcust_feedback ||' ' || mSr_no || ' ' || mgar_id ||' ' || mpoc ||utl_tcp.crlf;
l_body_html := '<html>
<head>
<style type="text/css">
body{font-family: Arial, Helvetica, sans-serif;
font-size:10pt;
margin:30px;
background-color:#ffffff;}
span.sig{font-style:italic;
font-weight:bold;
color:#811919;}
</style>
</head>
<body>'||utl_tcp.crlf;
l_body_html := l_body_html || as_id || ' ' || cust_id || ' ' || mproduct || ' ' || minstance || ' ' || mtoa || ' ' || mton ||' ' || mpriority ||' ' || massesor1 || ' ' || massesor2 || ' ' || mreviewer1 || ' ' || mreviewer2 ||' ' || mDoa || ' ' || mstartdate || ' ' || mreviewdate || ' ' || mfinaldate ||' ' || mactualdate || ' ' || mssc ||' ' || mpanno || ' ' || mtime || ' ' || mcustinterview || ' ' || minterviewdate || ' ' || mdev_by || ' ' || mcust_feedback ||' ' || mSr_no || ' ' || mgar_id ||' ' || mpoc ||utl_tcp.crlf;
apex_mail.send(
p_to => '[email protected]',
p_from => ' [email protected]',
p_body => l_body,
p_body_html => l_body_html,
p_subj => 'APEX_MAIL Package - HTML formatted message');
END;
Edited by: user10763992 on Jun 23, 2009 6:33 AM -
Receiver Mail Adapter: Formatting the mail content
Dear All,
I'm using a receiver mail adapter. I would like to format the content of the mail using the contents of the XML message. For example:
XML Message
<Order>
<OrderID>1234</OrderID>
<CustomerName>Sandeep Joseph</CustomerName>
<NetValue>7467.99</NetValue>
<Link>http://locahost:7000?OrderID=1234</Link>
</Order>
Mail Content
Dear Approver,
Please approve the Order - 1234, Customer - Sandeep Joseph
Link: http://locahost:7000?OrderID=1234
Thanks,
Are there any modules which would help formatting to this extend? Or any other mechanism?
Thanks,
SandeepThe easiest means is to use XSL mapping and create the Content Type as HTML and emded the cotent within HTML tags.
One such example is shown by Praskash in this blog,
/people/community.user/blog/2006/09/07/email-reporting
/people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
If you use the Mail Package option then you can also wite a UDF in your mapping that will populate the content field. For every newline you can use the java new line \n and so on.
Regards
Bhavesh -
To get the content of a pdf file in a particular position in text format
I am troubling with geting the content of a pdf file in a particular position.I got the code to get the content of a pdf document as whole in text format.But i only need the content at a particular area.
i am using PDFTextStripper class in pdfBox jar to get the content as whole.
pls send some sample code
pls help me
Edited by: thomas00 on Sep 21, 2007 2:55 AM
Edited by: thomas00 on Sep 21, 2007 3:08 AMpls any one reply
-
Can someone tell me how I can see my content (artwork and text) after I import it into LiveCycle Designer ES4? I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.
Can someone tell me how I can see my content (artwork and text) after I import it into LiveCycle Designer ES4? I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.
-
If I have to format an external hard drive to make it Mac compatible, will it delete all the content in the external hard drive?
As others have said, the answer to your question is a big YES. Formatting a drive will delete everything!
To keep your data, yet reformat the drive for optimal Mac compatibility, you will need to:
1) copy your files to a different hard drive (I would recommend two different locations if you value your data)
2) repartition/format the external drive
3) then copy the files back to the external.
You haven't given details but if you need the external to ONLY be compatible with the Mac (and no longer care if if can be read by Windows), then you will want to partition the drive using the GUID partition scheme, and format as the (HFS+) "Mac OS Extended (Journaled)" filesystem. You can do so using the built-in "Disk Utility" application on your Mac (in the Applications/Utilities directory). Here are instructions:
http://support.apple.com/kb/ph5845
If you need the drive to be compatible with both Mac and Windows computers then please post that so someone can recommend a solution for your specific needs. -
Is there a way to include "Formatted Text" content from a form in the e-mail summary?
I'd like to be able to include some of the content I've created in a form as "formatted text" in the email summary / notification. Right now, only the fields that require the end user to input data of some type are included in the summary. Is there a way to do this?
Thanks,
-JeremyHi,
You can not include custom text in the notification email. Only in the summary receipt email. Can you explain what sort of text you want in the notification email? Also, you may want to post this to the ideas section. If others vote for it, there's a higher chance of us adding it in a future release. The ideas forum can be found here - http://forums.adobe.com/community/formscentral?view=idea
Thanks,
Todd -
Everytime I use IE, first I have to click on the IE bar to allow blocked contect to display. What is the content that is being blocked from IE? viewers may not know what the problem is and see my site totally out of format.
discoveriweb wrote:
This is iweb development where after publishing, things look different in IE than other browsers. U r correct that this is due to IE software but is iWeb related. After all, one uses iweb not to just publish in Safari but for all browsers.
Which means that you are only considering half of the problem, but that's your choice.
I'm out. -
Apply formatting in a JEditorPane and export the content in HTML.
Hi,
I'm writing, a program to allow the user to enter a formated text and even add images in a JEditorPane.
Here is a simple sample of the code:
import javax.swing.*;
import javax.swing.text.*;
import java.awt.*; //for layout managers and more
import java.awt.event.*; //for action events
import java.net.URL;
import java.io.IOException;
public class EditorPane extends JPanel{
private String newline = "\n";
private JPanel buttonPanel;
private JPanel textPanePanel;
private JEditorPane myEditorPane;
private JButton boldButton;
private JButton colorButton;
private JButton imgButton;
private JButton saveButton;
public EditorPane() {
createGUI();
private void createGUI() {
buttonPanel = new JPanel();
boldButton = new JButton("Bold");
boldButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
boldButtonActionPerformed(evt);
colorButton = new JButton("Color");
colorButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
colorButtonActionPerformed(evt);
imgButton = new JButton("Image");
imgButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
imgButtonActionPerformed(evt);
saveButton = new JButton("Save");
saveButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
saveButtonActionPerformed(evt);
buttonPanel.setLayout(new GridLayout(1, 4));
buttonPanel.add(boldButton);
buttonPanel.add(colorButton);
buttonPanel.add(imgButton);
buttonPanel.add(saveButton);
textPanePanel = new JPanel();
textPanePanel.setLayout(new BorderLayout());
myEditorPane = this.createEditorPane();
JScrollPane paneScrollPane = new JScrollPane(myEditorPane);
textPanePanel.add(paneScrollPane, BorderLayout.CENTER);
this.setLayout(new BorderLayout());
this.add(buttonPanel, BorderLayout.NORTH);
this.add(textPanePanel, BorderLayout.CENTER);
public static void main(String[] args) {
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
JFrame frame = new JFrame("TextSamplerDemo");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
EditorPane newContentPane = new EditorPane();
//newContentPane.setOpaque(true); //content panes must be opaque
frame.setContentPane(newContentPane);
frame.pack();
frame.setSize(300,300);
frame.setVisible(true);
private JEditorPane createEditorPane() {
JEditorPane editorPane = new JEditorPane();
editorPane.setEditable(true);
java.net.URL helpURL = TextSamplerDemo.class.getResource(
"simpleHTMLPage.html");
if (helpURL != null) {
try {
editorPane.setPage(helpURL);
} catch (IOException e) {
System.err.println("Attempted to read a bad URL: " + helpURL);
} else {
System.err.println("Couldn't find file: simpleHTMLPage.html");
return editorPane;
private void boldButtonActionPerformed(java.awt.event.ActionEvent evt) {
System.out.println("boldButtonNextActionPerformed");
//myEditorPane
// TODO add your handling code here:
private void colorButtonActionPerformed(java.awt.event.ActionEvent evt) {
System.out.println("colorButtonActionPerformed");
// TODO add your handling code here:
private void imgButtonActionPerformed(java.awt.event.ActionEvent evt) {
System.out.println("imgButtonActionPerformed");
// TODO add your handling code here:
private void saveButtonActionPerformed(java.awt.event.ActionEvent evt) {
System.out.println("saveButtonActionPerformed");
String newStr = new String("this is the new String");
//newStr.setFont(new java.awt.Font("Tahoma", 0, 14));
this.myEditorPane.replaceSelection("sdfsdfsd");
// TODO add your handling code here:
}and the HTML Code of simpleHTMLPage.html is
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<p>Simple text</p>
<p><strong>Bold text</strong></p>
<p><em>Italic text</em></p>
<p align="center">Center text</p>
<p><font color="#000099"><strong>Color text</strong></font></p>
<p>image here : <img src="images/Pig.gif" width="121" height="129"></p>
<p> </p>
</body>
</html>By pressing the Save button I can change the selected text.
I don�t know the way to get and apply the format (size, color �) to only the selected text and display the selected image in real time in the EditorPane. Like if you press the Bold button, the selected text font will be change to bold.
I would like to get or save the HTML code of the content of the EditorPane by pressing the Save button, How to make it?
I can apply the formatting on the selected text in a JTextPane, but I don't know the way to save or export the content in HTML. By doing that it could fix my problem too.
So any help to do that will be much appreciated.
Thanks.Hi,
Tks for your answer. That one I can do it. I would like to display the selected text in bold instead of adding the tag in the JEditorPane. If I get you right, you get the hole content of the JEditorPane and save it. How did you get it ? And before saving that in the database, did you fing the keysWord to convert the HTML tag in the corresponding entities ?
Bellow you have a sample of code to make the formatting in the JTextPane.
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.text.*;
import javax.swing.text.Highlighter;
import javax.swing.event.*;
import java.util.*;
import javax.swing.text.*;
import javax.swing.text.BadLocationException;
public class MonJTextPane extends JFrame implements CaretListener, ActionListener
* Attributs :
private JTextPane monTextPane;
private JLabel monLabel;
private JButton monBouton;
private StyleAide style; // class qui defini les effets de style de l'editeur
* Constructeur :
public MonJTextPane ()
{ super ("Aide");
// construction du composant Texte
this.style = new StyleAide (new StyleContext ());
this.monTextPane = new JTextPane ();
this.monTextPane.setDocument (style);
this.monTextPane.addCaretListener (this);
// construction de la fenetre :
this.getContentPane ().setLayout (new BorderLayout ());
this.setBounds (150,150,600,550);
this.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
this.monLabel = new JLabel ("Auncune ligne saisie...");
this.monBouton = new JButton ("change de style");
this.monBouton.addActionListener (this);
JPanel panel = new JPanel ();
panel.setLayout (new GridLayout (1,2));
panel.add (monLabel);
panel.add (monBouton);
this.getContentPane ().add (panel, BorderLayout.SOUTH);
this.getContentPane ().add (this.monTextPane, BorderLayout.CENTER);
this.setVisible (true);
* Methodes :
private int getCurrentLigne ()
{ return ( this.style.getNumLigne (monTextPane.getCaretPosition ())+1 );
public int getCurrentColonne ()
{ return ( this.style.getNumColonne (monTextPane.getCaretPosition ())+1 );
* Methodes CaretListener:
// ecoute les deplacements du curseur d'insertion
public void caretUpdate(CaretEvent e)
{ int debut = java.lang.Math.min (e.getDot (), e.getMark ());
int fin = java.lang.Math.max (e.getDot (), e.getMark ());
this.monLabel.setText ("Ligne numero : "+ this.getCurrentLigne ()+" Colonne : "+this.getCurrentColonne ()+" (debut : "+debut+", fin : "+fin+")");
* Methodes ActionListener:
public void actionPerformed (ActionEvent e)
{ int start = monTextPane.getSelectionStart();
int end = monTextPane.getSelectionEnd();
int debut = java.lang.Math.min (start, end);
int fin = java.lang.Math.max (start, end);
int longueur= fin - debut;
this.style.changeStyleSurligne (debut, longueur);
// lance le tout ....
public static void main (String argv [])
{ new MonJTextPane ();
// la Classe DefaultStyledDocument correspond a la classe utilise comme Model pour les
// composant Texte evolue comme : JTextPane ou JEditorPane
// en derivant de cette derniere nous pouvons donc redefinir les methodes d'insertion afin de personnalise
// le style d'ecriture en fonction du texte et creer une methode permettant de modifier le style utilise pour
// une partie de texte deja ecrite.
class StyleAide extends DefaultStyledDocument
* Constructeur :
public StyleAide (StyleContext styles)
{ super (styles);
initStyle (styles);
* Methodes :
// redefini pour choisir l'effet de style a utiliser
public void insertString(int offs, String str, AttributeSet a) throws BadLocationException
{ try
{ // si le texte insere est egale a HELP le texte s'ecrit avec le style "styleOp"
if ( str.equals ("HELP") )
{ super.insertString (offs, str, getStyle ("styleOp"));
else // sinon le texte est ecrit avec le style "styleNormal"
{ super.insertString (offs, str, getStyle ("styleNormal"));
catch (BadLocationException e)
{ System.out.println ("Tuuuttt erreur Insere");
// modifie le style d'ecriture d'un texte deja ecrit compris
public void changeStyleSurligne (int positionDepart, int longueur)
{ setCharacterAttributes (positionDepart, longueur, getStyle ("styleKeyWord"), true);
// le Model d'un composant texte est enregistre sous form d'un arbre
// cette methode permet de recuperer le noeud root de l'arbre
private Element getRootElement ()
{ return this.getDefaultRootElement ();
// methode permettant d'obtenir la ligne correspondant a un offset donnee
public int getNumLigne (int offset)
{ Element eltR = getRootElement ();
int numLigne = eltR.getElementIndex (offset);
Element elt = eltR.getElement (numLigne);
if ( offset != elt.getEndOffset () )
{ return numLigne;
else
{ if ( numLigne != 0 )
{ return numLigne+1;
return 0;
public int getNumColonne (int offset)
{ Element eltR = getRootElement ();
Element elt = eltR.getElement (eltR.getElementIndex (offset));
int numColonne = offset-elt.getStartOffset ();
return numColonne;
// Defini les differents styles
private static void initStyle (StyleContext styles)
{ // definition du style pour le texte normal (brute)
javax.swing.text.Style defaut = styles.getStyle (StyleContext.DEFAULT_STYLE);
javax.swing.text.Style styleNormal = styles.addStyle("styleNormal", defaut);
StyleConstants.setFontFamily (styleNormal, "Courier");
StyleConstants.setFontSize (styleNormal, 11);
StyleConstants.setForeground(styleNormal, Color.black);
javax.swing.text.Style tmp = styles.addStyle("styleKeyWord", styleNormal);
// Ajout de la couleur blue et du style gras pour les mots cle
StyleConstants.setForeground(tmp, Color.blue);
StyleConstants.setBold(tmp, true);
tmp = styles.addStyle("styleOp", styleNormal);
// Ajout de la couleur rouge pour le style des operateurs
StyleConstants.setForeground(tmp, Color.red);
}But it hard for me to convert it in the corresponding HTML document.
Did you have and idea
Tkks -
these two tags don't seems to work fine together. When I add <meta name="apple-mobile-web-app-capable" content="yes" /> , the application auto-detect the numbers as phone numbers.
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="format-detection" content="telephone=no">well, it seems that i solved this problem by putting
frame.show()
before
frame.setFulleScreenMode()
and it now works... but why???? -
How can I change the default formatting on the Content Placeholder?
Captivate 7. I'm reworking a copy of an existing theme, and I've been able to change all the styles and defaults easily ... except fthat on the Content Placeholder object. I'm manually changing the Character and Format information for each one. I can't find a corresponding entry in the Object Style Manager. What am I missing? Thanks for the help!
MaryThanks, Rod. The replacement makes total sense to me. So maybe this is just an issue with working with the Master Slides themselves. While I've updated all the objects in the manager, seeing the hold "Hobo" font on the placeholder for "type your text here" was a bit disconcerting. But ...
Today when I open the file and look at the master pages, the offending "Hobo" font has been replaced with my choice. Very bizarre.
At any rate, thanks again for the help, Rod!
Mary -
on opening up toast to burn its telling me that the tv standard is set to ntsc but all of my content is in pal format. how to change the content to ntsc seeing i am using final cut 10.
Select the Project in the Browser. Go to the Info section of the Inspector. Click the Modify Settings button. For Video Properties, change the Format from PAL to NTSC. Export again, you'll be fine.
-
Deleting condition formats but saving the contents
Hello all,
I hope someone from Adobe is monitoring this list, as there is lots of stuff that requires either more work on the ExtendScript coding or on the documentation.
I have almost finalized my conversion from unstructured FrameMaker documents with lots of conditional texts to structured FrameMaker, in which attributes take over the role of the conditions. I now want to delete the condition formats but keep the contents. This is possible via the menu: when I delete a condition format, I get a dialog that allows me to keep the content as unconditional text instead of throwing it out. Guess what ? The Delete() method for a CondFmt object does not take any arguments, and the default method is throwing out the content.
I can do a TextSelection on everything in the document and apply unconditional formatting to it, but that does not include the text in tables. And it is a hassle, as there should really be a way to tell the Delete() method for CondFmt what to do with the content. The options in the dialog should be available via ExtendScript somehow.
Thanks in advance for a quick reply. My deadline is approaching quickly !
JangThis problem has been driving me crazy for weeks, and I'm pleased to finally declare victory.
The main snarl I ran into was the propVal.osval, which uses an (undocumented) array data type named Objects to hold the CondFmt objects, and it has no constructor, so it's not easy to reset. You can reset the isval all day long without effect, and building your TextPropVal from scratch has a nasty habit of crashing Frame. It's late here, so please excuse the uncommented code, but the following will make all text in your main flow unconditional, allowing you to delete your CondFmts without deleting the text.
var findProps, foundRange, foundCond;
var doc = app.ActiveDoc;
var firstPgf = doc.MainFlowInDoc.FirstTextFrameInFlow.FirstPgf;
var docStart = new TextLoc(firstPgf,0);
var currCondFmt = doc.FirstCondFmtInDoc;
var findProps = AllocatePropVals(1);
findProps[0].propIdent.num = Constants.FS_FindCondTextInCondTags;
findProps[0].propVal.valType = Constants.FT_Strings;
findProps[0].propVal.ssval[0]= currCondFmt.Name;
while (currCondFmt.ObjectValid()){
foundRange = doc.Find (docStart, findProps);
while (foundRange.beg.obj.ObjectValid())
foundCond = doc.GetTextPropVal (foundRange.beg, Constants.FP_InCond);
foundCond.propVal.isval = new Ints();
while(foundCond.propVal.osval.length>0)
foundCond.propVal.osval.pop();
doc.SetTextPropVal (foundRange, foundCond);
foundRange = doc.Find (docStart, findProps);
currCondFmt = currCondFmt.NextCondFmtInDoc;
findProps[0].propVal.ssval[0]= currCondFmt.Name; -
I'm currently using the Time Machine system on my Macbook.
I would like to format the computer but before doing so, I'd like to be sure that all my files will be there when i restore the time machine on my formatted macbook like my iTunes library and all that.
Thank you for your answers!I'm currently using the Time Machine system on my Macbook.
I would like to format the computer but before doing so, I'd like to be sure that all my files will be there when i restore the time machine on my formatted macbook like my iTunes library and all that.
Thank you for your answers! -
Formatting the mail content in the workflow email
Hi,
In a workflow i am displaying a currency value.I want to format the currency value in the output. For eg: currently in the workflow email a value is displayed as 20000.0000 but i want it to display as 20,000.00 .
I have written the code in the method of the business object where i fetch this value such that the value is changed to the required format and is placed in the container element. The value of this container element is then displyed in the mail body.
I checked and the value does change to the required format and it is placed in the container element also in the required format(i.e 20,000.00) But only in the email output the formatting is lost and it is displayed in the original format(i.e 20000.0000).
Is there any other way to format the output of the currency field. I tried changing the data type to a character string but then the comma does not appear on the output.
Thanks!
Regards
ArchanaHi,
amount = 20000.0000
mail_amount is the variable that you'll use in mail body
p_curr is the currency you'll use.
WRITE amount TO mail_amount CURRENCY p_curr RIGHT-JUSTIFIED.
Maybe you are looking for
-
MEMORY_NO_MORE_PAGING " dump
Hi All, We are at SAP ECC 5.0 SAP_BASIS 640. Today morning while running mb51 we got " MEMORY_NO_MORE_PAGING " dump. Could please help to fix this problem? Here is the error info: What happened? The current ABAP program had to be terminated because t
-
It won't do anything cause the button that says iPod when connected disappeared after it updated.
-
On my G575 is there a way I can record the sound (or part of) of a DVD I am playing? Thanks in advance.
-
OAMessageRadioButtonBean: Selected value is changed after partial rendering
Hi, I am having a 2 radio buttons in group and depending on the radio button selected, fields are displayed. I am handing this using the partial page rendering. After partial rendering, the correct required fields are displayed but the last radio but
-
HP DL380 G5 Windows Server 2012 R2 Hyper-V
Hello. I have a HP DL380 G5 server & a have a problem. OS installation proceeds normally, the installation takes the role well, but the virtual machines is running weird. When using a network inside a virtual machine (for example, copy of iso file fr