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&

Similar Messages

  • 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 use table in standard text

    Hi,
    I created one standard text using SO10 and I need to populate my internal table data values in the standard text. Below is the standard text i created.
    XXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXX
    &GV_ASSIGNMENT&   &COSTCENTER&    &ORGUNIT&
    &GV_ASSIGNMENT&   &COSTCENTER&    &ORGUNIT&
    &GV_ASSIGNMENT&   &COSTCENTER&    &ORGUNIT&
    Thanks,
    XXXXXXXXX
    If an employee have multiple assignments, I have to send a mail to org unit head with the above format.
    I created the above format in standard text (SO10). Now how to populate the values in the standard text.
    Thanks,
    Ram

    Hi Ram,
    A standard text like this does not have the concept of looping through data (which is what you'll have to do if there you have a table of data).
    What are you using to generate the mail?  If is is comning from smartform or SAPscript you should use the form to define the layout and the loop, meaning you'll need to split your standard text into smaller texts.
    Regards,
    Nick

  • 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

  • Assign standard text (SO10) in transport request

    Hi Experts,
    How can i assign the standard text i've created in SO10 to a transport request. Thanks!
    Best Regards,
    Kurtt

    Hi,
    Refer note 3355 in OSS for a complete explanation. The SAPscript objects that should be transported must be written in a transport request.
    The entries are as follows:
    R3TR FORM NAME (NAME = Name of the layout set)
    R3TR STYL NAME (NAME = Name of the style)
    R3TR TEXT OBJECT,NAME,ID,L
    (OBJECT = Text object, NAME = Text name, ID = Text ID, L = Text language)
    If you want to transport a number of texts, you can use report RSTXTRAN to insert the individual text keys into a correction. The transport request must be entered and released via the transport system.
    Regards
    Sudheer

  • How can I have a standard text block appear on the last page of my documents?

    How can I have a standard text block appear on the last page of my documents without having to type it in all the time? I have a terms statement with a line for a customer’s signature which I want on the last page of my invoices and right now I have to type it in each time or cut and paste it from a previous invoice. I already have a Master Page that includes the customer information and my company information at the top of each page and I am using data merge to fill each page with the items ordered and their pictures etc. I would just like to have this standard terms block automatically show up on the last page after the last item in the data merge.
    Thank you all in advance for your help.

    Thank you Peter. This works. I have the text block now at the bottom of a second master page which I apply to the last page. For aesthetics I can modify the position of the text block in the new master page to bring it up from the bottom under the last item ordered when there is less than 4 items on the page. (my data merge fits up to 4 items with their images on a page).  If the last page is full I’ll insert a final page using the second master and also bring it up to the top of the page.

  • How to include variable in the text column in report painter?

    Dear Expert,
    Would like to seek for your help to include How to include variable in the text column in report painter?Please advice.
    Thank you.
    Regards,
    Karen
    Edited by: Karen Swee Ping Ho on Jun 17, 2011 2:48 AM

    Hi,
    Thank you for the promt reply.
    1) How I include the variable in the column header to display fiscal year which I have selected from the selection screen?
    which variable should i use?
    2) Where can i find more information about the characteristic and which variable to be use base on the characteristic?
    For example: I would like to display the fiscal year from the selection screen/input screen when execute the report which also will reflected to the element definition and will display the fiscal year also in the column text?
    3) Kindly advise base on question 2, the variable that i use in element definition it will also display  in selection screen?
    4) When execute the report the first selection screen input parameter it obtain from where it is from element definition?
    5) Please advice how to be done when report execute with first screen input selection will also reflect the element definition of column and rom with the selection of the fiscal year?
    Please help.
    many thanks
    Edited by: KH on Jun 18, 2011 7:18 AM

  • How do I cut and paste text in css code in dw cc?

    How do I cut and paste text in css code in dw cc? I only licensed it a few days ago, it worked fine in trial! Thanks...

    copy the code in Notepad (Window Machine) or MAC (Copy in texteditor) & paste it in DW, i think its working.

  • How to populate values to the variables in standard text

    Hi friends,
    I have maintained a standard text in So10 like this invoice number&vbeln&.
    Inside a function module i want to read this text and populate the value to the variable &vbeln&.How to achive this.
    Rgds.

    Thanks Simon but i didn't understand your answer but i will tell you the problem that i want to solve with foreach or iterator
    i have a view that have employeeId and employeeName and ManagerID
    create table employeesView
            EmployeeId           Number,
            EmployeeName      varchar2(100),
            ManagerId             Number
        }i want to make a foreach or Iterator to make
    every Employees with the same manager id to be in the same <af:panelGroupLayout>
    i mean
      <af:foreach or af:Iterator >
           <af:panelGroupLayout >
                   <af:commandButton id="cb1" text="All Employees With Manager Id 1" />
           </af:panelGroupLayout >
           <af:panelGroupLayout >
                   <af:commandButton id="cb1" text="All Employees With Manager Id 2" />
           </af:panelGroupLayout >
           <af:panelGroupLayout >
                   <af:commandButton id="cb1" text="All Employees With Manager Id 3" />
           </af:panelGroupLayout >
      </af:foreach or af:Iterator >How can i do this

  • 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 Maintain documentation (se38) using standard text (SO10)

    Hi,
    I have created standard text using SO10. Now I want to include the standard text in documentation (SE38) section of my ABAP program.
    I tried using /: INCLUDE 'YTEST' OBJECT TEXT ID ST LANGUAGE EN
    But the standard text is not showing up when I click the documentation icon in the selection screen.
    Can you please let me know how to maintain documentation for ABAP programs using Standard Texts.
    Thanks in advance.
    Sincerely,
    Vidya

    Hi Mahesh,
    In SO10, which format key has been used (AS, /*, /:, *.... to show up in documentation). when you used insert->text-> did you use 'expand immediately' check box. If expand immediately option is used, it won't serve our purpose.
    =
      (space)
    Example
    SO10 Yeurope_terms
    Inside Yeurope_terms
    Terms: For Europe
    /*           No Tax for Italy
    Waiting for your reply.
    Sincerely,
    Vidya

  • How to create REQUEST NUMBER for STANDARD TEXT (SO10)

    how to create REQUEST NUMBER for STANDARD TEXT ( t-cODE SO10)

    you can do this using program RSTXTRAN .
    Text key - object
    Text key - name
    Text key - ID
    Text key - language, then it will store under one transport that can be moved to other system.
    check out the following link.
    http://help.sap.com/saphelp_47x200/helpdata/en/f4/b4a1ed453611d189710000e8322d00/frameset.htm

  • 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.

  • 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

Maybe you are looking for

  • Discoverer report error

    require solution: when printing reports it prints duplication values at time of report generation. the value prints multiple times. regards,

  • My iphone 4 will not sync with my computer.

    I am using USB cable to sync. I had to format my computer because of a virus and now it will not sync. Keeps saying applying changes step 3 of 3, then I am able to click sync again I think the problem is the names of my computer are different now. An

  • External sound not working

    I think it started after I put headphones in.  But I cannot hear ringtones, music, speakerphone, ect.  I have obviously checked volume, put in safe mode, took out battery, hard reset, nothing has worked. not much help on the internet either.  Sounds

  • Sync on a new computer

    I have had my ipad since January 2011 but the computer that I sync it with is damaged beyond repair. When I connect it to my new machine I am informed that I will lose all of he apps on my ipad if I chose to sync it. Some of my apps have cost 200 dol

  • What is ' OSStatus error 5401 '?? try to load a video, doesn't.  OS 10.6.8  have flip for / WMV

    I'm no good at 'puter stuff , this pretty much just needs to work.  note - I have in the past downloaded videos from the same site, no problem.  did  upgrading OS or quicktime or something screw things up ?  what to do ?  also has said,  OSStatus 120