Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using Text module in report programs

Former Member
0 Likes
1,143

Hi All,

Is it possible to use Text modules created in Smartforms in our report programs. if yes, please share some details on the same.

Regards,

Booma Ganesan

5 REPLIES 5
Read only

former_member194416
Contributor
0 Likes
717

You can use read_text fm using object 'TEXT' for standard text. It's also good approach to use them in forms.

call function 'READ_TEXT'
       exporting
            object    = object
            id        = id
            name      = name
            language  = language
       importing
            header    = header
       tables
            lines     = lines
       exceptions
            not_found = 1
            others    = 2.

Read only

0 Likes
717

i am giving you a test data for READ_TEXT.

pass as per your requirements.

Function module              READ_TEXT

  Import parameters               Value
  CLIENT                          400
  ID                              F29
  LANGUAGE                        EN
  NAME                            320000128500003
  OBJECT                          EKPO


  Export parameters               Value
  HEADER                             EKPO      320000128500003                      F29 EN


  Tables                          Value
  LINES                              0 Entries
                   Result:           1 Entry

Read only

Former Member
0 Likes
717

Hope the FM 'READ_TEXT' is used for std. texts maintained through SO10. This cannot be used to read those text created as text modules in smartform transaction.

pls. clarify

Read only

0 Likes
717

Yes but if this is a requirement for you you can also change your text in smartforms with standard texts (it's possible to use standard texts in smartforms). And you can use standard texts for both purpose.

Read only

Former Member
0 Likes
717

Hi,

I think it might not be possible, Please refer to the below link,

http://help.sap.com/saphelp_sm32/helpdata/en/24/ccbd2a00c811d4b588006094192fe3/frameset.htm

Thank U,

Jay....