cancel
Showing results for 
Search instead for 
Did you mean: 

RE: prob with line item text in PO print form

Former Member
0 Kudos

Hi All,

Problem with SAPscript

I have A problem with PO pronting form. In the PO craetion(me23n), IF we mention certain text in last line item the PO printing form is behaving uncertanly.

If the text limit to a particular line is mentioned , then PO printing in only first Page and otherpage is not printing where further data is supposed to print.

If we exceed the limt , its again printing correctly in 2 pages with all the data. If we decrese the limit aslo printing fine.

My problem is , I could not understand exactly where the problem is coming. while debugging Befor the text apperas in form I have an inlcue like this form.

INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH IX.

IS the prob exist here?

Please help me out?

Edited by: shruthi puttoju on Jul 24, 2009 9:01 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member585060
Active Contributor
0 Kudos

INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH IX.

That is nothing to do with that, actually it contains the Long text of PO header text, not for Item long text.

T166K-TDOBJECT = 'EKKO'

T166K-TDID = 'F01'

Former Member
0 Kudos

you mean to say , that header contains long text..

But am facing prob only when am changing the that line item text.

If I give some long text in line item its printung fine in 2 pages. If I give small text also.. in 1 page with all the remaimg data its printing.

BUt if I mention only to a point of line , only one page and all other data missing.

former_member585060
Active Contributor
0 Kudos

Hi,

Header Long texts will be different from Line items long text, i think you are passing the long text for line items, so check how the long text is coming in debugger of the sapscript for each line item.

Look at the Text Element ITEM_TEXT in the Main window of the sapscript. It has the INCLUDE which holds the text you are talking.

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

Regards

Bala Krishna