If condition in standard text in so10

Hi,
Im using a standard text where ive written an IF condition but its not working.Im calling that text in my program using READ_TEXT, TEXT_CONTROL_REPLACE and TEXT_SYMBOL_REPLACE function modules.Im not using sapscript or smartform.All my dynamic variables are working fine but for my IF condition what is happening is IF statement is also true and ELSEIF is also true.The statement under if is also getting printed and statement under elseif is also getting printed.
Could anyone help please.
Regards,
Nidhi.

Standard text " if conditions "  dont work other than scripts and smartforms.
to my surprise, if conditions have not worked even when I used them as includes in ADOBE forms.
Please handle the conditions in your program itself.
<< Moderator message - Point begging removed >>
Edited by: Rob Burbank on Sep 30, 2011 2:49 PM

Similar Messages

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

  • Standard Text in SO10

    Hi,
    Can we use the standard text in S010 for storing only text or we can values or variables also.I want to use standard text in smartform.
    Rgds

    Hi
    I think ur question is not Related to SAP business one.
    pls post in proper Forum if it is....
    Giri

  • Standard text from SO10 - smartform

    Hi Folks,
    I need to print a document with some standard text and the vendor address.
    1.For this I had created the standard text in S010,how to call this standard text in the text editor of the main window?
    This standard text will be the same for all the vendors.
    2.I need to fetch the address of the vendor.So I had created a select option.I have to print this document with the standard text for each vendor.Text will remain the same but the vendor address differs.I had created a structure having all the fields for the address and declared in the form interface.Internal table is getting populated but it is not printing in the smartform.
    How to get the document in one shot for all the vendors given in the range.
    Thanks,
    K.Kiran.

    u can call the standrd text from the smartform directly :
    got the smarform u created/ developed.
    create text.
    in the general attributes tab give the type <Include Text>
    assign the standard text that u want ot inclue.
    smartform will call that directly
    address cn be created direclty from the smartform
    in creation u will the get the option to create the address.
    just give th varible and populate the varible from the program.
    Thanks

  • Standard Texts using SO10

    Hi,
    I am using SO10 for Interview letters, Rejection letters..etc with Text ID 'PALT'. But when ever I try to create a new text in SO10 or even display and change,it opens with a DOC/RTF format rather than the normal SAP script editor. Due to this I am not able to use the options like Insert( for program and system symbols) that are available in SAP Script editor... What can be done?? Pls guide me.. I am working on ECC 6.0 version of SAP.
    Regards,
    Anu.

    Dear Anu,
    u try to go into setting , see the setting in anothet system compare it with your system.
    Best Regards,
    Flavya
    Edited by: Flavya on Dec 5, 2008 1:12 PM

  • How to use standard text feature SO10 , dynamic text ?

    hi i have to pass an email containing some information, information contains employee name and number , that I have to place at runtime in the message which is created in the SO10. How to do this ?
    thanks,

    Hi,
    Please go through the links,
    Re: Sending an Email
    Sending Email. Urgent
    Regards,
    Azaz.

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

  • 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

  • Standard Text in Multiple Lang

    Hi all,
    I have a standard text in logon lang EN and iam using it in ascript and when i login in chinese and if print the output of script i need to see the standard text in chinese
    1) do i need to recreate the standard text in chinese logon lang  with language zh and same name
    or
    2) in the english logon language can i copy the english standard text  to chinese lang 
    3) can we convert the standard text from en to chinese using se 63
    Thanks

    First create standard text using SO10 Transaction,enter standard text name ,language is Chinese.
    You have to manually like copy and paste it.
    You can login into SAP using logon is EN.
    Now while calling the Standard text to Layout ,goto SE71 -> enter form name ,language chinese,now add your standard text here.
    Otherway..
    Goto SE71 -> form name -> enter langauge EN
    Within standard text window ,keep the condition
    /: IF SY-LANGU = 'EN'.
    /: CALL STANDARD TEXT USING EN
    /: ELSEIF SY-LANGU = 'CHINES'.
    /: CALL STANDARD TEXT USING CHINESE
    /: ENDIF.
    Please use first method alway rather than using condition
    Thanks
    Seshu

  • 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

Maybe you are looking for