How can we place a enter char in type String for Smartform

I'm facing a problem in smartform. I'm using "Read_Text" functional module to read the text. The problem is text contains multiple lines like for example
Shipping Lines,
Marks,
Lahore , Pakistan.
i want to show it in smart forms as it is showing above. How can i do that.
Regards,
Masoom Ali

I'm facing a problem in smartform. I'm using "Read_Text" functional module to read the text. The problem is text contains multiple lines like for example
Shipping Lines,
Marks,
Lahore , Pakistan.
i want to show it in smart forms as it is showing above. How can i do that.
Hi,
Declare no. of variables based on the lines you are going to get.suppose if you think that 10 lines of text you will get using READ_TEXT, then create variables for 10 lines.
After the READ_TEXT statement Loop at TDLINE and populate each line into a variable using CASE statement based on SY-TABIX and display all variables one by one in a TEXT ELEMENT of smartform.
data : var1,var2,var3...... type string.
loop at tdline into tline.
case sy-tabix.
when '1'.
var1 = tline.
when '2'.
var2 = tline.
end loop.
Regards,
Radha Krishna

Similar Messages

  • How can I place calendars in multiple calendar groups?

    I would like to use a group for each of my family members but reference some of the same calendars from multiple calendar groups. Here is an example:
    Lets say I have a calendar for school, sport1, sport2, activity, family, and work
    I would like the groups to look like this:
    Me: family and work
    Wife: activity and family
    Son_1: school, sport1 and family
    Son_2: school, sport2 and family
    When a group is visible, that person can see the activities in which they participate. When several groups are visible, though, only single copies of shared events would appear and shared events would only have to be entered once.
    Is there a way to do this or do I need to place this on the feedback page?

    Bernd Alheit wrote:
    How can I place Windows Media Player in my PDF?
    Why want you the media player in a pdf file?
    e.g. pushing Mozart - button to listen to Mozart's music. But it must be a script not embedded player. Is it possible?

  • How can we place a push button in ALV  report

    hi
    could anybody inform me
    how can we place a push button in ALV  report
    thanx
    regards
    kals.

    Hi kals.
    please have a look at demoprogram
    SALV_DEMO_TABLE_FUNCTIONS
    BCALV_GRID_05
    Regards
    Bernd

  • My computer crashed so i had to reformat, but the only problem is i lost my old itunes account, had to download new version. Now i have an ipod full of music but how can i place all my music I have on the ipod into my new itunes account??

    my computer crashed so i had to reformat, but the only problem is i lost my old itunes account, had to download new version. Now i have an ipod full of music but how can i place all my music I have on the ipod into my new itunes account??

    Not if you first do a sync and have iTunes make a backup. However, if your only copy of the iTunes data is in the Touch, then you need to first copy the data to a new iTunes Library using third-party software such as Phone To Mac.

  • How can I place a signature in a pdf file?

    how can I place a signature in a pdf file?

    1. open your pdf with Preview
    2. View > show edit menu
    3. click on the little symbol with the S next to the triangle
    4. follow the directions and write your signature on paper and hold it up to the camera
    5. click on the S icon again
    6. put the X where you want the signature
    7. click

  • How can I place MediaPlayer in PDF?

    Help me please!
    How can I place Windows Media Player in my PDF?

    Bernd Alheit wrote:
    How can I place Windows Media Player in my PDF?
    Why want you the media player in a pdf file?
    e.g. pushing Mozart - button to listen to Mozart's music. But it must be a script not embedded player. Is it possible?

  • How can I move out the char Θ

    hello.
    How can I move out the char Θ (unicode U+0398) оn Jspx-page used af:outputlabel.
    When I write <af:outputLabel value="27. char(Θ)" />, application auto replace on char "?".
    thx, Dema.

    Hello
    Probably an encoding problem.
    try changing your charset into your JSP:
    ex: <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    I tried it and it works for me
    Jack

  • What are the tools to create a digital magazine for ipad version and how can be place it in newsstand?

    Hello..
    "what are the tools to create a digital magazine for ipad version and how can be place it in newsstand?"
    I am very tired after done a week of R&D on this issue..
    But i doesn't get any fair solution for this one..
    I hope this is best option to place my issue here to get quick solution..
    Thanks and Regards..

    We are all users here.
    There is no one here from Apple.
    In order for you to develop and distribute content for the iPad, you need to become an apps developer.
    Not sure where you sign up for this or who you have to call.
    There should be a place on Apple's site that refers to a section of the site if you want to be an Apple iOS content developer.
    It cost, I believe $99 U.S. to become an Apple apps developer. You'll agree to Apple's Non-disclosure rules.  You'll receive Apple's app/software developers kit,and access to Apple's app developer site.
    No one here is going to be able to help you.
    Good Luck.

  • How can I place photo icons on top of folders?

    I put 4 folders in my dock. I need to ID them with photo - icons.
    1) How can I place photo icons on top of 3 folders, so that they also retain
    their folder shape?
    2) And, to make one of them look like a folder that has text?
    Intel Mac - Dual - Tiger 10.4.9
    Thank you.

    It sounds like what you actually need to do is amend the icon itself - something like Iconographer will help you with that. Open the icon of any standard folder, copy in your photo image, amend the result to your satisfaction, and save it as a new icon. Then apply that icon to your folder.
    Matt

  • How can we place a F4 help in a parameter in selection screen

    Hi,
    How can we place a F4 help in a parameter in selection screen. Can we do add a  Process 0n Value request similar to a module pool prg in stadard report program.
    saji

    Hello Saji,
    Try below attached report.
    Regards,
    Naimesh.
    Reward, if it is useful..!
    REPORT ZTEST_NP_1.
    DATA: HELPVAL1 LIKE HELP_VALUE OCCURS 0 WITH HEADER LINE .
    DATA: VALUE_TAB     LIKE PDTASK-OTEXT OCCURS 2 WITH HEADER LINE.
    DATA: VALUE         LIKE FEBMKA-BANKN,
          GIVEN_VALUE   LIKE HELP_INFO-FLDVALUE.
    DATA: IT_T005T LIKE T005T OCCURS 0 WITH HEADER LINE,
          IT_T002T LIKE T002T OCCURS 0 WITH HEADER LINE.
    SELECTION-SCREEN: BEGIN OF BLOCK BLK1 WITH FRAME TITLE ABC.
    PARAMETERS:       P_SPRAS  LIKE  T002T-SPRAS,
                      P_LAND1  LIKE  T005T-LAND1.
    SELECTION-SCREEN: END   OF BLOCK BLK1.
    INITIALIZATION.
      ABC = 'Selection Criteria:'.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_LAND1.
      PERFORM VALUE_REQUEST_LAND1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_SPRAS.
      PERFORM VALUE_REQUEST_SPRAS.
    *&      Form  VALUE_REQUEST_land1
    FORM VALUE_REQUEST_LAND1.
    *---- Reading the Screen values.
      DATA: LT_DYNPFIELDS LIKE DYNPREAD OCCURS 0 WITH HEADER LINE,
            LV_DYNAME     LIKE D020S-PROG,
            LV_DYNUMB     LIKE D020S-DNUM.
    *-------Append field which you want to read from the screen
      LV_DYNAME = SY-REPID.
      LV_DYNUMB = SY-DYNNR.
      LT_DYNPFIELDS-FIELDNAME = 'P_SPRAS'.
      APPEND LT_DYNPFIELDS.
      CALL FUNCTION 'DYNP_VALUES_READ'
           EXPORTING
                DYNAME     = LV_DYNAME
                DYNUMB     = LV_DYNUMB
           TABLES
                DYNPFIELDS = LT_DYNPFIELDS.
      SELECT * FROM T005T
             INTO  TABLE IT_T005T
             WHERE SPRAS = P_SPRAS.
        REFRESH: HELPVAL1, VALUE_TAB.
        CLEAR:   HELPVAL1, VALUE_TAB, GIVEN_VALUE, VALUE.
    *---- Append field name for the columns in the help popup
        HELPVAL1-TABNAME    = 'T005T' .
        HELPVAL1-FIELDNAME  = 'LAND1' .
        HELPVAL1-SELECTFLAG = 'X' . " will return the value on the screen
        APPEND HELPVAL1 .
        CLEAR  HELPVAL1 .
        HELPVAL1-TABNAME    = 'T005T' .
        HELPVAL1-FIELDNAME  = 'LANDX' .
        HELPVAL1-SELECTFLAG = ' ' .
        APPEND HELPVAL1 .
        CLEAR  HELPVAL1 .
        LOOP AT IT_T005T.
          VALUE_TAB = IT_T005T-LAND1.
          APPEND VALUE_TAB.
          VALUE_TAB = IT_T005T-LANDX.
          APPEND VALUE_TAB.
        ENDLOOP.
        GIVEN_VALUE    = P_LAND1.
        CALL FUNCTION 'HELP_VALUES_GET_WITH_VALUE'
           EXPORTING
                DISPLAY      = SPACE
                GIVEN_VALUE  = GIVEN_VALUE
           IMPORTING
                SELECT_VALUE = VALUE
           TABLES
                FIELDS       = HELPVAL1
                VALUETAB     = VALUE_TAB.
        IF NOT VALUE IS INITIAL.
          P_LAND1 = VALUE. " Assing value to the parameter
        ENDIF.
    ENDFORM.                    " VALUE_REQUEST_land1
    *&      Form  VALUE_REQUEST_SPRAS
    FORM VALUE_REQUEST_SPRAS.
      REFRESH: HELPVAL1, VALUE_TAB.
      CLEAR:   HELPVAL1, VALUE_TAB, GIVEN_VALUE, VALUE.
      HELPVAL1-TABNAME    = 'T002T' .
      HELPVAL1-FIELDNAME  = 'SPRSL' .
      HELPVAL1-SELECTFLAG = 'X' .
      APPEND HELPVAL1 .
      CLEAR  HELPVAL1 .
      HELPVAL1-TABNAME    = 'T002T' .
      HELPVAL1-FIELDNAME  = 'SPTXT' .
      HELPVAL1-SELECTFLAG = ' ' .
      APPEND HELPVAL1 .
      CLEAR  HELPVAL1 .
      SELECT * FROM T002T
             INTO   TABLE IT_T002T
             WHERE  SPRAS = SY-LANGU.
      LOOP AT IT_T002T.
        VALUE_TAB = IT_T002T-SPRSL.
        APPEND VALUE_TAB.
        VALUE_TAB = IT_T002T-SPTXT.
        APPEND VALUE_TAB.
      ENDLOOP.
      GIVEN_VALUE    = P_SPRAS.
      CALL FUNCTION 'HELP_VALUES_GET_WITH_VALUE'
           EXPORTING
              DISPLAY      = SPACE
              GIVEN_VALUE  = GIVEN_VALUE
           IMPORTING
              SELECT_VALUE = VALUE
           TABLES
              FIELDS       = HELPVAL1
              VALUETAB     = VALUE_TAB.
      IF NOT VALUE IS INITIAL.
        P_SPRAS = VALUE.
      ENDIF.
    ENDFORM.                    " VALUE_REQUEST_SPRAS

  • How can I place active buttons in keynote?

    hellooo,
    how can I place active buttons in keynote?
    thx in advance

    answered in
    /message/4078825#4078825 [original link is broken]
    kindly avoid duplicate posts for the same issue.
    Raja

  • Please suggest how can we place chart series label evenly in Pie Chart of SSRS 2008

    Could you please suggest how can we place chart series label value evenly so that it doesnot overlap with each other and user can view the data properly.
    Please find  the attached  screenshot for the same.

    Hi SubhadipRoy,
    As Satish posted, the solution can achieve your goal. In addition, you can right click the Chart Series Labels and Series Label Properties, and then select Number in the left pane, finally select Scientific below the Category option. The data label may not
    overlay. Or you can enlarge the chart.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • How can one place a single image on a spread? CS3-MAC

    Hi all,
    i How can one place a single image on a spread? CS3-MAC
    A very straight forward question I think. I just never did it before. Anyone knows of a fast technique of doing this? I have to make 70+ images this way. Could it be scripted?
    thanx in advance
    Michael

    You'll need to be more specific. Placing a single image on one spread is drop-dead simple. File > Place, choose file, click (or click-and-drag) to place, scale and position as desired. You can ask about scripting in the
    scripting forum.
    You might not need to script this to get efficient use of time. Make a picture frame on the master spread and then insert 140 pages (70 2-page spreads) based on that master. File > Place, and select all 70 files. (They need to be in one folder. Click on the top file, scroll down, lick on the bottom file.) Zoom out and click once on each spread to place each image. Should work faster that writing, testing, debugging, and running a script.

  • How can I place a video clip in CS6 within an irregular shape

    How can I place a video clip in CS6 within an irregular shape please

    Many thanks. I should have mentioned that I meant for the video to be an irregular shape also. However from what you said I have worked it out so thanks again for quick response. Pete.

  • How Can I Avoid Continually Entering Serial Numbers

    I purchased a new iMac to replace my older iMac.  Aperture works only if I re-enter serial numbers each time I open Aperture.  How can I avoid continually entering the serial numbers.  It is annoying that my Mac won't remember my labour.

    You cannot "access it" at all using a serial number.
    Please explain what you are attempting.

Maybe you are looking for

  • MPEG Streamclip Batch Pixelation

    Hi there I have a strange issue. When I use MPEG Streamclip to convert a video to MP4 one at a time it runs absolutely fine and the video looks perfect. However when I start a batch conversion I get all sorts of pixelation throughout the resulting MP

  • Torch 9800 will not synch

    I had a Windows failure that has resulted in all programmes having to be re-installed, including Blackberry Desktop. Now when I connect the Torch 9800 to my computer the programme opens and the model is recognised but it fails to connect to synchroni

  • Any good article about reference variables casting ...

    Hi, I am looking for a good and simple article on the reference variables downcasting (and yes I am searching the Internet too so please do not suggest that). Please let me know if you know of any good article or if you can explain it well as I am ha

  • Help get my keypad back!

    Am using a non-mac keyboard. Usually use the delete and up/down arrows on the numbers area, and can do this by unclicking the numbers lock. But once i attached the keyboard to my mac it is no longer possible to undo the num lock. Is there anything I

  • Tuchpad stops working when starting any app

    Hi, My mousepointer stops when starting any app. Works fine after starting anything, at the desktop, but  as soon as I start any program, systemsettings or else it stops to work.