How to drag global data in text editor in smart forms

Hello friends,
I am doing a smartform. I tried to drag the global data from field list and drop it in text editor but its not working.
can you please help me how to do that or is it need any extra settings?
Please help me friends.
Thanks,
Manisha
Edited by: PATIL MANISHA on Apr 23, 2010 12:14 PM

Hi Manisha,
It is looking very strange. But still try to do following may be helpfull.
1. First activate your smart form after declaring the variable in Global definition. Then try to drag n drop from Field list
2. Or else click on Editor tab of Text node, Then Goto-> change editor (You will get a editor same as Sapscripts)
put the variable like that:
HT : &W_TOTAL-MASSG&
Try this. Best luck...
Regrads,
Lokesh.

Similar Messages

  • How to call text editors in smart forms?

    In my module pool program,I included text editors for three fields.I want that fields in smart forms too.I need to know how these text editors are called in smart forms?

    Hi achu,
             Any text that gets saved has a corresponding entry in table STXH table. It usually has the following parameters : TDOBJECT,TDNAME,TDID and TDSPRAS.
    What you have to do is create a new text element and under general attributes ---> Type  - give Include Text.
    And in the include text you give the above four parameters which correspond to the text you want to display.
    P.S. Do not forget to check the 'No error if no text exists' checkbox.
    Hope this helps.
    Regards,
    Arun

  • How to add internal table fileds in Text module in smart forms

    Hi Friends,
        How to add internal table fileds in Text module in smart forms?
    Thanks & Regards,
    Vallamuthu.M

    Hi Vallamuthu ,
    how did you solve your problem?
    thanks,

  • How to display TEXT vertically in SMART FORM

    Hai,
    I need to display the column name of a table vertically (readable from bottom to top) in smart form.
    Could any one please tell me how to do this?
    Thanks & Best Regards,
    Maniyam Bhaskar.

    Hi,
    Go through these threads for the discussions happened on similar issue... hope it helps you..
    how to print text vertically in smart forms
    vertical and horizontal printing in same page with smartforms or sapscript
    Good luck
    Narin

  • How to print different  header & item data in new pages using smart forms.

    Hi,
    In smart forms I am trying to print header data & their item data. But there are more than one header data for a given input.
    I want to print all the different header data with their item data in new pages using smart forms. Can any one please help to solve the issue.. Its very urgent for me..
    Regards,
    Brajesh

    Hi
    U need to use control break statements to acheive ur requirement.
    Regards,
    Priya

  • Output date in words on a smart form

    I need to output a date in words on a smart form. As in today's date (01/13/2009) should be output as January 13, 2009. How do I acheieve this? Please could someone help me out with this one?

    HI
    Check the below FM
    Function module              HR_IN_GET_DATE_COMPONENTS
    Import parameters               Value
      IDATE                           10-09-2009      
    Export parameters               Value
      DAY                             09
      MONTH                           10
      YEAR                            2009
      STEXT                           OCT
      LTEXT                           October
      USERDATE                        10-09-2009
    concatenate the values as per your requirement...

  • Text issue in Smart form

    Hi All,
    I have an Custom smart form, and under the pages and windows i have 2 Pages First Page and Next page.
    The First Page  next page is set as Next Page and the second page next page is also set as Next page.
    Now when the Smart form is displayed in the PDF Format then only the first page Header comes in the proper way but the 2nd , 3rd and so on pages depending upon the data the Headers are all coming as an Junk text (Not some other language but the overlapping of characters).
    The Header texts are all in the Table in the header field and also some texts are dynamically populated by the OTR and some are static.
    I am not sure why is this happening can any one give me some inputs?
    Regards,
    Dipu

    Exactly thats what i am using now but want to know whether is it possible by using TEXT instead of creating Graphics node.
    In graphics we can use both .bmp as well as .tif files but not text.So what is the solution of using TEXT Ids in Smart forms.
    Thanks for all your answers but still i didn't get the solution to my problem.
    Regards,
    Chandra

  • How to insert a table with variable rows in smart form

    Hi all,
    How to insert a table with variable rows in smart form?
    Any help would be appreciated.
    Regards,
    Mahesh.

    Hi,
    Right click the mouse->create->table
    If you want 5 columns, you need to declare 5 cells in one line type of the table
    Click on Table -> Details, then do the following
    Line Type 1 2 3 4 5
    L1 2mm 3mm etc
    Here specify the width of the columns as many as you want..
    then in the header/main area of the table, click create Table Line, Rowtype is L1, automatically 5 cells will come,In each cell create a text element, display the variable to be printed there.

  • How can i convert  my invoice which is in smart forms to xml file

    how can i convert  my invoice which is in smart forms to xml file.

    Hi Anil,
    Please go through this link:
    1. XSF stands for XML for Smart Forms. It is important to contrast XSF with .... The eDocx script engine can provide a script to convert the file format to an 
    http://www.ossincorp.com/Black_Box/Black_Box_4.htm
    please rewrds if found helpful.
    Regards,
    Alok

  • Urgent : how to calculate sub total and grand total in smart forms

    Hi Friens..how to calculate sub total and grand total in smart forms..How to print them in smart forms...Also kindly explain how to handle events in smart forms..Thanks in advance

    Re: Subtotal with Table Node in smartforms

  • How to get information from a text editor in the SAP standard transactions

    Hi SAP gurus I have a requirement in which it is required to gte the information from a text editor(which is not a field) in mm02 (click on) goto Purchase Order Text  in this view there is a text editor there is some text  in te the text editor i have to get that information in a table can it be done if so please give example and steps
    Points will be given to useful information

    Ah yes, excellent question, and not really a clear cut answer. In my experience, the easiest way to find this information is to simply create the text using the standard transaction, in this case MM02.  Then go to transaction SE16, using table STXH, do a query on this table, entering your user name, and today's date as the creation date.  The results should show the text that you just created, now you can see the object, id, and the way the name is being used here. 
    I also understand that in some cases, there is a button next to the editor in the screen which gives you some idea of these values, but this is not implemented everywhere, and I believe that I've only seen this in one place, can't remember where, but the first solution above will always work for you.
    Regards,
    Rich Heilman

  • How to drag a selection of text in RichTextEditor ?

    I don't know if there is any way to drag a selection of text ? I struggle with this for one day now . I want to let the user drag their text selection to a datagrid or canvas , but when I select a part of text ,the sencod time I trigger mousedown event the selection disappeared .
    I don't if text layout framework can do this ,but Adobe's Buzzword does support text drag feature . If anyone who can tell me how to do this , I will be very appreciated.

    please . Anyone know how to accomplish this ?

  • Saving the data of text editor ?

    Hello
    I have ceated a text editor using the following code..
    TOP declarations
    DATA :init,
          container TYPE REF TO cl_gui_custom_container,
          editor    TYPE REF TO cl_gui_textedit.
    DATA: CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,
         EDITOR TYPE REF TO Cl_GUI_TEXTEDIT,
          REPID LIKE SY-REPID.
    CONSTANTS: LINE_LENGTH TYPE I VALUE 250.
    Process Before Output
    ====================================================
    IF EDITOR IS INITIAL.
        repid = sy-repid.
        CREATE OBJECT custom_container
           EXPORTING
              CONTAINER_NAME = 'BOX'
           EXCEPTIONS
              CNTL_ERROR = 1
              CNTL_SYSTEM_ERROR = 2
              CREATE_ERROR = 3
              LIFETIME_ERROR = 4
              LIFETIME_DYNPRO_DYNPRO_LINK = 5.
        CREATE OBJECT editor
              EXPORTING
                 parent = custom_container
                WORDWRAP_MODE = CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION
                 WORDWRAP_POSITION = line_length
                 WORDWRAP_TO_LINEBREAK_MODE = CL_GUI_TEXTEDIT=>TRUE.
      ENDIF.                 "editor is initial
    *==============================================================
    With this code i am able to achieve the text editor.
    My requirement is to save the text that is typed in the text editor. If any can help me to achive this task will be highly appriciated.
    Thks

    check the sample code..
    this will be in edit mode , you activate the save button, when you press the save button get the text as table using the method GET_TEXT_AS_R3TABLE, now save that internal table to DB.
    REPORT  zvijay_textedit.
    DATA:
      obj_cust     TYPE REF TO cl_gui_custom_container,
      obj_text     TYPE REF TO cl_gui_textedit.
    * Internal table to display
    DATA:
    BEGIN OF i_table OCCURS 0,
      line(132) TYPE c,
    END OF i_table.
    START-OF-SELECTION.
      CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
    * To create the object custom container
    * screen
      CREATE OBJECT obj_cust
          EXPORTING
              container_name = 'CONTAINER'
          EXCEPTIONS
              cntl_error = 1
              cntl_system_error = 2
              create_error = 3
              lifetime_error = 4
              lifetime_dynpro_dynpro_link = 5.
      IF sy-subrc NE 0.
      ENDIF.                             " IF sy-subrc NE 0
    * create the a TextEdit Control
      CREATE OBJECT obj_text
        EXPORTING
           parent = obj_cust
           wordwrap_mode = cl_gui_textedit=>wordwrap_at_fixed_position
           wordwrap_to_linebreak_mode = cl_gui_textedit=>true
        EXCEPTIONS
            OTHERS = 1.
      MOVE: 'SDN Sample code' TO i_table.
      APPEND i_table.
      CALL METHOD obj_text->set_text_as_r3table
        EXPORTING
          table  = i_table[]
        EXCEPTIONS
          OTHERS = 1.
    * Flush
      CALL METHOD cl_gui_cfw=>flush
        EXCEPTIONS
          OTHERS = 1.
      IF sy-subrc NE 0.
      ENDIF.                               " IF sy-subrc NE 0
    ENDMODULE.                 " STATUS_0100  OUTPUT
    Regards
    Vijay Babu Dudla

  • How to export waveform data into text file

    Hi..
        I am trying to export my waveform graph data into write spreadsheet file. When running the proram, I am getting graph values (values in a matrix) when checking with the probe. But once I save it to a text file, the values recorded are just zeros. I have attached the text file along with this. Could anyone please tell me why the graph data is not recorded in the spreadsheet? I have extracted the Y component of the graph and then wired it to the write to spreadsheet function. It seems like the labview is getting the data.. but now the problem is how to get the data out of labview?

    Please find the attched image of the whole program. I tried running the program after removing the array to matrix but still I am not able to export the graph values to spreadsheet. The program as a whole is working as I am able to display the oscilloscope graph into the waveform graph but I am not able to export the values. When I tried using probes, I am getting differnet matrix values till the end of the connection given to 'write to spreadsheet' but not able to export the values. The second image shows the write to spreadsheet file inside the while loop as i thought it will reduce the memory.. but it is still not working...
    Attachments:
    Scanner complete program.jpg ‏713 KB
    full scanner program 2.jpg ‏664 KB

  • How to Change Width of Rich Text Editor

    We are attempting to use a rich text editor. By default, the span for the RTE gets a width of 760px. This is much wider than we'd like.
    The id attribute of the span control gets set to cke_<PAGE_ITEM_NAME_HERE>, so this jQeury selector should obtain a reference to the control and allow us to change or remove the width attibute
    span#cke_P3_DESCRIPTION_2However, what we've notice is that the control does not exist until after the page has been loaded. In other words, if we do this in the "Execute when Page Loads" section, nothing happens
    $('span#cke_P3_DESCRIPTION_2').css('width','');We can confirm this by popping up an alert. In the page load section, this yields "0" but, in a button on the page, that gets clicked after the page is open, it yields "1"
    alert($('span#cke_P3_DESCRIPTION_2').length);So, since the control isn't actually there at load time, what's the best way to do this?
    -Joe

    Thanks for this tip, VC! Worked like a charm.
    I was having a problem with a rich text field in a modal region in one of the new responsive themes (theme 25). The page dutifully alters the spacing and layout of the page regions as the browser window is made wider or narrower, and the modal region also resizes appropriately. But the CKEditor window within the modal region stubbornly stayed at whatever value it defaults to (30 characters, which I guess translates to the number of pixels mentioned by the OP).
    I slightly modified your code below to set the width property to 100% instead of a fixed value and now the editor window expands to fill the available modal region width. Perfect!
    Mike

Maybe you are looking for

  • Try to create a method to return an object as xml

    I'm trying to create a method for an object to return the objects attributes in xml format. here is what I have done so far: -- create the object hierachy create or replace type ras4.atomic_tp as object      (atomic_instance_id     varchar2(8),      

  • Validate Cost Centre In ME21N?

    We are currently upgrading from 4.5B to 4.7. We used to validate Cost centre  in trans ME21 with code inserted into form KNT_SUBSCREEN_GET (Prog SAPMM06E). Can anyone point us in the right direction to add our own validation on the new transactions?

  • Samrtform: table line should be displayed whole main window.

    Hi All,    I have a requirement, the table lines in smartform should be displayed in whole window. The above should be like, Note: the table control height gets dynamically changed, in my case there is only one item in table so the table control line

  • Latest Flash Player Wont Install

    I can NOT seem to get flash installed on my computer. I went to download the current version and I am getting this error "The installation encountered errors: No error information is available." I am running Windows 7 Professional 64 bit. I get this

  • Plzz Help

    Hi guys i really need your help i don't know whats the problem with my Macbook Pro. But i will just be listening to music and all of a sudden my mouse just start moving around  and that with me not even touching it also , my pages with be switching w