SO10 doubt : standard Text

hi experts,
                   i'm new to using Standard texts so got few prbs:
1. How to remove the page number which comes automatically with standard text?
2.How to change the layout of the paper layout.length and width of the layout?
3. How to call standard text from SE38 and pass variables into standard text from SE38?
<REMOVED BY MODERATOR>
Thanks and regards,
Gaurav
Edited by: Alvaro Tejada Galindo on Apr 7, 2008 3:28 PM

1.Which page number u r taking about? Can you please explain?
2.No need to change layout of the page. Text layout can be modified as desired in smartform or report.
3. Use function module 'READ_TEXT'
data: LINES     type standard table of TLINE.
CALL FUNCTION 'READ_TEXT'
  EXPORTING
  CLIENT                        = SY-MANDT
    id                            = 'ST'
    language                      = 'E'
    name                          = 'ZTESTRKS'  " name of object u have                           created
    object                        = 'TEXT'
  ARCHIVE_HANDLE                = 0
  LOCAL_CAT                     = ' '
IMPORTING
  HEADER                        =
  tables
    lines                         = lines
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.

Similar Messages

  • Reg : usage of standard Texts(SO10)

    Hi all of u,
      I want to use standard texts ,which were created under Tcode SO10, alone to display output without using them in any of the script or smartforms.Also i want to nw that , is it possible to use Variables inside standard text,which r really exist in report,report is through which i want to make use of ths Texts .The variable are / shuld be  local to this program...
    Kindly guide me ....
    This will simplifies my work ...
    Thanks in advance,
    Regards,
    Chandra.V

    Hi Chandra Shekar,
    standard text with variable
    SO10 doubt : standard Text
    Regards,
    Sravanthi

  • What is the tcode to created standard text to include in sap script

    HI
    what is the tcode to created standard text
    i want to include  standary text in sap script
    regads
    Arora

    Hi ,
    If you want to upload a logo , then u can use program RSTXLDMC if it is in .TIFF format or if you want to upload a grphic which is in .bmp then u can use SE78 or directly u can use SO10 also.
    SAPScript Transaction codes
    SE71 - Form painter
    SE72 - Style maintenance
    SE78 - SapScript Graphics Management
    SO10 - Create standard text module
    Reading Text in SAPScripts
    If you only need to output the text, you don't need to used READ_TEXT like in an ABAP program,
    just use the INCLUDE command in SAPScript.
    It will read the text and output it to your form.
    The Syntax is like this:
    /: INCLUDE &T166K-TXNAM& OBJECT &T166K-TDOBJECT& ID &T166K-TDID& LANGUAGE &EKKO-SPRAS&
    Check the following link:
    http://sap-img.com/sapscripts.htm
    Regards,
    Raghav

  • 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 (SO10) - To print the text in same line

    In Standard text (SO10) I would like to have my text in a single line. For that I have used the extended line (=) tag. But It is not working.
    Can anyone help me how can I achieve this.
    Actually how many characters I can put in a single line. I think it is 72. But my text is less than 72 characters.
    Can anyone Please help me.
    Regards
    Meshack Appikatla.

    A Text Symbol in Script or Smartform can take lenght of Maximum 80 characters. Any thing more than that will be truncated even if the window is long enoguh to hold more than 80 characters. Si your character formated need to be have the PROTECTED option checked.
    At Topic:
    Try increasing the window size in lenght or width, If that is not possible pratically, you can try by decreasing the font size.

  • How to declare variables in standard text  - so10 t.code

    Hello Friends,
             How to declare variables in standard text  - so10 t.code? Your response will be appreciated much.
    Thanks
    Sri

    For Script & Smartform  Text - &VAR&

  • How to display the Standard Text (SO10) based on condition in adobe forms

    Hi,
    I have created the Standard texts (through SO10 tr.code) of 4 plant addresses. In the Layout of adobe form, i want to display any one plant address based on the plant number (as a input) and the rest 3 standard text need to be hide. i tried in Form clac to hide, but i unable to succeed. could you please help me, in this regard. 
    Thank you.
    Regards,
    Mallikarjuna

    Hi,
    You can add all the 4 text in your context menu and create an condition for text.
    Example: (LS_HEADER is a structure only for example, you need to decide based on your own form interface)
    Text_1000                                Condition -> LS_HEADER-WERKS = 1000
    Text_2000                                Condition -> LS_HEADER-WERKS = 2000
    Text_3000                                Condition -> LS_HEADER-WERKS = 3000
    Text_4000                                Condition -> LS_HEADER-WERKS = 4000
    The text satisfyling your condition will only be printed and you can assign these text to the same block in PDF form.

  • Using text elements in so10 standard texts

    How to use text elements in so10 standard texts.

    HI,
    In DDIC we have two structures :
    1. THEAD  - Text Header
    2. TLINE    - Text Lines
    SO10 is the tcode..for standard text...
    We have a FM to read the text ... read_text...
    and save_text is for create text..
    this text is are used in SAP scripts...
    the standard text is identified by three parameters :
    1. Text Name
    2. Text ID ( ST  for standard text )
    3. Language
    hope helpfull
    Raghunath.S

  • How to use stylescreated in se 72 in STANDARD TEXT SO10

    Hi all,
    I have created a style in se72.
    Now can i use the style while creating a stAndard text in SO10 and in script.
    If yes can anyone let me know how to do that
    Thanks

    In SO10 go into change/ create mode and from the menu select FORMAT and in this select CHANGE STYLE. A popup with the styles comes up and just slect which ever you want.

  • How to use standard text  so10

    Hello sir
    Here the problem is i want get three company adress in the script..
    Here i  used the satandard text  (so10)  and created three adress  and i went to address window  type
    There
    i written if exgrp =52
    <b> include zadress 1 text id  language E.
    else exgrp=53
    <b> include zadress 2 text id langugage e.
    this one i did in developement client and  i tested and  imported threw scc1 its not reflecting while exectuing.
    so please tell me how to print the 3 comapny address .. and step by step procedure .
    Thankyou
    Regars
    REDDY

    HELLO sir ,
    I done wt  u said but unable to get that address in script .......
    Please check  the flow once which done by me ......
    firsr created 3 texts and went to  the adress window there i used insert option gave standard text ...
    in the address window i gave
    If P_EXGrp -52( &j_1iexchdr-exgrp&)
    include text 1
    elseif P_exgrp=53
    include text 2
    else if P_exgrp=54
    endif .     this the  way i used if condition i ..........  if i changed the  second statement to Only  to "else" its printing the only else part exectuting  in script .
    and by using  RSTXTRAN progarm transported my request .  and by scc1 imported  but iunable to get Please tell me i didnt change the driver progarm .. selection scrrren &J_1iexchdr-exgrp& is one fileld based on this company code should come .. 
    Please let me know how to get ....wt changes i should make Please
    Thankyou,
    Regards

  • How to delete standard text in SO10

    Hi,
    We have lot of data in SO10 ,whcih we don't need now.
    How can we delete it?

    Hi,
    Goto SO10 and type the text-id you want to delete and then click on
    Change button. After that select the menu Text-->Delete. It will delete
    the Text ID
    Changing the title of Standard Text:
    Goto SO10 and type the text-id you want to delete and then click on
    Change button. Select the menu Goto-->Header. The Short Title Field will
    have the current title, you can change the text title here.

  • How to transport standard text in SO10 to different system.

    Hi,
    I need to change the standard text in SO10. I need to change the custom text. We have a custom text id (zval) associated with it. How to transport the changes i have done from Dev to Quality to Production.
    I wanted one clarification: when we create the transport manually, whether only those changes what i have done for the text can be transported or it will include all the other text which are initially present (like table entries). From the program RSTXTRAN, can you give the what are the inputs need to given.
    Please let me know regarding this. Thanks in advance

    Steps..
    Create a work bench CR in the transaction SE09..
    Modify the task to Development correction / Repair..
    Go to the program RSTXTRAN..
    In the name of correction give the task number (Not the CR number)
    Give the Text Key..Your standard text name..
    Press F8...
    Press select all..
    Then Press enter..
    Then press the button "Trsfr texts to corr".
    Now the standard texts will be moved to a CR..
    Then release the CR and move it to QA..

  • How do you delete a standard text created in SO10?

    I have searched the forum and the web and can not find any answers to this question.
    I created a standard text in SO10 - i.e. called ZSTDTEST.
    i can not find anyway to delete this.
    I see once you are in SO10 under change mode - there is a delete in the drop down under "text" but i believe this is used for delting LINES in the actual text.
    I must be missing something here - or perhaps once you create a text - that's it - you can not delete it.
    Thanks.
    Scott

    Well,
    If you want delete them in your current system use FM u201CDELETE_TEXTu201D, but if you need to delete the standard texts across the systems basically, you have 2 options:
    1-create an ABAP program and use FM u201CDELETE_TEXTu201D and pass all the text you want to this FM for deletion, you can do masking with an asterisk too i.e u201CZ_MY_TEXT_*u201D
    2-I personally prefer this one, First, create a blank transport and write down the task id, and then take a list of all your standard texts which you want to delete and go to se38 and execute the ABAP program RSTXTRAN. This program will require the transport task id and the list of your standard texts to enter them in the transport. Once your transport has the unwanted standard texts go to FM u201CDELETE_TEXTu201D and delete these standard texts in your current environment.
    Now, release the transport to go to other SAP environments.
    This technique takes the deleted text ids and will delete the standard texts in any subsequent environments because you deleted them before releasing your transport.
    I hope this is sufficient
    Cyrus Arjomandi
    Edited by: Cyrus Arjomandi on Jun 11, 2010 10:10 PM

  • 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

  • Special Characters not being imported from standard text(SO10) to form

    Hello Experts,
    I have created a standard text in SO10 and tried importing it to the adobe form, i created.  I have maintained some sentences as highlighted and underlined.  Text got imported perfectly on to the form, but the formatting is not being exported.  Could you please help me in this issue.
    Thanks,
    Rakesh.

    Use Text modules instead of standard text

Maybe you are looking for