cancel
Showing results for 
Search instead for 
Did you mean: 

include text change display format

Former Member
0 Kudos

Hi all,

I have created sapscript for purchase order.

to print item text and material PO text iam using following llines

/E QM_TEXT

/: INCLUDE &THEAD-TDNAME& OBJECT &THEAD-TDOBJECT& ID &THEAD-TDID& LANGUAGE

/E ITEM_TEXT

/: INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE

i want to change the display format of this include text,

hence i gave as

/E QM_TEXT

/: INCLUDE &THEAD-TDNAME& OBJECT &THEAD-TDOBJECT& ID &THEAD-TDID& LANGUAGE

'E' PARAGRAPH 'S7'

here S7 is paragraph format.

But format is not changing instead it prints the item text as

Test PO Paragraph S7

where Test PO is the item text.

Help required.

Regards

Senthil Kumar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The paragraph format within the Include text should be '*' and the Include text command should be in single / continuous line.

Former Member
0 Kudos

Hi suman,

thanks for the reply

I gave as

/ INCLUDE &THEAD-TDNAME& OBJECT &THEAD-TDOBJECT& ID &THEAD-TDID& LANGUAGE

'E' PARAGRAPH '*'

font changes but the Output is

INCLUDE 4500000078010 OBJECT EKPO ID F03 LANGUAGE 'E' PARAGRAPH '*'

Pl help

regards

senthil

Former Member
0 Kudos

Senthi, I mentioned the paragraph format for the text with in the Include text and not in the Include command. The include command would still be

/: INCLUDE &THEAD-TDNAME& OBJECT &THEAD-TDOBJECT& ID &THEAD-TDID& LANGUAGE 'E' PARAGRAPH 'S1'

but the paragraph format for the text object &THEAD-TDOBJECT& ( Text with in the &THEAD-TDOBJECT& ) should have paragraph format as '*'

  • Include text line 1

  • Include text line 2...