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

READ_TEXT function module also reading formatting text

ravigrover
Active Participant
0 Likes
1,754

Dear all

I have content in SO10

e.g.

FORMAT CONTENT

  • Dear Mr. / Ms. &EMP&

*

*

*

*

  • <h>Welcome</>

*

  • We are delighed to .......

Output when i am using READ_TEXT function module in abap program.

  • Dear Mr. / Ms. <(>&<)>EMP<(>&<)>**** <h> Welcome</> ** We are delighted to ..........

I am getting formating text also along with the content.

1 ACCEPTED SOLUTION
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,257

In the TLINE structure consider on the text line i.e., TLINE-TDLINE. I think you're considering both the formatting options & the tekt line.

BR,

Suhas

7 REPLIES 7
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,258

In the TLINE structure consider on the text line i.e., TLINE-TDLINE. I think you're considering both the formatting options & the tekt line.

BR,

Suhas

Read only

ravigrover
Active Participant
0 Likes
1,257

Thanks. Formating is not coming with content. But the Continues Text is coming.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,257

Hello,

Output when i am using READ_TEXT function module in abap program.

  • Dear Mr. / Ms. <(>&<)>EMP<(>&<)>**** <h> Welcome ** We are delighted to

How are you getting this output?

BR,

Suhas

Read only

ravigrover
Active Participant
0 Likes
1,257

e.g. Data in SO10

* Dear MR. / MS. &EMP&

*

*

*

*

*

*

*

* Welcome to Family,Group is one of Indiau2019s top Business houses with businesses

spread over Real Estate, Enery dirnks, cold frams etc in all over india.

One of the company ..........

Output when i am using READ_TEXT function module in abap program to send text in body of email.

Dear Mr. / Ms. Welcome to Family,Group is one of Indiau2019s top Business houses with businesses

spread over Real Estate, Enery dirnks, cold frams etc in all over india.

One of the company ..........

After Dear it should give 5 lines spaces and then rest of the lines. but it is not doing fomatting defined in the SO10.

Read only

Former Member
0 Likes
1,257

I see this sometimes with texts....it's easy to fix...loop at tline table, shift tdline data left by 2 places.

Read only

Former Member
0 Likes
1,257

Ravi,

Please check if you are passing all the below parameters to the function module.


      client                  = sy-mandt
      id                      --- pass the text ID
      language                = 'EN'
      name                    --- pass the text name from SO10 
      object                 = "TEXT'.

Thanks,

Guru

Read only

0 Likes
1,257

Hi

Thanks for your instant reply.

I am passing all the values as per your saying.

LINES LIKE TLINE OCCURS 0 WITH HEADER LINE

i have declared table for the read_text output.

But still i am facing the same.