Smartforms Include text

Hi ,
I am trying to analyse the data that is coming out from a TEXT-ID which is given as a INCLUDE TEXT.
How do I come to know , where and what do I get into this part of the TEXT?
Thanks In advance.
Edited by: ramana peddu on Apr 3, 2008 3:31 AM

Hi
Have a look on these table which will help you...
stxh, stxl, stxb - trans tables for text
ttxit - text on text-ids
ttxot - Short texts on text objects
dont forget to reward Points
Regards,
Sreenivasa Sarma K.

Similar Messages

  • How to control formatting of include text in smartform

    Hello Everyone - I have converted sales order acknowledgements from sapscript to smartform. I need to print material sales text at line level. Include text method is being used, it works in most cases. However, in some cases the Std Paragraph format coded in the include text, is being ignored and the text prints as per default standard paragraph format defined in the smart style.
    The only difference I could find in the text set up, using read_text function, is that the format character for the first line. The desired formatting is achieved when the formatting character is '*', otherwise the format defaults to the standard default paragraph defined in the smart style.
    Could anyone suggest if there is a way to keep the paragraph formatting consistent and always use the formatting defined in the include text.
    Thanks in advance,
    Anil

    I have resolved this issue. The include text node was defined twice for the form and I had only assigned standard and first paragraph to one of them. The alignment error occured when the second include text was executed. Modified the second node to be same as the first and all worked as expected.

  • Smartforms -  displaying the include text restricting to spras.?

    In Smartforms i have used include text to display Header text of an invoice .
    I provided all the relevant details for the include text such as,
    1:text name:wa_vbdkr-vbeln
    2:text object-vbbk
    3: text -id-0001
    4:language-nast-spras.
    The problem is in the output it always displays english text eventhough nast-spras is Slovakian .Output should be blank if not maintained.(Header can be maintained in any language).
    Is there any possibility of displaying the text restricting to spras.
    Thanks in advance

    Hi Anji,
    Thanks for your reply .
    We use the so10 only when we have fixed data such as address then we go for it.
    But that's not my case .Header text can be changed any time for given Invoice.
    If maintained it should appear for that language if not it should be blank.

  • How to include text from attachment in Me22n to smartform?

    how to include text from attachment in Me22n to smartform?

    Guys
    I thing Ur not understanding ma question
    as ur answer is right
    lemme put ma senario
    a enduser create a word file which contain tables too
    but when he enter this text in text field of PO and save it
    the tables  disappear
    The solution to this issue
    is that we added the text to attachment of PO header
    but if i want to show it in o/P form i'm not getting any text id for it
    to use in include of smartforms
    this was ma question is der any text id for it?
    as of now i hav asked ma enduser to take separte Print out of PO and attached file

  • Item txt using include text smartform

    Hello Friends ,
    How can we print Item text from purchase order in smartform using include text . I know click on the include text mode and then write the following details .
    text id = f01
    lanuage = en
    object = ekpo
    what should i write in text name . Any other details i need to mention
    Do i need to create one using SO10 . Plzzzzzzzzzzz help
    Joseph

    Hi,
    Right click on node(on which you need the text)
    Create-Flow logic-Program lines.
    system gives %CODE1
    there are two tabs General attributes and Conditions
    click on General Attributes
    Provide the Input parameters - which contains po no and item no
    Provide the output parameters- globally defined Variable  ex NAME type C
    write the code:
    CONCATENATE ekpo-ebeln ekpo-ebelp into name
    Now again right click on program line create Text.
    Give text type as Include text.
    provide the details
    Text Name      &NAME&
    Language        EN
    Text ID         F01
    Text Object     EKPO   
    Check the box : no error
    Rgd
    Narsim
    Edited by: Aeda N on Nov 17, 2009 11:59 AM

  • 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

  • Justify include text in Smartform

    Hi All,
    My requirement is to justify(not left, right or centre but to align the texts in the complete line of the page).
    I have done the following things:
    1) Created a style in which paragraph format is justified.
    2) Used the stylr in the include text.
    But still I am not getting the desired output.Am I missing something?
    Regards,
    Jeetu
    Edited by: Jeetu on May 26, 2008 6:27 PM

    what you are doin is only to be done..
    still to be more clear hopefully u r doin this only:
    create a desired style...activate it and then in you required text module in smartform..give the name of the style( in output option tab)..
    that is what needs to be done
    Thanks
    richa
    Edited by: Richa Khosla on May 26, 2008 2:05 PM

  • URGENT......INCLUDE TEXT IN SMARTFORM......

    hi all,
          i have a long text stored in a field in database . i want to specify that firld in the include text so that it can be fetched and displayed... biut my problrm is about the display of the long text . there r certain words in the long text that is to  be dipalyed in bold or may as next paragraph..... how will i customize it....
    also if i do any change in the field by inserting a code node will that refelct.....

    Hi
    Double click on that Long Text
    it takes you to TEXT ediotr
    From MENU GOTO-> HEADER
    you will find the 4 paramaters like OBJECT,ID,OBJECTNAME and LANGUAGE
    using these 4 parameters fetch the Long Text using the fun module READ_TEXT in the driver program or in the PROGRAM LINES of the Smartform and split that long text (it_lines lines) as per your wish and make them Bold and display
    see the read_text Doc
    READ_TEXT
    READ_TEXT provides a text for the application program in the specified work areas.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    Function call:
    CALL FUNCTION 'READ_TEXT'
    EXPORTING CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters:
    CLIENT
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    Regards
    Anji

  • Difference between Include Text and Text Modules in Smartform?

    Hello Experts,
    I need to know the differences between Include Text and Text Modules in the Smartform.
    When we create a Text in smartform, the text type can be text element Or Include Text Or Text Module.
    Now i need to know the differences between Include Text and Text Module.
    Thanks and Best Regards,
    Suresh

    Hi Suresh,
    Kindly check the below link for Text Modules.
    [http://help.sap.com/saphelp_nw70/helpdata/EN/24/ccbd2a00c811d4b588006094192fe3/content.htm]
    For Include Text:
    [Include Text|http://help.sap.com/saphelp_nw70/helpdata/en/03/7560efcf0d11d3b565006094192fe3/content.htm]
    Regards,
    -Syed.

  • Smartform - SSFComposer Errors and Include Text

    Hi,
    I am receiving errors or rather warning messages when sending a
    smartform to the spool (sp02) via the current business process (transaction me9f).
    These General Texts (SE61) do exist, and yet I am receiving errors such as:
    "No runtime object exists for form ____________" - Fill the blank in with the
    General text (TEXT Object DOKU id TX).
    Can anyone suggest reasons for these messages and if possible, what can be
    done to resolve this problem.
    One thing to note: While Standard Texts are output via include text, General Texts
    do not appear on the output via include text. What could be the problem?
    Standard texts are via transaction SO10 and General Texts via SE61. We have to
    use General Texts for security and authorization reasons.
    Please help. This is very urgent and important.
    Thank you,
    John

    I think the reason for this is no text exist for the module you have created and
    When you define a text element in the smartform you might not have checked the No Error if no text exists check box. It might solve the problem. Do that it may solve the problem.

  • Smartform - SSFComposer Errors & Include Text

    Hi,
    I am receiving errors or rather warning messages when sending a
    smartform to the spool (sp02) via the current business process (transaction me9f).
    These General Texts (SE61) do exist, and yet I am receiving errors such as:
    "No runtime object exists for form ____________" - Fill the blank in with the
    General text (TEXT Object DOKU id TX).
    Can anyone suggest reasons for these messages and if possible, what can be
    done to resolve this problem.
    One thing to note: While Standard Texts are output via include text, General Texts
    do not appear on the output via include text. What could be the problem?
    Standard texts are via transaction SO10 and General Texts via SE61. We have to
    use General Texts for security and authorization reasons.
    Please help. This is very urgent and important.
    Thank you,
    John

    Hi,
    did the general text exist in the correct language. How you define the include in your smartform?
    could it the an authorization problem? did you check su53?
    did you check the sap notes for your release?
    by using smartforms it is better to use text modules.
    regards Maik

  • Smartform, blank line inbetween TWO include texts

    Dear Gurus,
    IN SMARTFORMS ,
    I have to include a blank line inbetween two consecutive include texts.
    Please help me.
    Regards,
    Roshan Lilaram.

    Dear Matt this will not help my issue, i need a blank include text ONLY.
    See for Eg, i have four include texts, inbetween each of these i put a text element as you said, then even if i am not printing anything in my second include text,this text element will be printed with a blank line,
    Now as per this condition, there are two blank lines inbetween my first and third include text.
    This is not right logically, In any case i need one and only one Blank line,
    I hope i have made my issue  more clear.
    Please help me in getting a Blank Include Text.
    Regards,
    Roshan Lilaram.

  • Conditon in smartforms to print an include text

    Dear all ,
    I am printing a PO which includes a special instructions at the end of PO.
    So, there are 8 lines in the special instructions.
    In the 7th line there is a text related to warranty.
    All the 8 lines are printed in same Text.
    Now the requirement is ... in the 7th line i need to print an include text which is being fetched from me22n transaction.
    If the include text is initial then the layout should remain as usual . else the include text should be printed in the 7th line.
    Remember ,, all the 8 lines are in one text only...
    Kindly guide me ,

    Hi Rahul,
    use the READ_TEXT function module.
    CONSTANTS:
    c_txtid  TYPE thead-tdid
    VALUE 'F08',,
    c_txtobj TYPE thead-tdobject
    VALUE 'EKKO',
    c_lang   TYPE thead-tdspras
    VALUE 'E'.
    DATA:
    lt_lines TYPE STANDARD TABLE
    OF tline.
    DATA:
    lfs_line TYPE tline,
    lfs_ekpo type ekpo.
    DATA:
    lw_name TYPE thead-tdname.
    READ TABLE IT_EKPO INTO lfs_ekpo INDEX 1.
    IF SY-SUBRC EQ 0.
    LW_NAME = lfs_ekpo-EBELN.
    ENDIF.
    data:
      GT_TXTLINES type STANDARD TABLE OF TLINE,
      GFS_TXTLINE type tline.
    refresh GT_TXTLINES.
    clear GFS_TXTLINE.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    client                        = sy-mandt
    id                           = c_txtid
    language                     = c_lang
    name                         = lw_name
    object                       = c_txtobj
    archive_handle                = 0
    local_cat                     = ' '
    IMPORTING
      HEADER                        =
    TABLES
    lines                         = GT_TXTLINES
    EXCEPTIONS
    id                            = 1
    language                      = 2
    name                          = 3
    not_found                     = 4
    object                        = 5
    reference_check               = 6
    wrong_access_to_archive       = 7
    OTHERS                        = 8
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    read table GT_TXTLINES INTO GFS_TXTLINE INDEX 1.
    Regards,
    Pratap

  • Text element with line item content and include text

    Hi All,
    How to write in smartform in single text element with line item content and include text.I am using this text element in table . Pls help me out. i am writing the include command in text element ,but this command is not enough for single line of text editor.
    thanks ,
    Rakesh singh

    I have been pulling my hair out for a few days trying to find
    this solution. This fixed my problems as well.
    I was getting ready to scrap the Report Builder altogether
    and move to SQL Server Reporting Services over this issue.
    I'm running 7.0.2 also, that version alone fixed many small
    issues like creating borders and such.
    Thanks

  • How to include text

    hi i m working on smartform
    i want to include text
    for example
    <b>subject</b> : is text window
    i want to include text after colon in subject
    but include text is coming in new line
    now coming like below
    <b>subject:
    hi this is include txt</b>
    but i want like this
    b]subject: hi this is include txt</b>.
    so how can i do this please suggest me
    thanks in advanced.

    u can't  do that.
    only one way  also add  'subject to :' in standared text  than display standared text.
    one more way just store text in variable and  use this variable in smartforms.
    ph  'subject :' &variable&
    ph-paragraph format.
    kishan negi

Maybe you are looking for

  • Finder Crashes, Restarts, Crashes, etc.

    I was coping a PowerPoint file from a co-workers memory stick and Finder crashed. When I restarted, the Apple Menu Bar flashes continuously and my hard drive will not appear. I am able to login into my admin account and the systems works fine. The re

  • Brought my phone to Apple to get my screen replaced and now it won't turn on!! HELP

    I brought my phone to Apple yesterday with my friend, and the employee helping me told me that there was a chance that the screen wouldn't be able to get fixed. When I went to go pick it up they told me that the machine had broken my phone and it was

  • How to reinstall OS on Macbook Pro that will not boot

    I have a mid-2010 Macbook Pro that is stuck on the grey screen with apple logo and progress bar. I'm going to get all my data off of it and then I want to wipe everything off of it and re-install the OS so it is like factory again. Do i need a disk?

  • Exported PDF file *extremely* magenta

    I have a background that is specified as a dark blue but when I export the file the blue appears as purple, and the neutral gray has a pink cast. Anyone have any idea why this would happen? Or experience this yourself?

  • ODI database connection - session question

    Hi, I have a package, where I have used a procedure. In my procedure, I open a database connection. My question is - In my next procedure - will I be able to use my same database connection which I created in previous step? Re-phrasing the question -