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

Sap script help

Former Member
0 Likes
632

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
Read only

Former Member
0 Likes
559

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.

Read only

0 Likes
559

there should be no output..

it should automatically print the page which has

line items > 0

Read only

0 Likes
559

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