Indent /tab position for text from INCLUDE texts in SAPscript

Hi, ABAP colleagues!
Need your help on this sapscript problem:  How to align texts taken from "INCLUDE TEXT" in SAPscript, according to tab defined in Paragraph Format?
Or, how to control tab positions for texts which were extracted from “INCLUDE text” commands in SAPscript?
I defined a paragraph format with tab stop at 8 CH so that with 2 commas (,,) my text will be displayed there.  However it always appears to the left (e.g. 1st column) and not indented at the proper column for description/text (e.g. which is in second column). 
Pls help, bec a different heading and information is not acceptable to client for the Thailand characters. 
Above is the description of the problem.  Below are some technical details.
For specific example, I am editing Zversion of standard sap MM form MEDRUCK Window Main -  Text Element Item Text.
BG ,,&TTXIT-TDTEXT&
/: INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID&
/: NEW-PARAGRAPH BG
So far, tried these approaches:
PARAGRAPH
NEW-PARAGRAPH
LANGUAGE '2'
THANGSAN font
Any ideas?
Thank you so much in advance for all your help. Our project team will really appreciate it. May the Lord bless you as we go through our SAP work!
Sincerely,     
Celeste

Hello Caleste,
Please let me know what settings you have done to solve this issue.
Help me with steps for Spool Request/Print settings.
Regards!!
Surya

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

  • Reading text from a text file(what else!!!!!)

    okay to save time here i've managed to read the text from the text file and display in the console
    my question is - is there a way to read the text a character at a time, at present i read it as a string, the reason i need a character is that i have to check each character to check for brackets ({[ and [})
    public void loadFile() {
              JFileChooser fLoad = new JFileChooser();
    fLoad.setFileSelectionMode(JFileChooser.FILES_ONLY);
    int result = fLoad.showOpenDialog(this);
    File file = fLoad.getSelectedFile();
    if(file == null) return;//if no file selected return
              String text = new String();
    try //exception handler
    BufferedReader input;
         input = new BufferedReader(
         new InputStreamReader(
         new FileInputStream(file)));
    while((text = input.readLine()) != null)                                                   //print it out, line by line
                   char array[] = text.toCharArray();
                   checkFile(array);
                   System.out.println(text);//test case
    input.close();//close file
    as listed i have attempted to fill a char array with the characters from the string but when i try to access the array with
    public void checkFile(char array[]) {
         for(int i=0; i<array.length;i++) {
         if(array.equals("(")) System.out.println("(");//doesn't work
                   System.out.println(array[i]);//works
    the if loop gives me an error
    C:\Documents and Settings\korbitz\Desktop\bracket\Bracket.java:168: char cannot be dereferenced
    any help will be appreciated

    if(array.equals("(")) System.out.println("(");//doesn't workinstead try
    if(array.equals("(")) System.out.println("(");
    You could also try the String methods myString.indexOf() (but you'd have to do one for each char you're looking for)
    A better alternative might be using a StringTokenizer
    StringTokenizer stk = new StringTokenizer(myString, "({[]})");
    if(stk.countTokens()!=1)
    // then you must have a bracket/brace dividing your string
    }Good luck,
    Radish21

  • How can i release text from a text box?

    How can I release text from a text box? I want the shape of the text box without the text in it.

    So all you need is to make a line around the text?
    For this you don't need to release the text box from the text. Just apply a stroke to it.

  • How to email text from a text component in my applet on a the host server ?

    How to email text from a text component in my applet on a the host server, back to my email address ?
    Assuming I have Email Form on the host server.
    Help will be appreciated.

    You can do like below
    =REPLACE(Fields!Column.Value," " & Parameters!ParameterName.value & " ","<b>" & Parameters!ParameterName.value & "</b>")
    The select the expression and  right click and choose placeholder properties
    Inside that set Markup type as HTML 
    then it will highlight the passed parameter value in bold within the full xml string
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Exporting Text from multiple text boxes?

    I'm using InDesign CS3 on the Macintosh. I need to export text from multiple text boxes/stories into one text file. The Export File command only exports text when the text tool is selected and the cursor is in the text box. Unfortunately, I have 8-20 individual text boxes per page, none are linked, and my document is 100+ pages, so selecting each text box individually is much too time consuming. There must be a better way - Please help!
    Thanks!
    Carolyn

    The text exporter plug-in seems to work! I did a quick test - text still will need some clean-up to make sure it's in the correct order, but MUCH better than exporting each story individually. THANKS!

  • Indesign CS3-JS - Problem in reading text from a text file

    Can anyone help me...
    I have an problem with reading text from an txt file. By "readln" methot I can read only the first line of the text, is there any method to read the consecutive lines from the text file.
    Currently I am using Indesign CS3 with Java Script (for PC).
    My Java Script is as follows........
    var myNewLinksFile = myFindFile("/Links/NewLinks.txt")
    var myNewLinks = File(myNewLinksFile);
    var a = myNewLinks.open("r", undefined, undefined);
    myLine = myNewLinks.readln();
    alert(myLine);
    function myFindFile(myFilePath){
    var myScriptFile = myGetScriptPath();
    var myScriptFile = File(myScriptFile);
    var myScriptFolder = myScriptFile.path;
    myFilePath = myScriptFolder + myFilePath;
    if(File(myFilePath).exists == false){
    //Display a dialog.
    myFilePath = File.openDialog("Choose the file containing your find/change list");
    return myFilePath;
    function myGetScriptPath(){
    try{
    myFile = app.activeScript;
    catch(myError){
    myFile = myError.fileName;
    return myFile;
    Thanks,
    Bharath Raja G

    Hi Bharath Raja G,
    If you want to use readln, you'll have to iterate. I don't see a for loop in your example, so you're not iterating. To see how it works, take a closer look at FindChangeByList.jsx--you'll see that that script iterates to read the text file line by line (until it reaches the end of the file).
    Thanks,
    Ole

  • Prob in transferring the chinese texts from the text file (UTF-8) into SAP

    Hello SAP Experts ,
    We are using 4.6 C version
    I created a ABAP to upload Chinese Chars from a text file to SAP Database. The coding that I use to read the text file is showed as following:
    CALL FUNCTION 'WS_UPLOAD'
           EXPORTING
                CODEPAGE                = '8400'
                FILENAME                  = P_FILE
                FILETYPE                   = 'DAT'
           TABLES
                DATA_TAB                = LT_FILE_ADD_DATA
           EXCEPTIONS
                CONVERSION_ERROR        = 1
                FILE_OPEN_ERROR         = 2
                FILE_READ_ERROR         = 3
                INVALID_TYPE            = 4
                NO_BATCH                = 5
                UNKNOWN_ERROR           = 6
                INVALID_TABLE_WIDTH     = 7
                GUI_REFUSE_FILETRANSFER = 8
                CUSTOMER_ERROR          = 9
                OTHERS                  = 10.
      IF SY-SUBRC NE 0 .
      ENDIF.
    I use ABAP debugger to check the field values of the internal table .  But, the values of the internal table which contains chinese chars are changed to some other Chinese characters . How to fix this problem?
    I have used ASC filedatatype , but it doesn't work .
    Thanks for your reply . 
    Regards,
    Chopra

    Hi
    Not sure it will help. Please  check the link below.
    [http://www.sapfans.com/forums/viewtopic.php?f=23&t=40365]
    ~~~Ganesh Kumar K.

  • How to pass text from print program to SAPSCRIPT

    Hi Friends ,
    I need to print this 4 line text on the invoice form between the INFO window and MAIN window . I created a new window in the form and included the text . using include command . The requirement is that if a certain condition is met in the print program then only this 4 line text should be printed on the form .
    Any suggestions .
    Thank you ,
    Hari

    Hi Naren ,
    Just to verify .
    I need to define something like this below in the print program ?
    data : v_flag type c .
    If customer = 'R' .
      v_flag = 'X'.
    PERFORM WRITE_FORM.
    endif.
    In the SAPFORM I defined a new var window "ADD_TEXT"
    IF v_flag = 'X'.
    INCLUDE Z_TEXT OBJECT TEXT ID ST LANGUAGE ES  PARAGRAPH EE
    ENDIF.
    Please let me know if it is correct and also about the write_form . What paramenters do i pass in the write_form ????
    Thanks for your help .
    Hari

  • Display text from MySQL Text Field

    Hi,
    I am trying to display text which is stored in mysql text field. But it displays nothing. and when i try this code:
    <c:out value="${rowSrearch.pDetails}" />
    <c:set var="text" value="${rowSrearch.pDetails}"/>
    <%
    String text = (String)pageContext.getAttribute("text");
    out.print(text);
    %>
    it gives me null.
    I am just opening a resultset using <sql:query and trying to retrieve data using <c:forEach loop.
    What is the best way to retrieve data from MySQL text field.
    I am using:
    Apache2
    Tomcat 5.5.17
    MySQL 5.0.22
    mysql-connector-java-5.0.3
    Thanks

    One way is to enter them into the database with the desired formatting.

  • Preview 8.0 stops pdf file text from being text

    I have pdf files that contain only text.
    I find that with Preview 8.0, once I have annotated the file in any way, the text in the file stops being recognised as text (that's the best way I can describe it). It only happens when I reopen the file after closing it. I cannot copy or paste anything, nor will there be any results when I try to search for a keyword. And when I highlight any text and right-click it, the menu shows Look Up "" (the quotations contain a null string) where the dictionary function is. The text in the same file cannot be read by another pdf reader I have either.
    The only other Preview version I have used is 5.5.6 (or something like that, a much older version of Preview anyway) and it did not do anything like that to my pdf files.
    Is there a solution to this? Is it even possible to reverse this effect (i.e. text stops being text) on my pdf files?

    Further testing revealed that I only have this problem with this one particular pdf file. The problem does not happen with other pdf files that I have. I guess something is wrong with that particular file, though I don't know what. But now I understand why I did not find others complaining about this – it's only happening to me and that file.

  • How can erase incon text from short text when cursor over on pushbutton?

    Hi all.
    I have pushbutton ,i done by fuction code (selection screen)
    Eg:sscrfields-functxt_01 = '@0Y@ Create'
    when i have move on pushbutton by mouse cursor ,i have short discription like @0Y@ Create ,it displayed with icon code, i want remove my icon code from short text.
    pls advice me.
    regards.
    Raju j

    to avoid that use the following code.
    data: itext like SMP_DYNTXT  .
    itext-TEXT = 'Logoff' .
    itext-ICON_ID = '@15@' .
    itext-ICON_TEXT = 'Text to be displayed on the Button' .
    itext-QUICKINFO = 'Quick Info' .
    move: itext to sscrfields-functxt_01 .
    Regards
    Raja

  • Bold Text from Standard Text

    Hi All
    I am using standard text using READ_TEXT and create_From_sapscript methods. Some text in standard text contains BOLD, this is showing in SO10 print priview as well, but in webdynpro BOLDis not coming?? How to create Bold using STandard TExt... pelase help..
    Thanks,
    kris.
    Edited by: kissnas on Oct 20, 2010 8:29 AM

    Hi,
    It should be in the formatting of the SO10 text. Maybe you can save your SO10 text like this:
    This is normal text, but <strong>this word</strong> is bold.
    You can then set this values in your context element and bind it to your formattedtextview.
    Regards,
    Roelof

  • Getting the text from a text area

    I have a application and I wish to take in text typed in from the user into a textArea and then send it into a method however I need to be able to send this information to a static method which accesses a HashTable and then searches for the text inputted by the user word by word. However the getText() wont allow me to access it in a static method and Im not sure of a way around this.
    I know I propably haven't explained this very well but any help you can provide is appreciated

    OK im going to try and explain a little better.
    The main method is currently constructing a HashTable which is then accessed by other methods within the program. Due to this any methods using the HashTable as I understand it must be static. However some of the methods also require input from the user which is entered into a text box in the application. To access this information the method can't be static.
    However when i have a method such as this
    private static void sendMessage(HashTable theTable, String readMessage)
    now as you can see I need to be able to pass it a string and the table.
    Problem: How the hell do I do this its driving me nuts.

  • How can I get text from a text field and display it in an alert?

    Hello!  I am BRAND NEW to Objective-C and Xcode and iOS, so PLEASE be forgiving of what is going to be a stupid question.  I have a text field.  I want to enter some text, click "return", and see my text in an alert.  It doesn't serve any useful purpose, but this is how I learn.  So far, I am unsuccessful.  Here's my function from my HelloEarthViewController.m file:
    -(IBAction)showInputMessageUITextField *)textField
    if ([textField.text isEqualToString:@""])
        return;
    UIAlertView *helloEarthInputAlert = [[UIAlertView alloc]
                                         initWithTitle:@"Name!" message:[NSString stringWithFormat:@"Message: %@", textField.text]
                                         delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
    // Display this message.
    [helloEarthInputAlert show];
    Then I go option+click the text field and drag it to File's Owner and connect it to "showInputMessage:"  Then I run it and the build succeeds, but nothing happens when I click my "return" button on the iPhone simulator.
    What have I missed?  Where have I gone wrong? 

    Okay, here's where I am.  I have this in my view controller .h file:
    @interface HelloEarthViewController : UIViewController <UITextFieldDelegate>
        IBOutlet UITextField *textFieldTest;
    @end
    And this in my view controller .m file:
    -(IBAction)showInputMessage
        if ([textFieldTest.text isEqualToString:@""])
            return;
        UIAlertView *helloEarthInputAlert = [[UIAlertView alloc]
                                             initWithTitle:@"Name!" message:[NSString stringWithFormat:@"Message: %@", textFieldTest.text]
                                             delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
        // Display this message.
        [helloEarthInputAlert show];
    And I have connected the text field to showInputMessage.  When I hit "return", however, I still get nothing.
    Is an "action button" a real button?  From my limited understanding, the alert should launch when I click "return" since showInputMessage is attached to Editing Did End on the text field.
    Thanks for the help.  The transition from writing C# for web applications to writing Objective-C for iOS applications is not going as smoothly as I'd anticipated.

Maybe you are looking for

  • Missing Magnolia Purchase Points

    Hello - I purchased a Sony 4K Ultra HDTV and a Sony 4K media server on December 31, 2013. The Magnolia sales person said the points would appear in a few days, but there is no record of this purchase.  Delivery was on January 2, 2014.  Total cost on

  • Hierarchies in SPM-Queries

    In the SPM Queries there are Hierarchies enabled for certain characteristics. So far we have not maintained these in the backend. Now in certain SPM reports or dashboards we get errors due to that hierarchies not being available. Therefore I would li

  • Web services SAP - Oracle

    Hello Experts, We want to implement a webservice give by a SAP system and consume the webservice in the oracle backend. When we try to implement the webservice we have got a lot off validation errors. Does somebody know(have experience) how to implem

  • Where is javax.servlet.* in JDK1.4.1?

    Hi, I had built a project with JDK 1.3 before. I can import javax.servlet.*; and javax.servlet.http.*; to let the class extends HttpServlet. However, it has compile error when I use JDK1.4.1 with JBuilder 9. There is no javax.servlet.*; How should I

  • On Column Security

    Hi All! I have two blocks (Master and Detail) in detail block I want to make security on column level. Like I have three columns in detail block. Item Code, Item Name, Packing Size Now, I want to do that, when user enter Item Code 1 then second time