Standard Text to be used as a subject/body of an email

Hi guys,
I have a program which sends a sapscript thru mail... But my problem is how am I going to make use of the standard text created in SO10 as subject and body of mail???
I used the SO_DOCUMENT_SEND_API1 FM...
Thanks a lot for all the help...
Rgds,
Mark

you will need to fetch the standatd text using READ_TEXT function module
need to pass following to READ_TEXT
Text Name      your text name
Language        EN
Text ID            ST           "Standard text
Text Object     TEXT         "SAPscript standard te

Similar Messages

  • Hi..how we enter standard text for smartform using include text

    hi
    guru
    ..how we enter standard text for smartform using include text..
    i know only using so10 we write text..
    in smartform it asking text-object
                                     text-id,
    so what values we should give to get text

    Hi,
       Do u want to print Standard Text or the Texts that are maintained at the Transaction level.
    If it is standard text , then u use text id as ST or if it is Texts that are maintained at the Transaction level then u have to go to that specific transaction and check for that text , then go to text editor ,in the goto menu u have header data where u get the Text id , text name.... , use them in ur smartform in the INCLUDE text.
    Further u have the option of text modules in smartforms which act as standard texts, so if u r going for creation of standard texts then its better to use text modules.
    Regards,
    Shafivullah Mohammad

  • How to output a logo stored as standard text to excel using OLE

    Hi Experts,
    I have a requirement to write a program which creates an excel spreadsheet to download data from SAP.  The client would like the spreadsheet formatted with merged cells, background colours, different size fonts and in the top left corner of the spreadsheet to show their logo. 
    They have similar functionality in another report, however, this requires a template (containing all of the formatting) to be stored on the user's PC.  They do not want to have to do this with the new download.
    After checking the many postings on this forum I have worked out how to do most of the requirements, but as yet have still not been able to work out how to populate their logo to the spreadsheet.  They already have their logo stored as standard text (SO10), so would prefer to use this if possible.
    Any advise and/or sample code would ge greatly appreciated.
    Thanks
    Sandra

    Hi Surendra,
    We have the same requirement. We want to do some format changes to "Generic FSG Drill Template". I am able to do few changes. But when we run the report, we are able to see PDF, html output. But 'Exce' report comes with blank. Can you help on this. How were you able to see logo in excel file.
    Can you send the suggestions if any to my mail ([email protected])
    Thanks in advance.
    Thanks,
    Techie.
    Edited by: user1138068 on May 30, 2011 7:04 AM

  • Standard text (SO10) - 'Where used list'

    Dear all,
    I would know if SAP provide a standard tool that consents to display a 'where used' list for the standard texts.
    I mean, this report has to show where the standard text defined via SO10 are used (SAPScripts, Smartforms...).
    Thanks and best regards
    Davide

    I doubt if there is such report.
    Enjoy SAP.
    Pankaj Singh.

  • Standard Text in Smartforms using SO10 Transaction

    Hi,
    My requirement is i have IF Condition followed by Elseif. when ever any of above conditions satisfy i need to print a text of at least 5 lines.
    If <>
    Print Text upto 5 lines each line at least 100 char(text1)
    elseif <>
    Print Text upto 5 lines each line at least 100 char(text2).
    else <>
    text24.
    If solution for the above  is using SO10 Tcode then  plz expain me in detail.
    thanx in advance

    Hi
    Check this
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Subtotals - Check the link...
    Re: Subtotal with Table Node in smartforms
    Regards
    Anji

  • Standard Text in IORDER

    Hi,
    we created a
    standard text with SO10
    which we use in PM order position (text of step) - IW32
    example: INCLUDE IS0054_TEXT OBJECT TEXT ID ZPM
    when we print this order everything looks OK (whole text was printed)
    but when we send this order to extern system via transaction IORD the standard text is not transfered, but the INCLUDE command!
    IDOC type IORDER01
    segment E1OROPR_LTXT:
    TDFORMAT
    TDLINE
    INCLUDE IS0054_TEST2 OBJECT TEXT ID ZPM
    Does anybody know how to "force" SAP to perform the include command instead of copy it into the IDOC ???
    kind regards
    Jörg

    Hi Raghu,
    1. in SO10 you can create standard text to be used in several transactions.
    We create text name: IS0054_text / text ID: ZPM
    content: "This is an example for standard text to be transfered"
    2. in transaction IW32 (change existing PM order) we want to use this standard text:
    a) click on long text button of "first operation"
    b) in text editor - menu: insert > text > standard (Ctrl + Shift + F5)
    result:
    INCLUDE IS0054_TEST2 OBJECT TEXT ID ZPM
    3. in transaction IORD you can transfer PM orders to subsystems via IDOC
    if we do that, an IDOC is created including all order information incl. our text
    Problem: we expected that in segement E1OROPR_LTXT (Order Operation Long Text segment) our text "This is an example for standard text to be transfered"will be found, but we found only "INCLUDE IS0054_TEST2 OBJECT TEXT ID ZPM"
    So why does SAP not follow the "INCLUDE" command and put linked text into IDOC ???
    any ideas how to treat SAP to perform this command before creating the IDOC?
    kind regards
    Jörg

  • SolMan 7.1 standard text in email

    Dear All,
    we are using SolMan 7.1 and we want to manually send out emails for example from a change request by using standard text.
    If I click on the standard text button currently the emails stays empty, is there a possibility and if yes how to change the standard text or to use even more email templates?
    Thank you in advance for any feedback, ideas, support etc.
    Eva

    Hello Eva,
    Please check below Configure email notification for SolMan ChaRM and Incident Management and Change Request Management: E-Mail functionality in SAP Solution Manager 7.1
    BR,
    K.

  • How to print a standard text of 3 pages in the script output?

    Hi all,
    I want to print a standard text as an include in the script output.
    But the standrad text is of 3 pages conataining continuous (some terms and condtitions) text.
    But while executing driver program, I am getting a STOP messgae pop-up saying 'Output is continuous or contains too many pages (>4)'.
    How to get the standard text of 3 pages in the output. The standard text is to be printed at the bottom of the output.
    Thanks,
    Sachin

    Hi ,
    To display standard texts you have to create a include in your script below is the syntax for that:
    INCLUDE name OBJECT name ID name PARAGRAPH name LANGUAGE   name
    Include command is used to include standard text in a form.the text 
    should be already defined by using transaction SO10.
    Here name is the name of text
    ID is used to classify text e.g. SDVD (SD related text) , ST (Standard text)
    OBJECT is used to specify type of object it an be TEXT , DOKU
    LANGUAGE is used to specify language like EN ,if ommited than logon
      language is used
    PARAGRAPH is used to specify the paragraph like C
    e.g. /:INCLUDE mytext OBJECT TEXT ID ST LANGUAGE EN
             Here the standard text created in SO10 with name mytext is
             included in the form in language EN (English)
    Please let me know if you have still any confusion.
    Thanks
    Narendra Vikram Vishwakarma

  • Printing text in text area in so10(standard text)

    Dear all,
    I need to print a text in text area.i mean i need a box in which i can fill text in standard text (tcode-so10).Using box command we will be doing in script.
    But is there any possibility that i can solve the issue in so10 itself as i am generating offer letter in pb60 it takes my standard text there itself.So is there any solution for this issue?
    This issue is very urgent.
    Thank you,
    bhavani.

    Hi
    KEEP a BREAK-POINT and debug the internal table lines how it is coming
    some overlap must be happening ..check.
    Also check the code where you are getting this text into internal table.
    1) One way to debug smartform is to debug the Function Module of that smartforms.
    If you want to debug particular smartform node that the solution would be,
    insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint.
    So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.
    2) SFTRACE can be used for debugging SMARTFORMS.
    Read More here.
    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    Reward points for useful Answers
    Regards
    Anji

  • Standard text not printing

    Hi all,
      I am using /: INCLUDE ZTEST_TEXT OBJECT TEXT ID ST LANGUAGE EN
      in my smart form. nothing is printing.What was the mistake in my statement?It gets printed if I use Include text and give same values.But why doesn't it print Standard text value if use above statement in text element.Please help.
    I want to use this statement only because I have seen in SAP HELP that this statement gives the latest version of the standard text value.

    Hi
    Please refer this links
    http://help.sap.com/saphelp_nw2004s/helpdata/en/03/7560efcf0d11d3b565006094192fe3/content.htm
    regarding smartforms

  • Display Standard Text in ALV

    Dear Experts,
    I have a requirement where the user wants me to display the standard text in SO10 using ALV.
    The text must be displayed exactly like how the user maintaned in SO10.
    What is the best way? The user do not want the solution to have a button in the text field, and pop up screen in alv to display the text.

    The problem not related to the data retrieval.
    Its about how to display the text in ALV. I dont wantto display the text in single line in alv coz it gonna be very long and will no longer in original format.
    Edited by: Castelloz Alfonso on Sep 24, 2009 7:59 AM

  • Send text file content as the body of an email using Send-MailMessage

    I am taking the last 8 lines of a bunch of robocopy logs and bunching them together.  
    Get-ChildItem -Filter *.log | ForEach {
    $a += Get-Content $_.Name | Select -Last 8
    $a += Write-output ' '`r
    $a += Write-Output '------------------------------------------------------------------------------'`r
    I then wanted to use this as the body of an email (send-mailmessage).  It all works but the formatting is lost in the email. I've tried using Out-String and ConvertTo-HTML with little luck.
    If I look at $a in the above it looks fine in the PowerShell console it's just lost when it reaches my inbox.
    I am using v2 of PowerShell and sadly can't upgrade it.

    The issue isn't that part. It's the content of the log files that loses its formatting.
    $a += Get-Content $_.Name | Select -Last 8

  • Customizing PO approval workflow POAPPRV for email subject/body changes

    Hi,
    The requirement is to modify the email subject/body of the emails sent to the suppliers once PO is approved.
    They would also like to remove the
    'From/To/Sent/Id' which is displayed as first section in body currently.
    I am new to workflow, so could you please guide me in achieving this?
    Is workflow customization only option?
    Do we have any other way in which the requirement can be accomplished?
    Thanks!

    >
    I would like to know how FYI gets appended before.
    in the body before the actual text, From/To/Sent/Id are all displayed. I would like to know where they are fetched from.
    I can understand it uses some template for email, but am unable to locate it.
    >
    The FYI is appended based on the type of notification. Since this message does not require any action from user, Oracle adds FYI.
    See http://apps2fusion.com/apps/workflows/327-workflow-notification-template to understand the template.
    >
    Also can you point me to good references for workflow customization.
    >
    You can look at
    Customizing seeded workflow steps
    http://www.workflowfaq.com/
    Anil Passi has good tutorials for this http://oracle.anilpassi.com/oracle-workflow-training-lesson-1-2.html
    See white paper at http://www.vivekasolutions.com/user_docs/WFCustomizationWP.pdf
    >
    Because this is the only change that am expected to do in this critical PO workflow. I dont want something else to be affected because of this.
    >
    As long as you stick to PO approval workflow, you won't affect other areas. If you modify the template (provided you find it), you may affect other areas.
    Sandeep Gandhi

  • How to call Subroutines,Standard Text  & using Internal Table in SmartForm

    Hi all,
    need help in the following areas.Its very urgent!
    1.How to CAll Subroutines in Smart Forms
    2.How to CAll Standard Text in Smart Forms
    Situation:
    We have an Internal Table T_SALES with all the data which am going to display in the smartform,How to retrive data from an internal table in Smart forms
    Any Help in this direction would be highly appreciated.
    Regards
    Ramu

    Hi,
      When you are using quantity or currency fields, you have to mentiong the reference fileds in a tab called CURRENCY/QUANTITY FILEDS in the GLOBAL DATA node.
    Specifying a Currency or Quantity Reference
    Use
    In the ABAP Dictionary, you can assign a currency or quantity field to a table field. In the output of these fields, the system can then insert the relevant currency or unit:
    ·        If the value field is in the same table as the corresponding currency or quantity field, the system recognizes the reference automatically, and formats the value field according to the currency or unit in the assigned field.
    ·        If the value field is in a different table from the currency or quantity field, the system cannot recognize this reference automatically.
    In the second case, you must indicate this reference to the system in the form, to ensure that the value field is formatted correctly.
    Procedure
    You want to assign a currency or quantity field in one table (for example, CURTAB) to a value field in another table (for example, VALTAB).
           1.      Create the reference to the currency field by entering the following values:
    -         Field Name: VALTAB-VALUE, if this is the value field of VALTAB that you want to display.
    -         Reference Field: CURTAB-CURRENCY, which is the currency field of CURTAB.
           2.      Under Data Type, specify whether the data type is a currency or quantity.
    Result
    In the output of the PDF-based print form, the system formats the value field VALTAB-VALUE according to the assigned value in the currency or quantity field of the global variable CURTAB-CURRENCY.
    Thanks and Regards,
    Bharat Kumar Reddy.V
    Message was Added by: Bharat Reddy V
    Message was Added by: Bharat Reddy V

  • How to use Standard text in SAP SCRIPTS

    Hi all,
    Please tell me how can we use the standard text what we have created in SO10 with sap scripts.

    Hi Gaurav
    You can create standard texts using the transaction SO10. Then to insert these standard texts in the SAPScript choose the menu, Insert->Text->Standard and choose the standard text that you want to choose.
    Alternatively, you can display standard texts in your SAP Scripts using the command:
    INCLUDE ZSTEXT OBJECT TEXT ID ST LANGUAGE EN
    where ZSTEXT refers to the Standard Text name.
    Reward pts if found usefull
    Regards
    Sathish:)

Maybe you are looking for

  • Initial load of material classification

    Hi, We want to start using GTS to maintain tariff codes and to assign materials to tariff codes. We will start off with loading tariff codes in GTS from a dataprovider. However, we do not want to start from scratch with assigning materials to tariff

  • Need help on adobe forms

    Hi, I wanted to learn Adobe forms. What is ADS?? How I can do the configuration for this or what are the necessary thing for this so that I can start the devlopment for adobe forms??

  • How to upload just changes

    Hi, I'm new here, so sorry if this an easy question but... Could you please advise me how upload just changes I've made in my site? You know, there's quite a lot of pictures on my site and uploading the whole site again and again even when I made jus

  • Using Adobe Reader 9 & 11 together

    I have a client that needs to use Adobe Reader 9 to open PDF's for a certain software but she also needs Adobe 11 to open PDF's she has been sent which Adobe 9 cannot open. Is there anyway we can use these two different version on the same machine si

  • Javascript in Portal Pages

    How include javascript code in Pages created by Portal ?