Application Development 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: 

Sap script help

Former Member
0 Kudos
245

hi,

I am using the print program RFKORD50 for my SAP-script.

I am using one 'IF' condition to filter the line items.

but even if no line item is selected, <b>a blank page is

displayed, which is not desired.</b>

Is there any way not to print the blank page if there

are 0 line items selected?

Thanks in advance,

Ravindra

3 REPLIES 3

Former Member
0 Kudos
172

when u r filtering the line items with if condition... use else also to display what u desired ( if line items not selected) .. let me know what ur output shud be for 0 line items.

0 Kudos
172

there should be no output..

it should automatically print the page which has

line items > 0

0 Kudos
172

u mean form shud print only with the line items > 0 otherwise do not print.