Print Conditions 
In the IMG activity Maintain Pricing Procedure, you set the print indicator for printing conditions in the Print column. The print indicator lets you stipulate whether condition lines are to be printed at item level or in totals blocks for the entire invoice.
SAP does not evaluate the print indicator (technical name RNF25-DRUKZ) in the pricing procedure. You can decide whether and how you evaluate this information:
· If you use SAPscript forms, you can evaluate the field using the user exit ISH_UE_INVOICE_CONDITIONS.
· If you use Smart Forms, you can evaluate the field directly in the form.
The Status Bar Invoice Form Printout (technical name RNFPST) lets you among other things control whether the conditions are to be printed when a form is printed.
You can modify the status bar using the BAdI ISH_PRINT_INVOICE (for SAPscript and Smart Forms) or using the user exit ISH_UE_INVOICE_STATUS (for SAPscript only).
If you print invoices on Smart Forms, you can decide whether you wish to evaluate the field RNFPST-KOND in the status bar when printing the conditions on your Smart Forms.
If you print invoices using Smart Forms, you can decide whether conditions are to be printed or not printed in the status bar when the field RNFPST-KOND is set.
In the sample Smart Form ISH_BILL, the status bar in the MAIN window is evaluated in the following program code lines:
· CHECK_CONDITIONS_OUTPUT_INVOICE (output of conditions in total blocks)
· CHECK_OUTPUT_CONDITIONS_TO_POS (output of condition lines per invoice item)
In your Smart Forms (transaction code smartforms), you can stipulate whether you wish to output the conditions at item level or in totals blocks.
In the sample Smart Form ISH_BILL, the conditions are output using the following complex sections:
· Output per item:
The invoice items are output using the complex section LOOP_OUTPUT_SERVICE_ITEMS. For each item output, within this section the conditions are output per item using the complex section LOOP_CONDITIONS_TO_POS.
· Output for the entire invoice
If you output the total conditions after the invoice items on the form, proceed as follows:
a. In the BAdI ISH_PRINT_INVOICE, total the conditions with identical condition type in the table T_RNF25 (you can use the sample code from the user exit ISH_UE_INVOICE_CONDITION as a template for this).
b. For the cumulated condition items, delete the item number (technical name POSNR) so that you can tell in the Smart Forms which conditions should be output at item level and which at overall level.
c. Create a loop in your Smart Form by means of which all conditions are output with initial item number.
If you wish to output the condition (in a totals block) at totals level, you have to stipulate in the BAdI IS-H: Invoice Print (ISH_PRINT_INVOICE) that you wish to total the desired conditions. To do this, specify that the item number (POSNR) should be SPACE; consequently you delete the item numbers from the column.
Using a loop on the table T_RNF25, set the item number to SPACE, i.e. you delete the item number. The condition now applies to the entire invoice and no longer to the individual items.
For more information , see: CONDITIONS_INVOICE
In the BAdI, you can also read the print indicator from the pricing procedure.
The user exit ISH_UE_INVOICE_CONDITIONS provides you with a template for implementing the summation of conditions. Note, however, that only the BAdI and not the ISH_UE_INVOICE* user exits is effective with Smart Forms.
You can output the conditions at item level and in a totals block using the element E135 in the MAIN window of the invoice form.
Two user exits are provided for printing conditions using SAPscript: Both user exits must be active.
· ISH_UE_INVOICE_CONDITIONS
This user exit lets you control whether the system is to print the condition lines at item level or in totals blocks for the entire invoice. You can evaluate the print indicator you set in the pricing procedure in the user exit.
The user exit provides sample code for handling the printing of conditions at item level and for the entire invoice.
· ISH_UE_INVOICE_STATUS
If you wish to print conditions on the invoice form, set the field KOND to ON in the status bar invoice form print (ERNFPST).