cancel
Showing results for 
Search instead for 
Did you mean: 

Print standard text in a sapscript

Former Member
0 Kudos

hi,

I have want to include standard text by ME32k in a sapscript. I need to include the text and the particular format. For example if I use FM READ_TEXT for text object EKKO id F02 for a particular EKKO-EBELN, the FM give me the table LINES with this text:

TD TDLINE

C K02:HAEDER NOTE

I need to print the text "K02: HAEDER NOT" with the format C ( Centered).

Can you help me, please?

Thank's.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

If you simply do /: INCLUDE for the text, doesn't if format according to your TDFORMAT field content? One doesn't usually need to do READ_TEXT and pass to form line by line...

Former Member
0 Kudos

I need to include not only text but also the format given in

field TDLINE.

I am using the istruction /: INCLUDE to include the text.

Former Member
0 Kudos

Okay, but the format is in field TDFORMAT usually (unless it's in the first two lines of the TDLINE, with the text).... Sorry, I expected SAPScript to utilize the format commands in the TDFORMAT field that it retrieved and, honestly, I'm very surprised that it doesn't.

Former Member
0 Kudos

Hi,

Tcode SO10 can be used to attach standard text in sapscript.

For formatting, plz check the below link