cancel
Showing results for 
Search instead for 
Did you mean: 

production order print problem(space reduction)

Former Member
0 Kudos

hi experts,

i am doing production order modification.

Here my requirement is to reduce the gap between the operation to operation.

( i am not displaying the records which are not having batch assignment).

the code is like this.

/E FRAME_CMP

/: if resbd_p-splkz eq =2.

/: position window

/: POSITION YORIGIN &PSFC_FRAME-POS& LN

/: SIZE HEIGHT &PSFC_FRAME-HEIGHT& LN

/: BOX XPOS '0.0' CM WIDTH 0 TW FRAME 10 TW

/: BOX XPOS '1.0' CM WIDTH 0 TW FRAME 10 TW

/: BOX XPOS '9.5' CM WIDTH 0 TW FRAME 10 TW

/: BOX XPOS '15.5' CM WIDTH 0 TW FRAME 10 TW

/: BOX XPOS '17.5' CM WIDTH 0 TW FRAME 10 TW

/E DATA_CMP

/: ,,<FC>&resbd_p-posnr&</>,,<FC>&resbd_p-matnr&</>,,&msfcv-maktx& ,,<FC>

= &resbd_p-bdmng&</> ,,<FC>&resbd_p-meins&</>,

<b>/: ELSE

/: &PSFC_FRAME-POS& = &PSFC_FRAME-POS& - &PSFC_FRAME-HEIGHT&

/: ENDIF.</b>

<b>Here , the code in the else part is not happening.

It is giving error in debugging as

Text command</b>

&PSFC_FRAME-POS is not defined. if the statement

is not right, is there other way of writing this.

before this the code is like this....

E FRAME_CMP

/: position window

/: POSITION YORIGIN &PSFC_FRAME-POS& LN

/: SIZE HEIGHT &PSFC_FRAME-HEIGHT& LN

/: BOX XPOS '0.0' CM WIDTH 0 TW FRAME 10 TW

/: BOX XPOS '1.0' CM WIDTH 0 TW FRAME 10TW

/: BOX XPOS '9.5' CM WIDTH 0 TW FRAME 10 TW

/: BOX XPOS '15.5' CM WIDTH 0 TW FRAME 10 TW

/: BOX XPOS '17.5' CM WIDTH 0 TW FRAME 10 TW

/E DATA_CMP

/: if resbd_p-splkz eq = 2.

/: ,,<FC>&resbd_p-posnr&</>,,<FC>&resbd_p-matnr&</>,,&msfcv-maktx& ,,<FC>

= &resbd_p-bdmng&</> ,,<FC>&resbd_p-meins&</>,

/: ENDIF.

<u></u>

urgent help neede reg this one......

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

yes i tis solved by me , by reducing the lines on the page ..frm 60 to 44. now the print is coming in single page.