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

SAPSCRIPT - PO-PRINTING

Former Member
0 Likes
572

Hi Friends,

Need your suggestion on following ....

In sapscript for po printing the default format is curior,size 10. I have also defined N2 as new paragraph format. In below given code the include prints item text with default format i. e. curior where as it should print with N2 format.

/E ITEM_TEXT

N2 ,,&TTXIT-TDTEXT&

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

Thanks in advance.

Pankaj

4 REPLIES 4
Read only

Former Member
0 Likes
526

You can add

PARAGRAPH N2

to the INCLUDE line

Read only

0 Likes
526

Hi Norman,

I have iicluded N2. Still not working

/E ITEM_TEXT

N2 ,,&TTXIT-TDTEXT&

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

& PARAGRAPH N2 & & LANGUAGE EN &

Read only

Former Member
0 Likes
526

Open your layout using SE71 & go to paragraph Formats.

select N2 from the list by double clicking. The standard attributes of N2 will be displayed in the lower block of screen. Select Font Push button & define the font Family & size here. Activate the form & check now. It will be displayed in N2 format.

anu

Read only

0 Likes
526

How was the text in the purchase order created?

Is it possible they are using a paragraph symbol in the text?

Normally "*" or "/" is used for the text in the actual document. If someone specified a different paragraph format (like AS), it will override the PARAGRAPH option on the INCLUDE line.

Assuming paragraph N2 is defined properly, check the text in the PO for a paragraph symbol.