Skip to Content
author's profile photo Former Member
Former Member

read_text fm

In my smart form

i have to include some text

when we write a heading for main window(header)

-


posnr material descriptio----


> text to be included

_________________________

or somethins like

ship-to-party (text to be included): value

is this possible by maintaining all values in so10 ..

than reading in ur form by read_text fm (that is passing ur interanal table filled with all values in form interface) and than we go to particular node and include text and we process internal table values on basis on object id and particular line no and language.......my doubt is like if we have to do implementation in german

than do we need to include all text for german language as we did for english

and include all german text now in program instead of english language(so language should be an selection screen parameter)?????

>>>>moreover how to acess header data for any order in va03(header overview),item text(which appears for item details)

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Nov 25, 2007 at 07:44 AM

    If you maintain the text into SO10 than you don't have to read the text using the READ_TEXT. You can include that text directly into the text.

    In your text, chagne the Text type to I under the General Attributes. And then give the name of the text and other parameters.

    Regards,

    Naimesh Patel

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2007 at 08:35 AM

    use this function

    CONCATENATE it_ekko-ebeln it_ekpo-ebelp INTO nmebeln.

    REFRESH tline.

    CALL FUNCTION 'READ_TEXT'

    EXPORTING

    id = 'F04'

    language = sy-langu

    name = nmebeln

    object = 'EKPO'

    TABLES

    lines = tline

    EXCEPTIONS

    id = 1

    language = 2

    name = 3

    not_found = 4

    object = 5

    reference_check = 6

    wrong_access_to_archive = 7

    OTHERS = 8.

    IF sy-subrc <> 0.

    ENDIF.

    LOOP AT tline.

    IF tline-tdline IS NOT INITIAL.

    del_text = tline-tdline.

    ENDIF.

    CONDENSE del_text.

    ENDLOOP.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 26, 2007 at 04:50 AM

    SO WE GET TLINE AS TABLE WHICH HAS ALL VALUES(which maintains text)......NOW

    TLINE HAS VALUES LIKE MATERIAL POSNR OBJNR BLA BLA....

    we can display the respective values by writing in the nodes

    the content of the work area......like we need to dislpay only material

    than we write that particular content in that node.....and so on ....just wanted to confirm and similarly for german we pass language id as 'de'.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.